summaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-03-06 23:51:28 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2009-03-06 23:51:28 +0100
commit65401a0ba393e9f2b971e9069e0335dc26c8a917 (patch)
treed04ea7237c3310a33db5662c63ae571acd66723f /gcc/tree-flow.h
parent9f0e7885bb87904aac629a6c9aa3df4156667c08 (diff)
downloadgcc-65401a0ba393e9f2b971e9069e0335dc26c8a917.tar.gz
re PR middle-end/39360 (ICE in referenced_var_lookup, at tree-dfa.c:563)
PR middle-end/39360 * tree-flow.h (add_referenced_var): Return bool instead of void. * tree-dfa.c (add_referenced_var): Return result of referenced_var_check_and_insert call. * tree-inline.c (expand_call_inline): Call add_referenced_var instead of referenced_var_check_and_insert. * gcc.c-torture/compile/pr39360.c: New test. From-SVN: r144683
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 01953b59332..40829675b84 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -768,7 +768,7 @@ extern void dump_referenced_vars (FILE *);
extern void dump_variable (FILE *, tree);
extern void debug_variable (tree);
extern tree get_virtual_var (tree);
-extern void add_referenced_var (tree);
+extern bool add_referenced_var (tree);
extern void remove_referenced_var (tree);
extern void mark_symbols_for_renaming (gimple);
extern void find_new_referenced_vars (gimple);