re PR tree-optimization/36967 (segfault in is_gimple_real_type with -fpredictive...
authorRichard Guenther <rguenther@suse.de>
Wed, 30 Jul 2008 15:43:42 +0000 (15:43 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 30 Jul 2008 15:43:42 +0000 (15:43 +0000)
commit5f8ecf453f015c3862113b1fa22bbf0e6b03f7b9
tree382670be0d4d0cb5420b247b45c8d6b190270f51
parent44bfa35b17b683a5c29dcb512b7f6ec17470ae1f
re PR tree-optimization/36967 (segfault in is_gimple_real_type with -fpredictive-commoning -ffast-math)

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

PR tree-optimization/36967
* tree-predcom.c (remove_stmt): Use gimple_assign_ssa_name_copy_p.
Release defs of statements we remove.

* gfortran.dg/pr36967.f: New testcase.

From-SVN: r138318
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr36967.f [new file with mode: 0644]
gcc/tree-predcom.c