This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Anonymous Namespaces
- From: Chris Lattner <sabre at nondot dot org>
- To: espie at quatramaran dot ens dot fr
- Cc: gdr at integrable-solutions dot net, <gcc at gcc dot gnu dot org>
- Date: Sat, 31 Jan 2004 21:28:35 -0600 (CST)
- Subject: Re: Anonymous Namespaces
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/