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/builtins.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/builtins.c')
-rw-r--r-- | gcc/builtins.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index c75d2fb..14dddf1 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -1381,6 +1381,8 @@ expand_builtin_strlen (exp, target, mode) /* Mark the beginning of the strlen sequence so we can emit the source operand later. */ before_strlen = get_last_insn(); + if (before_strlen == NULL_RTX) + before_strlen = emit_note (0, NOTE_INSN_DELETED); /* Check the string is readable and has an end. */ if (current_function_check_memory_usage) |