diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1995-02-28 15:06:49 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1995-02-28 15:06:49 -0800 |
commit | d72471fd1a739031934cd0e4b6064759ccfc7b16 (patch) | |
tree | fc9bc3eff5c42fa1779643f65fa32c27c9c631d6 | |
parent | 7ad8c4bf113ee762b5f4696e8622640d3453f2c9 (diff) | |
download | gcc-d72471fd1a739031934cd0e4b6064759ccfc7b16.zip gcc-d72471fd1a739031934cd0e4b6064759ccfc7b16.tar.gz gcc-d72471fd1a739031934cd0e4b6064759ccfc7b16.tar.bz2 |
* tree.c (staticp): Use FUNCTION_NEEDS_STATIC_CHAIN.
From-SVN: r9097
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1969,7 +1969,7 @@ staticp (arg) case FUNCTION_DECL: /* Nested functions aren't static, since taking their address involves a trampoline. */ - return decl_function_context (arg) == 0; + return ! FUNCTION_NEEDS_STATIC_CHAIN (arg); case VAR_DECL: return TREE_STATIC (arg) || DECL_EXTERNAL (arg); |