- 04 Apr, 2002 22 commits
-
-
* src/sparc/v8.S: Add unwind info. * src/sparc/v9.S: Likewise. From-SVN: r51873
Jeff Sturm committed -
PR c++/6119 * final.c (final_start_function): Don't bump profile_label_no here... (final_end_function): ...but here. From-SVN: r51872
Jakub Jelinek committed -
* config/sparc/sparc.md (pic): New attribute. (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9 into stack slots. (split after do_builtin_setjmp_setup): New. From-SVN: r51870
Jakub Jelinek committed -
* include/private/gcconfig.h: Add support for an unmapped memory hole between the end of the initialized data segment and the start of the BSS on FreeBSD/i386. From-SVN: r51867
Loren J. Rittle committed -
2002-04-04 Laurent Guerby <guerby@acm.org> * make.adb: Implement -margs, remove restriction about file name placement. * makeusg.adb: Documentation update. * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir). * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line. From-SVN: r51866
Laurent Guerby committed -
PR c/6123 * gcc.dg/20020312-2.c: Do not declare global register variable if __PIC__ or __pic__ is defined. From-SVN: r51859
Jakub Jelinek committed -
PR fortran/6106 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01 change. From-SVN: r51857
Jakub Jelinek committed -
* java/util/Arrays.java (qsort): Fix off-by-one errors and use of incorrect "hi" value when count > 40. From-SVN: r51854
Bryce McKinlay committed -
* config/sparc/sparc.c (sparc_va_arg): Adjust va_list by UNITS_PER_WORD for zero sized aggregates. From-SVN: r51853
Jakub Jelinek committed -
* gcc.dg/arm-asm.c: Run this test on ARM chips, not SPARC. Use __asm__ so that it works correctly even if -ansi -pedantic-errors. From-SVN: r51851
Richard Earnshaw committed -
* java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix ordering. From-SVN: r51848
Mark Wielaard committed -
From-SVN: r51847
GCC Administrator committed -
2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk> * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME. (builtin_function): Similarly. From-SVN: r51843
Neil Booth committed -
gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new one-character spec for this, just use %(link_gcc_c_sequence). 2002-04-03 David S. Miller <davem@redhat.com> * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new one-character spec for this, just use %(link_gcc_c_sequence). From-SVN: r51842
David S. Miller committed -
2002-04-03 David S. Miller <davem@redhat.com> * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian handling. From-SVN: r51840
David S. Miller committed -
2002-04-03 Benjamin Kosnik <bkoz@redhat.com> As per DR 184, libstdc++/3139 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1. (numeric_limits<bool>::is_iec559): False. (numeric_limits<bool>::is_modulo): False. * testsuite/27_io/ios_init.cc: Add instantiations. From-SVN: r51838
Benjamin Kosnik committed -
* pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move. (DWARF_FRAME_RETURN_COLUMN): Move. (ASM_PREFERRED_EH_DATA_FORMAT): Define. (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define. * pa.c (except.h, predict.h): Include. (FRP): Delete. (store_reg_modify, set_reg_plus_d): Revise prototypes. (output_ascii): Add cast. (store_reg_modify): Revise to add frame notes. (set_reg_plus_d): Likewise. (compute_frame_size): Include space for eh data registers in frame if the current function calls eh_return. (hppa_expand_prologue): Ensure register %r2 is saved if the current function calls eh_return. Save eh data registers if the current function calls eh_return. Fix code to add frame notes. Emit blockage to prevent insns with frame notes being scheduled in the delay slot of calls. (hppa_expand_epilogue): Restore eh data registers and do final stack adjustment if the current function calls eh_return. Don't add frame notes. (output_call): Revise for change in length of call insn. Don't do return pointer adjustment for an unconditional jump in the delay slot of a call when using frame notes. * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility. (EH_RETURN_HANDLER_RTX): Use saved value on stack. (ARG_POINTER_CFA_OFFSET): Define. * pa.md (return_external_pic): New pattern. (prologue): Correct formatting. Use return_external_pic if current function calls eh_return. (call_internal_symref, call_value_internal_symref, sibcall_internal_symref, sibcall_value_internal_symref): Change default lengths of short, long non-pic, and long pic calls to 8, 68, and 84, respectively. (exception_receiver): Use hppa_pic_save_rtx () to restore pic register. * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to list of targets to check using "nop" insn. * configure: Rebuilt. From-SVN: r51836
John David Anglin committed -
From-SVN: r51835
Alan Modra committed -
gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c library sequence passed to the linker. 2002-04-03 David S. Miller <davem@redhat.com> * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c library sequence passed to the linker. (LINK_COMMAND_SPEC): Use it. * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as a macro a target can use to avoid overriding LINK_COMMAND_SPEC. * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define. From-SVN: r51834
David S. Miller committed -
PR c++/5118 * class.c (get_vfield_name): Use the constructor_name. From-SVN: r51830
Jason Merrill committed -
* gcc.misc-tests/linkage.exp: Update last change to handle sparc*-, not just sparc-. From-SVN: r51828
Kaveh R. Ghazi committed -
re PR c++/5636 (gcc-3.0.3, memory leakage: function that take a string as parameter will not call local variable destructors if exception is thrown.) PR c++/5636 * tree.h (CLEANUP_EH_ONLY): New macro. * stmt.c (expand_decl_cleanup_eh): New fn. (expand_cleanups): Check CLEANUP_EH_ONLY. * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT. Use expand_decl_cleanup_eh. (expand_stmt): Adjust. * c-common.h: Adjust prototype. * cp/semantics.c (nullify_returns_r): Just set CLEANUP_EH_ONLY on cleanup for nrv. * except.c (struct eh_status): Remove protect_list. (begin_protect_partials, end_protect_partials): Remove. (add_partial_entry): Remove. * except.h: Remove prototypes. * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use expand_decl_cleanup_eh. cp/: * semantics.c (finish_eh_cleanup): New fn. * cp-tree.h: Add prototype. * init.c (perform_member_init, expand_cleanup_for_base): Use finish_eh_cleanup. * cp-tree.def (SUBOBJECT, CTOR_STMT): Remove. * cp-tree.h: Remove references. * decl.c (begin_constructor_body, end_constructor_body): Likewise. * dump.c (cp_dump_tree): Likewise. * pt.c (tsubst_expr): Likewise. * semantics.c (genrtl_ctor_stmt, genrtl_subobject): Remove. (cp_expand_stmt): Remove handling of CTOR_STMT and SUBOBJECT. * tree.c (cp_statement_code_p): Likewise. * init.c (build_new_1): Set CLEANUP_EH_ONLY on deleting cleanup. From-SVN: r51827
Jason Merrill committed
-
- 03 Apr, 2002 18 commits
-
-
cris.c (cris_target_asm_function_prologue): Cast uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings. * config/cris/cris.c (cris_target_asm_function_prologue): Cast uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings. (cris_target_asm_function_epilogue): Ditto. (cris_initial_frame_pointer_offset): Ditto. (cris_simple_epilogue): Ditto. (cris_expand_builtin_va_arg): Variable-size types come in by-reference. From-SVN: r51825
Hans-Peter Nilsson committed -
2002-04-03 David S. Miller <davem@redhat.com> * config/sparc/crtfastmath.c (FPRS_NS): Get it right for little-endian. (set_fast_math): Correct 'fsr' type. From-SVN: r51824
David S. Miller committed -
PR c++/5104 * typeck.c (comptypes) [FUNCTION_TYPE]: Don't compare exception specifiers. [METHOD_TYPE]: Use same code as FUNCTION_TYPE. From-SVN: r51821
Jason Merrill committed -
From-SVN: r51820
Richard Henderson committed -
From-SVN: r51819
Jason Merrill committed -
PR opt/4330 * langhooks.h (lang_hooks.decls.warn_unused_global): New. * toplev.c (check_global_declarations): Use it. * langhooks-def.h (lhd_warn_unused_global_decl): Declare. (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. (LANG_HOOKS_DECLS): Add it. * langhooks.c (lhd_warn_unused_global_decl): New. * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. * c-objc-common.c (c_warn_unused_global_decl): New. * c-tree.h (c_warn_unused_global_decl): Declare. * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. * cp-lang.c (cxx_warn_unused_global_decl): New. (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. * g++.dg/warn/Wunused-2.C: New. * gcc.dg/unused-4.c: New. From-SVN: r51818
Richard Henderson committed -
* langhooks-def.h (lhd_set_decl_assembler_name, LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New. (LANG_HOOKS_INITIALIZER): Update. * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c * langhooks.h (struct lang_hooks): New hook. * tree.c (set_decl_assembler_name): Move to langhooks.c. (lang_set_decl_assembler_name): Remove. (init_obstacks): Don't set hook. (decl_assembler_name): New function. * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call. (decl_assembler_name): New. (lang_set_decl_assembler_name): Remove. cp: * cp-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Redefine. * tree.c (init_tree): Don't set hook. From-SVN: r51817
Neil Booth committed -
configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32() works properly with .hidden symbols. * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32() works properly with .hidden symbols. * configure: Rebuilt. * config.in: Rebuilt. * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work properly with .hidden symbols. From-SVN: r51816
Jakub Jelinek committed -
From-SVN: r51815
Richard Henderson committed -
PR middle-end/6102 * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access USE argument. From-SVN: r51813
Jakub Jelinek committed -
PR c++/5998: * decl.c (duplicate_decls): Don't mess with assembler names when redeclaring builtin functions as static. From-SVN: r51812
Roger Sayle committed -
2002-04-03 David S. Miller <davem@redhat.com> * config/sparc/crtfastmath.c: New file. * config/sparc/t-crtfm: New file. * config/sparc/linux.h (ENDFILE_SPEC): Use crtfastmath.o * config/sparc/linux64.h (ENDFILE_SPEC): Likewise. * config/sparc/sol2.h (ENDFILE_SPEC): Likewise. * config/sparc/sp64-elf.h (ENDFILE_SPEC): Likewise. * config/sparc/elf.h (ENDFILE_SPEC): Likewise. * config.gcc (sparc*-*-{elf*,linux*,solaris2*}): Add sparc/t-crtfm to tmake_file. * config/sparc/sparc-protos.h (sparc_emitting_epilogue): Add. From-SVN: r51808
David S. Miller committed -
* sched-rgn.c (sets_likely_spilled): New. (sets_likely_spilled_1): New. (add_branch_dependences): Use it. From-SVN: r51806
Richard Henderson committed -
From-SVN: r51804
Hans-Peter Nilsson committed -
From-SVN: r51802
GCC Administrator committed -
PR opt/4311 * loop.h (LOOP_FIRST_PASS): New. * loop.c (strength_reduce): Mind it when deciding to unroll. * toplev.c (rest_of_compilation): Set it. From-SVN: r51798
Richard Henderson committed -
sparc.md (ldd peephole2s): Fix final arg to mems_ok_for_ldd_peep when the order of the loads being... 2002-04-02 David S. Miller <davem@redhat.com> * config/sparc/sparc.md (ldd peephole2s): Fix final arg to mems_ok_for_ldd_peep when the order of the loads being examined is reversed. * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon existing comment to increase comprehension of this situation. From-SVN: r51796
David S. Miller committed -
From-SVN: r51794
Zack Weinberg committed
-