This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/40172] New: [4.5 Regression] Revision 147596 breaks bootstrap ia ia64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]