PATCH: [3.3 branch] IA64 bootstrap failure
Zack Weinberg
zack@codesourcery.com
Tue Jul 8 22:08:00 GMT 2003
"H. J. Lu" <hjl@lucon.org> writes:
>> in the generated insn-conditions.c. It means the stage1 compiler may
>> be different from the stage2 compiler, depending on what compiler is
>> used to bootstrap gcc. I think insn-conditions.c should be the same
>> regardless the compiler used to boostrap.
>>
>>
>
> I am testing this patch now.
>
>
> H.J.
>
> 2003-07-08 H.J. Lu <hongjiu.lu@intel.com>
>
> * aclocal.m4 (gcc_AC_BUILTIN_CONSTANT_P): New.
> * configure.in: Use it.
> * configure: Regenerated.
> * config.in: Likewise.
>
> * genconditions.c (write_header): Use __builtin_constant_p if
> HAVE_BUILTIN_CONSTANT_P is defined.
Rejected, even if it fixes the bug. Your autoconf test is wrong -
__builtin_constant_p existed all the way back to 2.7 or earlier, but
did not do what insn-conditions.c needs until 3.0.1 - and furthermore
this merely papers over the real bug, which is somewhere else.
zw
More information about the Gcc
mailing list