This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR c++/25010
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: mark at codesourcery dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 5 Dec 2005 14:46:43 -0500 (EST)
- Subject: Re: PR c++/25010
> In general, the optimizers need to be careful to interpret
> DECL_EXTERNAL as meaning "do not output in this translation unit", and
> not as "no definition is available in this translation unit".
tree.h has this comment:
/* In a VAR_DECL or FUNCTION_DECL, nonzero means external reference:
do not allocate storage, and refer to a definition elsewhere. */
which means no definition is avilable in this TU or at least the way
I am reading it.
-- Pinski