This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problem with post_modify
- From: "Jon Beniston" <jbeniston at compxs dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Tue, 24 Feb 2004 12:08:11 -0000
- Subject: Problem with post_modify
- Organization: CompXs
- Reply-to: <jbeniston at compxs dot com>
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