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: Allow RTX_UNCHANGING_P on UNSPEC


On Tue, May 28, 2002 at 11:12:03PM +0100, Joern Rennecke wrote:
> The SH port uses RTX_UNCHANGING_P on UNSPECs for PIC references.
> This breaks with the recently introduced rtl type checking for
> RTX_UNCHANGING_P.  The attached patch rectifies this.

The normal thing for symbol relocations via unspec is to wrap them
in CONST.  This makes the thing CONSTANT_P, which can be important
to REG_EQUIV substitution.

Does anything actually look at the unchanging bit on an unspec?


r~


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