This queue is for tickets about the threads-lite CPAN distribution.

Report information
The Basics
Id:
83475
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
ppisar [...] redhat.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
0.032
Fixed in:
(no value)



Subject: Possibly undefined behaviour
When compiling 0.032 with GCC 4.7.2, I got this warning: lib/threads/lite.xs: In function 'S_return_elements': lib/threads/lite.xs:26:2: warning: 'count' may be used uninitialized in this function [-Wmaybe-uninitialized] and indeed if ucontext differs from G_SCALAR and G_ARRAY, then it can happen: int S_return_elements(pTHX_ AV* values, U32 context) { dSP; UV count; if (context == G_SCALAR) { [...] } else if (context == G_ARRAY) { [...] } PUTBACK; return count; }


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.