OSDN Git Service

2008-09-18 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Sep 2008 12:52:31 +0000 (12:52 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Sep 2008 12:52:31 +0000 (12:52 +0000)
commit1edde6ea78376b9a88f2f0902a78265f07d1b465
tree61f41c90f3305be3ed3d3d0a98c933c45e676023
parenta3eb7c77d32f1a603001f40a8072ecfde1086bea
2008-09-18  Richard Guenther  <rguenther@suse.de>

PR middle-end/37284
* tree-cfg.c (remove_useless_stmts_1): Remove
GIMPLE_CHANGE_DYNAMIC_TYPE if not optimizing.

* g++.dg/tree-ssa/pr37284.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140453 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr37284.C [new file with mode: 0644]
gcc/tree-cfg.c