summaryrefslogtreecommitdiff
path: root/gcc/ipa-ref.h
diff options
context:
space:
mode:
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-27 13:49:28 +0000
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-27 13:49:28 +0000
commit3c0fe71b4a4380ef9c96310e22eaf2479e4baec3 (patch)
treec4683ccba1c2ba8180759aa2dbf98cf9ef9d90d3 /gcc/ipa-ref.h
parent6b765f96c1c4013ad1158ebd4c7cf647786ba5a8 (diff)
downloadgcc-3c0fe71b4a4380ef9c96310e22eaf2479e4baec3.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200468 138bc75d-0d04-0410-961f-82ee72b054a4
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 *);