- 18 Oct, 2003 21 commits
-
-
* config/s390/s390-protos.h (shift_count_operand): Add prototype. * config/s390/s390.c (shift_count_operand): New function. (s390_extra_constraint): Use it to implement 'Y' constraint. (print_shift_count_operand): New function. (print_operand): Use it to implement '%Y'. * config/s390/s390.h (EXTRA_ADDRESS_CONSTRAINT): Add 'Y' constraint. (PREDICATE_CODES): Add shift_count_operand. * config/s390/s390.md ("rotldi3"): Merge alternatives, using "shift_count_operand" predicate and "Y" constraint, and "%Y" to output the combined shift count. ("rotlsi3"): Likewise. ("ashldi3", "*ashldi3_31", "*ashldi3_64"): Likewise. ("ashrdi3", "*ashrdi3_31", "*ashrdi3_64", "*ashrdi3_cc_31", "*ashrdi3_cc_64", "*ashrdi3_cconly_31", "*ashrdi3_cconly_64"): Likewise. ("ashlsi3", "ashrsi3", "*ashrsi3_cc", "*ashrsi3_cconly"): Likewise. ("lshrdi3", "*lshrdi3_31", "*lshrdi3_64"): Likewise. ("lshrsi3"): Likewise. From-SVN: r72661
Ulrich Weigand committed -
* config/m68k/m68k.c (m68k_output_function_epilogue): Add missing argument to asm_fprintf statement. From-SVN: r72656
Gunther Nikl committed -
From-SVN: r72653
Jan Hubicka committed -
Approved by David Edehlson. From-SVN: r72651
Fariborz Jahanian committed -
Approved by David Edelsohn. From-SVN: r72650
Fariborz Jahanian committed -
* final.c (final_scan_insn): Run FINAL_PRESCAN_INSNS on asm insns as well. From-SVN: r72649
Alexandre Oliva committed -
* rtl.h (rtl_size): Declare. (rtunion): Remove rtwint. (rtx_def): Replace 'fld' with a union of an rtunion or a HOST_WIDE_INT. (RTX_HDR_SIZE, RTX_SIZE): New macros. (RTL_CHECK1): Adjust for new rtx_def layout. (RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2): Likewise. (XWINT, XCWINT): Likewise. Access the rtx structure directly. (X0WINT): Remove. (X0ANY): New macro. * rtl.def: Adjust comments for new rtx_def layout. * ggc.h (ggc_alloc_rtx): Take the rtx code as argument, not the number of slots. * rtl.c (rtx_size): New array. (rtx_alloc): Adjust call to ggc_alloc_rtx. Use RTX_HDR_SIZE. (copy_rtx): Use RTX_HDR_SIZE. Adjust for new rtx_def layout. (shallow_copy_rtx): Adjust call to ggc_alloc_rtx. Use RTX_SIZE. * integrate.c (copy_rtx_and_substitute): Use X0ANY to copy '0' fields. * emit-rtl.c (copy_most_rtx): Likewise. (copy_rtx_if_shared): Use RTX_SIZE. (copy_insn_1): Use RTX_HDR_SIZE. Adjust for new rtx_def layout. * gengenrtl.c (gendef): Adjust ggc_alloc_rtx call. Use RTX_HDR_SIZE. * gengtype.c (write_rtx_next): Use RTX_HDR_SIZE. (adjust_field_rtx_def): Expect "rtx_def" to be a union rather than an array. Adjust output for new rtx_def layout. * ggc-page.c (RTL_SIZE): Use RTX_HDR_SIZE. * reload1.c (eliminate_regs): Use RTX_SIZE. * rtlanal.c (loc_mentioned_in_p): Adjust for new rtx_def layout. * gdbinit.in (pi): Likewise. From-SVN: r72647
Richard Sandiford committed -
From-SVN: r72646
Jan Hubicka committed -
* libgcc.texi: Group multi-word types, such as "long double" and "unsigned int", using braces in @deftypefn and @deftypefnx nodes. Document __unord?f2 as returning a non-zero value, not just one. From-SVN: r72645
Roger Sayle committed -
PR c++/12495 * pt.c (lookup_template_class): Handle when current_class_type is a local class. * g++.dg/template/crash21.C: New test. From-SVN: r72643
Kriang Lerdsuwanakij committed -
* config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Define. ($(T)crti.o, $(T)crtn.o): Pass CRTSTUFF_T_CFLAGS here too. From-SVN: r72641
Hans-Peter Nilsson committed -
* config/i386/k6.md (k6_alux): Use the 'mode' attribute instead of match_operand. From-SVN: r72639
Eric Botcazou committed -
Connection.java, [...]: Merged copyright text from classpath to make it possible to merge the classes. 2003-10-18 Michael Koch <konqueror@gmx.de> * gnu/java/net/protocol/file/Connection.java, gnu/java/net/protocol/file/Handler.java, gnu/java/net/protocol/http/Connection.java, gnu/java/net/protocol/http/Handler.java, gnu/java/net/protocol/jar/Connection.java, gnu/java/net/protocol/jar/Handler.java: Merged copyright text from classpath to make it possible to merge the classes. From-SVN: r72638
Michael Koch committed -
2003-10-18 Mark Wielaard <mark@klomp.org> Reported by M.Negovanovic * java/beans/IndexedPropertyDescriptor.java (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex. From-SVN: r72637
Mark Wielaard committed -
* config/sparc/sparc.c (function_arg_record_value_1): New fourth parameter packed_p. Search for a DECL_PACKED field only if packed_p is false. Pass packed_p recursively. (function_arg_record_value_2): Likewise. (function_arg_record_value): Update calls to function_arg_record_value_1 and function_arg_record_value_2. From-SVN: r72636
Eric Botcazou committed -
* cse.c (cse_insn) [src_folded]: Check that the tentative replacement was successfully forced to memory before using the result. From-SVN: r72635
Eric Botcazou committed -
PR optimization/8178 * config/i386/i386.md (*movsi_zero): New insn to set a register to zero on TARGET_USE_MOV0 targets. From-SVN: r72634
Eric Botcazou committed -
2003-10-17 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in (Makefile): Depend on the all Make-lang.in fragments. (POSTSTAGE1_FLAGS_TO_PASS): Pass down MAKEINFO and MAKEINFOFLAGS. From-SVN: r72633
Kelley Cook committed -
From-SVN: r72631
David Edelsohn committed -
[[Split portion of a mixed commit.]] From-SVN: r72629.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r72628.2
GCC Administrator committed
-
- 17 Oct, 2003 19 commits
-
-
2003-10-17 Andrew Pinski <pinskia@physics.uc.edu> * doc/install.texi: Remove first part of the sentence for zsh not working. Change gcc to GCC. From-SVN: r72626
Andrew Pinski committed -
2003-10-17 Andrew Pinski <pinskia@physics.uc.edu> PR bootstrap/12546 * doc/install.texi: Document that zsh does not work when configuring gcc. From-SVN: r72625
Andrew Pinski committed -
From-SVN: r72624
Nathanael Nerode committed -
From-SVN: r72622
David Edelsohn committed -
2003-10-17 Segher Boessenkool <boessen@de.ibm.com> Hartmut Penner <hpenner@de.ibm.com> * config/rs6000/altivec.md ("altivec_dst", "altivec_dstt", "altivec_dstst", "altivec_dststt", "altivec_lvsl", "altivec_lvsr", "altivec_lvebx", "altivec_lvehx", "altivec_lvewx", "altivec_lvxl", "altivec_lvx", "altivec_stvx", "altivec_stvxl", "altivec_stvebx", "altivec_stvehx", "altivec_stvewx"): Use a memory_operand. * config/rs6000/rs6000.c (altivec_expand_lv_builtin): New function. (altivec_expand_stv_builtin): Adjust for the memory_operand. (altivec_expand_builtin): Call altivec_expand_lv_builtin. (altivec_init_builtins): Use `long int' for memory offsets. Co-Authored-By: Hartmut Penner <hpenner@de.ibm.com> From-SVN: r72621
Segher Boessenkool committed -
* win32.cc: (_Jv_pipe) Implemented. * gnu/java/nio/natPipeImpl.cc: (nativeInit) Use _Jv_pipe instead of ::pipe. * include/posix.h: (_Jv_pipe) New inline. * include/win32.h: (_Jv_pipe) New declaration. From-SVN: r72616
Mohan Embar committed -
* opts.c (common_handle_option): Handle OPT_fweb * invoke.texi (-fweb): Add missing parts of documentation. From-SVN: r72614
Jan Hubicka committed -
* config/mips/linux.h (FUNCTION_NAME_ALREADY_DECLARED): Undef before redefinition. From-SVN: r72613
Rainer Orth committed -
2003-10-17 Mostafa Hagog <mustafa@il.ibm.com> * common.opt: Add description of the new -fgcse-las flag. * flags.h (flag_gcse_las): Declaration of global flag_gcse_las. * gcse.c (hash_scan_set): Handle the case of store expression and insert the memory expression to the hash table, this way we make it possible to discover redundant loads after stores and remove them. (pre_insert_copy_insn): moved the call to update_ld_motion_stores, to pre_insert_copies, it is not the correct place to call it after adding stores to be in the available expression hash table. (pre_insert_copies): Added the call to update_ld_motion_stores when one or more copies were inserted. * opts.c (common_handle_option): Handle the -fgcse-las flag. * toplev.c (flag_gcse_las): Initialization of flag_gcse_las. * doc/invoke.tex: Document new -fgcse-las flag. From-SVN: r72612
Mostafa Hagog committed -
PR c++/2513 * decl.c (make_typename_type): Use dependent_type_p. (make_unbound_class_template): Likewise. * pt.c (instantiate_class_template): Increment processing_template_decl during substitution of template friend function. Preincrement processing_template_decl rather than postincrement. (get_mostly_instantiated_function_type): Increment processing_template_decl during partial substitution of function type. * g++.dg/template/typename5.C: New test. From-SVN: r72611
Kriang Lerdsuwanakij committed -
From-SVN: r72610
Alan Modra committed -
From-SVN: r72609
Alan Modra committed -
* include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove unsure comment. From-SVN: r72608
Alan Modra committed -
2003-10-17 Benjamin Kosnik <bkoz@redhat.com> * src/Makefile.am: Add new files. * src/Makefile.in: Regenerate. * src/globals.cc: Split into.. * src/globals_io.cc: New. * src/globals_locale.cc: New. * src/ios.cc: Split into... * src/ios_init.cc: New. * src/ios_locale.cc: New. * src/locale-inst.cc: Split into.. * src/wlocale-inst.cc: New. * src/locale-misc-inst.cc: New. * src/locale.cc, src/localename: Split into... * src/locale_facets.cc: New. * src/locale_init.cc: New. * src/wstring-inst.cc: Add copyright info. From-SVN: r72607
Benjamin Kosnik committed -
* config/arm/arm.c (use_return_insn): Not a single instruction, if there's a frame pointer. (arm_output_epilogue): Protect stack pointer from being corrupted on interrupt. Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com> From-SVN: r72606
Richard Earnshaw committed -
From-SVN: r72603
Ulrich Weigand committed -
* combine.c (simplify_set): Do not clear out undobuf.other_insn already set elsewhere. From-SVN: r72602
Ulrich Weigand committed -
* config/i386/i386.c (ix86_expand_prologue): Use gen_allocate_stack_worker. From-SVN: r72601
Kelley Cook committed -
* config.gcc (mips-sgi-irix6*o32): Only enable use_collect2 without gas. (mips-sgi-irix6*): Likewise. * config/mips/iris6gas.h: New file. * gcc/config.gcc (mips-sgi-irix6*): Use it. * config/mips/mips.h (TARGET_IRIX): Provide default. (TARGET_IRIX5): Likewise. (TARGET_SGI_O32_AS): Likewise. * config/mips/iris5.h (TARGET_IRIX): Redefine as 1. (TARGET_IRIX5): Likewise. * config/mips/iris6.h (TARGET_IRIX6): Remove. (TARGET_IRIX5): Redefine as 0. * config/mips/mips.c (mips_output_external): Test for IRIX 6 O32 linker workaround with TARGET_IRIX and mips_abi instead of ASM_OUTPUT_UNDEF_FUNCTION. (mips_file_end): Inline old ASM_OUTPUT_UNDEF_FUNCTION definition, testing TARGET_IRIX and mips_abi explicitly. * config/mips/iris5.h (ASM_OUTPUT_UNDEF_FUNCTION): Remove. * config/mips/iris6.h (ASM_OUTPUT_UNDEF_FUNCTION): Remove undef. * config/mips/mips.c (irix_output_external_libcall): Renamed from mips_output_external_libcall. Use new TARGET_IRIX in guard. * config/mips/mips-protos.h (irix_output_external_libcall): Match this. * config/mips/iris5.h (TARGET_ASM_EXTERNAL_LIBCALL): Likewise. * config/mips/iris5gas.h (HAVE_GAS_SHF_MERGE): Update comment. Define as 0. * config/mips/iris6.h (FUNCTION_NAME_ALREADY_DECLARED): Define depending on mips_abi. * config/mips/linux.h (FUNCTION_NAME_ALREADY_DECLARED): Define as 1. * config/mips/mips.c (mips_output_function_prologue): Test FUNCTION_NAME_ALREADY_DECLARED at runtime. (mips_output_function_epilogue): Likewise. (build_mips16_function_stub): Likewise. (build_mips16_call_stub): Likewise. * config/mips/mips.h (FUNCTION_NAME_ALREADY_DECLARED): Provide default. * config/mips/iris6.h (DWARF2_UNWIND_INFO): Don't define for native IRIX 6 O32 assembler. (SUBTARGET_CC1_SPEC): Enforce mips2 ISA with O32 ABI. (TARGET_OS_CPP_BUILTINS): Define _ABIO32, use it to define _MIPS_SIM for O32 ABI. (DWARF2_FRAME_INFO): Don't define for native IRIX 6 O32 assembler. (ASM_DECLARE_FUNCTION_NAME): Integrate mips.h version. (ASM_DECLARE_FUNCTION_SIZE): Move undef before redefinition. Integrate O32 version. (SUBTARGET_ASM_SPEC): Handle -mabi=32. (SUBTARGET_ASM_DEBUGGING_SPEC): Add mdebug_asm_spec for gas with O32 ABI. (BSS_SECTION_ASM_OP_32): Define. (BSS_SECTION_ASM_OP_64): Likewise. (BSS_SECTION_ASM_OP): Define differently for O32 and N32/N64 ABIs using them. (TARGET_ASM_NAMED_SECTION): Reflect renaming. Move up to allow override for O32 ABI without GNU as. (EH_FRAME_SECTION_NAME): Define explicitly. (MUST_USE_SJLJ_EXCEPTIONS): Define. [_MIPS_SIM == _ABIO32 && !GAS] (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Dummy definitions. (TARGET_ASM_NAMED_SECTION): Undef statically. (EH_FRAME_SECTION_NAME): Likewise. (ASM_OUTPUT_FILENAME): Integrate mips.h version. (LINK_SPEC): Only use default options -call_shared -no_unresolved without -r. Don't pass -init, -fini with -mabi=32. (COLLECT_PARSE_FLAG): Define. * config/mips/mips.c (iris6_asm_named_section_1): Changed guard to TARGET_IRIX. Renamed to use irix_ prefix. (iris6_asm_named_section): Likewise. (iris_section_align_entry_eq): Likewise. (iris_section_align_entry_hash): Likewise. (iris6_file_start): Likewise. (iris6_section_align_1): Likewise. (iris6_file_end): Likewise. (iris6_section_type_flags): Likewise. (iris_section_align_htab): Likewise. (iris_orig_asm_out_file): Likewise. [TARGET_IRIX] (TARGET_ASM_FILE_START): Reflect rename. (TARGET_ASM_FILE_END): Likewise. (TARGET_SECTION_TYPE_FLAGS): Likewise. * config/mips/mips.c [TARGET_IRIX5 && !TARGET_IRIX6] (TARGET_ASM_UNALIGNED_HI_OP): Use runtime initialization in override_options instead. (TARGET_ASM_UNALIGNED_SI_OP): Likewise. (TARGET_ASM_UNALIGNED_DI_OP): Likewise. * config/mips/mips.c (override_options) [USE_COLLECT2]: Restore flag_gnu_linker to defaults without USE_COLLECT2 for non-IRIX O32 assemblers. Likewise for constructor/destructor handling. (override_options): Handle IRIX O32 assembler quirks. [TARGET_IRIX] (irix_asm_named_section): Handle O32 ABI with and without gas. (mips_file_start): Use new TARGET_IRIX. (mips_declare_object_name): No special processing for IRIX O32 assembler. (mips_finish_declare_object): Likewise. (irix_asm_output_align): Renamed from iris6_asm_output_align. Don't record alignment for O32 ABI. (irix_file_start): Renamed from iris6_file_start. Return early for O32 ABI. (irix_file_end): Renamed from iris6_file_end. Don't emit .section directives for O32 ABI. * config/mips/iris6.h (ASM_OUTPUT_ALIGN): Reflect renaming. * config/mips/mips-protos.h (irix_asm_output_align): Likewise. * config/mips/t-iris6 (MULTILIB_OPTIONS): Add mabi=32. (MULTILIB_OSDIRNAMES): Likewise. From-SVN: r72600
Rainer Orth committed
-