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: RTL/SYMREF/VOLATILE question


xyzzy@hotpop.com wrote:
Is there a simple way to do what I want (that is, get the least amount of indirection possible for a SYMREF and be optimization safe?)

You haven't provided enough information. None of your code samples will actually produce code for instance. Just generating a symbol_ref does not do anything interesting. You have to emit insns that use it. How it gets optimized depends on what insns you emit. Since you did not give us this info, there isn't much we can do.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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