aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
AgeCommit message (Collapse)AuthorFilesLines
2001-03-17jcf-write.c (generate_bytecode_insns): Handle emitting iinc when result is ↵Per Bothner2-0/+5
is needed (target is STACK_TARGET). * jcf-write.c (generate_bytecode_insns): Handle emitting iinc when result is is needed (target is STACK_TARGET). From-SVN: r40585
2001-03-17parse.h (JDEP_SOLV): Removed.Per Bothner3-20/+20
* parse.h (JDEP_SOLV): Removed. * parse.y (incomplete_class_list): Removed. (register_incomplete_type): Use JDEP_TO_RESOLVE instead of JDEP_SOLV. * parse.y (obtain_incomplete_type): Removed. It doesn't work if resolve_class changes the name of an array type that is on the list and then someone else looks for the modified name. Also, seems liable to break when compiling multiple source files at once. So the simplest is to just remove incomplete_class_list - it is only a minor space win and it is not even clear it saves time. * parse.y (resolve_class): Remove unneeded promote_type. From-SVN: r40584
2001-03-15java-tree.h (BLOCK_IS_IMPLICIT): New flag.Per Bothner4-8/+11
* java-tree.h (BLOCK_IS_IMPLICIT): New flag. * parse.h (BLOCK_EXPR_ORIGIN): Removed macro. * parse.y (declare_local_variables, maybe_absorb_scoping_blocks): Use BLOCK_IS_IMPLICIT rather than BLOCK_EXPR_ORIGIN. From-SVN: r40542
2001-03-15jcf-parse.c (yyparse): Set/reset input_filename for source file.Per Bothner3-1/+8
* jcf-parse.c (yyparse): Set/reset input_filename for source file. * parse.y (java_expand_classes): Likewise. From-SVN: r40541
2001-03-15parse.y (expand_start_java_method): Was only called once and had a ↵Per Bothner2-53/+42
misleading name... * parse.y (expand_start_java_method): Was only called once and had a misleading name, so inline in caller java_complete_expand_method. (enter_a_block): Likewise inline in enter_block and remove. From-SVN: r40540
2001-03-15Remove junk from when gcc/java was created (by copying from C/C++).Per Bothner2-31/+9
* decl.c (keep_next_level_flag, keep_next_if_subblocks): Remove. (struct binding_level): Remove fields keep, keep_if_subblocks, more_cleanups_ok, have_cleanups (which have never been used). (pushlevel, poplevel): Remove related useless code. From-SVN: r40539
2001-03-15class.c (make_class_data): The class_dtable_decl (i.e.Per Bothner2-0/+5
* class.c (make_class_data): The class_dtable_decl (i.e. the vtable for Class) should be external, except when compiling Class. From-SVN: r40534
2001-03-15jvspec.c (lang_specific_driver): Fix -C handling.Per Bothner2-2/+11
* jvspec.c (lang_specific_driver): Fix -C handling. Check -save-temps to see if temp @FILE should be deleted. Follow-up to/fix for February 16 patch. From-SVN: r40530
2001-03-15verify.c (verify_jvm_instructions): Better error msgs for dup.Per Bothner2-8/+17
* verify.c (verify_jvm_instructions): Better error msgs for dup. (type_stack_dup): Remove no-longer neded error check. From-SVN: r40529
2001-03-15mangle.c (mangle_record_type): Rename 'from_pointer' argument to 'for_pointer'.Bryce McKinlay2-11/+24
* mangle.c (mangle_record_type): Rename 'from_pointer' argument to 'for_pointer'. If this type is for a pointer (argument) mangling, don't surround the element with 'N..E' if the type name is unqualified. From-SVN: r40519
2001-03-15* varasm.c (assemble_variable): Use DECL_RTL_SET_P.Mark Mitchell1-1/+2
From-SVN: r40495
2001-03-15varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME...Mark Mitchell3-5/+13
* varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the contents of the RTL, to determine the name of the object. * tree.h (DECL_RTL): Allocate RTL lazily. (SET_DECL_RTL): New macro. (DECL_RTL_SET_P): Likewise. (COPY_DECL_RTL): Likewise. (DECL_RTL_IF_SET): Likewise. * varasm.c (make_decl_rtl): Add assertions about the kind of declaration we are processing. * c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc. (start_decl): Likewise. (finish_decl): Likewise. * c-semantics.c (emit_local_var): Likewise. * calls.c (expand_call): Likewise. * dbxout.c (dbxout_symbol): Likewise. * emit-rtl.c (unshare_all_rtl): Likewise. (unshare_all_decls): Likewise. (reset_used_decls): Likewise. * expr.c (store_constructor): Likewise. (safe_from_p): Likewise. (expand_expr): Likewise. * function.c (put_var_into_stack): Likewise. (instantiate_decls_1): Likewise. (assign_parms): Likewise. (expand_function_start): Likewise. (expand_function_end): Likewise. * ggc-common.c (gcc_mark_trees): Likewise. * integrate.c (function_cannot_inline_p): Likewise. (copy_decl_for_inlining): Likewise. (expand_inline_function): Likewise. (integrate_parm_decls): Likewise. (integrate_decl_tree): Likewise. * print-tree.c (print_node): Likewise. * reg-stack.c (stack_result): Likewise. * stmt.c (label_rtx): Likewise. (expand_return): Likewise. (expand_decl): Likewise. (expand_decl_cleanup): Likewise. (expand_anon_union_decl): Likewise. * toplev.c (check_global_declarations): Likewise. (rest_of_decl_compilation): Likewise. * tree.c (simple_cst_equal): Likewise. * objc/objc-act.c (generate_static_references): Likewise. * class.c (build_clone): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc. * cp-tree.h (DECL_IN_MEMORY_P): Likewise. * decl.c (duplicate_decls): Likewise. (builtin_function): Likewise. (build_library_fn): Likewise. (build_cp_library_fn): Likewise. (check_initializer): Likewise. (cp_finish_decl): Likewise. * decl2.c (grokfield): Likewise. (grok_function_init): Remove #if 0'd code. (finish_anon_union): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc. * friend.c (do_friend): Likewise. * init.c (get_temp_regvar): Likewise. * method.c (make_thunk): Likewise. * pt.c (tsubst_friend_function): Likewise. (tsubst_decl): Likewise. (regenerate_decl_from_template): Likewise. * semantics.c (genrtl_named_return_value): Likewise. (expand_body): Likewise. (genrtl_finish_function): Likewise. * tree.c (cp_tree_equal): Likewise. * com.c (ffecom_member_phase_2): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc. (duplicate_decls): Likewise. (start_decl): Likewise. * class.c (build_static_field_ref): Likewise. (make_method_value): Likewise. (get_dispatch_table): Likewise. * decl.c (push_jvm_slot): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc. From-SVN: r40482
2001-03-07* config-lang.in (lang_requires): Define.Tom Tromey2-0/+5
From-SVN: r40307
2001-03-07Brad's -ffast-math breakup.Brad Lucier2-1/+6
From-SVN: r40300
2001-03-05Fix a problem where rest_of_decl_compilation applied to class_dtable_decl ↵Per Bothner4-12/+24
causes problems because it was done too early... Fix a problem where rest_of_decl_compilation applied to class_dtable_decl causes problems because it was done too early, before output file was opened. * decl.c (init_decl_processing): Remove init of class_dtable_decl. * class.c (class_dtable_decl): Add macro - element of class_roots. (make_class_data): Define class_dtable_decl. * java-tree.h (JTI_CLASS_DTABLE_DECL, class_dtable_decl): Removed. From-SVN: r40256
2001-03-02xm-lynx.h, [...]: Do not define TRUE or FALSE.Zack Weinberg5-6/+11
* config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h, config/a29k/xm-unix.h, config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h, config/clipper/xm-clix.h, config/convex/xm-convex.h, config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h, config/h8300/xm-h8300.h, config/i370/xm-i370.h, config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h, config/i386/xm-aix.h, config/i386/xm-i386.h, config/i386/xm-osf.h, config/i860/xm-i860.h, config/i960/xm-i960.h, config/ia64/xm-ia64.h, config/m32r/xm-m32r.h, config/m68k/xm-m68k.h, config/m88k/xm-m88k.h, config/mcore/xm-mcore.h, config/mips/xm-mips.h, config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h, config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h, config/romp/xm-romp.h, config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h, config/sh/xm-sh.h, config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h, config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h, config/we32k/xm-we32k.h: Do not define TRUE or FALSE. * config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made empty by above change. * config.gcc: Remove references to these files. * configure.in: Detect stdbool.h. * configure, config.in: Regenerate. * system.h: Include stddef.h here if available. Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__. Then set up a sensible boolean type at the very end. * combine.c, cse.c, expr.c, fold-const.c, gensupport.c, f/com.c, config/mcore/mcore.c: Rename variables named 'true' and/or 'false'. * hash.h: Delete 'boolean' typedef and related #undefs. * f/proj.h: Delete 'bool' type. Don't include stddef.h here. * function.c, ggc-common.c, hash.h, hash.c, tlink.c, cp/decl.c, java/class.c, java/decl.c, java/java-tree.h: Replace all uses of 'boolean' with 'bool'. From-SVN: r40176
2001-03-02gcc.c, [...]: Add zero initializer for cpp_spec field to all array elements.Zack Weinberg2-5/+10
* gcc.c, cp/lang-specs.h, f/lang-specs.h, java/lang-specs.h, objc/lang-specs.h: Add zero initializer for cpp_spec field to all array elements. * cp/lang-specs.h: Don't put an #ifdef inside the initializer list; set a default for CPLUSPLUS_CPP_SPEC and use it. From-SVN: r40173
2001-02-23Handle compiling multiple input files at once, and @FILE syntax.Per Bothner3-4/+42
* gcj.texi: Updated documentation to match. and parse.h inadvertently left out from previous check-in. From-SVN: r40026
2001-02-23Handle compiling multiple input files at once, and @FILE syntax. See ChangeLog.Per Bothner8-86/+208
From-SVN: r40024
2001-02-23c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.Richard Kenner2-0/+8
* c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK. * ch/decl.c, f/com.c, java/decl.c: Likewise. From-SVN: r40010
2001-02-20parse.y (check_inner_class_access): Moved declaration of local ↵Alexandre Petit-Bianco2-1/+7
`enclosing_decl_type' to the right location. 2001-02-20 Alexandre Petit-Bianco <apbianco@redhat.com> * parse.y (check_inner_class_access): Moved declaration of local `enclosing_decl_type' to the right location. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01258.html) From-SVN: r39933
2001-02-19Forgot this file on last check-in.Bryce McKinlay1-5/+0
From-SVN: r39910
2001-02-19parse.y (parser_check_super_interface): Don't call check_pkg_class_access ↵Bryce McKinlay2-41/+146
for an inner interface. * parse.y (parser_check_super_interface): Don't call check_pkg_class_access for an inner interface. (parser_check_super): Don't call check_pkg_class_access for inner class. (do_resolve_class): Simplify enclosing type loop. Don't call check_pkg_class_access if CL and DECL are not set. (find_in_imports_on_demand): Set DECL if class_type needed to be loaded. Don't call check_pkg_class_access for an inner class. (check_inner_class_access): Rewritten to implement member access rules as per spec 6.6.1. (check_pkg_class_access): Handle the empty package correctly. (in_same_package): New function. Determine if two classes are in the same package. From-SVN: r39909
2001-02-19typeck.c (build_java_array_type): Don't try to poke a public `clone' method ↵Bryce McKinlay2-1/+18
into array types. * typeck.c (build_java_array_type): Don't try to poke a public `clone' method into array types. * parse.y (patch_method_invocation): Bypass access check on clone call to array instance. From-SVN: r39906
2001-02-16expr.c (build_instanceof): Check for arrays when trying fold to false.Alexandre Petit-Bianco2-6/+13
2001-02-15 Alexandre Petit-Bianco <apbianco@redhat.com> * expr.c (build_instanceof): Check for arrays when trying fold to false. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00993.html) From-SVN: r39778
2001-02-15Fix typosDJ Delorie1-2/+2
From-SVN: r39745
2001-02-15Makefile.in (install-common): Don't depend on installdirs here.Jim Meyering2-2/+7
gcc/: 2001-01-20 Jim Meyering <meyering@lucent.com> * Makefile.in (install-common): Don't depend on installdirs here. Instead, make each of the lang.install-common targets (e.g., c++.install-common in cp/Make-lang.in) depend on it. (install-driver): Depend on installdirs. gcc/ch: 2001-02-15 Jim Meyering <meyering@lucent.com> * Make-lang.in (CHILL.install-common): Depend on `installdirs'. (CHILL.install-info): Likewise. gcc/cp: 2001-02-15 Jim Meyering <meyering@lucent.com> * Make-lang.in (c++.install-common): Depend on installdirs. (c++.install-info): Likewise (c++.install-man): Likewise gcc/java: 2001-02-15 Jim Meyering <meyering@lucent.com> * Make-lang.in (java.install-common): Depend on `installdirs'. (java.install-info): Likewise. From-SVN: r39744
2001-02-15* Make-lang.in (jvspec.o): Modify rule to match that of cp/g++spec.o.Bryce McKinlay2-1/+7
From-SVN: r39702
2001-02-14[multiple changes]Alexandre Petit-Bianco3-36/+86
2001-02-14 Tom Tromey <tromey@redhat.com> Alexandre Petit-Bianco <apbianco@redhat.com> Fix for PR java/1261. * typeck.c (build_java_array_type): Add public `clone' method to arrays. * parse.y (resolve_qualified_expression_name): Use current_class when checking for inaccessibility. (patch_method_invocation): Fixed error message when accessibility denied. Added `from_super' argument. 2001-02-14 Alexandre Petit-Bianco <apbianco@redhat.com> * parse.y (resolve_class): Don't build a fake decl. Use the one already built. * typeck.c (build_java_array_type): Build and assign decl to array type. 2001-02-14 Alexandre Petit-Bianco <apbianco@redhat.com> * parse.y (not_accessible_p): Changed leading comment. Added extra `where' argument. Use it to enforce protected access rules. (resolve_qualified_expression_name): Added extra argument to not_accessible_p. (patch_method_invocation): Use argument `primary' to provide not_accessible_p with an extra argument. (lookup_method_invoke): Added extra argument to not_accessible_p. (search_applicable_method_list): Likewise. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00849.html) From-SVN: r39701
2001-02-13parse.y (resolve_qualified_expression_name): Try to resolve as an inner ↵Alexandre Petit-Bianco2-2/+8
class access only if `decl' is a TYPE_DECL. 2001-02-13 Alexandre Petit-Bianco <apbianco@redhat.com> * parse.y (resolve_qualified_expression_name): Try to resolve as an inner class access only if `decl' is a TYPE_DECL. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00762.html) From-SVN: r39653
2001-02-13decl.c (classdollar_identifier_node): Initialize.Alexandre Petit-Bianco4-6/+23
2001-02-13 Alexandre Petit-Bianco <apbianco@cygnus.com> * decl.c (classdollar_identifier_node): Initialize. * java-tree.h (enum java_tree_index): New entry `JTI_CLASSDOLLAR_IDENTIFIER_NODE.' (classdollar_identifier_node): New macro. (ID_CLASSDOLLAR_P): Likewise. * parse.y (build_dot_class_method): Use `classdollar_identifier_node.' (build_dot_class_method_invocation): Likewise. (find_applicable_accessible_methods_list): `class$' can't be inherited. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00760.html) From-SVN: r39650
2001-02-09[multiple changes]Alexandre Petit-Bianco3-23/+13
2001-02-09 Raja R Harinath <harinath@cs.umn.edu> * Make-lang.in (java/mangle_name.o): Add 'make' prereqs. 2001-02-09 Alexandre Petit-Bianco <apbianco@redhat.com> * Manke-lang.in (JVGENMAIN_OBJS): Added `errors.o' * jvgenmain.c (error): Reversed 2001-02-09 patch. `error' is now gone. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00537.html) From-SVN: r39571
2001-02-09mangle_name.c (append_unicode_mangled_name): Emit `_' or `U' outside of the ↵Alexandre Petit-Bianco2-6/+26
`__U' sequence too. 2001-02-09 Alexandre Petit-Bianco <apbianco@redhat.com> * mangle_name.c (append_unicode_mangled_name): Emit `_' or `U' outside of the `__U' sequence too. (unicode_mangling_length): Count `_' or `U' outside of the `__U' sequence too. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00532.html) From-SVN: r39570
2001-02-09jvgenmain.c (error): Reversed 2001-02-01 deletion.Alexandre Petit-Bianco2-0/+26
2001-02-09 Alexandre Petit-Bianco <apbianco@redhat.com> * jvgenmain.c (error): Reversed 2001-02-01 deletion. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00527.html) From-SVN: r39567
2001-02-08Make-lang.in (JAVA_OBJS): Added java/mangle_name.oAlexandre Petit-Bianco6-142/+264
2001-02-08 Alexandre Petit-Bianco <apbianco@cygnus.com> * Make-lang.in (JAVA_OBJS): Added java/mangle_name.o (JVGENMAIN_OBJS): Likewise. * java-tree.h (append_gpp_mangled_name): New prototype. * jcf-parse.c (ggc_mark_jcf): Argument now `void *.' Removed cast calling `gcc_add_root.' * jvgenmain.c (mangle_obstack): New global, initialized. (main): Use it. (do_mangle_class): Constify local `ptr.' Removed macro `MANGLE_NAME.' Removed cast in `for.' Call append_gpp_mangle_name and update `count' if necessary. Use `mangle_obstack.' * mangle.c (append_unicode_mangled_name): Removed. (append_gpp_mangled_name): Likewise. (unicode_mangling_length): Likewise. (mangle_member_name): Return type set to `void.' (mangle_field_decl): Don't append `U' in escaped names. (mangle_method_decl): Likewise. (mangle_member_name): Just use `append_gpp_mangled_name.' * mangle_name.c: New file. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00492.html) From-SVN: r39552
2001-02-07check-init.c (check_init): Fix TRY_FINALLY_EXPR logic.Per Bothner2-3/+10
* check-init.c (check_init): Fix TRY_FINALLY_EXPR logic. * check-init.c (check_init): Don't call done_alternative after processing loop code, as a LOOP_EXPR never terminates normally. From-SVN: r39534
2001-02-08gcj.texi: Change sources.redhat.com reference to gcc.gnu.org.Joseph Myers2-2/+5
gcc/java/: * gcj.texi: Change sources.redhat.com reference to gcc.gnu.org. libffi/: * include/ffi.h.in: Change sourceware.cygnus.com references to gcc.gnu.org. libjava/: * README, gij.cc, java/lang/natClass.cc, java/lang/natSystem.cc: Change sources.redhat.com and sourceware.cygnus.com references to gcc.gnu.org. From-SVN: r39531
2001-02-07jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): Don't handle field DECLs.Alexandre Petit-Bianco2-3/+9
2001-02-07 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): Don't handle field DECLs. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00424.html) From-SVN: r39528
2001-02-07* lex.c (java_new_lexer): Longer error message.Tom Tromey2-1/+5
From-SVN: r39520
2001-02-06typeck.c (build_prim_array_type): Added leading comment.Jeff Sturm2-34/+19
2001-02-05 Jeff Sturm <jeff.sturm@commerceone.com> Alexandre Petit-Bianco <apbianco@cygnus.com> * typeck.c (build_prim_array_type): Added leading comment. (build_java_array_type): Moved locals out of block. Always create the `data' field, fixed alignment to match C++. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00378.html) Co-Authored-By: Alexandre Petit-Bianco <apbianco@cygnus.com> From-SVN: r39507
2001-02-05re PR java/1866 (Array initializer: undefined reference to `LJv0.0')Tom Tromey2-5/+9
* expr.c (java_lang_expand_expr): Don't bother recomputing `length'. Use rest_of_decl_compilation, not make_decl_rtl. Fixes PR java/1866. From-SVN: r39470
2001-02-05parse.y (process_imports): Save the original name of the import for better ↵Alexandre Petit-Bianco2-2/+15
error report. 2001-02-05 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (process_imports): Save the original name of the import for better error report. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00250.html) From-SVN: r39461
2001-02-05Make-lang.in (jvspec.o): Add DRIVER_DEFINES to the list of macros used when ↵Bryce McKinlay3-2/+26
compiling jvspec.c. gcc/java: * Make-lang.in (jvspec.o): Add DRIVER_DEFINES to the list of macros used when compiling jvspec.c. * jvspec.c (lang_specific_driver): Link with the shared libgcc by default. libjava: * libgcj.spec.in: Don't force static libgcc into the executable. * configure.in (FORCELIBGCCSPEC): Removed. From-SVN: r39449
2001-02-04diagnostic.h (set_internal_error_function): Renamed.Richard Kenner16-164/+247
* diagnostic.h (set_internal_error_function): Renamed. * toplev.h (internal_error): Renamed from fatal. (pfatal_with_name): Deleted. (fatal_io_error): Now has printf-style arguments. * diagnostic.c (pfatal_with_name): Deleted. (fatal_io_error): Rework to have args in printf-style. (set_internal_error_function): Renamed from set_fatal_function. (internal_error): Renamed from fatal. (error_recursion, fancy_abort): Call internal_error instead of fatal. * dwarf2out.c (get_cfa_from_loc_descr): Likewise. * emit-rtl.c (gen_realpart, gen_imagpart): Likewise. * expr.c (check_max_integer_computation_mode, expand_expr): Likewise. * flow.c (verify_flow_info): Likewise. * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise. * config/mips/mips.c (save_restore_insns): Likewise. * cp/init.c (build_java_class_ref): Likewise. (dsp16xx_reg_class_from_letter): Likewise. (limit_reload_class, double_reg_to_memory): Likewise. (print_operand_address, emit_1600_code_shift): Likewise. (gen_tst_reg, gen_compare_reg): Likewise. * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise. * cp/decl.c (pushdecl): Likewise. * java/check-init.c (check_init): Likewise. * java/expr.c (java_lang_expand_expr): Likewise. * java/jcf-parse.c (get_constant): Likewise. * java/mangle.c (java_mangle_decl): Likewise. * java/parse.y (make_nested_class_name, java_complete_lhs): Likewise. (operator_string): Likewise. * except.c (duplicate_eh_handlers): Call abort instead of fatal. * flow.c (verify_flow_info): Likewise. * ch/convert.c (convert): Likewise. * ch/except.c (pop_handler, chill_check_no_handlers): Likewise. * ch/expr.c (chill_expand_expr): Likewise. * ch/parse.c (peek_token_, pushback_token, require): Likewise. * config/arm/arm.c (thumb_load_double_from_address): Likewise. * config/avr/avr.c (pttreg_to_str, unique_section): Likewise. (avr_normalize_condition): Likewise. * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise. * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise. (limit_reload_class, double_reg_to_memory): Likewise. (print_operand_address, emit_1600_code_shift): Likewise. (gen_tst_reg, gen_compare_reg): Likewise. * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise. * cp/decl.c (pushdecl): Likewise. * java/check-init.c (check_init): Likewise. * java/class.c (build_class_ref): Likewise. * java/constants.c (write_constant_pool): Likewise. * java/decl.c (start_java_method): Likewise. * java/expr.c (push_type, java_stack_pop, java_stack_swap): Likewise. (java_stack_dup, encode_newarray_type): Likewise. (build_java_array_length_access): Likewise. (build_java_check_indexed_type, expand_java_pushc): Likewise. (build_java_soft_divmod, build_invokeinterface): Likewise. * java/java-tree.h (INNER_CLASS_P): Likewise. * java/jcf-parse.c (parse_signature, get_name_constant): Likewise. (give_name_to_class, get_class_constant): Likewise. * java/jcf-write.c (CHECK_PUT, CHECK_OP, get_access_flags): Likewise. (find_constant_index, generate_bytecode_conditional): Likewise. (generate_bytecode_insns, perform_relocations): Likewise. * java/lex.c (java_unget_unicode, java_lex): Likewise. * java/mangle.c (mangle_type, mangle_record_type): Likewise. (mangle_pointer_type, mangle_array_type, init_mangling): Likewise. (finish_mangling): Likewise. * java/parse.h (MARK_FINAL_PARMS): Likewise. * java/parse.y (pop_current_osb, unreachable_stmt_error): Likewise. (obtain_incomplete_type, java_complete_class): Likewise. (java_check_regular_methods, java_complete_expand_method): Likewise. (cut_identifier_in_qualified, check_deprecation): Likewise. (patch_invoke, find_applicable_accessible_methods_list): Likewise. (java_complete_lhs, lookup_name_in_blocks): Likewise. (check_final_variable_indirect_assignment, build_unaryop): Likewise. * java/typeck.c (set_local_type, parse_signature_type): Likewise. (parse_signature_string, build_java_signature): Likewise; (set_java_signature): Likewise. * java/verify.c (type_stack_dup, CHECK_PC_IN_RANGE): Likewise. * c-parse.in (methoddef): Call fatal_error instead of fatal. * objc/objc-act.c (build_ivar_chain): Likewise. * cp/except.c (decl_is_java_type): Likewise. * cp/init.c (build_java_class_ref): Likewise. * cp/init.c (build_new_1): Likewise. * f/com.c (ffecom_init_0): Likewise. * java/class.c (add_method, build_static_field_ref): Likewise. * java/expr.c (build_known_method_ref, expand_invoke): Likewise. * java/jcf-parse.c (get_constant, jcf_parse): Likewise. * java/lex.c (java_new_new_lexer): Likewise. * java/jv-scan.c (main): Likewise. (fatal_error): Renamed from fatal. * dwarfout.c (dwarfout_init): Call fatal_io_error instead of pfatal_with_name. * graph.c (clean_graph_dump_file): Likewise. * profile.c (init_branch_prob): Likewise. * ch/grant.c (write_grant_file): Likewise. * ch/lex.c (init_parse, same_file, yywrap): Likewise. * f/com.c (init_parse): Likewise. * java/jcf-parse.c (yyparse): Likewise. * objc/objc-act.c (objc_init): Likewise. * java/jcf-parse.c (jcf_parse_source): Call fatal_io_error, not fatal. (yyparse): Likewise. * java/jcf-write.c (make_class_file_name, write_classfile): Likewise. * java/lex.c (java_get_line_col): Likewise. * hash.c (hash_allocate): Don't check for failure returns from obstack functions that can't fail. (hash_table_init_n, hash_table_init): Likewise; also now return void. * hash.h (hash_table_init_n, hash_table_init): Now return void. * cp/decl.c (build_typename_type): hash_table_init now returns void. * ch/lang.c (GNU_xref_begin, GNU_xref_end): Deleted. * ch/lex.c (convert_bitstring): Delete check for alloca failure. * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare): Deleted. * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it. * f/com.c (ffecom_decode_include_option_): Make errors non-fatal. * f/lex.c (ffelex_cfelex_, ffelex_get_directive_line_): Likewise. (ffelex_hash_): Likewise. * config/arm/arm.c (arm_override_options): Likewise. * config/avr/avr.c (avr_override_options): Likewise. * config/c4x/c4x.c (c4x_expand_prologue): Likewise. * config/dsp16xx/dsp16xx.c (function_prologue): Likewise. * config/h8300/h8300.c (h8300_init_once): Likewise. * config/mips/mips.c (override_options): Likewise. * config/i386/i386.c (override_options): Likewise, rework. * config/m68k/m68k.c (override_options): Likewise. * cp/decl.c (init_decl_processing): Likewise. * java/jcf-parse.c (load_class): Likewise. * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage instead of fatal. * config/mips/mips.c (print_operand): Likewise. * java/lex.c (byteswap_init, need_byteswap): Only #ifdef HAVE_ICONV. * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call. (get_object_reference): Likewise. From-SVN: r39443
2001-02-02jvgenmain.c (class_mangling_suffix): Remove unused string.Bryce McKinlay2-28/+10
* jvgenmain.c (class_mangling_suffix): Remove unused string. (error): Remove unused function. (main): Don't use "__attribute__ alias" on generated class symbol. From-SVN: r39397
2001-02-01jcf-parse.c (init_jcf_parse): Added cast to ggc_add_root's last argument.Alexandre Petit-Bianco4-20/+18
2001-01-30 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-parse.c (init_jcf_parse): Added cast to ggc_add_root's last argument. * parse.y (finish_method_declaration): Code accounting for WFLed method DECL_NAMEs deleted. (check_abstract_method_definitions): Likewise. (resolve_type_during_patch): Layout resolved type. * typeck.c (lookup_do): Removed unused local. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00005.html) From-SVN: r39388
2001-01-30java-tree.h: Remove JTI_INTEGER_NEGATIVE_ONE_NODE.Bryce McKinlay4-7/+11
* java-tree.h: Remove JTI_INTEGER_NEGATIVE_ONE_NODE. * decl.c (init_decl_processing): Use integer_minus_one_node, not integer_negative_one_node. * expr.c (build_java_binop): Likewise. From-SVN: r39337
2001-01-29zextract.c (read_zip_archive): Read file_offset before writing zipd and ↵Jeff Sturm2-2/+7
consequently clobbering the header... 2000-01-24 Jeff Sturm <jeff.sturm@commerceone.com> * zextract.c (read_zip_archive): Read file_offset before writing zipd and consequently clobbering the header contents. (http://gcc.gnu.org/ml/gcc-patches/2001-01/msg02129.html) From-SVN: r39328
2001-01-28configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.Kaveh R. Ghazi5-4/+8
* configure.in: Arrange to include defaults.h in [ht]config.h/tm.h. * Makefile.in: Remove all dependencies on defaults.h. * builtins.c: Don't include defaults.h. * c-common.c: Likewise. * c-decl.c: Likewise. * c-pragma.c: Likewise. * c-typeck.c: Likewise. * combine.c: Likewise. * i386.c: Likewise. * frame-ia64.c: Likewise. * cppexp.c: Likewise. * crtstuff.c: Likewise. * dbxout.c: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * emit-rtl.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * final.c: Likewise. * frame-dwarf2.c: Likewise. * libgcc2.c: Likewise. * optabs.c: Likewise. * profile.c: Likewise. * sdbout.c: Likewise. * toplev.c: Likewise. * tradcif.y: Likewise. * tree.c: Likewise. * varasm.c: Likewise. ch: * Makefile.in: Remove all dependencies on defaults.h. * decl.c: Don't include defaults.h. * timing.c: Likewise. cp: * Make-lang.in: Remove all dependencies on defaults.h. * call.c: Don't include defaults.h. * decl.c: Likewise. * decl2.c: Likewise. * except.c: Likewise. * pt.c: Likewise. * rtti.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise. f: * Make-lang.in: Remove all dependencies on defaults.h. * com.c: Don't include defaults.h. java: * Make-lang.in: Remove all dependencies on defaults.h. * decl.c: Don't include defaults.h. * expr.c: Likewise. * parse.y: Likewise. From-SVN: r39308
2001-01-25ChangeLog (2001-01-21): Fixed typo.Alexandre Petit-Bianco9-123/+52
2001-01-25 Alexandre Petit-Bianco <apbianco@cygnus.com> * ChangeLog (2001-01-21): Fixed typo. * class.c (layout_class_method): Code accounting for WFLed method DECL_NAMEs deleted. * constant.c (find_methodref_index): Likewise. * decl.c (lang_mark_tree): Mark `wfl' field in struct lang_decl. * java-tree.h (DECL_FUNCTION_WFL): New macro. (struct lang_decl): New field `wfl'. (java_get_real_method_name): Prototype deleted. * mangle.c (mangle_method_decl): Code accounting for WFLed method DECL_NAMEs deleted. * parse.h (GET_METHOD_NAME): Macro deleted. * parse.y (reset_method_name): Deleted. (method_header): Set DECL_FUNCTION_WFL. (check_abstract_method_header): Code accounting for WFLed method DECL_NAMEs deleted. (java_get_real_method_name): Deleted. (check_method_redefinition): Code accounting for WFLed method DECL_NAMEs deleted. Use DECL_FUNCTION_WFL. (java_check_regular_methods): Likewise. (java_check_abstract_methods): Likewise. (java_expand_classes): Don't call `reset_method_name.' (search_applicable_method_list): Use DECL_NAMEs instead of GET_METHOD_NAME. * typeck.c (lookup_do): Code accounting for WFLed method DECL_NAMEs deleted. (http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01954.html) From-SVN: r39274