Patch to fix gcc.c-torture/compile/20010102-1.c on IA64 HP-UX
Richard Henderson
rth@redhat.com
Thu Sep 18 20:59:00 GMT 2008
Steve Ellcey wrote:
> Setting REG_POINTER in do_replace is the only one that is necessary to
> fix my bug. I just changed the others in an attempt to be complete.
The change in do_replace is ok.
For the others, where the new rtx is created by maybe_mode_change,
it's unclear which of ORIG or COPY would have the correct value for
REG_POINTER. It's also unclear why you'd be changing modes like
that for real pointer values. I suppose if mode==orig_mode and
orig had reg_pointer set, that'd be good enough to set it in the
new rtx.
r~
More information about the Gcc-patches
mailing list