This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/40172] New: [4.5 Regression] Revision 147596 breaks bootstrap ia ia64
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 May 2009 15:16:13 -0000
- Subject: [Bug middle-end/40172] New: [4.5 Regression] Revision 147596 breaks bootstrap ia ia64
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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