re PR lto/60150 (ICE in function_and_variable_visibility, at ipa.c:1000)
authorJan Hubicka <hubicka@ucw.cz>
Sun, 2 Mar 2014 22:19:37 +0000 (23:19 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 2 Mar 2014 22:19:37 +0000 (22:19 +0000)
commit9ffbf2714bac6ab0521df5edcc2149ef20ebb762
tree5e8cb9726985c6860c6d592db3fc1617ee95291e
parent993df21e9aacba1ff3236e0e0df0118573de8190
re PR lto/60150 (ICE in function_and_variable_visibility, at ipa.c:1000)

PR ipa/60150
* ipa.c (function_and_variable_visibility): When dissolving comdat
group, also set all symbols to local.
* g++.dg/lto/pr60150.H: New testcase.
* g++.dg/lto/pr60150_0.C: New testcase.
* g++.dg/lto/pr60150_1.C: New testcase.

From-SVN: r208262
gcc/ChangeLog
gcc/ipa.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr60150.H [new file with mode: 0644]
gcc/testsuite/g++.dg/lto/pr60150_0.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lto/pr60150_1.C [new file with mode: 0644]