[Bug c++/44362] New: Bogus set-but-not-used warning
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jun 1 12:35:00 GMT 2010
#define WORDS_BIG_ENDIAN 0
int foo(int x, int y)
{
int a = x;
int b = y;
int j = WORDS_BIG_ENDIAN ? a : b;
return j;
}
which actually breaks bootstrap with C++.
--
Summary: Bogus set-but-not-used warning
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44362
More information about the Gcc-bugs
mailing list