This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Undefined static functions
On Tue, 31 Aug 2004, Richard Henderson wrote:
> > ... defining TREE_NO_WARNING to apply
> > to decls as well as expressions looks safer.
>
> TREE_NO_WARNING *does* apply to decls. See warn_uninit in tree-ssa.c.
So the documentation in tree.h of
nowarning_flag:
TREE_NO_WARNING in
... any expr node
and
/* In an expr node (usually a conversion) this means the node was made
implicitly and should not lead to any sort of warning. */
needs updating to reflect this.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
http://www.srcf.ucam.org/~jsm28/gcc/#c90status - status of C90 for GCC 3.5
jsm@polyomino.org.uk (personal mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)