diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-12 06:56:45 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-12 06:56:45 +0000 |
commit | 86752479f629532c8166eb1015e1d09a3ff4f72f (patch) | |
tree | 19d07d9c11c2ef1cda39ada85ec07837657c0f2f /gcc/tree-optimize.c | |
parent | d7e245bb9661ff4c67ee0bbb37ccc721a5976dcd (diff) | |
download | gcc-86752479f629532c8166eb1015e1d09a3ff4f72f.tar.gz |
gcc/ChangeLog:
2004-06-29 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/14107
* gimplify.c (gimplify_return_expr): Accept a
RETURN_EXPR with an error argument.
* tree-optimize.c (init_tree_optimization_passes):
Run pass_warn_function_return at -O0.
gcc/cp/ChangeLog:
2004-06-29 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/14107
* decl.c (finish_function): Remove temporary band-aid.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84550 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-optimize.c')
-rw-r--r-- | gcc/tree-optimize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c index 94681c4c044..e8c951bbab7 100644 --- a/gcc/tree-optimize.c +++ b/gcc/tree-optimize.c @@ -273,6 +273,7 @@ init_tree_optimization_passes (void) NEXT_PASS (pass_tree_profile); NEXT_PASS (pass_init_datastructures); NEXT_PASS (pass_all_optimizations); + NEXT_PASS (pass_warn_function_return); NEXT_PASS (pass_mudflap_2); NEXT_PASS (pass_free_datastructures); NEXT_PASS (pass_expand); @@ -319,7 +320,6 @@ init_tree_optimization_passes (void) NEXT_PASS (DUP_PASS (pass_phiopt)); NEXT_PASS (pass_tail_calls); NEXT_PASS (pass_late_warn_uninitialized); - NEXT_PASS (pass_warn_function_return); NEXT_PASS (pass_del_pta); NEXT_PASS (pass_del_ssa); NEXT_PASS (pass_nrv); |