This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH, committed] reload.c latent bug fix


>>>>> Joern Rennecke writes:

>> * reload.c (refers_to_regno_for_reload_p): Test regno, not inner_regno,
>> against FIRST_PSEUDO_REGISTER.

Joern> That is the wrong fix.  It should be inner_regno in both cases.

	The test and the array access must be consistent -- either both
regno or both inner_regno.  Both functions have been working calling the
old macro with "regno".

David


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