OSDN Git Service

2009-01-27 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jan 2009 10:42:59 +0000 (10:42 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jan 2009 10:42:59 +0000 (10:42 +0000)
commit57a284265bdb48673ad234701aa16d71a2555fbe
tree35e4880bf75f0d631d220529700fa59d67fd7ad5
parent9a7965a1811295d9ec134c5e3cd9d8f5774376af
2009-01-27  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38503
* cfgexpand.c (expand_gimple_basic_block): Ignore
GIMPLE_CHANGE_DYNAMIC_TYPE during expansion.
* tree-ssa-structalias.c (set_uids_in_ptset): Do not prune
variables that cannot have TBAA applied.
(compute_points_to_sets): Do not remove GIMPLE_CHANGE_DYNAMIC_TYPE
statements.

* g++.dg/warn/Wstrict-aliasing-bogus-placement-new.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143700 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgexpand.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-placement-new.C [new file with mode: 0644]
gcc/tree-ssa-structalias.c