This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Outdated recommendation?
- From: Chris Lattner <sabre at nondot dot org>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 17 Jun 2004 21:52:23 -0500 (CDT)
- Subject: Outdated recommendation?
Is this obsolete?
"If you want a variable to be unaltered by longjmp, and you don't want to
write volatile because old C compilers don't accept it, just take the
address of the variable. If a variable's address is ever taken, even if
just to compute it and ignore it, then the variable cannot go in a
register:"
It is from the bottom of:
http://gcc.gnu.org/onlinedocs/gccint/Interface.html#Interface
I imagine that this is not the case for tree-ssa any longer.
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/