This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RTL/SYMREF/VOLATILE question
- From: Jim Wilson <wilson at specifixinc dot com>
- To: xyzzy at hotpop dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 20 Jan 2004 16:34:31 -0800
- Subject: Re: RTL/SYMREF/VOLATILE question
- References: <200401201428.54425.xyzzy@hotpop.com>
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