- 31 Mar, 2002 30 commits
-
-
* diagnostic.c (print_error_function): Remove. (default_print_error_function): Rename. (report_error_function): Update. * diagnostic.h (print_error_function): Remove. (default_print_error_function): Remove. * langhooks-def.h (struct diagnostic_context): Predeclare. (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New. (LANG_HOOKS_INITIALIZER): Update. * langhooks.h (struct diagnostic context): Predeclare. (struct lang_hooks): New hook. cp: * Make-lang.in (error.o): Update. * cp-lang.c (LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine. * cp-tree.h (struct diagnostic_context): Predeclare. (cxx_print_error_function): New. * error.c: Include langhooks-def.h. (lang_print_error_function): Rename. Update. (init_error): Don't set hook. f: * com.c (lang_print_error_function): Rename. (LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine. (ffe_init): Don't set hook. java: * lang.c (LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine. (java_dummy_print): Remove. (lang_print_error): Rename. Exit early if inhibiting output. (inhibit_error_printing_function): New. (java_init): Don't set hook. (lang_init_source): Use new boolean. From-SVN: r51672
Neil Booth committed -
2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New. (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if !flag_pic. (CONDITIONAL_REGISTER_USAGE): Adjust accordingly. * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead of PIC_OFFSET_TABLE_REGNUM thruout. * config/rs6000/rs6000.md: Likewise. * config/rs6000/darwin.h: Likewise. From-SVN: r51671
Franz Sirl committed -
* emit-rtl.c (adjust_address_1, offset_address): Cast value to unsigned HOST_WIDE_INT, not unsigned int. From-SVN: r51670
Richard Kenner committed -
PR middle-end/6096, middle-end/6098, middle-end/6099 * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for CODE_LABELs. (fill_slots_from_thread): Likewise. From-SVN: r51668
Jakub Jelinek committed -
* config/sparc/sparc.c (function_arg_record_value_1): Pass complex floating fields in float regs. (function_arg_record_value_2): Likewise. From-SVN: r51667
Jakub Jelinek committed -
* config/mmix/mmix.md (define_constants): Remove misleading FIXME. Add MMIX_fp_rO_OFFSET. ("nonlocal_goto_receiver"): Don't have stack-frame address of saved rO as part of the pattern. Remove FIXME. ("*nonlocal_goto_receiver_expanded"): Similar. Generate address here, at output-time. From-SVN: r51664
Hans-Peter Nilsson committed -
re PR middle-end/6100 (sparc-sun-solaris2.7 gcc-3.1 RTL checking failure w/-m64 on compile/20020320-1.c) PR middle-end/6100 * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not REG_BR_PRED. (output_v9branch): Likewise. From-SVN: r51663
Jakub Jelinek committed -
From-SVN: r51659
Alexandre Oliva committed -
* gcc.c: Revert previous patch for now. * config/i386/djgpp.h: Likewise. From-SVN: r51658
Alexandre Oliva committed -
* g++.dg/ext/instantiate1.C, g++.dg/ext/instantiate2.C, g++.dg/ext/instantiate3.C: Tweak match patterns. From-SVN: r51657
Hans-Peter Nilsson committed -
* g++.old-deja/g++.pt/static11.C: Skip on mmix-knuth-mmixware. * g++.dg/other/static11.C: Copy g++.old-deja/g++.pt/static11.C for -da test. From-SVN: r51656
Hans-Peter Nilsson committed -
From-SVN: r51655
Hans-Peter Nilsson committed -
* config/mmix/crti.asm (_init): Register _fini with atexit. * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0". From-SVN: r51654
Hans-Peter Nilsson committed -
* config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy. (ASM_OUTPUT_DEF_FROM_DECLS): New. * gcc.dg/special/alias-2.c: New. * gcc.dg/special/ecos.exp: Run it. From-SVN: r51650
Richard Henderson committed -
From-SVN: r51649
Richard Henderson committed -
From-SVN: r51647
Richard Henderson committed -
builtins.c (expand_builtin_va_arg): Give warnings not errors for promoted argument types; build trap. * builtins.c (expand_builtin_va_arg): Give warnings not errors for promoted argument types; build trap. (expand_builtin_trap): New. (expand_builtin): Use it. * stmt.c (expand_nl_goto_receivers): Likewise. * expr.h (expand_builtin_trap): Declare. * libfuncs.h (LTI_abort, abort_libfunc): New. * optabs.c (init_optabs): Init abort_libfunc. * gcc.dg/va-arg-1.c: Expect warnings, not errors. From-SVN: r51643
Richard Henderson committed -
* libgcj.spec.in: Override libgcc, not lib. * libgcj-test.spec.in: Likewise. From-SVN: r51640
Alexandre Oliva committed -
* gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here... (LINK_COMMAND_SPEC): ... from here. (init_gcc_specs): Duplicate it here too, omitting shared_name in the second copy. (init_spec): Test for duplicate * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'. From-SVN: r51639
Alexandre Oliva committed -
From-SVN: r51638
GCC Administrator committed -
* config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise. From-SVN: r51634
David S. Miller committed -
From-SVN: r51632
Richard Henderson committed -
From-SVN: r51629
Kazu Hirata committed -
* regmove.c (combine_stack_adjustments_for_block): Avoid emitting a stack adjustment of zero bytes. Let delete_insn update bb->head. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r51628
Roger Sayle committed -
* config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE. (sparc_emitting_epilogue): New. (leaf_label, output_return, sparc_return_peephole_ok): Remove. * config/sparc/sparc-protos.h: Update. * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove. (TARGET_SWITCHES): Update. * config/sparc/sparc.md (return): Remove. (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE. * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h, config/sparc/liteelf.h, config/sparc/netbsd-elf.h, config/sparc/sol2-sld-64.h, config/sparc/sol2.h, config/sparc/sp64-aout.h, config/sparc/sp64-elf.h, config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h, config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT): Remove MASK_EPILOGUE. * doc/invoke.texi: Update. From-SVN: r51626
Richard Henderson committed -
PR c++/3719 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler data out of the exception struct before calling unexpectedHandler. * g++.dg/eh/unexpected1.C: New. From-SVN: r51623
Richard Henderson committed -
2002-03-30 Daniel Berlin <dan@dberlin.org> * dwarf2out.c (dwarf2out_define): Remove start_source_file call, CPP will start the file for us. From-SVN: r51621
Daniel Berlin committed -
2002-03-30 Krister Walfridsson <cato@df.lth.se> * configure.in (i*86-*-netbsdelf*): Don't disable libgcj. libffi: 2002-03-30 Krister Walfridsson <cato@df.lth.se> * configure.in: Enable i*86-*-netbsdelf*. * configure: Rebuilt. From-SVN: r51620
Krister Walfridsson committed -
2002-03-30 Krister Walfridsson <cato@df.lth.se> * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF NetBSD/i386. From-SVN: r51616
Bryce McKinlay committed -
* config/ia64/ia64.c (group_barrier_needed_p): Special case prologue_allocate_stack. (ia64_single_set): Use insn codes for recognition of special cases, not rtl matching. * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out. * gcc.c-torture/compile/20020330-1.c: New. From-SVN: r51615
Richard Henderson committed
-
- 30 Mar, 2002 10 commits
-
-
From-SVN: r51612
Jan Hubicka committed -
* config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic or -fomit-frame-pointer with profiling. (SUBTARGET_OVERRIDE_OPTIONS): Remove. (FUNCTION_PROFILER): Do nothing. (PROFILE_HOOK): New. * config/sparc/sparc.c (sparc_override_options): Don't check code models for profiling. (sparc_function_profiler): Remove. (sparc_profile_hook): New. * config/sparc/sparc-protos.h: Update. From-SVN: r51610
Richard Henderson committed -
From-SVN: r51608
Richard Henderson committed -
PR optimization/6086 * combine.c (combine_simplify_rtx): If simplify_rtx failed because of SUBREG of volatile MEM or because the MEM was mode dependent, return CLOBBER instead of unmodified SUBREG. From-SVN: r51606
Jakub Jelinek committed -
* local-alloc.c (local_alloc): Avoid call of update_equiv_regs when not optimizing. * toplev.c (rest_of_compilation): Cann mark_constant_function only when optimizing. * flow.c (calculate_global_regs_live): Ensure that all AUX fields are NULL. * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK. (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it. (try_optimize_cfg): clear all AUX fields. * i386.c (aligned_operand): Be prepared for SUBREGed registers. (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG. (ix86_address_cost): Be prepared for SUBREGed registers. (legitimate_address_p): Accept SUBREGed registers. From-SVN: r51604
Jan Hubicka committed -
From-SVN: r51600
GCC Administrator committed -
* cp-demangle.c (java_demangle_v3): Don't try to release "demangled" if it is NULL. From-SVN: r51594
Bryce McKinlay committed -
PR target/5672 * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place. From-SVN: r51593
Richard Henderson committed -
2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count for aggregate and TFmode types. From-SVN: r51591
Franz Sirl committed -
From-SVN: r51589
Hans-Peter Nilsson committed
-