diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-15 06:34:27 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-15 06:34:27 +0000 |
commit | 058672f818da2e2fd3eed44737939291cc02d809 (patch) | |
tree | cd6e318f2abeabc01493804644c205c72f5eb7f3 /gcc/java | |
parent | ac2c6188d9bb781b7055c102c0af536fd6ca3366 (diff) | |
download | gcc-058672f818da2e2fd3eed44737939291cc02d809.tar.gz |
2016-04-15 Basile Starynkevitch <basile@starynkevitch.net>
{{merging with even more of GCC 6, using subversion 1.9
svn merge -r229501:229700 ^/trunk
}}
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@235005 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 27 | ||||
-rw-r--r-- | gcc/java/boehm.c | 5 | ||||
-rw-r--r-- | gcc/java/builtins.c | 17 | ||||
-rw-r--r-- | gcc/java/class.c | 17 | ||||
-rw-r--r-- | gcc/java/constants.c | 6 | ||||
-rw-r--r-- | gcc/java/decl.c | 15 | ||||
-rw-r--r-- | gcc/java/except.c | 6 | ||||
-rw-r--r-- | gcc/java/expr.c | 9 | ||||
-rw-r--r-- | gcc/java/java-gimplify.c | 7 | ||||
-rw-r--r-- | gcc/java/jcf-dump.c | 7 | ||||
-rw-r--r-- | gcc/java/jcf-io.c | 4 | ||||
-rw-r--r-- | gcc/java/jcf-parse.c | 21 | ||||
-rw-r--r-- | gcc/java/jvgenmain.c | 6 | ||||
-rw-r--r-- | gcc/java/lang.c | 8 | ||||
-rw-r--r-- | gcc/java/mangle.c | 10 | ||||
-rw-r--r-- | gcc/java/mangle_name.c | 8 | ||||
-rw-r--r-- | gcc/java/resource.c | 15 | ||||
-rw-r--r-- | gcc/java/typeck.c | 10 | ||||
-rw-r--r-- | gcc/java/verify-glue.c | 7 | ||||
-rw-r--r-- | gcc/java/verify-impl.c | 6 |
20 files changed, 109 insertions, 102 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 3d1ad640ca4..15cd23c4ddb 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,30 @@ +2015-10-30 Richard Sandiford <richard.sandiford@arm.com> + + * jcf-parse.c (get_constant): Use real_from_target rather than + real_from_target_fmt. + +2015-10-29 Andrew MacLeod <amacleod@redhat.com> + + * boehm.c: Reorder #include's and remove duplicates. + * builtins.c: Likewise. + * class.c: Likewise. + * constants.c: Likewise. + * decl.c: Likewise. + * except.c: Likewise. + * expr.c: Likewise. + * java-gimplify.c: Likewise. + * jcf-dump.c: Likewise. + * jcf-io.c: Likewise. + * jcf-parse.c: Likewise. + * jvgenmain.c: Likewise. + * lang.c: Likewise. + * mangle.c: Likewise. + * mangle_name.c: Likewise. + * resource.c: Likewise. + * typeck.c: Likewise. + * verify-glue.c: Likewise. + * verify-impl.c: Likewise. + 2015-10-22 Mikhail Maltsev <maltsevm@gmail.com> * decl.c (java_mark_decl_local): Use flag_checking instead of diff --git a/gcc/java/boehm.c b/gcc/java/boehm.c index 717dd168c9c..fbe99d9a7c3 100644 --- a/gcc/java/boehm.c +++ b/gcc/java/boehm.c @@ -27,12 +27,11 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "system.h" #include "coretypes.h" #include "tm.h" -#include "alias.h" #include "tree.h" -#include "options.h" +#include "diagnostic-core.h" +#include "alias.h" #include "java-tree.h" #include "parse.h" -#include "diagnostic-core.h" static void mark_reference_fields (tree, wide_int *, unsigned int, int *, int *, int *, HOST_WIDE_INT *); diff --git a/gcc/java/builtins.c b/gcc/java/builtins.c index f10227f19e1..7f6d74573a8 100644 --- a/gcc/java/builtins.c +++ b/gcc/java/builtins.c @@ -30,31 +30,28 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "system.h" #include "coretypes.h" #include "tm.h" -#include "alias.h" +#include "function.h" +#include "rtl.h" #include "tree.h" -#include "options.h" +#include "stringpool.h" +#include "expmed.h" +#include "optabs.h" +#include "emit-rtl.h" +#include "alias.h" #include "fold-const.h" #include "stor-layout.h" -#include "stringpool.h" #include "flags.h" #include "langhooks.h" #include "java-tree.h" /* FIXME: All these headers are necessary for sync_compare_and_swap. Front ends should never have to look at that. */ -#include "rtl.h" -#include "insn-codes.h" -#include "function.h" -#include "insn-config.h" -#include "expmed.h" #include "dojump.h" #include "explow.h" #include "calls.h" -#include "emit-rtl.h" #include "varasm.h" #include "stmt.h" #include "expr.h" -#include "optabs.h" static tree max_builtin (tree, tree); static tree min_builtin (tree, tree); diff --git a/gcc/java/class.c b/gcc/java/class.c index 8f1288f8584..8ecc1d902de 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -26,27 +26,24 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" -#include "alias.h" +#include "target.h" +#include "function.h" +#include "obstack.h" #include "tree.h" -#include "options.h" -#include "fold-const.h" #include "stringpool.h" +#include "cgraph.h" +#include "diagnostic-core.h" +#include "alias.h" +#include "fold-const.h" #include "stor-layout.h" #include "varasm.h" #include "flags.h" #include "java-tree.h" #include "jcf.h" -#include "obstack.h" -#include "diagnostic-core.h" #include "toplev.h" #include "output.h" /* for switch_to_section and get_section */ #include "parse.h" -#include "tm.h" -#include "hard-reg-set.h" -#include "function.h" -#include "cgraph.h" #include "tree-iterator.h" -#include "target.h" static tree make_method_value (tree); static tree build_java_method_type (tree, tree, int); diff --git a/gcc/java/constants.c b/gcc/java/constants.c index 942c867fb70..3e9962351f1 100644 --- a/gcc/java/constants.c +++ b/gcc/java/constants.c @@ -24,14 +24,14 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "system.h" #include "coretypes.h" #include "tm.h" +#include "tree.h" +#include "stringpool.h" +#include "diagnostic-core.h" #include "jcf.h" #include "alias.h" -#include "tree.h" #include "fold-const.h" -#include "stringpool.h" #include "stor-layout.h" #include "java-tree.h" -#include "diagnostic-core.h" #include "toplev.h" static void set_constant_entry (CPool *, int, int, jword); diff --git a/gcc/java/decl.c b/gcc/java/decl.c index 2b33621d15e..43675a97936 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -27,24 +27,21 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" -#include "alias.h" +#include "target.h" +#include "function.h" #include "tree.h" -#include "options.h" -#include "stor-layout.h" #include "stringpool.h" -#include "varasm.h" +#include "cgraph.h" #include "diagnostic-core.h" +#include "alias.h" +#include "stor-layout.h" +#include "varasm.h" #include "toplev.h" #include "flags.h" #include "java-tree.h" #include "jcf.h" #include "java-except.h" -#include "tm.h" -#include "hard-reg-set.h" -#include "function.h" -#include "cgraph.h" #include "tree-inline.h" -#include "target.h" #include "version.h" #include "tree-iterator.h" #include "langhooks.h" diff --git a/gcc/java/except.c b/gcc/java/except.c index a2bd0daf4e8..03457f66e21 100644 --- a/gcc/java/except.c +++ b/gcc/java/except.c @@ -25,17 +25,17 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "system.h" #include "coretypes.h" #include "tm.h" -#include "alias.h" #include "tree.h" -#include "fold-const.h" #include "stringpool.h" +#include "diagnostic-core.h" +#include "alias.h" +#include "fold-const.h" #include "stor-layout.h" #include "java-tree.h" #include "javaop.h" #include "java-opcodes.h" #include "jcf.h" #include "java-except.h" -#include "diagnostic-core.h" #include "toplev.h" #include "tree-iterator.h" diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 37a705c855f..e1eadd2d267 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -26,11 +26,12 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" -#include "tm.h" -#include "alias.h" +#include "target.h" #include "tree.h" -#include "fold-const.h" #include "stringpool.h" +#include "diagnostic-core.h" +#include "alias.h" +#include "fold-const.h" #include "stor-layout.h" #include "flags.h" #include "java-tree.h" @@ -39,9 +40,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "jcf.h" #include "java-except.h" #include "parse.h" -#include "diagnostic-core.h" #include "tree-iterator.h" -#include "target.h" static void flush_quick_stack (void); static void push_value (tree); diff --git a/gcc/java/java-gimplify.c b/gcc/java/java-gimplify.c index c6e7657b5fb..2e64e8f6f3d 100644 --- a/gcc/java/java-gimplify.c +++ b/gcc/java/java-gimplify.c @@ -24,15 +24,14 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" -#include "alias.h" #include "tm.h" #include "function.h" -#include "cfghooks.h" #include "basic-block.h" +#include "hard-reg-set.h" #include "tree.h" #include "gimple.h" -#include "hard-reg-set.h" -#include "options.h" +#include "cfghooks.h" +#include "alias.h" #include "fold-const.h" #include "java-tree.h" #include "dumpfile.h" diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c index 8bd8e072430..fec3a404413 100644 --- a/gcc/java/jcf-dump.c +++ b/gcc/java/jcf-dump.c @@ -50,13 +50,13 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" -#include "intl.h" +#include "options.h" +#include "tree.h" #include "diagnostic.h" +#include "intl.h" #include "jcf.h" #include "alias.h" -#include "tree.h" -#include "options.h" #include "java-tree.h" #include "version.h" @@ -457,7 +457,6 @@ utf8_equal_string (JCF *jcf, int index, const char * value) if (flag_print_attributes > 0) \ fprintf (out, "\nAttributes (count: %d):\n", attributes_count); -#include "javaop.h" diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.c index 87d194279b4..642ca738a9d 100644 --- a/gcc/java/jcf-io.c +++ b/gcc/java/jcf-io.c @@ -26,11 +26,11 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" +#include "options.h" +#include "tree.h" #include "jcf.h" #include "alias.h" -#include "tree.h" -#include "options.h" #include "java-tree.h" #include <dirent.h> diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index bb6e743e2b4..792fdbff199 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -26,24 +26,21 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" -#include "alias.h" +#include "target.h" +#include "function.h" +#include "obstack.h" +#include "bitmap.h" #include "tree.h" -#include "options.h" #include "stringpool.h" -#include "obstack.h" +#include "cgraph.h" +#include "diagnostic-core.h" +#include "alias.h" #include "flags.h" #include "java-except.h" #include "javaop.h" #include "java-tree.h" -#include "diagnostic-core.h" #include "parse.h" #include "debug.h" -#include "tm.h" -#include "hard-reg-set.h" -#include "function.h" -#include "cgraph.h" -#include "bitmap.h" -#include "target.h" #include "toplev.h" #ifdef HAVE_LOCALE_H @@ -1061,7 +1058,7 @@ get_constant (JCF *jcf, int index) long buf = num; REAL_VALUE_TYPE d; - real_from_target_fmt (&d, &buf, &ieee_single_format); + real_from_target (&d, &buf, &ieee_single_format); value = build_real (float_type_node, d); break; } @@ -1079,7 +1076,7 @@ get_constant (JCF *jcf, int index) else buf[0] = lo, buf[1] = hi; - real_from_target_fmt (&d, buf, &ieee_double_format); + real_from_target (&d, buf, &ieee_double_format); value = build_real (double_type_node, d); break; } diff --git a/gcc/java/jvgenmain.c b/gcc/java/jvgenmain.c index 2f6d94bf346..aa103778270 100644 --- a/gcc/java/jvgenmain.c +++ b/gcc/java/jvgenmain.c @@ -26,14 +26,14 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" +#include "options.h" #include "obstack.h" +#include "tree.h" +#include "diagnostic.h" #include "jcf.h" #include "alias.h" -#include "tree.h" -#include "options.h" #include "java-tree.h" #include "intl.h" -#include "diagnostic.h" static char * do_mangle_classname (const char *string); diff --git a/gcc/java/lang.c b/gcc/java/lang.c index 11e786cb5be..94b2dcf7907 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -26,21 +26,19 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" -#include "tm.h" -#include "alias.h" +#include "target.h" #include "tree.h" +#include "diagnostic.h" +#include "alias.h" #include "java-tree.h" #include "jcf.h" #include "langhooks.h" #include "langhooks-def.h" #include "flags.h" -#include "diagnostic.h" #include "tree-inline.h" #include "splay-tree.h" #include "tree-dump.h" #include "opts.h" -#include "options.h" -#include "target.h" #include "context.h" static bool java_init (void); diff --git a/gcc/java/mangle.c b/gcc/java/mangle.c index a9fc8867fd0..c69bcd872c1 100644 --- a/gcc/java/mangle.c +++ b/gcc/java/mangle.c @@ -27,14 +27,14 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" -#include "jcf.h" -#include "alias.h" -#include "tree.h" #include "options.h" -#include "stringpool.h" -#include "java-tree.h" #include "obstack.h" +#include "tree.h" +#include "stringpool.h" #include "diagnostic-core.h" +#include "jcf.h" +#include "alias.h" +#include "java-tree.h" #include "langhooks-def.h" static void mangle_class_field (tree); diff --git a/gcc/java/mangle_name.c b/gcc/java/mangle_name.c index 26c1931d9f4..47e3b523a68 100644 --- a/gcc/java/mangle_name.c +++ b/gcc/java/mangle_name.c @@ -27,13 +27,13 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" -#include "jcf.h" -#include "alias.h" -#include "tree.h" #include "options.h" -#include "java-tree.h" #include "obstack.h" +#include "tree.h" #include "diagnostic-core.h" +#include "jcf.h" +#include "alias.h" +#include "java-tree.h" static void append_unicode_mangled_name (const char *, int); #ifndef HAVE_AS_UTF8 diff --git a/gcc/java/resource.c b/gcc/java/resource.c index 6fb730b76e2..922dfe7d315 100644 --- a/gcc/java/resource.c +++ b/gcc/java/resource.c @@ -24,22 +24,21 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" -#include "alias.h" +#include "tm.h" +#include "function.h" +#include "hard-reg-set.h" #include "tree.h" -#include "options.h" -#include "fold-const.h" #include "stringpool.h" +#include "cgraph.h" +#include "diagnostic-core.h" +#include "alias.h" +#include "fold-const.h" #include "stor-layout.h" #include "java-tree.h" #include "jcf.h" -#include "diagnostic-core.h" #include "toplev.h" #include "parse.h" -#include "tm.h" -#include "hard-reg-set.h" -#include "function.h" #include "tree-iterator.h" -#include "cgraph.h" /* A list of all the resources files. */ static GTY(()) vec<tree, va_gc> *resources; diff --git a/gcc/java/typeck.c b/gcc/java/typeck.c index 6cbb3561dca..1cdd070c99a 100644 --- a/gcc/java/typeck.c +++ b/gcc/java/typeck.c @@ -26,18 +26,18 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" -#include "alias.h" -#include "tree.h" #include "options.h" +#include "obstack.h" +#include "tree.h" +#include "stringpool.h" +#include "diagnostic-core.h" +#include "alias.h" #include "fold-const.h" #include "stor-layout.h" -#include "stringpool.h" -#include "obstack.h" #include "flags.h" #include "java-tree.h" #include "jcf.h" #include "convert.h" -#include "diagnostic-core.h" static tree convert_ieee_real_to_integer (tree, tree); static tree parse_signature_type (const unsigned char **, diff --git a/gcc/java/verify-glue.c b/gcc/java/verify-glue.c index a1630c7d77e..508383d5fff 100644 --- a/gcc/java/verify-glue.c +++ b/gcc/java/verify-glue.c @@ -27,16 +27,15 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "system.h" #include "coretypes.h" -#include "alias.h" -#include "tree.h" #include "options.h" +#include "tree.h" #include "stringpool.h" +#include "diagnostic-core.h" +#include "alias.h" #include "parse.h" #include "verify.h" -#include "java-tree.h" #include "java-except.h" -#include "diagnostic-core.h" void * vfy_alloc (size_t bytes) diff --git a/gcc/java/verify-impl.c b/gcc/java/verify-impl.c index ee06eec478c..4969318691d 100644 --- a/gcc/java/verify-impl.c +++ b/gcc/java/verify-impl.c @@ -14,12 +14,12 @@ details. */ #include "config.h" #include "system.h" #include "coretypes.h" - -#include "alias.h" -#include "symtab.h" #include "options.h" +#include "symtab.h" #include "verify.h" +#include "alias.h" + /* Hack to work around namespace pollution from java-tree.h. */ #undef current_class |