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: [PING^3] Fix reloading of paradoxical subregs into even-only registers


Michael Matz <matz@suse.de> writes:

> Hi,
>
> On Tue, 19 Aug 2008, Michael Matz wrote:
>
>> Hi H.J., 
>> On Mon, 18 Aug 2008, H.J. Lu wrote:
>> 
>> > Your patch breaks Linux/ia64:
>> > 
>> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37155
>> 
>> from the bugreport it's obvious that the ia64 port really wants to access 
>> reg 328 (sfp) in SImode.  But that mode currently is not accepted by 
>> HARD_REGNO_MODE_OK.  I can't see a reason why SImode is allowed for 
>> GR_REGNO_P, but not for GENERAL_REGNO_P (the only difference being exactly 
>> the register in question, FRAME_POINTER_REGNUM).  OTOH I don't know the 
>> ia64 port very well.  This patch fixes the testcase.  H.J. can you 
>> regstrap this?
>
> Hmm, hmm, I should read mailing lists not just personal mail before 
> starting to work.  Sorry Andreas; but at least two independend people came 
> to the same conclusion ;)

I'm not yet sure whether it's the right fix.  There some regressions in
the gcc testsuite, but they may be related to the other changes since
yesterday.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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