Change staticp return type to tree

Joseph S. Myers jsm@polyomino.org.uk
Fri Aug 27 01:36:00 GMT 2004


On Thu, 26 Aug 2004, Richard Henderson wrote:

>   /* Return true if arg is static -- a reference to an object in
>      static storage.  This is not the same as the C meaning of `static'.  */
>   
> ! bool
>   staticp (tree arg)
>   {
>     switch (TREE_CODE (arg))
> --- 1366,1372 ----
>   /* Return true if arg is static -- a reference to an object in
>      static storage.  This is not the same as the C meaning of `static'.  */
>   
> ! tree
>   staticp (tree arg)
>   {
>     switch (TREE_CODE (arg))

The comment at the top of staticp need updating.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)



More information about the Gcc-patches mailing list