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]

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/


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