diff options
author | Richard Guenther <rguenther@suse.de> | 2010-05-06 08:53:19 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-05-06 08:53:19 +0000 |
commit | a81b065a47a134e66937060f7ae14f1ae939b7b5 (patch) | |
tree | fb40fc61a7dd82108d5aaff3589d2f98c91881e5 /gcc/tree-ssa-loop-im.c | |
parent | 369451ec60604a300eb85c57fc62284d1cd2f837 (diff) | |
download | gcc-a81b065a47a134e66937060f7ae14f1ae939b7b5.zip gcc-a81b065a47a134e66937060f7ae14f1ae939b7b5.tar.gz gcc-a81b065a47a134e66937060f7ae14f1ae939b7b5.tar.bz2 |
re PR middle-end/43987 (type-punning causes broken binaries unless -O0 is used)
2010-05-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/43987
* tree-ssa-structalias.c (could_have_pointers): For possibly
address-taken variables force pointers to be recorded.
(create_variable_info_for_1): Likewise.
(push_fields_onto_fieldstack): Pass in wheter all fields
must have pointers.
(find_func_aliases): Query types instead of vars whether
they contain pointers where appropriate.
* gcc.c-torture/execute/pr43987.c: New testcase.
* gcc.dg/torture/pta-escape-1.c: Adjust.
* gcc.dg/tree-ssa/pta-escape-1.c: Likewise.
* gcc.dg/tree-ssa/pta-escape-2.c: Likewise.
* gcc.dg/tree-ssa/pta-escape-3.c: Likewise.
* gcc.dg/ipa/ipa-pta-11.c: Likewise.
From-SVN: r159098
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
0 files changed, 0 insertions, 0 deletions