[Bug middle-end/40172] New: [4.5 Regression] Revision 147596 breaks bootstrap ia ia64
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat May 16 15:16:00 GMT 2009
Revision 147596:
http://gcc.gnu.org/ml/gcc-cvs/2009-05/msg00572.html
breaks bootstrap on ia64. A testcase:
[hjl@gnu-12 prev-gcc]$ cat /tmp/x.i
struct rtx_def;
typedef struct rtx_def *rtx;
extern int foo;
extern int bar;
extern int test (void);
extern int xxx;
int
test (void)
{
if (((rtx) 0 != (rtx) 0) && xxx ? foo : bar)
return 1;
else
return 0;
}
[hjl@gnu-12 prev-gcc]$ ./xgcc -B./ -Wall -W -O2 -Werror -S /tmp/x.i
cc1: warnings being treated as errors
/tmp/x.i: In function ÂtestÂ:
/tmp/x.i:13: error: logical Âand of mutually exclusive tests is always false
[hjl@gnu-12 prev-gcc]$
--
Summary: [4.5 Regression] Revision 147596 breaks bootstrap ia
ia64
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40172
More information about the Gcc-bugs
mailing list