PR ipa/60150
commit36a3e498a9fb25ea1c9344f1bb87e4093e60a954
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Mar 2014 22:19:37 +0000 (2 22:19 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Mar 2014 22:19:37 +0000 (2 22:19 +0000)
tree5e8cb9726985c6860c6d592db3fc1617ee95291e
parente40323639ede479a58d6575ea770d664e5c6134c
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208262 138bc75d-0d04-0410-961f-82ee72b054a4
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]