aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
AgeCommit message (Collapse)AuthorFilesLines
2004-05-13Merge tree-ssa-20020619-branch into mainline.Diego Novillo20-679/+1335
From-SVN: r81764
2004-05-10parse.y (create_class): Set TYPE_VFIELD.Andrew Haley6-20/+81
2004-05-10 Andrew Haley <aph@redhat.com> * parse.y (create_class): Set TYPE_VFIELD. * decl.c (java_init_decl_processing): Likewise. * expr.c (build_invokevirtual): Remove DECL_VINDEX offset adjustment. * class.c (make_method_value): Replace DECL_VINDEX with call to get_method_index(). (get_dispatch_vector): Likewise. (layout_class_method): Likewise. Replace set of DECL_VINDEX with call to set_method_index(). (set_method_index): New function. (get_method_index): New function. * java-tree.h (set_method_index): New function decl. (get_method_index): New function decl. From-SVN: r81672
2004-05-10parse.y (check_pkg_class_access): Add new argument and use it when cl is ↵Andrew Pinski2-11/+27
NULL to call lookup_cl on it. 2004-05-10 Andrew Pinski <pinskia@physics.uc.edu> * parse.y (check_pkg_class_access): Add new argument and use it when cl is NULL to call lookup_cl on it. (parser_check_super_interface): Do not call lookup_cl. Pass this_decl to check_pkg_class_access and NULL instead of lookup_cl. (parser_check_super): Update for change in check_pkg_class_access. (do_resolve_class): Likewise. (process_imports): Likewise. (find_in_imports_on_demand): Likewise. (resolve_qualified_expression_name): Likewise. From-SVN: r81668
2004-05-06Fixes PR java/9685, PR java/15073Ranjit Mathew2-21/+45
Fixes PR java/9685, PR java/15073 * parse.y (accessibility_string): New method. (not_accessible_field_error): Use accessibility_string() instead of java_accstring_lookup(). (resolve_qualified_expression_name): Check with check_pkg_class_access() before allowing access using qualified names. Fix comment typo. Use check_pkg_class_access() instead of not_accessible_p() for unqualified types. (not_accessible_p): Use DECL_CONTEXT (member) instead of REFERENCE for package-private access checking. (patch_method_invocation): Use accessibility_string() instead of java_accstring_lookup(). From-SVN: r81573
2004-04-30re PR java/15133 (gcjh generates wrong method signatures)Ranjit Mathew2-2/+14
Fixes PR java/15133 * gjavah.c (struct method_name): Add member is_native. (overloaded_jni_method_exists_p): Match candidate method only if it is native. (print_method_info): Initialise is_native flag from the method's access flags. From-SVN: r81357
2004-04-30builtins.c (java_builtins): Add acos, asin, ceil and floor.Roger Sayle2-0/+17
* builtins.c (java_builtins): Add acos, asin, ceil and floor. (initialize_builtins): Likewise, define acos, asin, ceil and floor. * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin, ceil and floor. From-SVN: r81341
2004-04-22resource.c (write_resource_constructor): Guard call to possibly NULL ↵Roger Sayle2-2/+11
targetm.asm_out.constructor with... * resource.c (write_resource_constructor): Guard call to possibly NULL targetm.asm_out.constructor with targetm.have_ctors_dtors. From-SVN: r81012
2004-04-20class.c (make_class_data): Add new field aux_info.Bryce McKinlay3-0/+8
2004-04-19 Bryce McKinlay <mckinlay@redhat.com> * class.c (make_class_data): Add new field aux_info. * decl.c (java_init_decl_processing): Push type and decl for `aux_info'. 2004-04-19 Bryce McKinlay <mckinlay@redhat.com> * gcj/cni.h (JvAllocObject): Remove these obsolete, undocumented CNI calls. * include/java-interp.h (_Jv_InterpClass): No longer extends java.lang.Class. * java/lang/Class.h (Class): Add new field `aux_info'. * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking. * defineclass.cc: Remove Class<->_Jv_InterpClass casts. Use Class->aux_info instead. * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject. * resolve.cc: Remove Class<->_Jv_InterpClass casts. Use Class->aux_info instead. * java/io/natObjectInputStream.cc (allocateObject): Use _Jv_AllocObject. * java/lang/natClass.cc (newInstance): Likewise. * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise. * java/lang/natObject.cc (clone): Likewise. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise. * java/lang/natVMClassLoader.cc (defineClass): Don't use JvAllocObject. Allocate klass->aux_info here for interpreted class. From-SVN: r80875
2004-04-16prims.cc (_Jv_AllocObject): Remove `size' argument.Bryce McKinlay3-8/+10
libjava: 2004-04-15 Bryce McKinlay <mckinlay@redhat.com> * prims.cc (_Jv_AllocObject): Remove `size' argument. (_Jv_AllocObjectNoFinalizer): Likewise. (_Jv_AllocObjectNoInitNoFinalizer): Likewise. (_Jv_AllocPtrFreeObject): Likewise. (_Jv_AllocString): Moved from natString.cc. Call collector interface directly even in the JVMPI case. * gcj/cni.h (JvAllocObject): Remove `size' argument from _Jv_AllocObject calls. * gcj/javaprims.h: Update prototypes. * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject. * java/lang/Class.h: Update _Jv_AllocObject friend prototype. * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc. gcc/cp: 2004-04-15 Bryce McKinlay <mckinlay@redhat.com> * init.c (build_new_1): Don't use type size argument for Java _Jv_AllocObject call. gcc/java: 2004-04-15 Bryce McKinlay <mckinlay@redhat.com> * expr.c (expand_java_NEW): Don't use size argument for _Jv_AllocObject calls. * parse.y (patch_invoke): Likewise. From-SVN: r80754
2004-04-14expr.c (build_invokeinterface): Remove unused variables to fix warnings.Bryce McKinlay2-2/+5
* expr.c (build_invokeinterface): Remove unused variables to fix warnings. From-SVN: r80686
2004-04-14[multiple changes]Bryce McKinlay4-13/+34
2004-04-14 Andrew Haley <aph@redhat.com> Bryce McKinlay <mckinlay@redhat.com> * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use _Jv_LookupInterfaceMethodIdx for calls to interfaces. * include/jvm.h (_Jv_CallAnyMethodA): Add new face' arg. * testsuite/libjava.lang/InvokeInterface.java: New file. * testsuite/libjava.lang/InvokeInterface.out: New file. 2004-04-14 Bryce McKinlay <mckinlay@redhat.com> * class.c (get_interface_method_index): New function. Return dispatch index for interface method. (make_method_value): For interface methods, set index field to iface dispatch index, not DECL_VINDEX. * expr.c (build_invokeinterface): Use get_interface_method_index. From-SVN: r80684
2004-04-05gcc.c (combine_flag): New global variable, for new driver option.Caroline Tice1-5/+5
2004-04-05 Caroline Tice <ctice@apple.com> * gcc.c (combine_flag): New global variable, for new driver option. (struct compiler): Add two new fields, to be used when combining multiple input files in a single pass (IMA). (default_compilers): Add values for the new fields to all compiler entries. Modify the "@c" compiler entry for doing IMA properly with "-save-temps" and the "combine" flag. (option_map): Add new driver option, "--combine", to tell driver to pass multiple input files to compiler at one time. (have_o_argbuf_index): New global variable. (store_arg): Modify to assign value to have_o_argbuf_index. (struct infile): Add three new fields, to help with IMA. (display_help): Add help for new "combine" option. (process_command): Remove local variable have_o; add code to check for new "combine" option; remove assignment to combine_inputs. (do_spec_1): Modify to deal with IMA better. (main): Make variable 'lang_n_infiles' local to entire function rather than to a single block. Use flag combine_flag to determine whether to do IMA or not; Modify loop initializing infiles to deal properly with linker files. Add code for doing preprocessing in presence of IMA with "-save-temps" flag. Modify "main" loop to handle multiple input files, in multiple languages, with or without preprocessing, gracefully. * toplev.c (set_src_pwd): Modify to not complain if attempting to re-set it to same directory it's previously been set to (avoid irritating, meaningless warning messages when doing IMA with save-temps). * doc/invoke.texi: Add "-combine" to list of Overall Options; remove documentation about IMA that is no longer accurate; Add documentation explaining what "-combine" does. * ada/lang-specs.h: Add initialization values for new fields in "struct compiler". * cp/lang-specs.h: Likewise. * f/lang-specs.h: Likewise. * java/lang-specs.h: Likewise. * objc/lang-specs.h: Likewise. * treelang/lang-specs.h: Likewise. Fix gcc driver to work properly with IMI. From-SVN: r80435
2004-03-31builtins.c, [...]: Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED.Richard Kenner2-1/+5
* builtins.c, c-aux-info.c, c-common.c, c-cppbuiltin.c, c-decl.c: Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED. * c-format.c, c-opts.c, c-pretty-print.c, c-typeck.c: Likewise. * calls.c, convert.c, dbxout.c, dojump.c, dwarf2out.c: Likewise. * expmed.c, expr.c, fold-const.c, function.c, integrate.c: Likewise. * optabs.c, sdbout.c, stmt.c, stor-layout.c, tree-dump.c: Likewise. * tree.c, config/iq2000/iq2000.c, config/m32r/m32r.c: Likewise. * config/mips/mips.c, config/rs6000/rs6000.c: Likewise. * config/s390/s390.c, config/sparc/sparc.c, objc/objc-act.c: Likewise. * stor-layout.c (layout_type, case COMPLEX_TYPE): Test for REAL_TYPE, not INTEGER_TYPE. (layout_type, case VECTOR_TYPE): Simplify code. * tree.c (build_vector_type_for_mode): Remove dup unsigned setting. * tree.h: Update comments. (STRIP_NOPS): Use TYPE_UNSIGNED. (TYPE_UNSIGNED): New macro. (TYPE_TRAP_SIGNED): Remove now redundant check. (SAVE_EXPR_NOPLACEHOLDER): Don't use TREE_UNSIGNED. * cp/call.c (joust): Use TYPE_UNSIGNED, not TREE_UNSIGNED. * cp/class.c (check_bitfield_decl): Likewise. * cp/cvt.c (type_promotes_to): Likewise. * cp/decl.c (finish_enum): Likewise. * cp/mangle.c (write_builtin_type): Likewise. * cp/semantics.c (finish_switch_cond, finish_unary_op_expr): Likewise. * cp/typeck.c (type_after_usual_arithmetic_conversions): Likewise. (build_binary_op): Likewise. * f/com.c (ffecom_arrayref_): Use TYPE_UNSIGNED, not TREE_UNSIGNED. (ffecom_expr_): Likewise. * java/jcf-write.c (generate_bytecode_insns): Use TYPE_UNSIGNED. * treelang/treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED, not TREE_UNSIGNED. * ada/decl.c (gnat_to_gnu_entity, make_type_from_size): Use TYPE_UNSIGNED, not TREE_UNSIGNED. * ada/trans.c (tree_transform, convert_with_check): Likewise. * ada/utils.c (gnat_signed_or_unsigned_type): Likewise. (build_vms_descriptor, unchecked_convert): Likewise. * ada/utils2.c (nonbinary_modular_operation): Likewise. From-SVN: r80287
2004-03-31re PR java/14104 (java testsuite fails "linking simple")Andrew Haley2-1/+7
2004-03-31 Andrew Haley <aph@redhat.com> PR java/14104 * jcf-io.c (opendir_in_zip): Tidy up error handling. From-SVN: r80248
2004-03-30gengtype.c (create_option): New function.Zack Weinberg5-22/+27
* gengtype.c (create_option): New function. * gengtype.h: Prototype it. * gengtype-yacc.y (stringseq): New rule. (option): Use create_option. Add new bare ID production. Use stringseq, not STRING directly. * alias.c, bitmap.c, c-decl.c, cgraph.h, cpplib.h, cselib.h * dwarf2out.c, emit-rtl.c, function.h, lists.c, tree.h * varray.h, config/alpha/alpha.c, cp/name-lookup.c, cp/parser.c * f/com.c, java/builtins.c, java/expr.c, java/jcf.h, java/parse.h: Use new shorter form of GTY markers. * doc/gty.texi: Rewrite. From-SVN: r80091
2004-03-25re PR java/14689 (jcf-path.c missing closedir)Marcus Meissner2-0/+7
PR java/14689: * jcf-path.c (jcf_path_extdirs_arg): Add missing closedir. From-SVN: r79948
2004-03-23re PR java/14315 ([3.4 only]: Java compiler is not parallel make safe)Tom Tromey2-3/+11
PR java/14315: * jcf-write.c (make_class_file_name): Don't report if mkdir failed with EEXIST. From-SVN: r79868
2004-03-23* gcj.texi (Extensions): Document GCJ_PROPERTIES.Tom Tromey2-1/+17
From-SVN: r79867
2004-03-20class.c, [...]: Fix comment typos.Kazu Hirata5-6/+11
* class.c, gjavah.c, lang.c: Fix comment typos. * gcj.texi: Fix typos. From-SVN: r79744
2004-03-19* gcj.texi (Code Generation): Document new flags and assert defaults.Per Bothner2-0/+23
From-SVN: r79715
2004-03-19class.c (assume_compiled_node_struct): Rename type to ↵Per Bothner6-60/+170
class_flag_node_struct, as it is now also used for enable_assertions. * class.c (assume_compiled_node_struct): Rename type to class_flag_node_struct, as it is now also used for enable_assertions. Rename assume_compiled_node typedef. Rename excludep field to value. (find_assume_compiled_node): Rename function to find_class_flag_node. Minor optimization - avoid needless strlen. (add_assume_compiled): Some tweaking and optimization. Rename and generalize to add_class_flag takem an extra parameter. (add_assume_compled): New just calls add_class_flag. (add_enable_assert, enable_assertions): New functions. (enable_assert_tree): New static. * java-tree.h (add_enable_assert, enable_assertions): New declarations. * lang.opt (fenable-assertions, fenable-assertions=, fdisable-assertions, fdisable-assertions=): New options. * lang.c (java_handle_option): Handle new options. * parse.y (build_incomplete_class_ref): Handle class$ in an inner class in an interface - create helper class nested in outer interface. (build_assertion): Short-circuit if enable_assertions is false. From-SVN: r79710
2004-03-18tree.h (TREE_CHECK2, [...]): New macros.Richard Kenner3-171/+201
* tree.h (TREE_CHECK2, TREE_CHECK3, TREE_CHECK5): New macros. (tree_check2_failed, tree_check3_failed, tree_check5_failed): New decl. (FUNC_OR_METHOD_CHECK, SET_ARRAY_OR_VECTOR_CHECK): New macros. (REC_OR_UNION_CHECK, NUMERICAL_TYPE_CHECK): Likewise. (TYPE_VALUES, TYPE_DOMAIN, TYPE_FIELDS, TYPE_METHODS, TYPE_VFIELD): Protect with proper check. (TYPE_ARG_TYPES, TYPE_METHOD_BASETYPE, TYPE_OFFSET_BASETYPE): Likewise. (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Likewise. * tree.c (type_hash_eq): Rewrite to access proper fields for each type. (tree_check2_failed, tree_check3_failed, tree_check5_failed): New. * c-typeck.c (build_array_ref): Use TYPE_DOMAIN, not TYPE_VALUES. * dwarf2out.c (gen_enumeration_type_die): Use TYPE_VALUES, not TYPE_FIELDS. * cp/class.c (finish_struct_bits): Use TYPE_VFIELD and TYPE_METHODS. * cp/error.c (dump_type): Use TYPEOF_TYPE_EXPR. * cp/pt.c (tsubst): Likewise. * cp/semantics.c (finish_typeof): Likewise. * cp/search.c (dfs_unuse_fields): Handle TYPENAME_TYPE, TYPEOF_TYPE, and TEMPLATE_TYPE_PARM. * cp/typeck.c (comptypes): Use TYPE_ORIG_SIZE_TYPE, not TYPE_DOMAIN. (build_array_ref): Use TYPE_DOMAIN, not TYPE_VALUES. * java/java-tree.h: Changes throughout to add checking to macros and numerous whitespace changes. (VAR_OR_FIELD_CHECK): New macro. * java/jcf-write.c (get_access_flags): Use FIELD_PUBLIC, METHOD_PUBLIC, FIELD_FINAL, and METHOD_FINAL instead of CLASS_PUBLIC and CLASS_FINAL. * ada/ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Add checking. (TYPE_CONTAINS_TEMPLATE_P, TYPE_OBJECT_RECORD_TYPE): Likewise. (TYPE_RM_SIZE_INT): Directly use type.values. (TREE_LOOP_ID): Clean up check. * ada/decl.c (gnat_to_gnu_entity, case E_Enumeration_Type): Use TYPE_VALUES, not TYPE_FIELDS. * ada/trans.c (convert_with_check): Delay access of bounds of basetype until sure is numeric. From-SVN: r79638
2004-03-16jcf-jump.c (options): New --print-constants option.Per Bothner3-1/+10
* jcf-jump.c (options): New --print-constants option. * gcj.texi (Invoking jcf-dump): Document --print-constants. From-SVN: r79558
2004-03-16jcf-dump.c (flag_print_constant_pool): Default to off.Per Bothner2-29/+55
* jcf-dump.c (flag_print_constant_pool): Default to off. (print_constant_terse_with_index): New helper function. (various places): Check flag_print_constant_pool where missing. (main): If verbose set flag_print_constant_pool. (HANDLE_INNERCLASSES_ATTRIBUTE): Null inner class name is anonymous. From-SVN: r79555
2004-03-15re PR java/14581 (gcj internal error: Segmentation fault involving switch ↵Andrew Haley2-1/+8
to a final var) 2004-03-15 Andrew Haley <aph@redhat.com> PR java/14581 * parse.y (java_complete_lhs): Check that final variable has an initializer. From-SVN: r79505
2004-03-15re PR java/14551 (Switch w sign-extended byte and >16 labels causes error in ↵Andrew Haley2-1/+14
tree.c) 2004-03-12 Andrew Haley <aph@redhat.com> PR java/14551 * typeck.c (convert): Clear TREE_OVERFLOW after an integer conversion. From-SVN: r79493
2004-02-29jcf-parse.c (java_parse_file): Handle the case that input_filename is NULL.Roger Sayle2-3/+7
* jcf-parse.c (java_parse_file): Handle the case that input_filename is NULL. From-SVN: r78649
2004-02-27Note that entry fixes PR java/13508, java/11714.Per Bothner1-0/+1
From-SVN: r78598
2004-02-27parse.y (build_assertion): Re-do 02-25 change following Jeff Sturm ↵Per Bothner2-8/+6
suggestion: Use build_incomplete_class_ref. * parse.y (build_assertion): Re-do 02-25 change following Jeff Sturm suggestion: Use build_incomplete_class_ref. From-SVN: r78597
2004-02-27bb-reorder.c, [...]: Update copyright.Kazu Hirata2-1/+5
gcc/ * bb-reorder.c, cfgbuild.c, diagnostic.c, explow.c, profile.c, ra-build.c, read-rtl.c, tracer.c, unwind-dw2-fde-glibc.c, value-prof.c, config/darwin-protos.h, config/frv/frv-abi.h, config/i386/pmmintrin.h, config/pa/pa-hpux.h: Update copyright. gcc/java/ * java/parse.h: Update copyright. From-SVN: r78566
2004-02-26re PR java/14231 (Incorrect interface method called when compiling against ↵Andrew Haley3-3/+13
.class files) 2004-02-26 Andrew Haley <aph@redhat.com> PR java/14231: * parse.y (check_interface_throws_clauses): Check for !METHOD_INVISIBLE (iface_method). * class.c (layout_class_methods): Check for CLASS_INTERFACE as well as CLASS_ABSTRACT. From-SVN: r78505
2004-02-25parse.y (build_assertion): If we're in an inner class, create the class$ ↵Per Bothner2-3/+13
helper routine in the outer class. * parse.y (build_assertion): If we're in an inner class, create the class$ helper routine in the outer class. From-SVN: r78489
2004-02-25Improve some comments.Per Bothner2-5/+5
From-SVN: r78486
2004-02-19Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros.Richard Henderson2-1/+5
* Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros. * tree.c (build0, build1, build2, build3, build4): Split out from... (build): ... here. Call them. * tree.h (build, _buildN1, _buildN2, _buildC1, _buildC2): New. * convert.c (convert_to_integer): Remove extra build argument. * tree-inline.c (expand_call_inline): Likewise. ada/ * misc.c (record_code_position): Add third build arg for RTL_EXPR. java/ * parse.y (switch_label): Use make_node for DEFAULT_EXPR. From-SVN: r78126
2004-02-17(c-decl.c, [...]): Replace DECL_SAVED_INSNS with DECL_STRUCT_FUNCTION.Steven Bosscher1-1/+1
* (c-decl.c, c-semantics.c, calls.c, cgraph.c, cgraphunit.c, function.c, integrate.c, print-tree.c, toplev.c, tree-optimize.c, tree.h): Replace DECL_SAVED_INSNS with DECL_STRUCT_FUNCTION. * ada/utils.c: Likewise. * cp/decl.c: Likewise. * f/com.c: Likewise. * java/class.c: Likewise. From-SVN: r77985
2004-02-17* Make-lang.in (java.install-man): Add extra dependencies.Geoffrey Keating2-1/+7
From-SVN: r77946
2004-02-13Make-lang.in: Install man pages under the same names (possibly transformed) ↵Geoffrey Keating2-9/+14
as the program... * Make-lang.in: Install man pages under the same names (possibly transformed) as the program they document. From-SVN: r77778
2004-02-10gjavah.c: Include "intl.h".Joseph Myers6-133/+183
* gjavah.c: Include "intl.h". (error): New function. (main): Call gcc_init_libintl. (get_field_name, throwable_p, print_c_decl, print_full_cxx_name, print_stub_or_jni, process_file, main): Use error rather than fprintf. (print_method_info, usage, help, version, main): Mark strings for translation with _. Avoid splitting up sentences. Send information messages to stdout. * jcf-dump.c: Include "intl.h". (main): Call gcc_init_libintl. (process_class, usage, help, version, main, CHECK_PC_IN_RANGE): Mark error, usage and version messages for translation with _. Avoid splitting up sentences. * jv-scan.c: Include "intl.h". (fatal_error, warning): Change parameter s to msgid. Translate messages. (main): Call gcc_init_libintl. (usage, help, version): Mark error, usage and version messages for translation with _. Avoid splitting up sentences. * jvgenmain.c: Include "intl.h". (main): Call gcc_init_libintl. (usage, main): Mark error messages for translation with _. * Make-lang.in (GCJH_OBJS, JVSCAN_OBJS, JCFDUMP_OBJS, JVGENMAIN_OBJS): Add intl.o. (java/jcf-dump.o, java/gjavah.o, java/jv-scan.o, java/jvgenmain.o): Update dependencies. From-SVN: r77614
2004-02-08parse.y (resolve_qualified_expression_name): In case of inaccessible class ↵Per Bothner2-1/+13
don't use not_accessible_field_error... * parse.y (resolve_qualified_expression_name): In case of inaccessible class don't use not_accessible_field_error, which can get confused. From-SVN: r77525
2004-02-06Makefile.in (srcextra): Add a level of indirection to ...Kelley Cook2-2/+4
2004-02-05 Kelley Cook <kcook@gcc.gnu.org> PR/13485 Makefile.in (srcextra): Add a level of indirection to ... (gcc.srcextra): ... here. (po-generated): Delete. (po/$(PACKAGE).pot: Use srcextra instead of po-generated. Depend on options.c. (start.encap): Remove superfluous lang.srcextra dependency. objc/Make-lang.in (po-generated): Delete. From-SVN: r77363
2004-02-05utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES with ↵Kazu Hirata5-6/+24
targetm.calls.promote_prototypes. ada/ * ada/utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes. gcc/ * config/cris/cris.h: Replace PROMOTE_PROTOTYPES with TARGET_PROMOTE_PROTOTYPES. cp/ * call.c (type_passed_as): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes. java/ * Make-lang.in (java/decl.o, java/expr.o, java/parse.o): Depend on target.h. * decl.c: Include target.h. (start_java_method): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes. * expr.c: Include target.h. (pop_arguments): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes. * parse.y: Include target.h. (start_complete_expand_method): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes. From-SVN: r77345
2004-02-04alloc-pool.h, [...]: Update copyright.Kazu Hirata2-1/+5
gcc/ * alloc-pool.h, c-convert.c, c-lang.c, c-tree.h, caller-save.c, df.h, genconfig.c, global.c, lcm.c, ra-rewrite.c, ra.c, regclass.c, regs.h, resource.c, sched-rgn.c, config/arm/aof.h, config/arm/cirrus.md, config/arm/fpa.md, config/arm/iwmmxt.md, config/arm/netbsd-elf.h, config/arm/netbsd.h, config/m68hc11/m68hc11.md, config/mips/iris5.h, config/mn10300/mn10300.md, config/rs6000/altivec.md, config/sparc/netbsd-elf.h: Update copyright. cp/ * error.c, search.c: Update copyright. java/ * typeck.c: Update copyright. From-SVN: r77265
2004-02-03decl.c (java_init_decl_processing): Remove duplicate gnu/gcj/RawData.Tom Tromey2-1/+5
* decl.c (java_init_decl_processing): Remove duplicate gnu/gcj/RawData. From-SVN: r77151
2004-01-31Makefile.in (abs_docdir, abs_srcdir): Define.Kelley Cook2-1/+5
gcc/ 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in (abs_docdir, abs_srcdir): Define. (doc/%.dvi, doc/gccinstall.dvi): Use $(abs_docdir). gcc/ada/ 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir). (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise. (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise. gcc/f/ 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (doc/g77.dvi): Use $(abs_docdir). gcc/java/ 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (doc/gcj.dvi): Use $(abs_docdir). gcc/treelang/ 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir). From-SVN: r77017
2004-01-29expr.c (build_field_ref): Move variable definition up.Andrew Pinski2-1/+7
2004-01-28 Andrew Pinski <pinskia@physics.uc.edu> * expr.c (build_field_ref): Move variable definition up. From-SVN: r76919
2004-01-29expr.c (build_field_ref): Widen field offset.Andrew Haley2-0/+5
2004-01-28 Andrew Haley <aph@redhat.com> * expr.c (build_field_ref): Widen field offset. From-SVN: r76860
2004-01-27parse.y (check_interface_throws_clauses): Make sure class_decl has been loaded.Andrew Haley2-2/+18
2004-01-27 Andrew Haley <aph@redhat.com> java/13273 * parse.y (check_interface_throws_clauses): Make sure class_decl has been loaded. From-SVN: r76732
2004-01-22re PR java/13733 (The result of an assignment operator is the LHS after ↵Jeff Sturm2-2/+8
assignment, not the RHS) PR java/13733 * parse.y (patch_assignment): Don't modify lhs_type for reference assignments. From-SVN: r76382
2004-01-21re PR other/12730 (manual page install broken with old Pod::man)Kelley Cook2-38/+38
gcc/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> PR bootstrap/12730 * configure.ac: Delete definition and subsitution of docdir. Add info, man, srcman and srcinfo to target hooks. Create doc/ directory. * configure: Regenerate. * Makefile.in: Don't substitute docdir and delete all references throughout. (MAKEINFOFLAGS): Define. (stmp-docobjdir): Delete. (INFOFILES, MANFILES): Define. (info): Call lang.info, srcinfo and lang.srcinfo. (generated-manpages): Call lang.man, srcman and lang.srcman. (srcinfo, srcman): New rules to copy back files to source directory. (doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule. (install-man): Revamp rule. (clean): Update dvi directory. (distclean): Delete TAGS from front end directorys. (maintainer-clean): Delete all document files in source directory. objc/Make-lang.in (objc.man, objc.info): Dummy entries. (objc.srcman, objc.srcinfo): Likewise. gcc/ada/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update to use consistent MAKEINFO rule. (ada.man, ada.srcman): Dummy entry. (ADA_INFOFILES): Define. (ada.info, ada.srcinfo): New rules. gcc/cp/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (c++.info, c++.srcinfo): Dummy entry. (c++.man, c++.srcman): New rules. (c++.install-man): Revamp rule. gcc/f/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (TEXI_G77_FILES): Define. (f77.rebuilt): Delete. (f77.srcextra): Add dependencies on f/BUGS and f/NEWS. (f77.srcman, f77.srcinfo, f77.man, f77.info): New rules. (doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in doc directory. Use $(MAKEINFOFLAGS). (info, dvi, generated_manpages): Update to look in doc directory. (f/BUGS, f/NEWS): Generate in build directory. (f77.mostlyclean): Delete BUGS and NEWS from build directory. (f77.maintainer-clean): Adjust to delete from source directory. (f77.install-man): Revamp rule. gcc/java/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (java.info, java.srcinfo, java.man, java.srcman): New rules. (java.install-man): Revamp rule. gcc/treelang/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (treelang.info, treelang.srcinfo): New rules. (treelang.man, treelang.man): Dummy entries. maintainer-scripts/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * gcc_release (build_sources): Delete call to make f77.rebuilt. From-SVN: r76249
2004-01-20Makefile.in (target_noncanonical, [...]): Use immediate define instead of ↵Kelley Cook2-3/+9
deferred. gcc/ 2004-01-16 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in (target_noncanonical, program_transform_name): Use immediate define instead of deferred. (GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME, PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME, GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of deferred backquote. gcc/cp 2004-01-16 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (CXX_INSTALL_NAME, GXX_INSTALL_NAME, CXX_TARGET_INSTALL_NAME, GXX_TARGET_INSTALL_NAME): Define via a immediate $(shell) instead of deferred backquote. gcc/f 2004-01-16 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (G77_INSTALL_NAME): Define via a immediate $(shell) instead of deferred backquote. gcc/java 2004-01-16 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (JAVA_INSTALL_NAME, JAVA_TARGET_INSTALL_NAME, GCJH_TARGET_INSTALL_NAME): Define via a immediate $(shell) instead of deferred backquote. From-SVN: r76193