- 28 Mar, 2001 40 commits
-
-
2001-03-21 Alexandre Petit-Bianco <apbianco@redhat.com> * parse.y (qualify_ambiguous_name): Broaden `length' recognition. Help MODIFY_EXPR be resolved as expression names. Fixes PR java/2066. Fixes PR java/2400. (http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01935.html) From-SVN: r40938
Alexandre Petit-Bianco committed -
2001-03-28 Jeffrey Oldham <oldham@codesourcery.com> * jvgenmain.c (do_mangle_classname): End string constant with '\0'. From-SVN: r40936
Jeffrey Oldham committed -
From-SVN: r40935
DJ Delorie committed -
2001-03-28 Philip Blundell <philb@gnu.org> * gcc.c-torture/compile/20010328-1.c: New test. From-SVN: r40934
Philip Blundell committed -
* config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop when multiplier or multiplicand is zero. From-SVN: r40933
Marek Michalkiewicz committed -
From-SVN: r40932
Bernd Schmidt committed -
From-SVN: r40931
Bernd Schmidt committed -
* config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX, not TARGET_TOC for special toc restore handling. * config/rs6000/rs6000.md (eh_return): Likewise. From-SVN: r40930
Richard Henderson committed -
From-SVN: r40929
Richard Henderson committed -
* config/sparc/sparc.c (eligible_for_epilogue_delay): False if current_function_calls_eh_return. (output_function_epilogue): Handle eh_return. * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove. (EH_RETURN_DATA_REGNO): New. (EH_RETURN_STACKADJ_RTX): New. (EH_RETURN_HANDLER_RTX): New. * config/sparc/sparc.md (call/short branch peepholes): Check can_throw_internal instead of in_same_eh_region. From-SVN: r40928
Richard Henderson committed -
* config/rs6000/rs6000.c (rs6000_stack_info): Allocate space for eh_return data registers. (rs6000_emit_prologue): Save eh_return data registers. (rs6000_emit_epilogue): Force inline restores if eh_return. Restore eh_return data registers. Mind EH_RETURN_STACKADJ_RTX. * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset. (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New. (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and the target uses one. * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove. (return_eh_si, return_eh_di): Remove. (eh_return): New, from corpse of eh_epilogue. (eh_set_lr_si, eh_set_lr_di): New. From-SVN: r40927
Richard Henderson committed -
* config/i386/i386.c (general_no_elim_operand): Disallow virtual regs. (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs. True for pic register if current_function_calls_eh_return. (ix86_expand_epilogue): Change "emit_return" argument into "style". Handle eh_return requirements. * config/i386/i386.h (EH_RETURN_DATA_REGNO): New. (EH_RETURN_STACKADJ_RTX): New. * config/i386/i386.md (exception_receiver): Remove. (eh_return, eh_return_1): New. * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New. From-SVN: r40926
Richard Henderson committed -
* config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs. (alpha_mark_machine_status): No eh_epilogue_sp_ofs ... (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead. * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs. (EH_RETURN_DATA_REGNO): New. (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New. * config/alpha/alpha.md (eh_epilogue): Remove. (exception_receiver): Use $26 for ldgp input. * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New. From-SVN: r40925
Richard Henderson committed -
From-SVN: r40924
Richard Henderson committed -
java-tree.h (throw_node): Define as a single member of java_global_trees instead of a separate array. * java-tree.h (throw_node): Define as a single member of java_global_trees instead of a separate array. (JTI_THROW_NODE): New. * decl.c (throw_node): Don't declare. (init_decl_processing): Init a scalar throw_node. Don't register it for gc. * check-init.c (check_init): Reference scalar throw_node. * expr.c (build_java_athrow): Likewise. * jcf-write.c (generate_bytecode_insns): Likewise. * parse.h (BUILD_THROW): Likewise. From-SVN: r40922
Richard Henderson committed -
* decl.c (end_java_method): Do not save and restore flag_non_call_exceptions. * parse.y (source_end_java_method): Likewise. * lang.c (flag_exceptions): Don't declare. (java_init_options): Set flag_non_call_exceptions. Set flag_exceptions here ... (java_init): ... not here. From-SVN: r40921
Richard Henderson committed -
* decl.c (struct named_label_list): Rename eh_region to in_try_scope, add in_catch_scope. (struct binding_level): Rename eh_region to is_try_scope, add is_catch_scope. (note_level_for_try): Rename from note_level_for_eh. (note_level_for_catch): New. (poplevel): Copy both is_try_scope and is_catch_scope to the named_label_list struct. (check_previous_goto_1): Don't check for catch block via DECL_ARTIFICIAL; use in_try_scope instead. (check_goto): Likewise. * cp-tree.h (note_level_for_try, note_level_for_catch): Declare. * except.c (expand_start_catch_block): Call note_level_for_catch. * semantics.c (begin_compound_stmt): Update for note_level_for_try. From-SVN: r40920
Richard Henderson committed -
From-SVN: r40919
GCC Administrator committed -
* regmove.c (perhaps_ends_bb_p): Use can_throw_internal to reduce false positives. (regmove_optimize): Disable if flag_non_call_exceptions. From-SVN: r40917
Richard Henderson committed -
* stmt.c (expand_return): Remove always true predicate. (expand_decl_cleanup_no_eh): Remove dead code. From-SVN: r40916
Richard Henderson committed -
* sched-deps.c (sched_analyze_insn): Consolidate scheduling barrier code. Add a scheduling barrier if a non-call insn can throw internally. From-SVN: r40915
Richard Henderson committed -
* rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap. Auto-inc addresses trap only if their base register does. From-SVN: r40914
Richard Henderson committed -
* except.c (can_throw_internal): Rename from can_throw. * except.h, resource.c: Update references. From-SVN: r40913
Richard Henderson committed -
* integrate.c (copy_insn_list): Use returnjump_p. (copy_insn_notes): Recurse for CALL_PLACEHOLDER. From-SVN: r40912
Richard Henderson committed -
function.h (struct function): Move all boolean valued fields to single bit fields at the end of the struct. * function.h (struct function): Move all boolean valued fields to single bit fields at the end of the struct. From-SVN: r40911
Richard Henderson committed -
* flow.c (cleanup_cfg): Take no argument. * output.h, sibcall.c, toplev.c: Update all calls. From-SVN: r40910
Richard Henderson committed -
* flow.c (tidy_fallthru_edges): Don't combine complex edges. (calculate_global_regs_live): Kill call-clobbered registers across exception edges. * reg-stack.c (convert_regs_1): Kill the entire target stack across non-call exception edges. From-SVN: r40909
Richard Henderson committed -
From-SVN: r40908
Richard Henderson committed -
* combine.c (distribute_notes) [REG_EH_REGION]: If non-call exceptions, put the note on the trapping instruction. From-SVN: r40907
Richard Henderson committed -
* except.h (flag_non_call_exceptions): Move ... * flags.h: ... here. From-SVN: r40906
Richard Henderson committed -
From-SVN: r40905
Richard Henderson committed -
From-SVN: r40904
Richard Henderson committed -
* gthr-single.h (UNUSED): New. Distinguish between how C and C++ mark unused function arguments. Use throughout. From-SVN: r40903
Richard Henderson committed -
* bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c, jump.c, toplev.c: Rename asynchronous_exceptions to flag_non_call_exceptions. * java/decl.c (end_java_method): Rename asynchronous_exceptions to flag_non_call_exceptions. From-SVN: r40902
Richard Henderson committed -
From-SVN: r40899
Kaveh R. Ghazi committed -
* configure.in: Don't check for bcopy. * configure, config.in: Regenerate. * system.h: Don't define or prototype bcopy, instead poison it. From-SVN: r40898
Kaveh R. Ghazi committed -
* rtl.h (LCT_NORETURN): New. * calls.c (emit_library_call_value_1): Handle it. From-SVN: r40897
Richard Henderson committed -
* function.c (expand_function_start): Set DECL_REGISTER on a pseudo used for DECL_RESULT. From-SVN: r40896
Richard Henderson committed -
* objc/objc-act.c (objc_init): Use dump_base_name. (gen_declaration): Clear the buffer arg. (gen_declaration_1): New function, body of gen_declaration. (adorn_decl): Call gen_declaration_1 instead of gen_declaration. (gen_method_decl): Ditto, plus always clear buffer arg. (error_with_ivar): Simplify. (warn_with_method): Ditto. (build_message_expr): Don't clear buffers. (dump_interface): Ditto. (objc_debug): Ditto. (build_keyword_selector): Clear the buffer by only zeroing the first element. (objc_implementation_context): Declare. (start_class): Warn about missing @end. (finish_objc): Ditto. From-SVN: r40895
Stan Shebs committed -
* libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose CXX tag explicitly. * src/Makefile.am (CXXLINK): Likewise. * libsupc++/Makefile.in, src/Makefile.in: Rebuilt. From-SVN: r40894
Alexandre Oliva committed
-