re PR ipa/66705 (section is missing linker error with -flto -fipa-pta)
authorRichard Biener <rguenther@suse.de>
Thu, 3 Sep 2015 09:24:51 +0000 (09:24 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 3 Sep 2015 09:24:51 +0000 (09:24 +0000)
commit27e2bd9f396088dc3642eb7d85eb424cc402c059
treeead69482c31370a517cfeba74e2268fa0350d7e6
parent37d13ae648b7688104ddcf0e34d4fa486730a2c1
re PR ipa/66705 (section is missing linker error with -flto -fipa-pta)

2015-09-03  Richard Biener  <rguenther@suse.de>

PR ipa/66705
* tree-ssa-structalias.c (ctor_for_analysis): New function.
(create_variable_info_for_1): Use ctor_for_analysis instead
of get_constructor.
(create_variable_info_for): Likewise.

* g++.dg/lto/pr66705_0.C: New testcase.

From-SVN: r227430
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr66705_0.C [new file with mode: 0644]
gcc/tree-ssa-structalias.c