diff options
author | Richard Guenther <rguenther@suse.de> | 2009-01-27 10:42:59 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-01-27 10:42:59 +0000 |
commit | b5c3dfbbfb5bd2c75b333b5ef99a06e57d790096 (patch) | |
tree | 35e4880bf75f0d631d220529700fa59d67fd7ad5 /gcc/cfgexpand.c | |
parent | 576de5cb6e4c42c549138a661792e1f7efc81724 (diff) | |
download | gcc-b5c3dfbbfb5bd2c75b333b5ef99a06e57d790096.zip gcc-b5c3dfbbfb5bd2c75b333b5ef99a06e57d790096.tar.gz gcc-b5c3dfbbfb5bd2c75b333b5ef99a06e57d790096.tar.bz2 |
re PR middle-end/38503 (warnings from -isystem headers strikes back.)
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.
From-SVN: r143700
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 6d7fe77..a9a52c4 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -1970,7 +1970,7 @@ expand_gimple_basic_block (basic_block bb) return new_bb; } } - else + else if (gimple_code (stmt) != GIMPLE_CHANGE_DYNAMIC_TYPE) { tree stmt_tree = gimple_to_tree (stmt); last = get_last_insn (); |