[tree-ssa] bootstrap failure on ppc-apple-darwin6.6

Andrew Pinski pinskia@physics.uc.edu
Tue May 20 16:17:00 GMT 2003


Fails on stage3 compiling libgcc

testcase:

#define TEMP (!0?4:8)
#if TEMP > 4
int temp1 = TEMP;
#else
int temp2 = TEMP;
#endif


Should output temp2, not temp1.

stage1/2 and mainline of gcc:
[zhivago2:objdir/gcc/stage1] pinskia% !./
./cc1 test1.c -E -o -
# 1 "test1.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "test1.c"
# 10 "test1.c"
int temp2 = (!0?4:8);

Execution times (seconds)
  TOTAL                 :   0.05             0.00             0.28



stage3:
./cc1 test1.c -E -o -
# 1 "test1.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "test1.c"





int temp1 = (!0?4:8);

Execution times (seconds)
  TOTAL                 :   0.02             0.00             0.03

Thanks,
Andrew Pinski



More information about the Gcc mailing list