diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-19 17:52:03 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-19 17:52:03 +0000 |
commit | 9ed5b1f51fab0a96dfa17dfec099a73f4fdeb730 (patch) | |
tree | bb5a4b60b2fba01c8f07af7dea9726c29ea518ca /gcc/ipa-utils.c | |
parent | 941f2388c6654af085ec92de505bc6b53d90b5fa (diff) | |
download | gcc-9ed5b1f51fab0a96dfa17dfec099a73f4fdeb730.tar.gz |
* toplev.c (compile_file): Move call to coverage_finish ...
* cgraphunit.c (ipa_passes): ... here.
Call cgraph_process_new_functions.
* ipa-utils.c (get_base_var): Handle CONSTRUCTOR.
* Makefile.in (cgraphunit.o): Add dependency on COVERAGE_H.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146354 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-utils.c')
-rw-r--r-- | gcc/ipa-utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c index 2fe0396b496..97a2b3c8237 100644 --- a/gcc/ipa-utils.c +++ b/gcc/ipa-utils.c @@ -222,7 +222,8 @@ get_base_var (tree t) && (!CONSTANT_CLASS_P (t)) && TREE_CODE (t) != LABEL_DECL && TREE_CODE (t) != FUNCTION_DECL - && TREE_CODE (t) != CONST_DECL) + && TREE_CODE (t) != CONST_DECL + && TREE_CODE (t) != CONSTRUCTOR) { t = TREE_OPERAND (t, 0); } |