diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-03-06 22:51:28 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-03-06 22:51:28 +0000 |
commit | 82eb5a114d30af5f8ec3330ed33e9555e0dbe483 (patch) | |
tree | d04ea7237c3310a33db5662c63ae571acd66723f /gcc/tree-flow.h | |
parent | ebcb0478f63df3012e75bcf2762b557ce36c1590 (diff) | |
download | gcc-82eb5a114d30af5f8ec3330ed33e9555e0dbe483.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144683 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 2 |
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); |