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]

Problem with post_modify


Hi,

I'm seeing a crash in regrename.c:set_value_regno called from 
regrename.c:kill_autoinc_value.

The problems appears because this RTX:

(post_modify:HI (reg/v/f:HI 48)
    (plus:HI (reg/v/f:HI 48)
        (const_int 4 [0x4])))

is somehow transformed into this:

(post_modify:HI (mem:HI (plus:HI (reg/f:HI 0 sp)
            (const_int 58 [0x3a])) [16 bx S2 A16])
    (plus:HI (mem:HI (plus:HI (reg/f:HI 0 sp)
                (const_int 58 [0x3a])) [16 bx S2 A16])
        (const_int 4 [0x4])))

somewhere between the .lreg and .postreload stages. Is this likely to be
just a front-end issue, or something I'm not constraining correctly in
my back-end? (I've checked to make sure that the second RTX is never
passed to GO_IF_LEGITIMATE_ADDRESS). I'm working with the 3.3.2 sources.

Cheers,
JonB





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