re PR target/36713 (r137252 breaks -O2 optimization on x86_64-unknown-linux-gnu)
authorRichard Guenther <rguenther@suse.de>
Mon, 7 Jul 2008 15:11:29 +0000 (15:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 7 Jul 2008 15:11:29 +0000 (15:11 +0000)
commit115340c79fdd40c3b8c809ef81a1deebec0a2500
treeafd0ad862ac893fe8d11c0aaafd31d7e4f0e6d42
parent511e41e54d2f5bd036740518781e126ecccbad49
re PR target/36713 (r137252 breaks -O2 optimization on x86_64-unknown-linux-gnu)

2008-07-07  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/36713
* tree-flow-inline.h (is_call_used): New function.
* tree-nrv.c (dest_safe_for_nrv_p): Use it.
* tree-tailcall.c (suitable_for_tail_opt_p): Likewise.
* tree-outof-ssa.c (create_temp): Set call-used flag if required.

From-SVN: r137571
gcc/ChangeLog
gcc/tree-flow-inline.h
gcc/tree-nrv.c
gcc/tree-outof-ssa.c
gcc/tree-tailcall.c