[tree-ssa] bootstrap failure on ppc-apple-darwin6.6
Andrew Pinski
pinskia@physics.uc.edu
Tue May 20 20:59:00 GMT 2003
Looks like this is from a mis compiling of cppexp.c.
On Tuesday, May 20, 2003, at 11:17 US/Eastern, Andrew Pinski wrote:
> 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