diff options
author | Jason Merrill <jason@casey.cygnus.com> | 2000-03-10 19:50:09 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-03-10 14:50:09 -0500 |
commit | dd1ba632e78c78e10bdc5c70fa07b1946ffa9ae9 (patch) | |
tree | 11522170f443932489f0ab341701a866c7b110ce /gcc/toplev.c | |
parent | 8ad52449ba05e1481e381daebca6cf152ea68986 (diff) | |
download | gcc-dd1ba632e78c78e10bdc5c70fa07b1946ffa9ae9.zip gcc-dd1ba632e78c78e10bdc5c70fa07b1946ffa9ae9.tar.gz gcc-dd1ba632e78c78e10bdc5c70fa07b1946ffa9ae9.tar.bz2 |
builtins.c (expand_builtin_strlen): Make sure that we have something at the beginning of the sequence.
* builtins.c (expand_builtin_strlen): Make sure that we have something
at the beginning of the sequence.
* toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
deferred inlines.
* invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
From-SVN: r32473
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index b1a0694..aab5c30 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2967,6 +2967,12 @@ rest_of_compilation (decl) optimize = saved_optimize; } + current_function_nothrow = nothrow_function_p (); + if (current_function_nothrow) + /* Now we know that this can't throw; set the flag for the benefit + of other functions later in this translation unit. */ + TREE_NOTHROW (current_function_decl) = 1; + note_deferral_of_defined_inline_function (decl); TIMEVAR (integration_time, save_for_inline_nocopy (decl)); DECL_SAVED_INSNS (decl)->inlinable = inlinable; |