aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
AgeCommit message (Collapse)AuthorFilesLines
2006-05-16Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.H.J. Lu2-1/+5
gcc/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o. (gcc-options.o): New rule. * optc-gen.awk: Protect variables for gcc-options.o with #ifdef GCC_DRIVER/#endif. gcc/java/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> * lang.opt (femit-class-file): Remove VarExists. From-SVN: r113841
2006-05-16verify-impl.c (verify_instructions_0): Special case for Object.<init>.Tom Tromey2-4/+11
* verify-impl.c (verify_instructions_0) <op_return>: Special case for Object.<init>. From-SVN: r113830
2006-05-16re PR target/26885 (-m64 -m32 no longer creates 32-bit object)H.J. Lu2-3/+9
gcc/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> PR driver/26885 * Makefile.in (GCC_OBJS): New. (OBJS-common): Add opts-common.o. (xgcc$(exeext)): Replace gcc.o with $(GCC_OBJS). (cpp$(exeext)): Likewise. (gcc.o): Also depend on opts.h. (opts-common.o): New. * common.opt (gcoff): Add Negative(gdwarf-2). (gdwarf-2): Add Negative(gstabs). (gstabs): Add Negative(gstabs+). (gstabs+): Add Negative(gvms). (gvms): Add Negative(gxcoff). (gxcoff): Add Negative(gxcoff+). (gxcoff+): Add Negative(gcoff). * config/i386/i386.opt (m32): Add Negative(m64). (m64): Add Negative(m32). * doc/options.texi: Document the Negative option. * gcc.c: Include "opts.h". (main): Call prune_options after expandargv. * optc-gen.awk: Generate common declarations for all flag variables in options.c. Output the neg_index field. * opts.c (find_opt): Moved to ... * opts-common.c: Here. New file. * opts.h (cl_option): Add a neg_index field. (find_opt): New. (prune_options): Likewise. gcc/cp/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> PR driver/26885 * Make-lang.in (GXX_OBJS): Replace gcc.o with $(GCC_OBJS). gcc/fortran/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> PR driver/26885 * Make-lang.in (GFORTRAN_D_OBJS): Replace gcc.o with $(GCC_OBJS). gcc/java/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> PR driver/26885 * Make-lang.in ($(GCJ)$(exeext)): Replace gcc.o with $(GCC_OBJS). gcc/treelang/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> PR driver/26885 * Make-lang.in (gtreelang$(exeext)): Replace gcc.o with $(GCC_OBJS). From-SVN: r113824
2006-05-14Make-lang.in (ada/decl.o): Replace target.h with $(TARGET_H).H.J. Lu2-3/+9
gcc/ada/ 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in (ada/decl.o): Replace target.h with $(TARGET_H). (ada/misc.o): Likewise. (ada/utils.o): Likewise. gcc/cp/ 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in (cp/decl.o): Add dependency on $(TARGET_H). (cp/decl2.o): Likewise. (cp/typeck.o): Likewise. (cp/cvt.o): Likewise. (cp/parser.o): Likewise. (cp/call.o): Replace target.h with $(TARGET_H). gcc/fortran/ 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in (fortran/options.o): Depend on $(TARGET_H). gcc/java/ 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in (java/decl.o): Add dependency on $(TARGET_H). (java/expr.o): Replace target.h with $(TARGET_H). (java/parse.o): Likewise. gcc/objcp/ 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in (objcp/objcp-decl.o): Add dependency on $(TARGET_H). gcc/treelang/ 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in (treelang/treetree.o): Add dependency on $(TARGET_H). From-SVN: r113773
2006-05-10class.c (emit_indirect_register_classes): Fix comment.Andrew Haley2-2/+6
2006-05-10 Andrew Haley <aph@redhat.com> * class.c (emit_indirect_register_classes): Fix comment. From-SVN: r113676
2006-05-05java-tree.h (uses_jv_markobj_p): Declare.Tom Tromey4-19/+36
* java-tree.h (uses_jv_markobj_p): Declare. * class.c (uses_jv_markobj_p): Removed. * boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): New define. (get_boehm_type_descriptor): Use it. (uses_jv_markobj_p): Moved from class.c. Return bool. From-SVN: r113549
2006-05-04* java-tree.def (THIS_EXPR): Now a tcc_expression.Tom Tromey2-1/+5
From-SVN: r113542
2006-05-04[multiple changes]Andrew Haley5-1/+101
2006-05-04 Andrew Haley <aph@redhat.com> * class.c (make_field_value): Always build_address_of fdecl if there is an initializer. 2006-05-03 Andrew Haley <aph@redhat.com> PR libgcj/27352 * expr.c (maybe_rewrite_invocation): New function. (rewrite_arglist_getclass): Likewise. (rules): New. (expand_invoke): Call maybe_rewrite_invocation. * parse.y (patch_invoke): Likewise. * java-tree.h: (maybe_rewrite_invocation): New function. 2006-05-03 Andrew Haley <aph@redhat.com> PR libgcj/27352 * java/lang/Class.java (getClassLoader(Class)): New. forName(String, Class): New. * java/lang/natClass.cc (getClassLoader(Class)): New. 2006-05-02 Andrew Haley <aph@redhat.com> * prims.cc (_Jv_NewMultiArray): Check for phantom class. From-SVN: r113532
2006-04-24lang.c (java_init): Handle flag_indirect_classes.Andrew Haley9-48/+247
2006-04-21 Andrew Haley <aph@redhat.com> * lang.c (java_init): Handle flag_indirect_classes. * jvgenmain.c: Use "class$$" instead of "class$". * mangle.c (java_mangle_decl): Accept RECORD_TYPEs sw well as DECLs. (mangle_class_field): Special case "class$$" as well as "class$". * constants.c (build_ref_from_constant_pool): If flag_indirect_classes, generate a ref into the heap. * decl.c (constants_field_decl_node, constants_data_field_decl_node): New. * class.c (build_static_class_ref): New. (build_classdollar_field): Factor out from build_class_ref(). (make_field_value): Handle static fields in heap. (make_class_data): Make sure we get a static ref to class. Make class initializer const if flag_indirect_classes. (register_class): Build a class_ref for initialization if flag_indirect_classes. (emit_indirect_register_classes): New. 2006-04-21 Andrew Haley <aph@redhat.com> * include/execution.h (struct _Jv_CompiledEngine): Define for compiled classes. * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call _Jv_RegisterLibForGc. (_Jv_RegisterClasses_Counted): Likewise. (_Jv_NewClassFromInitializer): New. (_Jv_RegisterNewClasses): New. * sources.am: Regenerate. * boehm.cc (_Jv_GC_has_static_roots): new. (_Jv_InitGC): Call GC_register_has_static_roots_callback. (filename_node, find_file, _Jv_print_gc_store, new_node, _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New. * scripts/makemake.tcl: Add -fno-indirect-classes. * Makefile.in: Regenerate. * link.cc (resolve_pool_entry): Allocate constant pool. Allocate fields. From-SVN: r113224
2006-04-08* expr.c, gjavah.c: Fix comment typos.Kazu Hirata3-2/+6
From-SVN: r112784
2006-04-03re PR libgcj/26858 (NullPointerException not generated for large classes...)Andrew Haley2-1/+8
2006-04-03 Andrew Haley <aph@redhat.com> PR java/26858 * expr.c (build_field_ref): Don't check the field offset if flag_syntax_only. From-SVN: r112640
2006-03-31re PR libgcj/26858 (NullPointerException not generated for large classes...)Andrew Haley4-5/+59
2006-03-30 Andrew Haley <aph@redhat.com> PR java/26858 * lang.c (java_attribute_table): New. (LANG_HOOKS_ATTRIBUTE_TABLE): Define. * expr.c (build_field_ref): Add a null pointer check for all fields of offset > 4k. Don't do so for accesses via the this pointer, which we know can never be null. * class.c (build_java_method_type): Mark arg 1 of all nonstatic methods nonnull. From-SVN: r112574
2006-03-30Makefile.in: Rename docdir to gcc_docdir.Carlos O'Donell2-4/+8
gcc/ 2006-03-30 Carlos O'Donell <carlos@codesourcery.com> * Makefile.in: Rename docdir to gcc_docdir. gcc/java/ 2006-03-30 Carlos O'Donell <carlos@codesourcery.com> * Make-lang.in: Rename docdir to gcc_docdir. gcc/ada/ 2006-03-29 Carlos O'Donell <carlos@codesourcery.com> * Make-lang.in: Rename docdir to gcc_docdir. gcc/fortran/ 2006-03-29 Carlos O'Donell <carlos@codesourcery.com> * Make-lang.in: Rename docdir to gcc_docdir. gcc/treelang/ 2006-03-29 Carlos O'Donell <caros@codesourcery.com> * Make-lang.in: Rename docdir to gcc_docdir. From-SVN: r112545
2006-03-30re PR java/26042 (ICE in mark_reference_fields, at java/boehm.c:105)Tom Tromey2-0/+10
gcc/java PR java/26042: * parse.y (java_reorder_fields): Reset superclass field's size as well. libjava PR java/26042: * testsuite/libjava.compile/pr26042.java: New file. From-SVN: r112540
2006-03-29re PR java/26390 (Problem dispatching method call when method does not exist ↵Tom Tromey2-4/+26
in superclass) gcc/java PR java/26390: * parse.y (find_most_specific_methods_list): Added 'class' argument. (lookup_method_invoke): Updated. libjava PR java/26390: * testsuite/libjava.lang/pr26390.out: New file. * testsuite/libjava.lang/pr26390.java: New file. * sources.am, Makefile.in: Rebuilt. * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing. From-SVN: r112499
2006-03-16jcf-write.c (generate_bytecode_insns): Use qualifying type for non-static ↵Tom Tromey2-9/+24
method calls. gcc/java * jcf-write.c (generate_bytecode_insns): Use qualifying type for non-static method calls. libjava * testsuite/libjava.jacks/jacks.xfail: Removed 13.1-runtime-method-5. From-SVN: r112102
2006-03-15java-tree.h: Moved comment for TYPE_DOT_CLASS adjacent to its declaration.David Daney2-2/+8
* java-tree.h : Moved comment for TYPE_DOT_CLASS adjacent to its declaration. From-SVN: r112098
2006-03-15lang.opt (-freduced-reflection): New option.David Daney7-24/+125
* lang.opt (-freduced-reflection): New option. * lang.c (java_post_options): Generate an error if -freduced-reflection used with -fjni or -findirect-dispatch. * java-tree.h (flag_reduced_reflection): Declare new variable. * boehm.c (get_boehm_type_descriptor): Indicate all pointers if bitmap overflows and flag_reduced_reflection set. * class.c (uses_jv_markobj_p): New function. (make_class_data): Moved generation of vtable to before reflection data, generate less reflection data if flag_reduced_reflection set. * gcj.texi: Document -freduced-reflection. From-SVN: r112095
2006-03-15Correctly reference PR java/26638 in ChangeLogsTom Tromey1-1/+1
From-SVN: r112094
2006-03-15re PR java/26390 (Problem dispatching method call when method does not exist ↵Tom Tromey2-4/+13
in superclass) gcc/java PR java/26390: * class.c (get_interface_method_index): Don't put <clinit> into interface table. libjava PR java/26390: * link.cc (get_interfaces): Skip <clinit>. (append_partial_itable): Likewise. From-SVN: r112093
2006-03-15* parse.y (analyze_clinit_body): Ignore empty statements.Tom Tromey2-2/+12
From-SVN: r112092
2006-03-08gcj.texi: Document -static-libgcj option.David Daney2-0/+18
gcc/java/ 2006-03-08 David Daney <ddaney@avtrex.com> * gcj.texi: Document -static-libgcj option. libjava/ 2006-03-08 David Daney <ddaney@avtrex.com> * configure.ac (LD): Add AC_CHECK_TOOL for ld. (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check. (LD_FINISH_STATIC_SPEC): Ditto * configure: Regenerated. * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and LD_FINISH_STATIC_SPEC. From-SVN: r111847
2006-02-23jcf-parse.c (parse_class_file): Set input_location from current_class.Andrew Haley2-1/+6
2006-02-20 Andrew Haley <aph@redhat.com> * jcf-parse.c (parse_class_file): Set input_location from current_class. From-SVN: r111383
2006-02-20class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here.Andrew Haley2-1/+9
2006-02-15 Andrew Haley <aph@redhat.com> * class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here. (make_class_data): pushdecl_top_level TYPE_OTABLE_SYMS_DECL, TYPE_ATABLE_SYMS_DECL, TYPE_ITABLE_SYMS_DECL here. From-SVN: r111306
2006-02-20configure.ac (target_list): Add install-info, dvi, html.Paolo Bonzini1-4/+4
2006-02-20 Paolo Bonzini <bonzini@gnu.org> * configure.ac (target_list): Add install-info, dvi, html. * configure: Regenerate. * ada/Make-lang.in, cp/Make-lang.in, fortran/Make-lang.in, java/Make-lang.in, objc/Make-lang.in, objcp/Make-lang.in, treelang/Make-lang.in: Do not use double-colon rules. From-SVN: r111304
2006-02-09re PR java/26192 (ICE while compiling jar or class file (azureus))Andrew Haley3-0/+12
2006-02-09 Andrew Haley <aph@redhat.com> PR java/26192 * expr.c (expand_invoke): Allow methods in arrays to be resolved in their superclass. * typeck.c (build_java_array_type): Generate TYPE_STUB_DECLs for array types. From-SVN: r110799
2006-02-08re PR java/22578 (should inline floatToIntBits et al)Tom Tromey3-1/+23
gcc/java PR java/22578: * check-init.c (check_init): Handle VIEW_CONVERT_EXPR. * builtins.c (convert_real): New function. (java_builtins): Handle Float.intBitsToFloat, Float.floatToRawIntBits, Double.longBitsToDouble, Double.doubleToRawLongBits. libjava PR java/22578: * gcj/javaprims.h: Updated. * sources.am, Makefile.in: Rebuilt. * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble. (doubleToRawLongBits): Likewise. (longBitsToDouble): Likewise. (toString): Likewise. (parseDouble): Likewise. * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat. (floatToRawIntBits): Likewise. (intBitsToFloat): Likewise. * java/lang/VMDouble.java: New file. * java/lang/VMFloat.java: New file. * java/lang/Float.java, java/lang/Double.java: Removed. From-SVN: r110759
2006-02-07Comment typo.Andrew Haley1-1/+1
From-SVN: r110711
2006-02-07re PR java/25535 (gcj broken on 64-bit big-endian systems)Andrew Haley3-2/+31
2006-02-07 Andrew Haley <aph@redhat.com> * expr.c (expand_invoke): (BC mode.) If we find a method in a class other than the one in which we expected to find it, ignore the result. PR java/25535 * constants.c (build_constants_constructor): move initializer into first halfword on a 6-bit big-endian machine. From-SVN: r110710
2006-02-04re PR java/25676 (Use of MIN_EXPR/MAX_EXPR is wrong for java)Tom Tromey2-4/+21
gcc/java PR java/25676: * builtins.c (max_builtin): Skip floating point 'max'. (min_builtin): Skip floating point 'min'. (check_for_builtin): Never return NULL_TREE. libjava PR java/25676: * testsuite/libjava.lang/pr25676.out: New file. * testsuite/libjava.lang/pr25676.java: New file. From-SVN: r110599
2006-02-04re PR java/26097 (Libjava failed to build)Tom Tromey2-2/+8
PR java/26097: * expr.c (push_type): Avoid side effect in gcc_assert. From-SVN: r110598
2006-02-04decl.c (java_init_decl_processing): Create char_type_node as a regular ↵Roger Sayle7-13/+35
INTEGER_TYPE node. * decl.c (java_init_decl_processing): Create char_type_node as a regular INTEGER_TYPE node. (push_promoted_type): Preserve TYPE_STRING_FLAG on types. * typeck.c (convert): No longer check for CHAR_TYPEs but instead test for char_type_node and promoted_char_type_node as special instances of INTEGER_TYPE tree codes. (promote_type,build_java_signature): Likewise. * jcf-write.c (adjust_typed_op): Likewise. * mangle.c (mangle_type): Likewise. * parse.y (do_unary_numeric_promotion): No longer handle CHAR_TYPE. * parse.h (JINTEGRAL_TYPE_P): Likewise. From-SVN: r110592
2006-02-04expr.c (java_stack_swap): Revert gcc_assert patch.Andreas Tobler2-5/+11
2006-02-04 Andreas Tobler <a.tobler@schweiz.ch> * expr.c (java_stack_swap): Revert gcc_assert patch. From-SVN: r110579
2006-02-03java-gimplify.c: Use gcc_assert and gcc_unreachable throughout.Ben Elliston15-158/+116
* java-gimplify.c: Use gcc_assert and gcc_unreachable throughout. * typeck.c: Likewise. * verify-impl.c: Likewise. * class.c: Likewise. * decl.c: Likewise. * jcf-parse.c: Likewise. * constants.c: Likewise. * check-init.c: Likewise. * jcf-write.c: Likewise. * verify-glue.c: Likewise. * mangle.c: Likewise. * expr.c: Likewise. * lang.c: Likewise. * boehm.c: Likewise. From-SVN: r110541
2006-02-01opts.c (no_unit_at_a_time_default): New global variable.Jan Hubicka3-1/+9
2006-02-01 Jan Hubicka <jh@suse.cz> * opts.c (no_unit_at_a_time_default): New global variable. (decode_options): Use it. * opts.h (no_unit_at_a_time_default): Declare. java/ * decl.c (end_java_method): Kill hack disabling unit-at-a-time. * lang.c (java_init_options): Set no_unit_at_a_time_default. From-SVN: r110479
2006-01-31tree-vrp.c: Use XNEW/XCNEW allocation wrappers.Marcin Dalecki16-63/+61
2006-01-31 Marcin Dalecki <martin@dalecki.de> * tree-vrp.c: Use XNEW/XCNEW allocation wrappers. * regrename.c: Ditto. * tree-ssa-loop-im.c: Ditto. * tree-dump.c: Ditto. * tree-complex.c: Ditto. * genrecog.c: Ditto. * tree-ssa-threadupdate.c: Ditto. * tracer.c: Ditto. * java/class.c: Ditto. * java/jcf-parse.c: Ditto. * java/resource.c: Ditto. * java/except.c: Ditto. * java/jvspec.c: Ditto. * java/jcf-write.c: Ditto. * java/jcf-path.c: Ditto. * java/gjavah.c: Ditto. * java/zextract.c: Ditto. * java/jcf-io.c: Ditto. * java/jcf.h: Ditto. * java/buffer.c: Ditto. * java/lang.c: Ditto. * java/parse-scan.y: Ditto. * java/lex.c: Ditto. * java/lex.h: Ditto. * cfgloopmanip.c: Ditto. * postreload-gcse.c: Ditto. * tree-ssa-loop-manip.c: Ditto. * postreload.c: Ditto. * tree-ssa-loop-ch.c: Ditto. * loop.c: Ditto. * ipa-cp.c: Ditto. * cppspec.c: Ditto. * diagnostic.c: Ditto. * final.c: Ditto. * genoutput.c: Ditto. * gcc.c: Ditto. * cfghooks.c: Ditto. * cfgloopanal.c: Ditto. * objc/objc-act.c: Ditto. * gcov.c: Ditto. * genextract.c: Ditto. * genautomata.c: Ditto. * pretty-print.c: Ditto. * genemit.c: Ditto. * cgraphunit.c: Ditto. * flow.c: Ditto. * df-scan.c: Ditto. * haifa-sched.c: Ditto. * dominance.c: Ditto. * dbxout.c: Ditto. * tree-ssa-loop-ivopts.c: Ditto. * df-core.c: Ditto. * mode-switching.c: Ditto. * modulo-sched.c: Ditto. * graph.c: Ditto. * ipa-pure-const.c: Ditto. * cse.c: Ditto. * fix-header.c: Ditto. * web.c: Ditto. * tree-stdarg.c: Ditto. * ipa-utils.c: Ditto. * loop-init.c: Ditto. * ipa-inline.c: Ditto. * cfganal.c: Ditto. * global.c: Ditto. * alloc-pool.c: Ditto. * dwarf2out.c: Ditto. * opts.c: Ditto. * genattrtab.c: Ditto. * tree-ssa-loop-ivcanon.c: Ditto. * predict.c: Ditto. * timevar.c: Ditto. * lcm.c: Ditto. * fortran/gfortranspec.c: Ditto. * regmove.c: Ditto. * local-alloc.c: Ditto. * langhooks.c: Ditto. * function.c: Ditto. * tree-vectorizer.c: Ditto. * gcse.c: Ditto. * ipa-type-escape.c: Ditto. * alias.c: Ditto. * tree-if-conv.c: Ditto. * profile.c: Ditto. * ipa.c: Ditto. * tree-data-ref.c: Ditto. * loop-unroll.c: Ditto. * treelang/treetree.c: Ditto. * calls.c: Ditto. * bt-load.c: Ditto. * ggc-common.c: Ditto. * except.c: Ditto. * coverage.c: Ditto. * cselib.c: Ditto. * tree-cfgcleanup.c: Ditto. * tree-ssa-pre.c: Ditto. * cfgcleanup.c: Ditto. * loop-invariant.c: Ditto. * loop-iv.c: Ditto. * ipa-prop.c: Ditto. * print-tree.c: Ditto. * conflict.c: Ditto. * ggc-page.c: Ditto. * sched-deps.c: Ditto. * regclass.c: Ditto. * tree-object-size.c: Ditto. * combine.c: Ditto. * bb-reorder.c: Ditto. * resource.c: Ditto. * var-tracking.c: Ditto. * cfgloop.c: Ditto. * df-problems.c: Ditto. * reg-stack.c: Ditto. * tlink.c: Ditto. * gccspec.c: Ditto. * sched-rgn.c: Ditto. * tree-ssa-structalias.c: Ditto. * tree-ssa-reassoc.c: Ditto. * config/darwin-c.c: Ditto. * config/darwin.c: Ditto. * config/arm/arm.c: Ditto. * cfgrtl.c: Ditto. * collect2.c: Ditto. * reload1.c: Ditto. From-SVN: r110446
2006-01-30re PR java/21428 (bogus warning: unused parameter 'this')Andrew Haley2-0/+8
2006-01-30 Andrew Haley <aph@redhat.com> PR java/21428 * parse.y: (source_start_java_method): Mark DECL_ARTIFICIAL("this"). From-SVN: r110400
2006-01-21gcov.c (print_version), [...]): Update copyright notice dates.Joseph Myers4-7/+12
* gcov.c (print_version), gcov-dump.c (print_version), mips-tdump.c (main), mips-tfile.c (main): Update copyright notice dates. fortran: * gfortranspec.c (lang_specific_driver): Update copyright notice date. java: * jv-scan.c (version), jcf-dump.c (version), gjavah.c (version): Update copyright notice dates. treelang: * spec.c (lang_specific_driver): Update copyright notice date. From-SVN: r110069
2006-01-17Fix up recent entries by espindola.Ben Elliston1-2/+2
From-SVN: r109804
2006-01-16jvspec.c (lang_specific_spec_functions): removeRafael Espindola2-6/+4
* gcc/java/jvspec.c (lang_specific_spec_functions): remove * gcc/cppspec.c (lang_specific_spec_functions): remove * gcc/gcc.c (lookup_spec_function): use static_spec_functions directelly * gcc/gcc.h (lang_specific_spec_functions): remove * gcc/gccspec.c (lang_specific_spec_functions): remove * gcc/cp/g++spec.c (lang_specific_spec_functions): remove * gcc/fortran/gfortranspec.c (lang_specific_spec_functions): remove * gcc/treelang/spec.c (lang_specific_spec_functions): remove From-SVN: r109761
2006-01-06gcj.texi (Arrays): Added more documentation for JvNewObjectArray.Tom Tromey2-3/+68
* gcj.texi (Arrays): Added more documentation for JvNewObjectArray. (Primitive types): Correct information about primitive classes. (Reference types): New node. (Index): New node. From-SVN: r109432
2005-12-16jcf-parse.c (set_source_filename): Set the decl source location even when ↵Alexandre Oliva2-1/+12
returning early. * jcf-parse.c (set_source_filename): Set the decl source location even when returning early. From-SVN: r108662
2005-12-16re PR java/25429 (can't see private static final int CREATE = 1)Tom Tromey2-2/+16
gcc/java: PR java/25429 * parse.y (resolve_expression_name): Don't generate accessor methods for constant fields. libjava: * testsuite/libjava.compile/rh175833.java: New file. * testsuite/libjava.compile/pr25429.java: New file. Co-Authored-By: Andrew Haley <aph@redhat.com> From-SVN: r108608
2005-12-13re PR java/25366 (ICE in do_resolve_class)Andrew Haley2-0/+10
2005-12-13 Andrew Haley <aph@redhat.com> PR java/25366 PR java/25368 * class.c (maybe_layout_super_class): Update current_class before calling do_resolve_class. From-SVN: r108474
2005-12-12re PR java/25330 (A race condition in write_classfile)H.J. Lu2-3/+15
2005-12-12 H.J. Lu <hongjiu.lu@intel.com> PR java/25330 * jcf-write.c (write_classfile): Use PID in temporary class file. Save/restore errno when reporting error. From-SVN: r108411
2005-12-11Fixes java/PR9861Terry Laurenzo3-13/+29
From-SVN: r108374
2005-12-08re PR libgcj/25265 (linking BC-compiled classes with incompatible changes)Andrew Haley1-0/+1
2005-12-08 Andrew Haley <aph@redhat.com> PR libgcj/25265 * java-tree.h (enum java_tree_index): Add JTI_SOFT_NOSUCHFIELD_NODE. (soft_abstractmethod_node): New. * expr.c (build_field_ref): Add in-line check for missing field. * decl.c (java_init_decl_processing): Add soft_nosuchfield_node. 2005-12-08 Andrew Haley <aph@redhat.com> PR libgcj/25265 * java/lang/Object.h (throwNoSuchMethodError): New method. * java/lang/Object.java (throwNoSuchMethodError): New method. * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare. * link.cc (_Jv_ThrowNoSuchFieldError): New. (link_symbol_table): Don't throw a NoSuchFieldError if a field is missing. Instead, set the otable entry to zero. (link_symbol_table): If we don't find a nonstatic method, insert the vtable offset of Object.throwNoSuchMethodError() into the otable. From-SVN: r108235
2005-12-08java-tree.h (enum java_tree_index): Add JTI_SOFT_NOSUCHFIELD_NODE.Andrew Haley4-0/+30
2005-12-08 Andrew Haley <aph@redhat.com> * java-tree.h (enum java_tree_index): Add JTI_SOFT_NOSUCHFIELD_NODE. (soft_abstractmethod_node): New. * expr.c (build_field_ref): Add in-line check for missing field. * decl.c (java_init_decl_processing): Add soft_nosuchfield_node. 2005-12-08 Andrew Haley <aph@redhat.com> * java/lang/Object.h (throwNoSuchMethodError): New method. * java/lang/Object.java (throwNoSuchMethodError): New method. * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare. * link.cc (_Jv_ThrowNoSuchFieldError): New. (link_symbol_table): Don't throw a NoSuchFieldError if a field is missing. Instead, set the otable entry to zero. (link_symbol_table): If we don't find a nonstatic method, insert the vtable offset of Object.throwNoSuchMethodError() into the otable. [[Split portion of a mixed commit.]] From-SVN: r108230.2
2005-12-07sourcebuild.texi (all.build, [...]): Remove.Rafael Ávila de Espíndola2-6/+6
gcc/ * doc/sourcebuild.texi (all.build, install-normal): Remove. * configure.ac: Remove all.build and install-normal from target_list * configure: Regenerate. * Makefile.in (install): Don't depend on install-normal. gcc/java/ * Make-lang.in (java.all.build, java.install-normal): Remove. gcc/objc/ * Make-lang.in (objc.all.build, objc.install-normal): Remove. gcc/objcp/ * Make-lang.in (obj-c++.all.build, obj-c++.install-normal): Remove. gcc/cp/ * Make-lang.in (c++.all.build, c++.install-normal): Remove. gcc/ada/ * Make-lang.in (ada.install-normal): Remove. gcc/fortran/ * Make-lang.in (fortran.all.build, fortran.install-normal): Remove. gcc/treelang/ * Make-lang.in (treelang.all.build, treelang.install-normal): Remove. From-SVN: r108158
2005-12-07gty.texi: Remove instructions for adding a dependency on s-gtype.Alan Modra2-4/+6
gcc/ * doc/gty.texi: Remove instructions for adding a dependency on s-gtype. * Makefile.in: Add code to compute some dependencies on s-gtype automatically. Remove the declaration of those dependencies. gcc/java/ * Make-lang.in: Remove all dependencies on s-gtype, except for gt-java-parse.h. gcc/objc/ * Make-lang.in: Remove all dependencies on s-gtype. gcc/objcp/ * Make-lang.in: Remove all dependencies on s-gtype. gcc/cp/ * Make-lang.in: Remove all dependencies on s-gtype. gcc/ada/ * Make-lang.in: Remove all dependencies on s-gtype. gcc/fortran/ * Make-lang.in: Remove all dependencies on s-gtype, except for gt-fortran-trans.h. gcc/treelang/ * Make-lang.in: Remove all dependencies on s-gtype. From-SVN: r108155