Tolerate different definitions of symbols in lto
authorTrevor Saunders <tsaunders@mozilla.com>
Tue, 10 Feb 2015 02:23:11 +0000 (02:23 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Tue, 10 Feb 2015 02:23:11 +0000 (02:23 +0000)
commita9e083cc43d5e4c5917bfb1663fb1a34b7c2b065
tree1699b24128dd908579747103dec52a2df2dc1a50
parent32721b2cb51a60291f8a3bbc0d26ffaa14ee63cf
Tolerate different definitions of symbols in lto

gcc/

PR lto/64076
* ipa-visibility.c (update_visibility_by_resolution_info): Only
assert when not in lto mode.

From-SVN: r220561
gcc/ChangeLog
gcc/ipa-visibility.c
gcc/testsuite/g++.dg/lto/pr64076.H [new file with mode: 0644]
gcc/testsuite/g++.dg/lto/pr64076_0.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lto/pr64076_1.C [new file with mode: 0644]