[tree-ssa] bootstrap failure on ppc-apple-darwin6.6
Andrew Pinski
pinskia@physics.uc.edu
Tue May 20 21:16:00 GMT 2003
Ok, there are two functions that differ in cppexp.c:
num_bitwise_op
num_inequality <-- this is the one that is causing this failure, most
likely
There are two functions from resource.c that differ also:
find_dead_or_set_register
mark_set_resources
Thanks,
Andrew Pinski
On Tuesday, May 20, 2003, at 16:51 US/Eastern, Andrew Pinski wrote:
> 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