This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RFC: order_regs_for_reload ()


>>>>> Bernd Schmidt writes:

>> Anyway I decided to experiment and changed the assignment in the 
>> last loop to set the potential_reload_regs[] to -1 rather than 
>> one of the `bad_spill_reg' registers..
>> 
>> I now get a more meaningful "Couldn't find spill register" abort
>> and not the original "fixed or forbidden register spilled ..." abort.

Bernd> It shouldn't really matter either way.  You'll get an abort in both
Bernd> cases - your problem is that you weren't able to use any of the
Bernd> non-bad_spill_regs for the reload.

	It DOES matter because the error that Graham receives after his
change is much more accurate about the true cause of the problem.  The
failure was not due to a bad asm nor due to a compiler error.

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]