aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-11-30Fix ia64 libunwind gnatmake link error.James E Wilson2-3/+8
* gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name instead of in shared_name. From-SVN: r74054
2003-11-29Make NON_SAVING_SETJMP usable again.James E Wilson3-13/+16
* final.c (final_start_function): Delete code for NON_SAVING_SETJMP. * reload1.c (reload): Re-add it here. From-SVN: r74052
2003-11-30rs6000.c (rs6000_elf_section_type_flags): Don't set SECTION_WRITE on ↵Alan Modra2-8/+7
TARGET_RELOCATABLE. * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Don't set SECTION_WRITE on TARGET_RELOCATABLE. From-SVN: r74051
2003-11-30* config/h8300/h8300.h (LIBCALL_VALUE): Use R0_REG.Kazu Hirata2-1/+5
From-SVN: r74050
2003-11-30m68k.c (MOTOROLA): Move from here...Gunther Nikl4-469/+257
* config/m68k/m68k.c (MOTOROLA): Move from here... * config/m68k/m68k.h (MOTOROLA): ... to here. (OUTPUT_JUMP): Use do {...} while (0). * config/m68k/m68k.md: Replace #ifdef MOTOROLA with C statements. From-SVN: r74049
2003-11-30config.gcc (m68020-*-elf*, [...]): Add tm_defines containing MOTOROLA and ↵Gunther Nikl5-14/+12
USE_GAS. * config.gcc (m68020-*-elf*, m68k-*-elf*, m68010-*-netbsdelf*, m68k*-*-netbsdelf*, m68k-*-rtems*): Add tm_defines containing MOTOROLA and USE_GAS. * config/m68k/rtemself.h (MOTOROLA): Delete. * config/m68k/netbsd-elf.h (MOTOROLA, USE_GAS): Delete. * config/m68k/m68kelf.h (MOTOROLA, USE_GAS, SGS_CMP_ORDER): Delete. From-SVN: r74048
2003-11-30* config/h8300/h8300.h (WORDS_BIG_ENDIAN): Update the comment.Kazu Hirata2-3/+5
From-SVN: r74047
2003-11-30Makefile.in (install-info): Install gccinstall.info too.Kelley Cook2-0/+5
2003-11-29 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in (install-info): Install gccinstall.info too. From-SVN: r74046
2003-11-30Daily bump.GCC Administrator1-1/+1
From-SVN: r74043
2003-11-30* config/s390/s390.md ("cmpint_di"): Fix incorrect instruction lengths.Ulrich Weigand2-3/+7
From-SVN: r74040
2003-11-29Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb to force ↵Ulrich Weigand2-1/+6
serialization. * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb to force serialization. From-SVN: r74039
2003-11-29s390.md ("movhi"): Do not emit extender pattern when loading from a (MEM ↵Ulrich Weigand2-2/+10
(ADDRESSOF ...)). * config/s390/s390.md ("movhi"): Do not emit extender pattern when loading from a (MEM (ADDRESSOF ...)). ("movqi"): Likewise. From-SVN: r74037
2003-11-29re PR c/10333 (typeof (bitfield) is accepted but doesn't work)Joseph Myers4-1/+24
PR c/10333 * c-parse.in (typespec_reserved_nonattr): Reject typeof on bit-fields. testsuite: * gcc.dg/bitfld-7.c: New test. From-SVN: r74036
2003-11-29stmt.c (expand_asm_operands): Check whether force_const_mem succeeded.Richard Sandiford4-6/+25
* stmt.c (expand_asm_operands): Check whether force_const_mem succeeded. testsuite/ * gcc.dg/tls/asm-1.C: New test. From-SVN: r74035
2003-11-29gnu.h (HURD_TARGET_OS_CPP_BUILTINS): New.Kaveh R. Ghazi28-87/+81
* config/gnu.h (HURD_TARGET_OS_CPP_BUILTINS): New. * config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): New. * config/alpha/gnu.h, config/alpha/linux.h, config/arm/linux-elf.h, config/cris/cris.h, config/cris/linux.h, config/i370/linux.h, config/i386/gnu.h, config/i386/i386.h, config/i386/linux-aout.h, config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h, config/m68k/linux.h, config/m68k/uclinux.h, config/mips/linux.h, config/mn10300/linux.h, config/pa/pa-linux.h, config/rs6000/sysv4.h, config/s390/linux.h, config/sh/linux.h, config/sparc/linux.h, config/sparc/linux64.h, config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Use HURD_TARGET_OS_CPP_BUILTINS/LINUX_TARGET_OS_CPP_BUILTINS or ensure all necessary assertions are included. testsuite: * testsuite/gcc.dg/cpp/assert4.c: Update. From-SVN: r74031
2003-11-29emit-rtl.c (set_used_flags): New.Jan Hubicka4-12/+248
* emit-rtl.c (set_used_flags): New. (verify_rtx_sharing, verify_rtl_sharing): New. (unshare_all_rtl_1): Rename to.... (unshare_all_rtl_in_chain): ... this one; make static. (copy_rtx_if_shared): LABEL_REF chan be shared. * ifcvt.c (unshare_ifcvt_sequence): New. (noce_try_move, noce_try_store_flag, noce_try_store_flag_constants, noce_try_addcc, noce_try_addcc, noce_try_store_flag_mask, noce_try_cmove, noce_try_store_flag_mask, noce_try_minmax, noce_try_abs, noce_process_if_block, find_cond_trap * rtl.h (verify_rtl_sharing, set_used_flags, unshare_all_rtl_in_chain): Declare. From-SVN: r74030
2003-11-29Daily bump.GCC Administrator1-1/+1
From-SVN: r74028
2003-11-28builtin-apply2.c: Set size of stack argument data to 64.Eric Botcazou3-10/+37
* gcc.dg/builtin-apply2.c: Set size of stack argument data to 64. * gcc.dg/builtin-apply3.c: New test. From-SVN: r74022
2003-11-28Correct the description of these files in the comment header.Ben Elliston2-5/+3
From-SVN: r74018
2003-11-28* config/h8300/h8300.md: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r74015
2003-11-28h8300.md (*movsf_h8300h): Change to *movsf_h8300hs.Kazu Hirata2-7/+18
* config/h8300/h8300.md (*movsf_h8300h): Change to *movsf_h8300hs. (addsi_h8300): Change to *addsi_h8300. (addsi_h8300h): Change to *addsi_h8300hs. (subsi3_h8300): Change to *subsi3_h8300. (subsi3_h8300h): Change to *subsi3_h8300hs. (neghi2_h8300h): Change to *neghi2_h8300hs. (negsi2_h8300h): Change to *negsi2_h8300hs. From-SVN: r74014
2003-11-28h8300.md (*subhi3_h8300): Remove '&' from the constraint.Kazu Hirata2-2/+8
* config/h8300/h8300.md (*subhi3_h8300): Remove '&' from the constraint. (*subhi3_h8300hs): Likewise. From-SVN: r74013
2003-11-28rs6000.h (MASK_MFCRF): New.David Edelsohn3-28/+45
* config/rs6000/rs6000.h (MASK_MFCRF): New. (TARGET_MFCRF): Test target_flags, not processor type. (TARGET_SWITCHES): Add mfcrf and no-mfcrf. Change Don't to Do not. * config/rs6000/rs6000.c (processors_target_table): Add MASK_MFCRF to power4, 970, G5. From-SVN: r74012
2003-11-28Daily bump.GCC Administrator1-1/+1
From-SVN: r74009
2003-11-27cse.c (cse_set_around_loop): When changing a constant load to a register ↵J"orn Rennecke2-0/+9
-register copy, add a REG_EQUAL note. * cse.c (cse_set_around_loop): When changing a constant load to a register -register copy, add a REG_EQUAL note. From-SVN: r74007
2003-11-27pa.c (hppa_profile_hook): Split gen_call_profiler into separate insns.Randolph Chung3-38/+74
* pa.c (hppa_profile_hook): Split gen_call_profiler into separate insns. Use the regular call expander for the call to the profiler. * pa.md (call_profiler): Delete. (load_offset_label_address): New insn to load the address of the current function for the profiler. (lcla1, lcla2): New insns to output a code label and load its address. Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca> From-SVN: r74004
2003-11-27* final.c (final_scan_insn): Remove commented-out code.Kazu Hirata2-4/+4
From-SVN: r74002
2003-11-27* doc/install.texi: Remove ADAC reference and make accurate.Nathanael Nerode2-5/+7
From-SVN: r74001
2003-11-27Fix a typo in ChangeLog.Kazu Hirata1-1/+1
From-SVN: r73999
2003-11-27h8300.h (FUNCTION_VALUE): Use R0_REG.Kazu Hirata3-3/+10
* config/h8300/h8300.h (FUNCTION_VALUE): Use R0_REG. (FUNCTION_VALUE_REGNO_P): Likewise. * config/h8300/h8300.md: Define R0_REG. From-SVN: r73998
2003-11-27h8300.c: Fix formatting.Kazu Hirata3-9/+13
* config/h8300/h8300.c: Fix formatting. * config/h8300/h8300.md: Likewise. From-SVN: r73997
2003-11-27* config/h8300/h8300.h (ELIMINABLE_REGS): Update a coment.Kazu Hirata2-4/+10
From-SVN: r73996
2003-11-27* config/h8300/h8300.md: Give names to anonymous insns.Kazu Hirata2-20/+24
From-SVN: r73994
2003-11-27* config/h8300/h8300.md (extendqisi2): Remove constraints.Kazu Hirata2-1/+5
From-SVN: r73993
2003-11-27[multiple changes]Arnaud Charlet15-70/+286
2003-11-26 Thomas Quinot <quinot@act-europe.fr> * g-socket.ads, g-socket.adb: Clarify documentation of function Stream. Introduce a Free procedure to release the returned Stream once it becomes unused. * 5asystem.ads: For Alpha Tru64, enable ZCX by default. 2003-11-26 Arnaud Charlet <charlet@act-europe.fr> (Cond_Timed_Wait): Introduce new constant Time_Out_Max, since NT 4 cannot handle timeout values that are too large, e.g. DWORD'Last - 1. 2003-11-26 Ed Schonberg <schonberg@gnat.com> * exp_ch4.adb: (Expand_N_Slice): Recognize all cases of slices that appear as actuals in procedure calls and whose expansion must be deferred. * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix is in exp_ch4. * sem_ch3.adb: (Build_Derived_Array_Type): Create operator for unconstrained type if ancestor is unconstrained. 2003-11-26 Vincent Celier <celier@gnat.com> * make.adb (Project_Object_Directory): New global variable (Change_To_Object_Directory): New procedure (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead of Change_Dir directly. Do not change working directory to object directory of main project after each compilation. (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir directly. Change to object directory of main project before binding step. (Initialize): Initialize Project_Object_Directory to No_Project * mlib-prj.adb: (Build_Library): Take into account Builder'Default_Switches ("Ada") when binding a Stand-Alone Library. * output.adb: Update Copyright notice (Write_Char): Output buffer when full 2003-11-26 Robert Dewar <dewar@gnat.com> * sem_ch13.adb: (Check_Size): Reset size if size is too small * sem_ch13.ads: (Check_Size): Fix documentation to include bit-packed array case * sem_res.adb: Implement restriction No_Direct_Boolean_Operators * s-rident.ads: Put No_Direct_Boolean_Operators in proper order * s-rident.ads: Add new restriction No_Direct_Boolean_Operators From-SVN: r73991
2003-11-27tm.texi (SYSROOT_HEADERS_SUFFIX_SPEC): Fix typo.Gunther Nikl2-1/+5
2003-11-27 Gunther Nikl <gni@gecko.de> * doc/tm.texi (SYSROOT_HEADERS_SUFFIX_SPEC): Fix typo. From-SVN: r73990
2003-11-27compat.exp (compat-obj): New xfaildata parameter.Eric Botcazou6-8/+35
* lib/compat.exp (compat-obj): New xfaildata parameter. Use it to set compiler_conditional_xfail_data before compiling. (compat-get-options): Handle dg-xfail-if. (compat-execute): Retrieve XFAIL data and pass them to compat-obj. * gcc.dg/compat/vector-1_x.c: XFAIL on SPARC. * gcc.dg/compat/vector-1_y.c: Likewise. * gcc.dg/compat/vector-2_x.c: Likewise. * gcc.dg/compat/vector-2_y.c: Likewise. From-SVN: r73989
2003-11-27re PR rtl-optimization/13041 (linux-2.6/sound/core/oss/rate.c miscompiled)Eric Botcazou3-2/+17
PR optimization/13041 * final.c (frame_pointer_needed): Fix comment. * reload1.c (reload): Decrease alignment of the frame pointer if it was used for register allocation. From-SVN: r73978
2003-11-27re PR target/12900 (g++ ICE in rtl_verify_flow_info_1)Eric Botcazou4-35/+97
PR target/12900 * reg-stack (move_for_stack_reg): New prototype. Return whether a control flow insn was deleted. (subst_stack_regs_pat): Likewise, using the information provided by move_for_stack_reg. (subst_stack_regs): Likewise, using the information provided by subst_stack_regs_pat. (convert_regs_1): Record whether a control flow insn was deleted, using the information provided by subst_stack_regs. Purge dead edges only if a control flow insn was deleted. From-SVN: r73977
2003-11-27re PR middle-end/8028 (__builtin_apply() passes wrong arguments)Eric Botcazou4-6/+64
PR middle-end/8028 PR middle-end/9890 PR middle-end/11151 PR middle-end/12210 PR middle-end/12503 PR middle-end/12692 * builtins.c (expand_builtin_apply): Use virtual_outgoing_args_rtx as the base address to copy the memory arguments to. From-SVN: r73976
2003-11-27Daily bump.GCC Administrator1-1/+1
From-SVN: r73972
2003-11-26cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Declare function aliases as functions.Danny Smith2-2/+9
* config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Declare function aliases as functions. Fix typo in 2003-10-24 entry. From-SVN: r73966
2003-11-26aclocal.m4 (gcc_AC_PROG_GNAT): Rewrite to account for removal of ADAC.Nathanael Nerode3-292/+272
* aclocal.m4 (gcc_AC_PROG_GNAT): Rewrite to account for removal of ADAC. * configure: Regenerate. From-SVN: r73960
2003-11-26* Makefile.in: Remove references to ADAC.Nathanael Nerode2-2/+2
From-SVN: r73959
2003-11-26configure.in: Remove check for whether ${ADAC} accepts -Wno-long-long.Nathanael Nerode3-274/+239
* configure.in: Remove check for whether ${ADAC} accepts -Wno-long-long. * configure: Regenerate. From-SVN: r73958
2003-11-26* de.po: Update.Joseph Myers2-202/+206
From-SVN: r73955
2003-11-26* gcc.c-torture/compile/20031023-4.c: Don't XFAIL on SPARC64.Eric Botcazou2-5/+4
From-SVN: r73943
2003-11-26re PR target/6466 (backend uses bad type for frame size calculation.)Eric Botcazou3-129/+250
PR target/6466 * config/sparc/sparc-protos.h (compute_frame_size): New prototype. (sparc_flat_compute_frame_size): Likewise. (sparc_flat_save_restore): Move prototype... * config/sparc/sparc.c (sparc_flat_save_restore): ...here. (save_regs): New prototype. (build_big_number): Likewise. (apparent_fsize): Change type to HOST_WIDE_INT. (actual_fsize): Likewise. (frame_base_offset): Likewise. (build_big_number): Add support for HOST_BITS_PER_WIDE_INT == 64. Change string descriptor to HOST_WIDE_INT_PRINT_DEC. [TARGET_ARCH64]: Use the sequence of sparc_emit_set_const64_longway to load a 64-bit constant. (sparc_nonflat_function_prologue): Change string descriptor to HOST_WIDE_INT_PRINT_DEC. Change offset type to HOST_WIDE_INT. (output_restore_regs): Change offset type to HOST_WIDE_INT. (sparc_nonflat_function_epilogue): Change string descriptor to HOST_WIDE_INT_PRINT_DEC. Use build_big_number. (output_sibcall): Change size type to HOST_WIDE_INT. Use build_big_number. Change string descriptor to HOST_WIDE_INT_PRINT_DEC. (sparc_frame_info): Change types for several components. (sparc_flat_compute_frame_size): Update types according to previous change. (sparc_flat_function_prologue): Change string descriptor to HOST_WIDE_INT_PRINT_DEC. Change offset type to int. Use build_big_number. (sparc_flat_function_epilogue): Change offset type to int. Rename 'size1' into 'reg_offset1'. Change string descriptor to HOST_WIDE_INT_PRINT_DEC. Use build_big_number. Change big number limit to 4096 instead of 4095. * config/sparc/sparc.c (mems_ok_for_ldd_peep): Change offset type to HOST_WIDE_INT. Co-Authored-By: Olivier Hainque <hainque@act-europe.fr> From-SVN: r73942
2003-11-26re PR middle-end/12548 ([non-weak] gcj now failes to compile included example)Mohan Embar2-1/+11
PR java/12548 * resource.c (write_resource_constructor): Append "_resource" to constructor identifier name. From-SVN: r73940
2003-11-26Daily bump.GCC Administrator1-1/+1
From-SVN: r73936