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]
Other format: [Raw text]

Re: Possible bug in regrename.c???


On Sun, 27 Jul 2003 16:08:39 +1000, Marty Hauff <marty.hauff@rmit.edu.au> wrote:

I'm still new to GCC but I stumbled across the following anomoly whilst trying to make a new port.

The following RTX:
(set  (mem:HI  (reg/v/f:HI 8 r8 [44]) [8 S2 A8])
(mem:HI  (pre_dec:HI  (mem:HI  (plus:HI  (reg/f:HI 28 r28)
(const_int 3 [0x3])) [17 S2 A8])) [8 S2 A8]))

causes set_value_regno() to segfault.

I'm new to GCC too, but had a similar problem. It looks like a pseudo register is replaced by a memory reference. Is GO_IF_LEGITIMATE_ADDRESS defined properly, with one strict and one non-strict variant?


Anders


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