This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: m68k bootstrapping broken
Gunther Nikl <gni@gecko.de> writes:
> On Wed, Jan 14, 2004 at 06:12:21PM +0100, Andreas Schwab wrote:
>> Gunther Nikl <gni@gecko.de> writes:
>>
>> > If there is no difference then your patch doesn't have any effect,
>> > does it?
>>
>> It should have an effect, but you first have to verify that the bug exists
>> in the first place. The m68k-amigaos configuration may be different
>> enough from m68k-linux to hide the bug. Although this was a long standing
>> bug, it didn't trigger until now during gcc bootstraps.
>
> A small testcase showing the bug would be helpful.
This is very difficult to create. The problem on m68k-linux showed in
insn-recog.o where in a few places a "tst.l %dN" was missing after the
load of a constant handled by output_move_const_into_data_reg. It only
showed up because -funit-at-a-time (implied by -O2) managed to inline
recog_3 into recog_7.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."