Anonymous Namespaces

Chris Lattner sabre@nondot.org
Sun Feb 1 03:08:00 GMT 2004


Marc Espie wrote:
> Now, if anonymous namespaces don't allow us the same potential
> optimization that static used to, what I've been told is completely
> wrong.
> Is this a foresight from the standard, a weird implementation choice
> of gcc, a misconception on my part or what ?

This is a weird implementation choice of GCC.  LLVM, and probably other
compilers, do not have this bug.  Hopefully it will be resolved though!

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/



More information about the Gcc mailing list