aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
AgeCommit message (Collapse)AuthorFilesLines
2010-12-10re PR middle-end/46674 (Weak alias is mistakenly optimized away)Dave Korn3-0/+19
gcc/ChangeLog: PR middle-end/46674 PR lto/43157 * target.def (mangle_assembler_name): New target asm_out hook. * targhooks.c (default_mangle_assembler_name): Add default hook implementation. * targhooks.h (default_mangle_assembler_name): Add prototype. * lto-symtab.c (lto_symtab_register_decl): Use new hook when processing DECL_ASSEMBLER_NAMEs for lto symtabs. (lto_symtab_get_resolution): Likewise. (lto_cgraph_replace_node): Likewise. (lto_symtab_prevailing_decl): Likewise. * lto-streamer-out.c (write_symbol): Likewise. * doc/tm.texi.in (TARGET_MANGLE_ASSEMBLER_NAME): Add @hook directive. * doc/tm.texi: Regenerate. * config/i386/cygming.h (TARGET_MANGLE_ASSEMBLER_NAME): Define to point at i386_pe_mangle_assembler_name. * config/i386/winnt.c (i386_pe_mangle_assembler_name): New function. * config/i386/i386-protos.h (i386_pe_mangle_assembler_name): Add prototype. lto-plugin/ChangeLog: PR middle-end/46674 PR lto/43157 * configure.ac (SYM_STYLE): Don't AC_DEFINE. * lto-plugin.c (sym_style): Don't use it; default to ss_none. * configure: Regenerate. * config.h.in: Likewise. gcc/testsuite/ChangeLog: PR middle-end/46674 PR lto/43157 * gcc.dg/pr43157.c: New file. From-SVN: r167688
2010-12-10dsymutil enabled for Fortran.Jack Howarth1-1/+1
2010-12-10 Jack Howarth <howarth@bromo.med.uc.edu> Iain Sandoe <iains@gcc.gnu.org> PR 43751/target gcc: * config/darwin9.h (DSYMUTIL_SPEC): Add fortran source types. testsuite: * lib/prune.exp: Prune dsymutil warnings. libstadc++-v3: * testsuite/lib/prune.exp: Prune dsymutil warnings. Co-Authored-By: Iain Sandoe <iains@gcc.gnu.org> From-SVN: r167683
2010-12-10gcc:Iain Sandoe1-5/+15
* config/rs6000/rs6000.c (rs6000_darwin64_record_arg_advance_recurse): Name register increment explicitly. (rs6000_darwin64_record_arg_recurse): Make sure we split long doubles when we run out of regs. Also flag that this requires stack and therefore cannot be returned by value. (rs6000_darwin64_record_arg): Update comment. (rs6000_function_value): Likewise. From-SVN: r167682
2010-12-10darwin.c: Remove c-tree.h and c-lang.hIain Sandoe2-3/+1
gcc: * config/darwin.c: Remove c-tree.h and c-lang.h * config/t-darwin: Remove dependencies on c-tree.h and c-lang.h. From-SVN: r167679
2010-12-10re PR target/46881 (arm_preferred_rename_class uses keyword class as ↵Joern Rennecke1-3/+3
parameter name) PR target/46881 * doc/tm.texi: Regenerate. * target.def: Fix "preferred" spelling. Refer to rclass by its exact name. * config/arm/arm.c (arm_preferred_rename_class): Rename parameter class to rclass. From-SVN: r167678
2010-12-09pdp11-protos.h (output_move_double, [...]): Delete.Paul Koning3-523/+344
* config/pdp11/pdp11-protos.h (output_move_double, output_move_quad): Delete. (output_move_multiple, pdp11_expand_operands): New functions. (pdp11_action, pdp11_partorder): New enums. * config/pdp11/pdp11.md (movdi, movsi, movdf, movsf): Use output_move_multiple. (adddi3, subdi3, negdi2): New patterns. (addsi3, subsi3, negsi2): Use pdp11_expand_operands. (abshi2): Delete. (neghi2, negqi2): Use PDPint iterator. * config/pdp11/pdp11.c (find_addr_reg, output_move_double, output_move_quad): Delete. (pdp11_expand_operands, output_move_multiple): New functions. From-SVN: r167676
2010-12-10linux.h (WCHAR_TYPE, [...]): Define.Joseph Myers1-0/+6
* config/vax/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (vax-*-linux*): Don't use svr4.h. From-SVN: r167675
2010-12-09Fix typo.Mike Stump2-2/+2
From-SVN: r167662
2010-12-09vxworks.h (DBX_REGISTER_NUMBER): Undefine.Joseph Myers1-0/+2
* config/mips/vxworks.h (DBX_REGISTER_NUMBER): Undefine. * config.gcc (mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*, mips-wrs-vxworks): Don't use svr4.h. From-SVN: r167660
2010-12-09mep.h (SIZE_TYPE, [...]): Define.Joseph Myers1-0/+12
* config/mep/mep.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (mep-*-*): Don't use svr4.h. From-SVN: r167659
2010-12-09mcore.h (PTRDIFF_TYPE, [...]): Define.Joseph Myers2-17/+12
* config/mcore/mcore.h (PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config/svr3.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define. * config.gcc (mcore-*-elf): Don't use svr4.h. From-SVN: r167658
2010-12-09iq2000.h (LINK_SPEC, [...]): Define.Joseph Myers1-0/+16
* config/iq2000/iq2000.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (iq2000*-*-elf*): Don't use svr4.h. From-SVN: r167656
2010-12-09pa32-linux.h (WCHAR_TYPE, [...]): Define.Joseph Myers1-1/+8
* config/pa/pa32-linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (hppa*64*-*-linux*, hppa*-*-linux*): Don't use svr4.h. From-SVN: r167654
2010-12-09moxie.h (LINK_SPEC, [...]): Define.Joseph Myers2-0/+22
* config/moxie/moxie.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config/moxie/rtems.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Undefine. * config.gcc (moxie-*-elf, moxie-*-uclinux*): Don't use svr4.h. From-SVN: r167653
2010-12-09frv.h (SIZE_TYPE, [...]): Define.Joseph Myers1-0/+12
* config/frv/frv.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (frv-*-elf, frv-*-*linux*): Don't use svr4.h. From-SVN: r167652
2010-12-09fr30.h (LIB_SPEC, [...]): Define.Joseph Myers1-0/+19
* config/fr30/fr30.h (LIB_SPEC, LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (fr30-*-elf): Don't use svr4.h. From-SVN: r167651
2010-12-09linux.h (SIZE_TYPE, [...]): Define.Joseph Myers1-0/+7
* config/cris/linux.h (SIZE_TYPE, PTRDIFF_TYPE): Define. * config.gcc (crisv32-*-linux* | cris-*-linux*): Don't use svr4.h. From-SVN: r167650
2010-12-09netware.h (TARGET_POSIX_IO): Define.Joseph Myers10-10/+13
* config/i386/netware.h (TARGET_POSIX_IO): Define. * config/i386/nto.h (TARGET_POSIX_IO): Define. * config/ia64/hpux.h (TARGET_POSIX_IO): Define. * config/moxie/moxie.h (TARGET_POSIX_IO): Don't undefine. * config/openbsd.h (TARGET_POSIX_IO): Define. * config/rtems.h (TARGET_POSIX_IO): Define. * config/sh/embed-elf.h (TARGET_POSIX_IO): Don't undefine. * config/sol2.h (TARGET_POSIX_IO): Define. * config/svr4.h (TARGET_POSIX_IO): Don't define. * config/vxworksae.h (TARGET_POSIX_IO): Define. From-SVN: r167648
2010-12-09nto.h (MD_EXEC_PREFIX, [...]): Define.Joseph Myers13-47/+25
* config/i386/nto.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define. * config/ia64/hpux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define. * config/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't undefine. * config/mips/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't undefine. * config/mips/netbsd.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't undefine. * config/rs6000/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't undefine. * config/rs6000/linux64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't undefine. * config/sol2.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define. * config/sparc/netbsd-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't undefine. * config/sparc/openbsd64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't undefine. * config/sparc/sp64-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't undefine. * config/svr4.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't define. * config/xtensa/elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't undefine. From-SVN: r167647
2010-12-09hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for non-GNU assembler.Joseph Myers7-12/+11
* config/ia64/hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for non-GNU assembler. * config/m68k/netbsd-elf.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. * config/m68k/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. * config/mips/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. * config/sol2.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for non-GNU assembler. * config/sparc/sparc.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. * config/svr4.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. From-SVN: r167646
2010-12-09arc.h (ASM_SPEC): Remove %{v}.Joseph Myers25-29/+25
* config/arc/arc.h (ASM_SPEC): Remove %{v}. * config/bfin/bfin.h (ASM_SPEC): Remove %{v}. * config/cris/cris.h (ASM_SPEC): Remove %{v:-v}. * config/fr30/fr30.h (ASM_SPEC): Remove %{v}. * config/frv/frv.h (ASM_SPEC): Remove %{v}. * config/i386/linux.h (ASM_SPEC): Remove %{v}. * config/i386/linux64.h (ASM_SPEC): Remove %{v}. * config/i386/mingw-w64.h (ASM_SPEC): Remove %{v}. * config/i386/sol2-10.h (ASM_SPEC): Remove %{v}. * config/i386/vxworks.h (ASM_SPEC): Remove %{v}. * config/i386/x86-64.h (ASM_SPEC): Remove %{v}. * config/lm32/lm32.h (ASM_SPEC): Remove %{v}. * config/m32r/m32r.h (ASM_SPEC): Remove %{v}. * config/m68k/linux.h (ASM_SPEC): Remove %{v:-V}. * config/microblaze/microblaze.h (ASM_SPEC): Remove %{v}. * config/mips/mips.h (ASM_SPEC): Remove %{v}. * config/mips/vxworks.h (ASM_SPEC): Remove %{v}. * config/pa/pa-linux.h (ASM_SPEC): Remove %{v:-V}. * config/rs6000/freebsd.h (SVR4_ASM_SPEC): Remove %{v}. * config/rs6000/linux64.h (ASM_SPEC): Remove %{v:-V}. * config/rs6000/vxworks.h (ASM_SPEC): Remove %{v:-v}. * config/sparc/openbsd64.h (ASM_SPEC): Remove %{v:-V}. * config/svr4.h (SVR4_ASM_SPEC): Remove %{v:-V}. * config/xtensa/elf.h (ASM_SPEC): Remove %{v}. * config/xtensa/linux.h (ASM_SPEC): Remove %{v}. From-SVN: r167636
2010-12-09openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}.Joseph Myers6-7/+7
* config/i386/openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}. * config/mips/openbsd.h (LINK_SPEC): Use %{r:} not %{r*:}. * config/netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): Use %{r:} not %{r*:}. * config/netbsd-elf.h (NETBSD_LINK_SPEC_ELF): Use %{r:} not %{r*:}. * config/sparc/openbsd64.h (LINK_SPEC): Use %{r:} not %{r*:}. * config/vax/netbsd-elf.h (LINK_SPEC): Use %{r:} not %{r*:}. From-SVN: r167635
2010-12-09freebsd.h (LINK_SPEC): Don't use %{!dynamic-linker:}.Joseph Myers34-63/+62
* config/alpha/freebsd.h (LINK_SPEC): Don't use %{!dynamic-linker:}. * config/alpha/linux-elf.h (LINK_SPEC): Likewise. * config/arm/freebsd.h (LINK_SPEC): Likewise. * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Likewise. * config/bfin/linux.h (LINK_SPEC): Likewise. * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Likewise. * config/frv/linux.h (LINK_SPEC): Likewise. * config/i386/freebsd.h (LINK_SPEC): Likewise. * config/i386/freebsd64.h (LINK_SPEC): Likewise. * config/i386/linux.h (LINK_SPEC): Likewise. * config/i386/linux64.h (LINK_SPEC): Likewise. * config/i386/openbsdelf.h (LINK_SPEC): Likewise. * config/ia64/freebsd.h (LINK_SPEC): Likewise. * config/ia64/linux.h (LINK_SPEC): Likewise. * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. * config/m32r/linux.h (LINK_SPEC): Likewise. * config/m68k/linux.h (LINK_SPEC): Likewise. * config/microblaze/linux.h (LINK_SPEC): Likewise. * config/mips/linux.h (LINK_SPEC): Likewise. * config/mips/linux64.h (LINK_SPEC): Likewise. * config/mips/openbsd.h (LINK_SPEC): Likewise. * config/mn10300/linux.h (LINK_SPEC): Likewise. * config/netbsd-elf.h (LINK_SPEC): Likewise. * config/pa/pa-linux.h (LINK_SPEC): Likewise. * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Likewise. * config/rs6000/sysv4.h (LINK_OS_FREEBSD_SPEC, LINK_OS_LINUX_SPEC, LINK_OS_GNU_SPEC, LINK_OS_NETBSD_SPEC): Likewise. * config/s390/linux.h (LINK_SPEC): Likewise. * config/sh/linux.h (SUBTARGET_LINK_SPEC): Likewise. * config/sparc/freebsd.h (LINK_SPEC): Likewise. * config/sparc/linux.h (LINK_SPEC): Likewise. * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, LINK_SPEC): Likewise. * config/sparc/openbsd64.h (LINK_SPEC): Likewise. * config/vax/linux.h (LINK_SPEC): Likewise. * config/xtensa/linux.h (LINK_SPEC): Likewise. From-SVN: r167634
2010-12-09bfin.h (ASM_SPEC): Remove %{n} and %{T}.Joseph Myers14-17/+13
* config/bfin/bfin.h (ASM_SPEC): Remove %{n} and %{T}. * config/frv/frv.h (ASM_SPEC): Likewise. * config/i386/sol2-10.h (ASM_SPEC): Likewise. * config/i386/sol2.h (ASM_SPEC): Likewise. * config/m68k/linux.h (ASM_SPEC): Likewise. * config/pa/pa-linux.h (ASM_SPEC): Likewise. * config/rs6000/linux64.h (ASM_SPEC32): Likewise. * config/rs6000/vxworks.h (ASM_SPEC): Likewise. * config/sol2.h (ASM_SPEC): Likewise. * config/sparc/linux.h (ASM_SPEC): Likewise. * config/sparc/linux64.h (ASM_SPEC): Likewise. * config/sparc/sp-elf.h (ASM_SPEC): Likewise. * config/sparc/sysv4.h (ASM_SPEC): Likewise. * config/svr4.h (SVR4_ASM_SPEC): Likewise. From-SVN: r167633
2010-12-09s390.md (*mov<mode>cc): Change lgoc and stgoc to locg and stocg even in comment.Jakub Jelinek1-2/+2
* config/s390/s390.md (*mov<mode>cc): Change lgoc and stgoc to locg and stocg even in comment. (sync_old_<atomic><mode>): Give mode to UNSPEC_VOLATILE. From-SVN: r167630
2010-12-09re PR target/41082 (FAIL: gfortran.fortran-torture/execute/where_2.f90 ↵Jakub Jelinek2-20/+12
execution, -O3) PR target/41082 * config/rs6000/rs6000.c (rs6000_expand_vector_extract): Use stvx instead of stve*x. (altivec_expand_stv_builtin): For op0 use mode of operand 1 instead of operand 0. * config/rs6000/altivec.md (VI_scalar): New mode attr. (altivec_stve<VI_char>x, *altivec_stvesfx): Use scalar instead of vector mode for operand 0, put operand 1 into UNSPEC. From-SVN: r167629
2010-12-09arm.c (arm_preferred_rename_class): Implement targethook PREFERRED_RENAME_CLASS.Yao Qi1-0/+17
2010-12-09 Yao Qi <yao@codesourcery.com> * config/arm/arm.c (arm_preferred_rename_class): Implement targethook PREFERRED_RENAME_CLASS. From-SVN: r167626
2010-12-08gcc/config.gcc (with_cpu): Default i[34567]86-*-darwin* and x86_64-*-darwin* ↵Iain Sandoe2-4/+4
to with_cpu:-core2. 2010-12-08 Iain Sandoe <iains@gcc.gnu.org> gcc/config.gcc (with_cpu): Default i[34567]86-*-darwin* and x86_64-*-darwin* to with_cpu:-core2. gcc/config/i386/mmx.md (*mov<mode>_internal_rex64): Replace movq with movd for darwin assembler. gcc/config/i386/sse.md (*vec_concatv2di_rex64_sse4_1): Ditto. (*vec_concatv2di_rex64_sse): Ditto. From-SVN: r167611
2010-12-08re PR debug/46749 (gcc.dg/debug/pr41893-1.c -gdwarf-2 testsuite failures on ↵Mike Stump2-2/+12
darwin) PR debug/46749 * config/darwin.h (COLLECT_RUN_DSYMUTIL): Add. (DSYMUTIL_SPEC): Use `linker' flags instead to handle lto better. * config/darwin9.h (COLLECT_RUN_DSYMUTIL): Add. (DSYMUTIL_SPEC): Use `linker' flags instead to handle lto better. * collect2.c (post_ld_pass): Add. (process_args): Add. (maybe_run_lto_and_relink): Call post_ld_pass after ld. (main): Likewise. Call process_args. From-SVN: r167603
2010-12-08[multiple changes]Richard Earnshaw1-0/+23
2010-12-08 Richard Earnshaw <rearnsha@arm.com> PR target/46631 * arm.c (thumb2_reorg): Also try to reduce <commutative_op> Rd, Rn, Rd into a 16-bit instruction. 2010-12-08 Wei Guozhi <carrot@google.com> PR target/46631 * gcc.target/arm/pr46631: New testcase. From-SVN: r167595
2010-12-08re PR middle-end/46671 (ICE in default_no_named_section, at varasm .c:5994)John David Anglin1-0/+26
PR middle-end/46671 PR target/46685 * config/pa/pa.c (pa_function_section): New function. (TARGET_ASM_FUNCTION_SECTION): Define. From-SVN: r167581
2010-12-07pdp11.c (output_addr_const_pdp11): Output negative values with sign rather ↵Paul Koning1-12/+13
than as unsigned. * config/pdp11/pdp11.c (output_addr_const_pdp11): Output negative values with sign rather than as unsigned. From-SVN: r167566
2010-12-07pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define.Paul Koning1-0/+13
* config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define. (pdp11_function_section): New function. From-SVN: r167553
2010-12-07* config/mcore/mcore.c Don't include assert.h.Joseph Myers2-8/+6
(layout_mcore_frame, handle_structs_in_regs): Use gcc_assert. * config/spu/spu.c: Don't include assert.h. (spu_sms_res_mii): Use gcc_assert. cp: * rtti.c: Don't include assert.h. java: * jcf-parse.c: Don't include assert.h. (java_parse_file): Use gcc_assert. From-SVN: r167552
2010-12-07re PR target/46737 (bfin-elf --enable-werror-always build fails for 64 bit host)Joern Rennecke1-2/+2
2010-12-07 Joern Rennecke <amylaar@spamcop.net> Richard Guenther <rguenther@suse.de> PR target/46737 * config/bfin/bfin.c (BB_AUX_INDEX): Cast to intptr_t. (bfin_reorder_loops): Change type of index to intptr_t. Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r167532
2010-12-06re PR target/43897 (IA-64 asm clobbers are ignored)Jakub Jelinek1-0/+11
PR target/43897 * config/ia64/ia64.c (rtx_needs_barrier): Handle asm CLOBBER as a store into that register. * gcc.target/ia64/pr43897.c: New test. From-SVN: r167516
2010-12-06re PR target/46740 (vax-linux-gnu --enable-werror-always build fails for 64 ↵Joern Rennecke1-3/+1
bit host) 2010-12-06 Joern Rennecke <amylaar@spamcop.net> Richard Henderson <rth@redhat.com> PR target/46740 * config/vax/vax.c (vax_output_int_move): Fold #if into if. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r167512
2010-12-06sol2.h (PUSHSECTION_FORMAT): Redefine unconditionally.Eric Botcazou2-5/+7
* config/sparc/sol2.h (PUSHSECTION_FORMAT): Redefine unconditionally. * config/sparc/sol2-gas.h (PUSHSECTION_FORMAT): Redefine. From-SVN: r167511
2010-12-06re PR target/46739 (mmix-knuth-mmixware --enable-werror-always build fails ↵Joern Rennecke1-1/+1
for 64 bit host) PR target/46739 * config/mmix/mmix.c (mmix_intval): Split shift count. From-SVN: r167509
2010-12-06re PR target/46735 (frv-elf --enable-werror-always build fails for 64 bit host)Joern Rennecke4-68/+62
PR target/46735 * config/frv/predicates.md (gpr_or_int12_operand): Use IN_RANGE. (gpr_fpr_or_int12_operand, gpr_or_int10_operand): Likewise. (int12_operand, int_2word_operand, uint16_operand): Likewise. (fpr_or_int6_operand, int6_operand, int5_operand): Likewise. (uint5_operand, uint4_operand): Likewise. * config/frv/frv.h (IN_RANGE_P): Delete. (GPR_P, FPR_P, CC_P, ICC_P, FCC_P, CR_P, ICR_P, FCR_P): Use IN_RANGE. (ACC_P, ACCG_P, SPR_P, CONST_OK_FOR_I, CONST_OK_FOR_J): Likewise. (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise. (CONST_OK_FOR_P): Likewise. * config/frv/frv.md (*movqicc_internal2_int): Likewise. (*movqicc_internal2_float, *movhicc_internal2_int): Likewise. (*movhicc_internal2_float, *movsicc_internal2_int): Likewise. (*movsicc_internal2_float, casesi): Likewise. * config/frv/frv.c (frv_frame_offset_rtx): Likewise. (frv_asm_output_mi_thunk, frv_legitimate_address_p_1): Likewise. (frv_emit_movsi, output_move_single, frv_emit_cond_move): Likewise. (frv_split_cond_move, frv_rtx_costs): Likewise. From-SVN: r167508
2010-12-06Turn on unaligned SSE load/store for Core i7.H.J. Lu1-2/+3
2010-12-06 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (m_COREI7): New. (initial_ix86_tune_features): Turn on X86_TUNE_SSE_UNALIGNED_LOAD_OPTIMAL and X86_TUNE_SSE_UNALIGNED_STORE_OPTIMAL for Core i7. From-SVN: r167496
2010-12-06Add -march=/-mtune=corei7-avx.H.J. Lu2-0/+8
2010-12-06 H.J. Lu <hongjiu.lu@intel.com> * config.gcc: Allow corei7-avx for --with-arch/--with-cpu. * config/i386/driver-i386.c (host_detect_local_cpu): Support Sandy Bridge. * config/i386/i386.c (override_options): Handle "corei7-avx". * doc/invoke.texi: Document corei7-avx. From-SVN: r167495
2010-12-03arm.c (arm_legitimate_index_p): Split VALID_NEON_QREG_MODE and ↵Nathan Froyd1-4/+28
VALID_NEON_DREG_MODE cases. gcc/ * config/arm/arm.c (arm_legitimate_index_p): Split VALID_NEON_QREG_MODE and VALID_NEON_DREG_MODE cases. Permit slightly larger constants in the latter case. (thumb2_legitimate_index_p): Likewise. gcc/testsuite/ * gcc.target/arm/neon-offset-1.c: New test. From-SVN: r167430
2010-12-03gcc.c (LINK_COMMAND_SPEC): Don't handle -A, -d or -m.Joseph Myers2-7/+7
* gcc.c (LINK_COMMAND_SPEC): Don't handle -A, -d or -m. * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise. * config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise. From-SVN: r167428
2010-12-02Turn on X86_TUNE_INTER_UNIT_MOVES for Core 2 and Core i7.H.J. Lu1-1/+1
2010-12-02 H.J. Lu <hongjiu.lu@intel.com> PR target/46768 * config/i386/i386.c (initial_ix86_tune_features): Turn on X86_TUNE_INTER_UNIT_MOVES for Core 2 and Core i7. From-SVN: r167398
2010-12-02re PR target/46685 (New stack alignment failures with -fpic)Eric Botcazou1-15/+42
PR target/46685 * config/sparc/sparc.c (can_use_mov_pic_label_ref): New predicate. (sparc_expand_move): Call it to decide whether to emit the special mov{si,di}_pic_label_ref patterns. (sparc_legitimize_pic_address): Call it to decide whether to emit the regular PIC sequence for labels. Fix long line. (sparc_file_end): Set is_thunk for the PIC helper. From-SVN: r167395
2010-12-02linux.h, [...]: Remove comments mentioning /lib/elf.Joseph Myers5-10/+0
* config/i386/linux.h, config/m32r/linux.h, config/m68k/linux.h, config/sparc/linux.h, config/sparc/linux64.h: Remove comments mentioning /lib/elf. From-SVN: r167388
2010-12-02bfin.h (LINK_SPEC): Remove %{b}.Joseph Myers7-10/+2
* config/bfin/bfin.h (LINK_SPEC): Remove %{b}. * config/frv/frv.h (LINK_SPEC): Remove %{b}. * config/i386/netware.h (LINK_SPEC): Remove %{b}. * config/i386/nto.h (LINK_SPEC): Remove %{b}. * config/lm32/uclinux-elf.h (LINK_SPEC): Remove %{b}. * config/sol2.h (LINK_SPEC): Remove %{b}. * config/svr4.h (LINK_SPEC): Remove %{b}. From-SVN: r167387
2010-12-02freebsd.h (LINK_SPEC): Cut long comment.Joseph Myers8-49/+10
* config/i386/freebsd.h (LINK_SPEC): Cut long comment. * config/i386/linux.h (LINK_SPEC): Cut long comment. * config/i386/netware.h (LINK_SPEC): Remove %{V}. * config/m32r/linux.h (LINK_SPEC): Cut long comment. * config/m68k/linux.h (LINK_SPEC): Cut long comment. * config/sparc/linux.h (LINK_SPEC): Cut long comment. (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}. * config/sparc/linux64.h (LINK_SPEC): Cut long comment. (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}. * config/sparc/netbsd-elf.h (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}. From-SVN: r167386
2010-12-02freebsd.h (LINK_SPEC): Don't handle -Wl,.Joseph Myers18-25/+22
* config/alpha/freebsd.h (LINK_SPEC): Don't handle -Wl,. * config/bfin/bfin.h (ASM_SPEC): Don't handle -Wa,. * config/frv/frv.h (ASM_SPEC): Don't handle -Wa,. * config/lm32/uclinux-elf.h (LINK_SPEC): Don't handle -Wl,. * config/microblaze/microblaze.h (LINK_SPEC): Don't handle -Wl,. * config/mn10300/linux.h (ASM_SPEC): Don't handle -Wa,. * config/pa/pa-linux.h (ASM_SPEC): Don't handle -Wa,. * config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't handle -Wa,. * config/rs6000/linux64.h (ASM_SPEC_COMMON): Don't handle -Wa,. * config/rs6000/sysv4.h (LINK_SPEC): Don't handle -Wl,. * config/rs6000/vxworks.h (ASM_SPEC): Don't handle -Wa,. * config/sol2.h (ASM_SPEC): Don't handle -Wa,. * config/sparc/linux.h (ASM_SPEC): Don't handle -Wa,. * config/sparc/linux64.h (ASM_SPEC): Don't handle -Wa,. * config/sparc/sp-elf.h (ASM_SPEC): Don't handle -Wa,. * config/sparc/sysv4.h (ASM_SPEC): Don't handle -Wa,. * config/svr4.h (SVR4_ASM_SPEC): Don't handle -Wa,. * config/vxworks.h (VXWORKS_LINK_SPEC): Don't handle -Wl,. From-SVN: r167384