diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2010-05-25 21:07:40 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2010-05-25 21:07:40 +0000 |
commit | 9b4690892c1b5ba6aec74d269bf03915134c67f0 (patch) | |
tree | d951c6e1fbed1de2e618e68b5f954a91e8a9ea2e /gcc/ada/gcc-interface/utils.c | |
parent | e233a3b258440a4bbfc0756f1a6cc6e68d59132b (diff) | |
download | gcc-9b4690892c1b5ba6aec74d269bf03915134c67f0.zip gcc-9b4690892c1b5ba6aec74d269bf03915134c67f0.tar.gz gcc-9b4690892c1b5ba6aec74d269bf03915134c67f0.tar.bz2 |
utils.c: Do not include function.h, pointer-set.h, and gimple.h.
* gcc-interface/utils.c: Do not include function.h, pointer-set.h,
and gimple.h. Explain why rtl.h has to be included.
(handle_vector_size_attribute): Call reconstruct_complex_type directly.
* gcc-interface/targtyps.c: Do not include tm_p.h
* gcc-interface/utils2.c: Do not include flags.h.
* gcc-interface/trans.c: Do not include expr.h. Include rtl.h instead,
and explain why it has to be included.
* gcc-interface/misc.c: Do not include expr.h, libfuncs.h, cgraph.h,
and optabs.h.
Include function.h and explain why. Explain why except.h is included.
(enumerate_modes): Remove unused function.
* gcc-interface/gigi.h (enumerate_modes): Remove prototype.
* gcc-interface/Make-lang.in: Update dependencies.
From-SVN: r159844
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
-rw-r--r-- | gcc/ada/gcc-interface/utils.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c index 27c931a..647bb67 100644 --- a/gcc/ada/gcc-interface/utils.c +++ b/gcc/ada/gcc-interface/utils.c @@ -30,20 +30,17 @@ #include "tree.h" #include "flags.h" #include "toplev.h" -#include "rtl.h" #include "output.h" #include "ggc.h" #include "debug.h" #include "convert.h" #include "target.h" -#include "function.h" #include "langhooks.h" -#include "pointer-set.h" #include "cgraph.h" #include "tree-dump.h" #include "tree-inline.h" #include "tree-iterator.h" -#include "gimple.h" +#include "rtl.h" /* For decl_default_tls_model. */ #include "ada.h" #include "types.h" @@ -5314,7 +5311,7 @@ handle_vector_size_attribute (tree *node, tree name, tree args, new_type = build_vector_type (type, nunits); /* Build back pointers if needed. */ - *node = lang_hooks.types.reconstruct_complex_type (*node, new_type); + *node = reconstruct_complex_type (*node, new_type); return NULL_TREE; } |