diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2014-04-10 20:57:48 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2014-04-10 20:57:48 +0200 |
commit | fa5866c0e3a9989b74d0e24733d47cab8187103d (patch) | |
tree | 6599d476c476c949ab053c5050567b4c382a2c5d /gcc/ipa.c | |
parent | 8aa1cce64e8d4a443d0b4d01b09ef0015725c65d (diff) | |
download | gcc-fa5866c0e3a9989b74d0e24733d47cab8187103d.zip gcc-fa5866c0e3a9989b74d0e24733d47cab8187103d.tar.gz gcc-fa5866c0e3a9989b74d0e24733d47cab8187103d.tar.bz2 |
re PR lto/60567 (lto1 ICE in add_symbol_to_partition, at lto/lto-partition.c:233 with -fno-use-linker-plugin)
PR lto/60567
* ipa.c (function_and_variable_visibility): Copy forced_by_abi flag from
decl_node to node.
* g++.dg/lto/pr60567_0.C: New test.
From-SVN: r209280
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r-- | gcc/ipa.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1032,6 +1032,7 @@ function_and_variable_visibility (bool whole_program) == DECL_COMDAT_GROUP (decl_node->decl)); gcc_checking_assert (node->same_comdat_group); } + node->forced_by_abi = decl_node->forced_by_abi; if (DECL_EXTERNAL (decl_node->decl)) DECL_EXTERNAL (node->decl) = 1; } |