re PR tree-optimization/14107 (Return warnings don't work without optimizations enabled)
authorPaolo Bonzini <bonzini@gnu.org>
Mon, 12 Jul 2004 06:56:45 +0000 (06:56 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Mon, 12 Jul 2004 06:56:45 +0000 (06:56 +0000)
commit55e99d5226d32dc4e78fa96375034dda4fbbfcb9
tree19d07d9c11c2ef1cda39ada85ec07837657c0f2f
parent2a9dc91764a82c30cae2a12752276e894d80aee6
re PR tree-optimization/14107 (Return warnings don't work without optimizations enabled)

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.

From-SVN: r84550
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/gimplify.c
gcc/tree-optimize.c