diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2011-02-15 18:36:31 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2011-02-15 18:36:31 +0000 |
commit | 1b9a784a8988c08979949b85fcf9746574a72ae0 (patch) | |
tree | 4c404f523327ba8ce7777c7409a24b2940702c7a /gcc/tree-flow-inline.h | |
parent | 27c6b08686959f731523cb673db850bfd435795b (diff) | |
download | gcc-1b9a784a8988c08979949b85fcf9746574a72ae0.zip gcc-1b9a784a8988c08979949b85fcf9746574a72ae0.tar.gz gcc-1b9a784a8988c08979949b85fcf9746574a72ae0.tar.bz2 |
re PR debug/47106 (-fcompare-debug failure (length) with -fpartial-inlining -flto -fconserve-stack)
PR debug/47106
PR debug/47402
* tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument.
Adjust all users. Pass FN to...
* tree-flow-inline.h (first_referenced_var): ... this. Add
fn argument.
* ipa-struct-reorg.c: Adjust.
* tree-dfa.c: Adjust.
* tree-into-ssa.c: Adjust.
* tree-sra.c: Adjust.
* tree-ssa-alias.c: Adjust.
* tree-ssa-live.c: Adjust.
* tree-ssa.c: Adjust.
* tree-ssanames.c: Adjust.
* tree-tailcall.c: Adjust.
From-SVN: r170186
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r-- | gcc/tree-flow-inline.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index 538d6fe..8656610 100644 --- a/gcc/tree-flow-inline.h +++ b/gcc/tree-flow-inline.h @@ -112,10 +112,10 @@ referenced_var (unsigned int uid) referenced_vars hashtable, and return that variable. */ static inline tree -first_referenced_var (referenced_var_iterator *iter) +first_referenced_var (struct function *fn, referenced_var_iterator *iter) { return (tree) first_htab_element (&iter->hti, - gimple_referenced_vars (cfun)); + gimple_referenced_vars (fn)); } /* Return true if we have hit the end of the referenced variables ITER is |