diff options
author | Jan Hubicka <jh@suse.cz> | 2013-09-17 17:46:06 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-09-17 15:46:06 +0000 |
commit | 5b79657a115e3b62fc860ad88238e9ab0b0f6395 (patch) | |
tree | 114983054e860912f00de7bb086f99457a71972c /gcc/ipa.c | |
parent | 27442c2405bc264c435b485db9a13f6061535aa7 (diff) | |
download | gcc-5b79657a115e3b62fc860ad88238e9ab0b0f6395.zip gcc-5b79657a115e3b62fc860ad88238e9ab0b0f6395.tar.gz gcc-5b79657a115e3b62fc860ad88238e9ab0b0f6395.tar.bz2 |
re PR ipa/58329 (ld: Invalid symbol type for plabel (.libs/libstdc++.lax/libc++11convenience.a/system_error.o, std::error_category::default_error_condition(int) const [clone .localalias.9]).)
PR middle-end/58329
* ipa-devirt.c (ipa_devirt): Be ready for symtab_nonoverwritable_alias
to return NULL.
* ipa.c (function_and_variable_visibility): Likewise.
* ipa-profile.c (ipa_profile): Likewise.
From-SVN: r202657
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r-- | gcc/ipa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -998,7 +998,7 @@ function_and_variable_visibility (bool whole_program) { struct cgraph_node *alias = cgraph (symtab_nonoverwritable_alias ((symtab_node) node)); - if (alias != node) + if (alias && alias != node) { while (node->callers) { |