summaryrefslogtreecommitdiff
path: root/gcc/ipa-ref.h
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2013-06-27 15:49:28 +0200
committerMartin Jambor <jamborm@gcc.gnu.org>2013-06-27 15:49:28 +0200
commit79ee9826b3d11323eb5b2e6b2dfc892fefeeb2b7 (patch)
treec4683ccba1c2ba8180759aa2dbf98cf9ef9d90d3 /gcc/ipa-ref.h
parente18b4a817c072f787e1a7c1c971f90752cb16e9f (diff)
downloadgcc-79ee9826b3d11323eb5b2e6b2dfc892fefeeb2b7.tar.gz
re PR c++/57208 (Latest chromium compilation fails with enabled LTO)
2013-06-27 Martin Jambor <mjambor@suse.cz> PR lto/57208 * ipa-ref.h (ipa_maybe_record_reference): Declare. * ipa-ref.c (ipa_maybe_record_reference): New function. * cgraphclones.c (cgraph_create_virtual_clone): Use it. * ipa-cp.c (create_specialized_node): Record potential references from aggvals. * Makefile.in (ipa-ref.o): Add IPA_REF_H to dependencies. From-SVN: r200468
Diffstat (limited to 'gcc/ipa-ref.h')
-rw-r--r--gcc/ipa-ref.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ipa-ref.h b/gcc/ipa-ref.h
index 79f60056601..c25e4e46f9d 100644
--- a/gcc/ipa-ref.h
+++ b/gcc/ipa-ref.h
@@ -61,6 +61,8 @@ struct GTY(()) ipa_ref_list
struct ipa_ref * ipa_record_reference (symtab_node,
symtab_node,
enum ipa_ref_use, gimple);
+struct ipa_ref * ipa_maybe_record_reference (symtab_node, tree,
+ enum ipa_ref_use, gimple);
void ipa_remove_reference (struct ipa_ref *);
void ipa_remove_all_references (struct ipa_ref_list *);