This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] GCC tree linkage types
- From: Chris Lattner <sabre at nondot dot org>
- To: Matt Austern <austern at apple dot com>
- Cc: gcc at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>
- Date: Thu, 6 Nov 2003 15:06:19 -0600 (CST)
- Subject: Re: [C++] GCC tree linkage types
On Thu, 6 Nov 2003, Matt Austern wrote:
> I've actually got a more general question. We've got DECL_WEAK,
> DECL_ONE_ONLY, and DECL_COMDAT. They're not quite the same,
> but they're very similar.
>
> So my question: since we've got three flags, in principle we've got
> 2^3 = eight possible combinations of flags. I bet most of those eight
> don't make any sense.
Definitely.
> Which combinations are errors, which are
> meaningful, and what are the distinctions between the meaningful
> combinations? Should the answer to that question be documented
> somewhere?
PLEASE! :) :)
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/