diff options
author | Jason Merrill <jason@casey.soma.redhat.com> | 2000-06-09 16:23:47 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-06-09 12:23:47 -0400 |
commit | ea11ca7ec12df7f53d437a738f984e26ef7ab85b (patch) | |
tree | 0298128e12299bf28f76cc3ef5ad263e2fa59173 /gcc/stmt.c | |
parent | 6efa15825eea54fa389d7b385f4f87e689ab61bc (diff) | |
download | gcc-ea11ca7ec12df7f53d437a738f984e26ef7ab85b.zip gcc-ea11ca7ec12df7f53d437a738f984e26ef7ab85b.tar.gz gcc-ea11ca7ec12df7f53d437a738f984e26ef7ab85b.tar.bz2 |
timevar.def: Add TV_EXPAND.
* timevar.def: Add TV_EXPAND.
* timevar.c (timevar_print): Update timing information.
* calls.c (try_to_integrate): Push to TV_INTEGRATION for inlining.
* stmt.c (expand_return): Check for error_mark_node.
cp/:
* semantics.c (expand_body): Push to TV_EXPAND.
* optimize.c (optimize_function): Push to TV_INTEGRATION.
* decl.c (start_function): Always call announce_function.
* tinfo2.cc: Just declare abort.
From-SVN: r34470
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2844,7 +2844,9 @@ expand_return (retval) cleanups = 1; #endif - if (TREE_CODE (retval) == RESULT_DECL) + if (retval == error_mark_node) + retval_rhs = NULL_TREE; + else if (TREE_CODE (retval) == RESULT_DECL) retval_rhs = retval; else if ((TREE_CODE (retval) == MODIFY_EXPR || TREE_CODE (retval) == INIT_EXPR) && TREE_CODE (TREE_OPERAND (retval, 0)) == RESULT_DECL) |