1. 02 Nov, 2011 32 commits
    • paolo's avatar
      2011-11-02 Paolo Carlini <paolo.carlini@oracle.com> · d8954404
      paolo authored
      	* internal.h (uxstrdup, ustrchr): Return const unsigned char *.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180796 138bc75d-0d04-0410-961f-82ee72b054a4
      d8954404
    • jason's avatar
      * parser.c (cp_parser_decl_specifier_seq): Change "C++0x" to · d1d11619
      jason authored
      	"C++11" in warnings.
      	(cp_lexer_get_preprocessor_token): Likewise.
      	(cp_parser_binary_expression): Likewise.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180795 138bc75d-0d04-0410-961f-82ee72b054a4
      d1d11619
    • jason's avatar
      PR c++/50810 · 7e783eb3
      jason authored
      gcc/c-family
      	* c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
      	of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
      	Wnarrowing for C++0x and C++98.
      	* c.opt ([Wnarrowing]): Update.
      gcc/cp
      	* typeck2.c (check_narrowing): Adjust OPT_Wnarrowing diagnostics.
      	(digest_init_r): Call check_narrowing irrespective of the C++ dialect.
      	* decl.c (check_initializer): Likewise.
      	* semantics.c (finish_compound_literal): Likewise.
      gcc/
      	* configure.ac: Add -Wno-narrowing to warning options.
      libcpp/
      	* configure.ac: Add -Wno-narrowing to warning options.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180794 138bc75d-0d04-0410-961f-82ee72b054a4
      7e783eb3
    • vries's avatar
      2011-11-02 Tom de Vries <tom@codesourcery.com> · 86f32fa5
      vries authored
      	PR tree-optimization/50769
      	* gfortran.dg/pr50769.f90: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180793 138bc75d-0d04-0410-961f-82ee72b054a4
      86f32fa5
    • ebotcazou's avatar
      PR target/50945 · 973b45a7
      ebotcazou authored
      	* config/sparc/sparc.md (movsf_insn): Reindent constraints.
      	(movdf_insn_sp32): Likewise.  Remove redundant G constraint.
      	(movdf_insn_sp64): Likewise.
      	(DFmode splitter): Do not test TARGET_FPU.
      	(movtf_insn_sp32): Reindent constraints.
      	(movtf_insn_sp32_no_fpu): Likewise.
      	(movtf_insn_sp64): Likewise.
      	(movtf_insn_sp64_hq): Likewise.
      	(movtf_insn_sp64_no_fpu): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180791 138bc75d-0d04-0410-961f-82ee72b054a4
      973b45a7
    • paolo's avatar
      2011-11-02 Richard B. Kreckel <kreckel@ginac.de> · b4aa9f42
      paolo authored
      	    Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/50880
      	* include/std/complex (__complex_acosh): Fix in a better way,
      	use Kahan's formula.
      	* include/tr1/complex (__complex_acosh): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180788 138bc75d-0d04-0410-961f-82ee72b054a4
      b4aa9f42
    • paolo's avatar
      2011-11-02 Richard B. Kreckel <kreckel@ginac.de> · c1aeb0dd
      paolo authored
      	    Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/50880
      	* include/std/complex (__complex_acosh): Fix in a better way,
      	use Kahan's formula.
      	* include/tr1/complex (__complex_acosh): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180787 138bc75d-0d04-0410-961f-82ee72b054a4
      c1aeb0dd
    • paolo's avatar
      2011-11-02 Paolo Carlini <paolo.carlini@oracle.com> · 609cab98
      paolo authored
      	PR c++/50956
      	* builtins.c (fold_builtin_memchr): Fix cast.
      
      /cp
      2011-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/50956
      	* typeck.c (build_const_cast_1): Fix -Wcast-qual for false
      	comp_ptr_ttypes_const.
      
      /testsuite
      2011-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/50956
      	* g++.dg/warn/Wcast-qual2.C: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180786 138bc75d-0d04-0410-961f-82ee72b054a4
      609cab98
    • vries's avatar
      2011-11-02 Tom de Vries <tom@codesourcery.com> · 5a243237
      vries authored
      	PR tree-optimization/50763
      	* g++.dg/pr50763-3.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180785 138bc75d-0d04-0410-961f-82ee72b054a4
      5a243237
    • ian's avatar
      syscall: Remove Linux system calls not available in older glibcs. · 3ae6bb3f
      ian authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180784 138bc75d-0d04-0410-961f-82ee72b054a4
      3ae6bb3f
    • tejohnson's avatar
      * config/i386/predicates.md (promotable_binary_operator): Add minus · 10aab13c
      tejohnson authored
              to the list of promotable operators.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180783 138bc75d-0d04-0410-961f-82ee72b054a4
      10aab13c
    • ian's avatar
      exp/terminal: Use tcgetattr/tcsetattr rather than ioctl. · e564a982
      ian authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180780 138bc75d-0d04-0410-961f-82ee72b054a4
      e564a982
    • vries's avatar
      2011-11-02 Tom de Vries <tom@codesourcery.com> · 1ce4f7d6
      vries authored
      	PR tree-optimization/50672
      	* g++.dg/pr50672.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180779 138bc75d-0d04-0410-961f-82ee72b054a4
      1ce4f7d6
    • ian's avatar
      libgo/Makefile: Fix dependency. · 595a0264
      ian authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180778 138bc75d-0d04-0410-961f-82ee72b054a4
      595a0264
    • ro's avatar
      Move gthr to toplevel libgcc · 630d52ca
      ro authored
      	gcc:
      	* gthr-single.h, gthr.h: Move to ../libgcc.
      	* gthr-aix.h: Move to ../libgcc/config/rs6000.
      	* gthr-dce.h: Move to ../libgcc/config/pa.
      	* gthr-lynx.h: Move to ../libgcc/config.
      	* gthr-mipssde.h: Move to ../libgcc/config/mips.
      	* gthr-posix.h: Move to ../libgcc/config.
      	* gthr-rtems.h: Likewise.
      	* gthr-tpf.h: Move to ../libgcc/config/s390.
      	* gthr-vxworks.h: Move to ../libgcc/config.
      	* gthr-win32.h: Move to ../libgcc/config/i386.
      	* configure.ac (gthread_flags): Remove
      	(gthr-default.h): Don't create.
      	(thread_file): Don't substitute.
      	* configure: Regenerate.
      	* Makefile.in (GCC_THREAD_FILE): Remove.
      	(GTHREAD_FLAGS): Remove.
      	(libgcc.mvars): Remove GTHREAD_FLAGS.
      	* config/t-vxworks (EXTRA_HEADERS): Remove.
      
      	gcc/po:
      	* EXCLUDES (gthr-aix.h, gthr-dce.h, gthr-posix.c, gthr-posix.h)
      	(gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h)
      	(gthr-win32.h, gthr.h): Remove.
      
      	libgcc:
      	* gthr-single.h, gthr.h: New files.
      	* config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
      	config/gthr-vxworks.h, config/i386/gthr-win32.h,
      	config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
      	config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
      	* config/i386/gthr-win32.c: Include "gthr-win32.h".
      	* configure.ac (thread_header): New variable.
      	Set it depending on target_thread_file.
      	(gthr-default.h): Link from $thread_header.
      	* configure: Regenerate.
      	* Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
      
      	libgfortran:
      	* Makefile.am (AM_CPPFLAGS): Add
      	-I$(srcdir)/$(MULTISRCTOP)../libgcc, -I$(MULTIBUILDTOP)../libgcc.
      	* Makefile.in: Regenerate.
      	* acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Remove.
      	* configure.ac (LIBGFOR_CHECK_GTHR_DEFAULT): Likewise.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      	libobjc:
      	* Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
      	* configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      	libstdc++-v3:
      	* acinclude.m4 (GLIBCXX_CONFIGURE): Determine and substitute
      	toplevel_builddir.
      	(GLIBCXX_ENABLE_THREADS): Remove glibcxx_thread_h,
      	HAVE_GTHR_DEFAULT, enable_thread.
      	(GLIBCXX_CHECK_GTHREADS): Reflect gthr move to libgcc.
      	* include/Makefile.am (thread_host_headers): Remove
      	${host_builddir}/gthr-tpf.h.
      	(${host_builddir}/gthr.h): Reflect gthr move to libgcc.
      	Use $<.
      	(${host_builddir}/gthr-single.h): Likewise.
      	(${host_builddir}/gthr-posix.h): Likewise.
      	(${host_builddir}/gthr-tpf.h): Remove.
      	(${host_builddir}/gthr-default.h): Likewise.
      	* configure, config.h.in: Regenerate.
      	* Makefile.in, doc/Makefile.in, include/Makefile.in,
      	libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in,
      	src/Makefile.intestsuite/Makefile.in: Regenerate.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180776 138bc75d-0d04-0410-961f-82ee72b054a4
      630d52ca
    • ro's avatar
      Move libgcc_tm_file to toplevel libgcc · 022a2799
      ro authored
      	gcc:
      	* configure.ac (libgcc_tm_file_list, libgcc_tm_include_list):
      	Remove.
      	* configure: Regenerate.
      	* Makefile.in (libgcc_tm_file_list, libgcc_tm_include_list): Remove.
      	(TM_H): Remove libgcc_tm.h, $(libgcc_tm_file_list).
      	(libgcc_tm.h, cs-libgcc_tm.h): Remove.
      	(clean): Remove libgcc_tm.h
      	* mkconfig.sh: Don't include libgcc_tm.h in tm.h.
      	* config.gcc (libgcc_tm_file): Remove.
      	(arm*-*-linux*): Remove libgcc_tm_file for arm*-*-linux-*eabi.
      	(arm*-*-uclinux*): Remove libgcc_tm_file for arm*-*-uclinux*eabi.
      	(arm*-*-eabi*, arm*-*-symbianelf*): Remove libgcc_tm_file.
      	(avr-*-rtems*): Likewise.
      	(avr-*-*): Likewise.
      	(frv-*-elf): Likewise.
      	(frv-*-*linux*): Likewise.
      	(h8300-*-rtems*): Likewise.
      	(h8300-*-elf*): Likewise.
      	(i[34567]86-*-darwin*): Likewise.
      	(x86_64-*-darwin*): Likewise.
      	(rx-*-elf*): Likewise.
      	(tic6x-*-elf): Likewise.
      	(tic6x-*-uclinux): Likewise.
      	(i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
      
      	libgcc:
      	* configure.ac (tm_file_): New variable.
      	Determine from tm_file.
      	(tm_file, tm_defines): Substitute.
      	* configure: Regenerate.
      	* mkheader.sh: New file.
      	* Makefile.in (clean): Remove libgcc_tm.h.
      	($(objects)): Depend on libgcc_tm.h.
      	(libgcc_tm_defines, libgcc_tm_file): New variables.
      	(libgcc_tm.h, libgcc_tm.stamp): New targets.
      	($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
      	($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
      	($(extra-parts)): Depend on libgcc_tm.h.
      	* config.host (tm_defines, tm_file): New variable.
      	(arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
      	(arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
      	(arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
      	(avr-*-rtems*): Likewise.
      	(avr-*-*): Likewise.
      	(frv-*-elf): Likewise.
      	(frv-*-*linux*): Likewise.
      	(h8300-*-rtems*): Likewise.
      	(h8300-*-elf*): Likewise.
      	(i[34567]86-*-darwin*): Likewise.
      	(x86_64-*-darwin*): Likewise.
      	(rx-*-elf): Likewise.
      	(tic6x-*-uclinux): Likewise.
      	(tic6x-*-elf): Likewise.
      	(i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
      	* config/alpha/gthr-posix.c: Include libgcc_tm.h.
      	* config/i386/cygming-crtbegin.c: Likewise.
      	* config/i386/cygming-crtend.c: Likewise.
      	* config/ia64/fde-vms.c: Likewise.
      	* config/ia64/unwind-ia64.c: Likewise.
      	* config/libbid/bid_gcc_intrinsics.h: Likewise.
      	* config/rs6000/darwin-fallback.c: Likewise.
      	* config/stormy16/lib2funcs.c: Likewise.
      	* config/xtensa/unwind-dw2-xtensa.c: Likewise.
      	* crtstuff.c: Likewise.
      	* dfp-bit.h: Likewise.
      	* emutls.c: Likewise.
      	* fixed-bit.c: Likewise.
      	* fp-bit.c: Likewise.
      	* generic-morestack-thread.c: Likewise.
      	* generic-morestack.c: Likewise.
      	* libgcc2.c: Likewise.
      	* libgcov.c: Likewise.
      	* unwind-dw2-fde-dip.c: Likewise.
      	* unwind-dw2-fde.c: Likewise.
      	* unwind-dw2.c: Likewise.
      	* unwind-sjlj.c: Likewise.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180775 138bc75d-0d04-0410-961f-82ee72b054a4
      022a2799
    • ro's avatar
      Move libgcc2 to toplevel libgcc · 4dc4ff49
      ro authored
      	toplevel:
      	* Makefile.tpl (EXTRA_GCC_FLAGS): Remove LIBGCC2_CFLAGS,
      	LIBGCC2_DEBUG_CFLAGS, LIBGCC2_INCLUDES.
      	* Makefile.in: Regenerate.
      
      	config:
      	* mh-interix (LIBGCC2_DEBUG_CFLAGS): Remove.
      
      	gcc:
      	* Makefile.in (LIBGCC2_DEBUG_CFLAGS LIBGCC2_CFLAGS)
      	(LIBGCC2_INCLUDES, TARGET_LIBGCC2_CFLAGS, LIB2FUNCS_EXTRA)
      	(LIB2FUNCS_STATIC_EXTRA, LIB2FUNCS_EXCLUDE, T, T_TARGET)
      	(INCLUDES_FOR_TARGET): Remove.
      	(LIBGCC2_CFLAGS): Don't export.
      	(LIB2FUNCS_ST, LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST, srcdirify):
      	Remove.
      	(libgcc-support): Remove $(LIB2ADD), $(LIB2ADD_ST) dependencies.
      	(libgcc.mvars): Likewise.
      	Don't emit LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE, LIB2ADD, LIB2ADD_ST,
      	LIB2_SIDITI_CONV_FUNCS, LIB2_DIVMOD_FUNCS, LIBGCC2_CFLAGS,
      	TARGET_LIBGCC2_CFLAGS.
      	Emit GTHREAD_FLAGS.
      	* libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: Move to ../libgcc.
      	* config/darwin-64.c: Move to ../libgcc/config.
      	* config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
      	config/floatunsitf.c, confi...
      4dc4ff49
    • ro's avatar
      Move libgcc1 to toplevel libgcc · 9213d2eb
      ro authored
      	gcc:
      	* Makefile.in (LIB1ASMSRC): Don't export.
      	(libgcc.mvars): Don't emit LIB1ASMFUNCS, LIB1ASMSRC.
      	* config/arm/arm.c: Update lib1funcs.asm filename.
      	* config/arm/linux-eabi.h: Likewise.
      	* config/arm/bpabi-v6m.S, config/arm/bpabi.S,
      	config/arm/ieee754-df.S, config/arm/ieee754-sf.S: Move to
      	../libgcc/config/arm.
      	* config/arm/lib1funcs.asm: Move to ../libgcc/config/arm/lib1funcs.S.
      	* config/arm/t-arm (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/arm/t-arm-elf (LIB1ASMFUNCS): Remove.
      	* config/arm/t-bpabi: Likewise.
      	* config/arm/t-linux (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/arm/t-linux-eabi (LIB1ASMFUNCS): Remove.
      	* config/arm/t-strongarm-elf: Likewise.
      	* config/arm/t-symbian: Likewise.
      	* config/arm/t-vxworks: Likewise.
      	* config/arm/t-wince-pe: Likewise.
      	* config/avr/libgcc.S: Move to ../libgcc/config/avr.
      	* config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/bfin/lib1funcs.asm: Move to
      	../libgcc/config/bfin/lib1funcs.S.
      	* config/bfin/t-bfin: Remove.
      	* config/bfin/t-bfin-elf (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/bfin/t-bfin-linux: Likewise.
      	* config/bfin/t-bfin-uclinux: Likewise.
      	* config/c6x/lib1funcs.asm: Move to
      	../libgcc/config/c6x/lib1funcs.S.
      	* config/c6x/t-c6x-elf (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/fr30/lib1funcs.asm: Move to
      	../libgcc/config/fr30/lib1funcs.S.
      	* config/fr30/t-fr30 (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/frv/lib1funcs.asm: Move to
      	../libgcc/config/frv/lib1funcs.S.
      	* config/frv/t-frv (CROSS_LIBGCC1, LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/h8300/fixunssfsi.c: Update lib1funcs.asm filename.
      	* config/h8300/lib1funcs.asm: Move to
      	../libgcc/config/h8300/lib1funcs.S.
      	* config/h8300/t-h8300 (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/i386/cygwin.asm: Move to ../libgcc/config/i386/cygwin.S.
      	* config/i386/t-cygming (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/i386/t-interix: Likewise.
      	* config/ia64/lib1funcs.asm: Move to
      	../libgcc/config/ia64/lib1funcs.S.
      	* config/ia64/t-hpux (LIB1ASMFUNCS, LIBGCC1_TEST): Remove.
      	* config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/iq2000/t-iq2000 (LIBGCC1, CROSS_LIBGCC1): Remove.
      	* config/m32c/m32c.c: Update m32c-lib1.S filename.
      	* config/m32c/m32c-lib1.S: Move to ../libgcc/config/m32c/lib1funcs.S.
      	* config/m32c/t-m32c (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/m32r/t-linux (CROSS_LIBGCC1, LIBGCC1, LIBGCC1_TEST): Remove.
      	* config/m68k/lb1sf68.asm: Move to ../libgcc/config/m68k/lb1sf68.S.
      	* config/m68k/t-floatlib (LIB1ASMSRC, LIB1ASMFUNCS): New file.
      	* config/mcore/lib1.asm: Move to ../libgcc/config/mcore/lib1funcs.S.
      	* config/mcore/t-mcore (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/mep/mep-lib1.asm: Move to ../libgcc/config/mep/lib1funcs.S.
      	* config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/mips/mips16.S: Move to ../libgcc/config/mips.
      	* config/mips/t-libgcc-mips16: Remove.
      	* config/mips/t-sr71k (LIBGCC1, CROSS_LIBGCC1): Remove.
      	* config/pa/milli64.S: Move to ../libgcc/config/pa.
      	* config/pa/t-linux (LIB1ASMFUNCS, LIB1ASMSRC): Remove.
      	* config/pa/t-linux64: Likewise.
      	* config/picochip/libgccExtras/fake_libgcc.asm: Move to
      	../libgcc/config/picochip/lib1funcs.S.
      	* config/picochip/t-picochip (LIB1ASMFUNCS, LIB1ASMSRC): Remove.
      	* config/sh/lib1funcs.asm: Move to ../libgcc/config/sh/lib1funcs.S.
      	* config/sh/lib1funcs.h: Move to ../libgcc/config/sh.
      	* config/sh/sh.h: Update lib1funcs.asm filename.
      	* config/sh/t-linux (LIB1ASMFUNCS_CACHE): Remove.
      	* config/sh/t-netbsd: Likewise.
      	* config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE):
      	Remove.
      	* config/sh/t-sh64 (LIB1ASMFUNCS): Remove.
      	* config/sparc/lb1spc.asm: Move to ../libgcc/config/sparc/lb1spc.S.
      	* config/sparc/lb1spl.asm: Remove.
      	* config/sparc/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config/sparc/t-leon: Likewise.
      	* config/spu/t-spu-elf (LIBGCC1, CROSS_LIBGCC1): Remove.
      	* config/v850/lib1funcs.asm: Move to ../libgcc/config/v850/lib1funcs.S.
      	* config/v850/t-v850 (LIB1ASMSRC, LIB1ASMFUNCS): Remove
      	* config/vax/lib1funcs.asm: Move to ../libgcc/config/vax/lib1funcs.S.
      	* config/vax/t-linux: Remove.
      	* config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S: Move to
      	../libgcc/config/xtensa.
      	* config/xtensa/lib1funcs.asm: Move to
      	../libgcc/config/xtensa/lib1funcs.S.
      	* config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Remove.
      	* config.gcc (bfin*-rtems*): Remove bfin/t-bfin from tmake_file.
      	(bfin*-*): Likewise.
      	(mips64*-*-linux*, mipsisa64*-*-linux*): Remove
      	mips/t-libgcc-mips16 from tmake_file.
      	(mips*-*-linux*): Likewise.
      	(mips*-sde-elf*): Likewise.
      	(mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
      	(mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
      	(mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Likewise.
      	(mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
      	(mips-*-elf*, mipsel-*-elf*): Likewise.
      	(mips64-*-elf*, mips64el-*-elf*): Likewise.
      	(mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
      	(mips*-*-rtems*): Likewise.
      	(mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
      	(vax-*-linux*): Remove vax/t-linux from tmake_file.
      
      	libgcc:
      	* Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
      	$(srcdir) to refer to $(LIB1ASMSRC).
      	Use $<.
      	* config/arm/bpabi-v6m.S, config/arm/bpabi.S,
      	config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
      	config/arm/lib1funcs.S: New files.
      	* config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
      	* config/arm/t-arm: New file.
      	* config/arm/t-bpabi (LIB1ASMFUNCS): Set.
      	* config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
      	config/arm/t-strongarm-elf: New files.
      	* config/arm/t-symbian (LIB1ASMFUNCS): Set.
      	* config/arm/t-vxworks, config/arm/t-wince-pe: New files.
      	* config/avr/lib1funcs.S: New file.
      	* config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
      	* config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
      	* config/c6x/lib1funcs.S: New file.
      	* config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
      	* config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
      	* config/frv/lib1funcs.S: New file.
      	* config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
      	* config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
      	* config/i386/cygwin.S, config/i386/t-chkstk: New files.
      	* config/ia64/__divxf3.asm: Rename to ...
      	* config/ia64/__divxf3.S: ... this.
      	Adapt lib1funcs.asm filename.
      	* config/ia64/_fixtfdi.asm: Rename to ...
      	* config/ia64/_fixtfdi.S: ... this.
      	Adapt lib1funcs.asm filename.
      	* config/ia64/_fixunstfdi.asm: Rename to ...
      	* config/ia64/_fixunstfdi.S: ... this.
      	Adapt lib1funcs.asm filename.
      	* config/ia64/_floatditf.asm: Rename to ...
      	* config/ia64/_floatditf.S: ... this.
      	Adapt lib1funcs.asm filename.
      	* config/ia64/lib1funcs.S: New file.
      	* config/ia64/t-hpux (LIB1ASMFUNCS): Set.
      	* config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
      	* config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
      	* config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
      	* config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
      	* config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
      	* config/mep/lib1funcs.S: New file.
      	* config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
      	* config/mips/mips16.S: New file.
      	* config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
      	* config/pa/milli64.S: New file.
      	* config/pa/t-linux, config/pa/t-linux64: New files.
      	* config/picochip/lib1funcs.S: New file.
      	* config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
      	* config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
      	* config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
      	* config/sh/t-netbsd: New file.
      	* config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
      	Use $(srcdir) to refer to lib1funcs.S, adapt filename.
      	* config/sh/t-sh64: New file.
      	* config/sparc/lb1spc.S: New file.
      	* config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
      	filename.
      	* config/v850/lib1funcs.S, config/v850/t-v850: New files.
      	* config/vax/lib1funcs.S, config/vax/t-linux: New files.
      	* config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
      	config/xtensa/lib1funcs.S: New files.
      	* config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
      	* config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
      	tmake_file.
      	(arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
      	(arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
      	(arm*-*-linux*): Likewise.
      	Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
      	arm*-*-linux-*eabi, add arm/t-linux otherwise.
      	(arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
      	(arm*-*-ecos-elf): Likewise.
      	(arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
      	(arm*-*-rtems*): Likewise.
      	(arm*-*-elf): Likewise.
      	(arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
      	(avr-*-rtems*): Add to tmake_file, add avr/t-avr.
      	(bfin*-elf*): Add bfin/t-bfin to tmake_file.
      	(bfin*-uclinux*): Likewise.
      	(bfin*-linux-uclibc*): Likewise.
      	(bfin*-rtems*): Likewise.
      	(bfin*-*): Likewise.
      	(fido-*-elf): Merge into m68k-*-elf*.
      	(fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
      	(frv-*-*linux*): Add frv/t-frv to tmake_file.
      	(h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
      	(h8300-*-elf*): Likewise.
      	(hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
      	(hppa*-*-linux*): Add pa/t-linux to tmake_file.
      	(i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
      	(i[34567]86-*-mingw*): Likewise.
      	(x86_64-*-mingw*): Likewise.
      	(i[34567]86-*-interix3*): Likewise.
      	(ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
      	(ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
      	(m68k-*-elf*): Also handle fido-*-elf.
      	Add m68k/t-floatlib to tmake_file.
      	(m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
      	(m68k-*-linux*): Likewise.
      	(m68k-*-rtems*): Likewise.
      	(mcore-*-elf): Add mcore/t-mcore to tmake_file.
      	(sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
      	sh64*-*-*.
      	(sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
      	Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
      	(sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
      	(sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
      	sh/t-netbsd to tmake_file.
      	Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
      	(sh-*-rtems*): Add sh/t-sh to tmake_file.
      	(sh-wrs-vxworks): Likewise.
      	(sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
      	*-leon[3-9]*.
      	(v850*-*-*): Add v850/t-v850 to tmake_file.
      	(vax-*-linux*): Add vax/t-linux to tmake_file.
      	(m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180773 138bc75d-0d04-0410-961f-82ee72b054a4
      9213d2eb
    • ro's avatar
      Move crtstuff support to toplevel libgcc · 237490bf
      ro authored
      	gcc:
      	* config.gcc (extra_parts): Remove.
      	(*-*-freebsd*): Remove extra_parts.
      	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
      	*-*-gnu*, *-*-kopensolaris*-gnu): Likewise.
      	(*-*-netbsd*): Remove t-libc-ok, t-netbsd from tmake_file.
      	Remove extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
      	*-*-netbsdelf[2-9]*.
      	(*-*-openbsd*): Remove t-libc-ok from tmake_file.
      	(alpha*-*-linux*): Remove extra_parts.
      	(alpha*-*-freebsd*): Likewise.
      	(bfin*-linux-uclibc*): Likewise.
      	(fr30-*-elf): Likewise.
      	(moxie-*-elf): Likewise.
      	(moxie-*-uclinux*): Likewise.
      	(h8300-*-rtems*): Remove h8300/t-elf from tmake_file.
      	(h8300-*-elf*): Likewise.
      	(hppa*64*-*-hpux11*): Remove extra_parts.
      	(i[34567]86-*-elf*): Remove i386/t-i386elf, i386/t-crtstuff from
      	tmake_file.
      	(x86_64-*-elf*): Likewise.
      	(i[34567]86-*-freebsd*): Remove tmake_file.
      	(x86_64-*-freebsd*): Likewise.
      	(x86_64-*-netbsd*): Likewise.
      	(i[34567]86-*-openbsd2.*, i[34567]86-*openbsd3.[0123]): Remove
      	t-libc-ok from tmake_file.
      	(i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu,
      	i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*,
      	i[34567]86-*-kopensolaris*-gnu): Remove i386/t-crtstuff from tmake_file.
      	Remove extra_parts.
      	(x86_64-*-linux*, x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
      	Remove i386/t-crtstuff from tmake_file.
      	(i[34567]86-*-lynxos*): Likewise.
      	Remove extra_parts.
      	(ia64*-*-elf*): Remove extra_parts.
      	(ia64*-*-freebsd*): Likewise.
      	(ia64*-*-linux*): Likewise.
      	(ia64-hp-*vms*): Remove ia64/t-vms from tmake_file.
      	(m32r-*-elf*): Remove extra_parts.
      	(m32rle-*-elf*): Likewise.
      	(m32r-*-rtems*): Likewise.
      	(m68k-*-elf*, fido-*-elf*): Likewise.
      	(m68k*-*-openbsd*): Remove t-libc-ok from tmake_file.
      	(m68k-*-rtems*): Remove extra_parts.
      	(mep-*-*): Likewise.
      	(microblaze*-linux*): Likewise.
      	(mips64*-*-linux*, mipsisa64*-*-linux*): Likewise.
      	(mips*-*-linux*): Likewise.
      	(powerpc-*-lynxos*): Likewise.
      	(s390x-ibm-tpf*): Likewise.
      	(score-*-elf): Likewise.
      	Remove tmake_file.
      	(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*, sh[2346lbe]*-*-linux*,
      	sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*, sh5l*-*-netbsd*,
      	sh64-*-netbsd*, sh64l*-*-netbsd*): Remove sh/t-elf from tmake_file.
      	Remove sh/t-superh from tmake_file for sh*-superh-elf.
      	Remove sh/t-linux64 from tmake_file for sh64*-*-linux*.
      	(sh-*-rtems*): Remove sh/t-elf from tmake_file.
      	(sh-wrs-vxworks): Likewise.
      	(sparc-*-linux*): Remove extra_parts.
      	(sparc64-*-linux*): Likewise.
      	(sparc64-*-freebsd*, ultrasparc-*-freebsd*): Likewise.
      	(xstormy16-*-elf): Likewise.
      	(xtensa*-*-linux*): Remove xtensa/t-linux from tmake_file.
      	(am33_2.0-*-linux*): Remove extra_parts.
      	* configure.ac (extra_parts): Don't substitute.
      	* configure: Regenerate.
      	* crtstuff.c: Move to ../libgcc.
      	* Makefile.in (CRTSTUFF_CFLAGS): Remove.
      	(EXTRA_PARTS): Remove.
      	(CRTSTUFF_T_CFLAGS): Remove.
      	(MOSTLYCLEANFILES): Remove $(EXTRA_PARTS).
      	(GCC_EXTRA_PARTS): Remove.
      	(libgcc.mvars): Remove GCC_EXTRA_PARTS, CRTSTUFF_CFLAGS,
      	CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S.
      	Emit GCC_CFLAGS, INHIBIT_LIBC_CFLAGS.
      	($(T)crtbegin.o, $(T)crtend.o, $(T)crtbeginS.o, $(T)crtendS.o)
      	($(T)crtbeginT.o): Remove.
      	* config/alpha/t-vms (EXTRA_PARTS): Remove.
      	($(T)vms-dwarf2.o, $(T)vms-dwarf2eh.o): Remove.
      	* config/alpha/vms-dwarf2.asm: Move to
      	../libgcc/config/alpha/vms-dwarf2.S.
      	* config/alpha/vms-dwarf2eh.asm: Move to
      	../libgcc/config/alpha/vms-dwarf2eh.S.
      	* config/arm/crti.asm: Move to ../libgcc/config/arm/crti.S.
      	* config/arm/crtn.asm: Move to ../libgcc/config/arm/crtn.S.
      	* config/arm/t-arm-elf (EXTRA_MULTILIB_PARTS): Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	* config/arm/t-linux: Remove comment.
      	* config/arm/t-linux-eabi (EXTRA_MULTILIB_PARTS): Remove.
      	* config/arm/t-strongarm-elf (EXTRA_MULTILIB_PARTS): Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	* config/arm/t-symbian (EXTRA_MULTILIB_PARTS): Remove.
      	* config/bfin/crti.s: Move to ../libgcc/config/bfin/crti.S.
      	* config/bfin/crtn.s: Move to ../libgcc/config/bfin/crtn.S.
      	* config/bfin/crtlibid.s: Move to ../libgcc/config/bfin/crtlibid.S.
      	* config/bfin/t-bfin (EXTRA_PARTS): Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	* config/bfin/t-bfin-elf (CRTSTUFF_T_CFLAGS): Remove.
      	($(T)crti.o, $(T)crtn.o, $(T)crtlibid.o): Remove
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/bfin/t-bfin-linux (CRTSTUFF_T_CFLAGS,
      	EXTRA_MULTILIB_PARTS): Remove.
      	* config/bfin/t-bfin-uclinux (CRTSTUFF_T_CFLAGS): Remove.
      	($(T)crtlibid.o): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/c6x/crti.s: Move to ../libgcc/config/c6x/crti.S.
      	* config/c6x/crtn.s: Move to ../libgcc/config/c6x/crtn.S.
      	* config/c6x/t-c6x-elf ($(T)crti.o, $(T)crtn.o): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/c6x/t-c6x-uclinux (CRTSTUFF_T_CFLAGS,
      	CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/cris/t-elfmulti (CRTSTUFF_T_CFLAGS): Remove.
      	* config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/fr30/crti.asm: Move to ../libgcc/config/fr30/crti.S.
      	* config/fr30/crtn.asm: Move to ../libgcc/config/fr30/crtn.S.
      	* config/fr30/t-fr30 ($(T)crti.o, $(T)crtn.o): Remove.
      	* config/frv/frvbegin.c, config/frv/frvend.c: Move to
      	../libgcc/config/frv.
      	* config/frv/t-frv (EXTRA_MULTILIB_PARTS): Remove.
      	(FRVSTUFF_CFLAGS, $(T)frvbegin$(objext), $(T)frvend$(objext)): Remove.
      	* config/frv/t-linux (EXTRA_MULTILIB_PARTS): Remove.
      	(CRTSTUFF_T_CFLAGS): Remove.
      	* config/h8300/crti.asm: Move to ../libgcc/config/h8300/crti.S.
      	* config/h8300/crtn.asm: Move to ../libgcc/config/h8300/crtn.S.
      	* config/h8300/t-elf: Remove.
      	* config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
      	Move to ../libgcc/config/i386.
      	* config/i386/t-crtstuff: Remove.
      	* config/i386/t-i386elf: Remove.
      	* config/i386/t-linux64 (EXTRA_MULTILIB_PARTS): Remove.
      	* config/i386/t-nto (CRTSTUFF_T_CFLAGS, EXTRA_PARTS): Remove.
      	* config/ia64/crtbegin.asm: Move to
      	../libgcc/config/ia64/crtbegin.S.
      	* config/ia64/crtend.asm: Move to
      	../libgcc/config/ia64/crtend.S.
      	* config/ia64/crti.asm: Move to ../libgcc/config/ia64/crti.S.
      	* config/ia64/crtn.asm: Move to ../libgcc/config/ia64/crtn.S.
      	* config/ia64/t-vms: Remove.
      	* config/ia64/vms-crtinit.asm: Move to
      	../libgcc/config/ia64/vms-crtinit.S.
      	* config/m32c/t-m32c (EXTRA_MULTILIB_PARTS): Remove.
      	* config/m32r/initfini.c: Move to ../libgcc/config/m32r.
      	* config/m32r/t-linux (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/m32r/t-m32r (CRTSTUFF_T_CFLAGS): Remove.
      	($(T)crtinit.o, $(T)crtfini.o): Remove.
      	(m32rx, m32r2): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/m68k/crti.s: Move to ../libgcc/config/m68k/crti.S.
      	* config/m68k/crtn.s: Move to ../libgcc/config/m68k/crtn.S.
      	* config/m68k/t-crtstuff: Remove.
      	* config/m68k/t-linux (EXTRA_MULTILIB_PARTS): Remove.
      	* config/m68k/t-m68kelf: Remove.
      	* config/m68k/t-uclinux (EXTRA_MULTILIB_PARTS): Remove.
      	* config/mcore/crti.asm: Move to ../libgcc/config/mcore/crti.S.
      	* config/mcore/crtn.asm: Move to ../libgcc/config/mcore/crtn.S.
      	* config/mcore/t-mcore ($(T)crti.o, $(T)crtn.o): Remove.
      	(EXTRA_PARTS, EXTRA_MULTILIB_PARTS): Remove.
      	* config/mep/t-mep (CRTSTUFF_CFLAGS): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/microblaze/crti.s: Move to ../libgcc/config/microblaze/crti.S.
      	* config/microblaze/crtn.s: Move to ../libgcc/config/microblaze/crtn.S.
      	* config/microblaze/t-microblaze (EXTRA_MULTILIB_PARTS,
      	EXTRA_PARTS): Remove.
      	($(T)crti$(objext), $(T)crtn$(objext)): Remove.
      	* config/mips/crti.asm: Move to ../libgcc/config/mips/crti.S.
      	* config/mips/crtn.asm: Move to ../libgcc/config/mips/crtn.S.
      	* config/mips/t-elf (CRTSTUFF_T_CFLAGS): Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/mips/t-isa3264: Likewise.
      	* config/mips/t-linux64 (EXTRA_MULTILIB_PARTS): Remove.
      	* config/mips/t-r3900 (EXTRA_MULTILIB_PARTS): Remove.
      	(CRTSTUFF_T_CFLAGS): Remove.
      	* config/mips/t-sde (CRTSTUFF_T_CFLAGS): Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/mips/t-sr71k (EXTRA_MULTILIB_PARTS, CRTSTUFF_T_CFLAGS):
      	Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	* config/mips/t-st (EXTRA_MULTILIB_PARTS): Remove.
      	* config/mips/t-vr (CRTSTUFF_T_CFLAGS): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	* config/mmix/crti.asm: Move to ../libgcc/config/crti.S.
      	* config/mmix/crtn.asm: Move to ../libgcc/config/crtn.S.
      	* config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Remove.
      	* config/moxie/crti.asm, config/moxie/crtn.asm: Remove.
      	* config/pa/stublib.c: Move to libgcc/config/pa.
      	* config/pa/t-linux (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/pa/t-linux64 (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/pa/t-pa-hpux11 (LIBGCCSTUB_OBJS, stublib.c): Remove.
      	(pthread_default_stacksize_np-stub.o, pthread_mutex_lock-stub.o)
      	(pthread_mutex_unlock-stub.o, pthread_once-stub.o)
      	($(T)libgcc_stub.a): Remove.
      	* config/pa/t-pa64 (LIBGCCSTUB_OBJS, stublib.c): Remove.
      	(rfi-stub.o, dfi-stub.o, cxaf-stub.o, jvrc-stub.o)
      	(pthread_default_stacksize_np-stub.o, pthread_mutex_lock-stub.o)
      	(pthread_mutex_unlock-stub.o, pthread_once-stub.o)
      	($(T)libgcc_stub.a): Remove.
      	* config/rs6000/eabi-cn.asm: Move to
      	../../../libgcc/config/rs6000/eabi-cn.S.
      	* config/rs6000/eabi-ci.asm: Move to
      	../../../libgcc/config/rs6000/eabi-ci.S.
      	* config/rs6000/sol-ci.asm: Move to
      	../../../libgcc/config/rs6000/sol-ci.S.
      	* config/rs6000/sol-cn.asm: Move to
      	../../../libgcc/config/rs6000/sol-cn.S.
      	* config/rs6000/t-lynx (EXTRA_MULTILIB_PARTS): Remove.
      	(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/rs6000/t-netbsd (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S):
      	Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Remove.
      	(ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
      	($(T)ecrti$(objext), $(T)ecrtn$(objext), $(T)ncrti$(objext),
      	$(T)ncrtn$(objext)): Remove.
      	(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/rs6000/t-vxworks (EXTRA_MULTILIB_PARTS): Remove.
      	* config/rx/t-rx (EXTRA_MULTILIB_PARTS): Remove.
      	* config/score/crti.asm: Move to ../libgcc/config/score/crti.S.
      	* config/score/crtn.asm: Move to ../libgcc/config/score/crtn.S.
      	* config/score/t-score-elf: Remove.
      	* config/sh/crt1.asm: Move to ../libgcc/config/sh/crt1.S.
      	* config/sh/crti.asm: Move to ../libgcc/config/sh/crti.S.
      	* config/sh/crtn.asm: Move to ../libgcc/config/sh/crtn.S.
      	* config/sh/lib1funcs-4-300.asm: Move to
      	../../../libgcc/config/sh/lib1funcs-4-300.S.
      	* config/sh/lib1funcs-Os-4-200.asm: Move to
      	../libgcc/config/sh/lib1funcs-Os-4-200.S.
      	* config/sh/t-elf: Remove.
      	* config/sh/t-linux (EXTRA_MULTILIB_PARTS): Remove.
      	* config/sh/t-linux64: Remove.
      	* config/sh/t-netbsd (EXTRA_MULTILIB_PARTS): Remove.
      	* config/sh/t-sh ($(T)crt1.o, $(T)crti.o, $(T)crtn.o): Remove.
      	(IC_EXTRA_PARTS, OPT_EXTRA_PARTS, EXTRA_MULTILIB_PARTS): Remove.
      	($(T)ic_invalidate_array_4-100.o)
      	($(T)libic_invalidate_array_4-100.a)
      	($(T)ic_invalidate_array_4-200.o)
      	($(T)libic_invalidate_array_4-200.a, $(T)ic_invalidate_array_4a.o)
      	($(T)libic_invalidate_array_4a.a, $(T)sdivsi3_i4i-Os-4-200.o)
      	($(T)udivsi3_i4i-Os-4-200.o, $(T)unwind-dw2-Os-4-200.o)
      	($(T)libgcc-Os-4-200.a, $(T)div_table-4-300.o)
      	($(T)libgcc-4-300.a): Remove.
      	* config/sh/t-superh: Remove.
      	* config/sh/t-vxworks (EXTRA_MULTILIB_PARTS): Remove.
      	* config/sparc/t-linux64 (CRTSTUFF_T_CFLAGS): Remove.
      	* config/spu/cache.S: Move to ../libgcc/config/spu.
      	* config/spu/cachemgr.c: Move to ../libgcc/config/spu.
      	* config/spu/t-spu-elf (CRTSTUFF_T_CFLAGS): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	($(T)cachemgr.o, $(T)cachemgr_nonatomic.o, $(T)libgcc_%.a): Remove.
      	($(T)cache8k.o, $(T)cache16k.o, $(T)cache32k.o, $(T)cache32k.o)
      	($(T)cache64k.o, $(T)cache128k.o): Remove.
      	* config/t-freebsd (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/t-libc-ok: Remove.
      	* config/t-linux (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/t-lynx (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/t-netbsd: Remove.
      	* config/t-svr4 (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/t-vxworks (EXTRA_MULTILIB_PARTS): Remove.
      	* config/vms/t-vms (VMS_EXTRA_PARTS): Remove.
      	($(T)vcrt0.o, $(T)pcrt0.o): Remove.
      	* config/vms/vms-ucrt0.c: Move to ../libgcc/config/vms.
      	* config/xtensa/crti.asm: Move to ../libgcc/config/xtensa/crti.S.
      	* config/xtensa/crtn.asm: Move to ../libgcc/config/xtensa/crtn.S.
      	* config/xtensa/t-elf (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S):
      	Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/xtensa/t-linux: Remove.
      	* config/xtensa/t-xtensa ($(T)crti.o, $(T)crtn.o): Remove.
      
      	gcc/po:
      	* EXCLUDES (crtstuff.c): Remove.
      
      	libgcc:
      	* crtstuff.c: New file.
      	* Makefile.in (CRTSTUFF_CFLAGS): Define.
      	(CRTSTUFF_T_CFLAGS): Define.
      	(extra-parts, INSTALL_PARTS): Remove conditional assignments.
      	(crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
      	(crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
      	crtstuff.c.
      	Use $<.
      	(crtbeginT.o): Use $(objext).
      	[!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
      	(libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
      	(gcc-extra-parts): Remove.
      	* config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
      	Set extra_parts.
      	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
      	*-*-gnu*): Also handle *-*-kopensolaris*-gnu.
      	Add t-crtstuff-pic to tmake_file.
      	(*-*-lynxos*): New case.
      	Set tmake_file, extra_parts.
      	(*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
      	Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
      	*-*-netbsdelf[2-9]*.
      	(*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
      	(*-*-rtems*): Set extra_parts.
      	(*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
      	(*-*-uclinux*): New case.
      	Set extra_parts.
      	(*-*-vms*): New case.
      	Set tmake_file, extra_parts.
      	(*-*-elf): Set extra_parts.
      	(alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
      	(alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
      	vms/t-vms64.
      	Set extra_parts.
      	(alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
      	Set extra_parts.
      	(arm*-*-freebsd*): Add t-crtin to tmake_file.
      	Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
      	(arm-wrs-vxworks): Append to tmake_file.
      	Set extra_parts.
      	(arm*-*-uclinux*): Set extra_parts.
      	(arm*-*-ecos-elf): Likewise.
      	(arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
      	arm*-*-eabi*.
      	(arm*-*-rtems*): Set extra_parts.
      	(arm*-*-elf): Likewise.
      	(avr-*-rtems*): Clear extra_parts.
      	(bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
      	Set extra_parts.
      	(bfin*-uclinux*): Likewise.
      	(bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
      	(bfin*-rtems*): Append to tmake_file.
      	Set extra_parts.
      	(bfin*-*): Likewise.
      	(crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
      	(crisv32-*-elf): ... this.
      	(crisv32-*-none): ... this.
      	(cris-*-elf, cris-*-none): New cases.
      	Add cris/t-elfmulti to tmake_file.
      	(fr30-*-elf): Append to tmake_file.
      	Set extra_parts.
      	(frv-*-elf): Append to tmake_file, add frv/t-frv.
      	Set extra_parts.
      	(h8300-*-rtems*): Append to tmake_file.
      	Set extra_parts.
      	(h8300-*-elf*): Likewise.
      	(hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
      	Set extra_parts.
      	(hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
      	Set extra_parts.
      	(i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
      	(x86_64-*-elf*): Likewise.
      	(i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
      	(x86_64-*-freebsd*): Likewise.
      	(x86_64-*-netbsd*): Likewise.
      	(i[34567]86-*-linux*): Likewise.
      	(i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
      	(i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
      	(x86_64-*-linux*): Likewise.
      	(x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
      	(i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
      	tmake_file.
      	Set extra_parts.
      	(i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
      	(i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
      	Append to extra_parts, remove crtbegin.o, crtend.o.
      	(ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
      	(ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
      	crtend.o, crtbeginS.o, crtendS.o.
      	(ia64*-*-linux*): Comment extra_parts.
      	(ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
      	Set extra_parts.
      	(iq2000*-*-elf*): Clear extra_parts.
      	(lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
      	(lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
      	(m32r-*-elf*, m32r-*-rtems*): Split off ...
      	(m32r-*-rtems*): ... this.
      	Add m32r/t-m32r to tmake_file.
      	(m68k-*-elf*): Add t-crtin to tmake_file.
      	(m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
      	(mcore-*-elf): Likewise.
      	(microblaze*-*-*): Set extra_parts.
      	(mips*-sde-elf*): New case.
      	Set tmake_file, extra_parts.
      	(mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
      	(mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
      	(mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
      	tmake_file.
      	Set extra_parts.
      	(mipsisa64sr71k-*-elf*): Likewise.
      	(mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
      	(mips-*-elf*, mipsel-*-elf*): Likewise.
      	(mips64-*-elf*, mips64el-*-elf*): Likewise.
      	(mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
      	(mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
      	(mips*-*-rtems*): Likewise.
      	(mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
      	(moxie-*-*): Split into ...
      	(moxie-*-elf, moxie-*-uclinux*): ... this.
      	Add to extra_parts, remove crtbegin.o, crtend.o.
      	(moxie-*-rtems*): New case.
      	Set tmake_file.
      	Clear extra_parts.
      	(powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
      	Set extra_parts.
      	(powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
      	(powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
      	tmake_file.
      	Set extra_parts.
      	(powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
      	rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
      	Set extra_parts.
      	(powerpc-*-eabisim*): Likewise.
      	(powerpc-*-elf*): Likewise.
      	(powerpc-*-eabialtivec*): Likewise.
      	(powerpc-xilinx-eabi*): Likewise.
      	(powerpc-*-eabi*): Likewise.
      	(powerpc-*-rtems*): Likewise.
      	(powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
      	tmake_file.
      	Set extra_parts.
      	(powerpc-*-lynxos*): Add to tmake_file.
      	(powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
      	rs6000/t-crtstuff, t-crtstuff-pic.
      	Set extra_parts.
      	(powerpcle-*-eabisim*): Likewise.
      	(powerpcle-*-eabi*): Likewise.
      	(rx-*-elf): Remove extra_parts.
      	(s390x-ibm-tpf*): Set extra_parts.
      	(score-*-elf): Set extra_parts.
      	(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
      	(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
      	(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
      	(sh64l*-*-netbsd*): Split into ...
      	(sh-*-elf*, sh[12346l]*-*-elf*): ... this.
      	Add t-crtstuff-pic to tmake_file.
      	Set extra_parts.
      	(sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
      	Set extra_parts.
      	(sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
      	(sparc-*-elf*): Remove t-crtin from tmake_file.
      	Add to extra_parts, remove crtbegin.o, crtend.o.
      	(sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
      	(sparc64-*-linux*): Likewise.
      	(sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
      	Add to extra_parts, remove crtbegin.o, crtend.o.
      	(sparc64-*-elf*): Remove t-crtin from tmake_file.
      	Add to extra_parts, remove crtbegin.o, crtend.o.
      	(sparc64-*-rtems*): Remove t-crtin from tmake_file.
      	Add to extra_parts, remove crtbegin.o, crtend.o.
      	(sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
      	(sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
      	(spu-*-elf*): Add to tmake_file, add spu/t-elf.
      	Set extra_parts.
      	(tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
      	Set extra_parts.
      	(tic6x-*-*): Change to ...
      	(tic6x-*-elf): ... this.
      	Set extra_parts.
      	(xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
      	Set extra_parts.
      	(am33_2.0-*-linux*): Add comment.
      	(mep*-*-*): Add mep/t-mep to tmake_file.
      	Set extra_parts.
      	* config/alpha/t-vms: New file.
      	* config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
      	* config/arm/crti.S, config/arm/crtn.S: New files.
      	* config/bfin/crti.S, config/bfin/crtn.S: New files.
      	* config/bfin/crtlibid.S: New file.
      	* config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
      	* config/c6x/crti.S, config/c6x/crtn.S: New files.
      	* config/c6x/t-elf (CUSTOM_CRTIN): Set.
      	(crti.o, crtin.o): New rules.
      	(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
      	* config/c6x/t-uclinux: New file.
      	* config/cris/t-elfmulti: New file.
      	* config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
      	* config/fr30/crti.S, config/fr30/crtn.S: New files.
      	* config/frv/frvbegin.c, config/frv/frvend.c: New files.
      	* config/frv/t-frv: New file.
      	* config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
      	* config/h8300/crti.S, config/h8300/crtn.S: New files.
      	* config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
      	New files.
      	* config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
      	refer to cygming-crtbegin.c, cygming-crtend.c.
      	Use $<.
      	* config/i386/t-nto: New file.
      	* config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
      	* config/ia64/crti.S, config/ia64/crtn.S: New files.
      	* config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
      	crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
      	Use .S extension.
      	Use $<.
      	* config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
      	(crtinitS.o): New rule.
      	* config/ia64/vms-crtinit.S: New file.
      	* config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
      	* config/m32r/initfini.c: New file.
      	* config/m32r/t-linux, config/m32r/t-m32r: New files.
      	* config/m68k/crti.S, config/m68k/crtn.S: New files.
      	* config/mcore/crti.S, config/mcore/crtn.S: New files.
      	* config/mep/t-mep: New file.
      	* config/microblaze/crti.S, config/microblaze/crtn.S: New files.
      	* config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
      	* config/mips/crti.S, config/mips/crtn.S: New files.
      	* config/mips/t-crtstuff: New file.
      	* config/mmix/crti.S, config/mmix/crtn.S: New files.
      	* config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
      	(CUSTOM_CRTIN): Set.
      	($(T)crti.o, $(T)crtn.o): Remove $(T),
      	dependencies.
      	Use $(srcdir) to refer to crti.S, crtn.S.
      	Use .S extension, $<.
      	* config/moxie/crti.asm: Rename to ...
      	* config/moxie/crti.S: ... this.
      	* config/moxie/crtn.asm: Rename to ...
      	* config/moxie/crtn.S: ... this.
      	* config/moxie/t-moxie: Remove.
      	* config/pa/stublib.c: New file.
      	* config/pa/t-stublib, config/pa/t-stublib64: New files.
      	* config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
      	* config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
      	* config/rs6000/t-crtstuff: New file.
      	* config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
      	(ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
      	(ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
      	Make output file explicit.
      	(ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
      	Make output file explicit.
      	(ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
      	Make output file explicit.
      	(ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
      	Make output file explicit.
      	* config/score/crti.S, config/score/crtn.S: New files.
      	* config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
      	* config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
      	files.
      	* config/sh/t-sh, config/sh/t-superh: New files.
      	* config/sparc/t-linux64: New file.
      	* config/spu/cache.S, config/spu/cachemgr.c: New files.
      	* config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
      	(cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
      	(cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
      	* config/t-crtin: Remove.
      	* config/t-crtstuff-pic: New file.
      	* config/t-sol2 (CUSTOM_CRTIN): Set.
      	(crti.o, crtn.o): New rules.
      	* config/vms/t-vms: New file.
      	* config/vms/vms-ucrt0.c: New file.
      	* config/xtensa/t-elf: New file.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180771 138bc75d-0d04-0410-961f-82ee72b054a4
      237490bf
    • uros's avatar
      * testsuite/ChangeLog: Fix last ChangeLog entry. · f34bff80
      uros authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180770 138bc75d-0d04-0410-961f-82ee72b054a4
      f34bff80
    • uros's avatar
      * gcc.target/i386/avx-cvt-2.c (dg-options): Add -mtune=generic. · a8751c09
      uros authored
      	* gcc.target/i386/avx2-cvt-2.c (dg-options): Ditto.
      	* gcc.target/i386/sse2-cvt-2.c (dg-options): Ditto.
      
      	* gcc.target/i386/vectorize4-avx.c (dg-final): Remove xfail *-*-*.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180769 138bc75d-0d04-0410-961f-82ee72b054a4
      a8751c09
    • uros's avatar
      * config/i386/i386.c (bdesc_args) [IX86_BUILTIN_CVTTPD2DQ256]: Use · 272c5687
      uros authored
      	CODE_FOR_fix_truncv4dfv4si2, not CODE_FOR_fix_truncv4sfv4si2.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180768 138bc75d-0d04-0410-961f-82ee72b054a4
      272c5687
    • ro's avatar
      Move shlib support to toplevel libgcc · a997b0d8
      ro authored
      	gcc:
      	PR translation/45116
      	* Makefile.in (slibdir): Remove, don't export.
      	(SHLIB_NM_FLAGS): Remove.
      	(libgcc.mvars): Don't emit SHLIB_LINK, SHLIB_INSTALL,
      	SHLIB_DLLDIR, SHLIB_EXT, SHLIB_MKMAP, SHLIB_MKMAP_OPTS,
      	SHLIB_MAPFILES, SHLIB_NM_FLAGS.
      	(DRIVER_DEFINES): Test SHLIB instead of SHLIB_LINK.
      	(gcc.o): Pass SHLIB instead of SHLIB_LINK.
      	(gccspec.o): Likewise.
      	(installdirs): Don't create $(DESTDIR)$(slibdir).
      	* configure.ac (slibdir): Remove.
      	* configure: Regenerate.
      	* libgcc-libsystem.ver: Move to ../libgcc/config.
      	* mkmap-flat.awk, mkmap-symver.awk: Move to ../libgcc.
      	* config/libgcc-glibc.ver: Move to ../libgcc/config.
      	* config/t-libunwind (SHLIB_LC): Remove.
      	* config/t-linux (SHLIB_MAPFILES): Remove.
      	* config/t-slibgcc-dummy: Rename to config/t-slibgcc.
      	* config/t-slibgcc-elf-ver: Remove.
      	* config/t-slibgcc-libgcc, config/t-slibgcc-nolc-override: Move to
      	../libgcc/config.
      	* config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: Move
      	to ../libgcc/config/alpha.
      	* config/alpha/t-vms (shlib_version, SHLIB_EXT, SHLIB_OBJS,
      	SHLIB_NAME, SHLIB_MULTILIB, SHLIB_INSTALL, SHLIB_SYMVEC,
      	SHLIB_SYMVECX2, SHLIB_LINK): Remove.
      	* config/arm/libgcc-bpabi.ver: Move to ../libgcc/config/arm.
      	* config/arm/t-bpabi (SHLIB_MAPFILES): Remove.
      	* config/arm/t-netbsd (SHLIB_EXT, SHLIB_NAME, SHLIB_SONAME,
      	SHLIB_OBJS, SHLIB_LINK, SHLIB_INSTALL): Remove.
      	* config/arm/t-symbian (SHLIB_LC): Remove.
      	* config/bfin/libgcc-bfin.ver: Move to
      	../libgcc/config/bfin/libgcc-glibc.ver.
      	* config/bfin/t-bfin-linux (SHLIB_MAPFILES): Remove.
      	* config/c6x/libgcc-c6xeabi.ver: Move to
      	../libgcc/config/c6x/libgcc-eabi.ver.
      	* config/c6x/t-c6x-elf (SHLIB_MAPFILES): Remove.
      	* config/cris/libgcc.ver: Move to
      	../libgcc/config/cris/libgcc-glibc.ver.
      	* config/cris/t-linux (SHLIB_MAPFILES): Remove.
      	* config/frv/libgcc-frv.ver: Move to ../libgcc/config/frv.
      	* config/frv/t-linux (SHLIB_MAPFILES): Remove.
      	* config/i386/darwin-libgcc.10.4.ver: Move to
      	../libgcc/config/i386/libgcc-darwin.10.4.ver.
      	* config/i386/darwin-libgcc.10.5.ver: Move to
      	../libgcc/config/i386/libgcc-darwin.10.5.ver.
      	* config/i386/libgcc-glibc.ver: Move to ../libgcc/config/i386.
      	* config/i386/t-cygming (SHLIB_EXT, SHLIB_IMPLIB, SHLIB_SOVERSION,
      	SHLIB_SONAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_DIR, SHLIB_SLIBDIR_QUAL)
      	SHLIB_PTHREAD_CFLAG, SHLIB_PTHREAD_LDFLAG, SHLIB_LINK,
      	SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MKMAP_OPTS, SHLIB_MAPFILES):
      	Remove.
      	* config/i386/t-cygwin (SHLIB_LC, SHLIB_EH_EXTENSION,
      	SHLIB_IMPLIB, SHLIB_SONAME, SHLIB_MKMAP_OPTS): Remove.
      	* config/i386/t-dlldir, config/i386/t-dlldir-x: Move to
      	../libgcc/config/i386.
      	* config/i386/t-dw2-eh, config/i386/t-sjlj-eh: Move to
      	../libgcc/config/i386.
      	* config/i386/t-linux: Move to ../libgcc/config/i386.
      	* config/i386/t-mingw-pthread: Move to ../libgcc/config/i386.
      	* config/i386/t-mingw-w32 (SHLIB_LC): Remove.
      	* config/i386/t-mingw-w64: Likewise.
      	* config/i386/t-mingw32: Remove.
      	* config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: Move
      	to ../libgcc/config/ia64.
      	* config/ia64/t-glibc: Remove.
      	* config/ia64/t-hpux (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL): Remove.
      	* config/ia64/t-ia64 (SHLIB_MAPFILES): Remove.
      	* config/ia64/t-vms (shlib_version, SHLIB_EXT, SHLIB_OBJS,
      	SHLIB_NAME, SHLIB_MULTILIB, SHLIB_INSTALL, SHLIB_LINK): Remove.
      	* config/ia64/vms_symvec_libgcc_s.opt: Remove.
      	* config/m32r/libgcc-glibc.ver: Move to ../libgcc/config/m32r.
      	* config/m32r/t-linux (SHLIB_MAPFILES): Remove.
      	* config/m68k/t-slibgcc-elf-ver: Move to ../libgcc/config/m68k.
      	* config/mips/t-libgcc-mips16 (SHLIB_MAPFILES): Remove.
      	* config/pa/t-hpux-shlib: Move to ../libgcc/config/pa/t-slibgcc-hpux.
      	* config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver:
      	Move to ../libgcc/config/pa.
      	* config/rs6000/darwin-libgcc.10.4.ver: Move to
      	../libgcc/config/rs6000/libgcc-darwin.10.4.ver.
      	* config/rs6000/darwin-libgcc.10.5.ver: Move to
      	../libgcc/config/rs6000/libgcc-darwin.10.5.ver.
      	* config/rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL,
      	SHLIB_LIBS, SHLIB_MKMAP, SHLIB_NM_FLAGS, AR_FLAGS_FOR_TARGET): Remove.
      	* config/rs6000/t-aix52: Likewise.
      	* config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: Move to
      	../libgcc/config/sh.
      	* config/sparc/libgcc-sparc-glibc.ver: Move to
      	../libgcc/config/sparc/libgcc-glibc.ver.
      	* config/sparc/t-linux: Move to ../libgcc/config/sparc.
      	* config/xtensa/t-linux (SHLIB_MAPFILES): Remove.
      	* config/xtensa/libgcc-xtensa.ver: Move to
      	../libgcc/config/xtensa/libgcc-glibc.ver.
      	* config.gcc (*-*-freebsd*): Replace t-slibgcc-elf-ver with
      	t-slibgcc in tmake_file.
      	Remove t-slibgcc-nolc-override for *-*-freebsd[34],
      	*-*-freebsd[34].* with pthreads.
      	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu,
      	*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Replace
      	t-slibgcc-elf-ver with t-slibgcc in tmake_file.
      	(*-*-netbsd*): Likewise.
      	(*-*-solaris2*): Replace t-slibgcc-dummy with t-slibgcc in tmake_file.
      	(*-*-*vms*): Add t-slibgcc to tmake_file.
      	(alpha*-*-linux*): Remove alpha/t-linux from tmake_file.
      	(alpha*-dec-osf5.1*): Replace t-slibgcc-dummy with t-slibgcc in
      	tmake_file.
      	(arm*-*-linux*): Remove t-slibgcc-libgcc from tmake_file for
      	arm*-*-linux-*eabi.
      	(bfin*-linux-uclibc*): Replace t-slibgcc-dummy with t-slibgcc in
      	tmake_file.
      	(crisv32-*-linux*, cris-*-linux*): Likewise.
      	(hppa*-*-linux*): Remove t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
      	pa/t-slibgcc-dwarf-ver from tmake_file.
      	(hppa[12]*-*-hpux10*): Replace pa/t-hpux-shlib with t-slibgcc in
      	tmake_file.
      	Remove pa/t-slibgcc-sjlj-ver, pa/t-slibgcc-dwarf-ver from tmake_file.
      	(hppa*64*-*-hpux11*): Likewise.
      	(hppa[12]*-*-hpux11*): Likewise.
      	(i[34567]86-*-darwin*): Replace t-slibgcc-dummy in t-slibgcc in
      	tmake_file.
      	(x86_64-*-darwin*): Likewise.
      	(i[34567]86-*-cygwin*): Remove tmake_eh_file, tmake_dlldir_file.
      	Add t-slibgcc to tmake_file.
      	(i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
      	Remove i386/t-mingw32 from tmake_file unless x86_64-w64-*,
      	i[34567]86-w64-*.
      	Remove i386/t-mingw-pthread from tmake_file.
      	(ia64*-*-linux*): Remove ia64/t-glibc from tmake_file.
      	(ia64*-*-hpux*): Add t-slibgcc to tmake_file.
      	(ia64-hp-*vms*): Likewise.
      	(m32r-*-linux*): Replace t-slibgcc-elf-ver with t-slibgcc in
      	tmake_file.
      	(m32rle-*-linux*): Likewise.
      	(m68k-*-linux*): Remove m68k/t-slibgcc-elf-ver from tmake_file.
      	(microblaze*-linux*): Remove t-slibgcc-elf-ver,
      	t-slibgcc-nolc-override from tmake_file.
      	(mips-sgi-irix6.5*): Replace t-slibgcc-dummy with t-slibgcc in
      	tmake_file.
      	(powerpc-*-darwin*): Likewise.
      	(powerpc64-*-darwin*): Likewise.
      	(powerpc-*-freebsd*): Remove t-slibgcc-libgcc from tmake_file.
      	(powerpc-*-linux*, powerpc64-*-linux*): Likewise.
      	(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
      	t-slibgcc to tmake_file.
      	(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
      	(rs6000-ibm-aix5.2.*, powerpc-ibm-aix5.2.*): Likewise.
      	(rs6000-ibm-aix5.3.*, powerpc-ibm-aix5.3.*): Likewise.
      	(rs6000-ibm-aix[6789].*, powerpc-ibm-aix[6789].*): Likewise.
      	(sparc-*-linux*): Remove sparc/t-linux from tmake_file.
      	(sparc64-*-linux*): Likewise.
      	(tic6x-*-uclinux): Replace t-slibgcc-elf-ver with t-slibgcc in
      	tmake_file.
      	(i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu,
      	x86_64-*-kfreebsd*-gnu, i[34567]86-*-gnu*): Remove i386/t-linux
      	from tmake_file.
      
      	gcc/cp:
      	* Make-lang.in (g++spec.o): Pass SHLIB instead of SHLIB_LINK.
      
      	gcc/fortran:
      	* Makef-lang.in (gfortranspec.o): Pass SHLIB instead of SHLIB_LINK.
      
      	gcc/go:
      	* Make-lang.in (gospec.o): Pass SHLIB instead of SHLIB_LINK.
      
      	gcc/java:
      	* Make-lang.in (jvspec.o): Pass SHLIB instead of SHLIB_LINK.
      
      	libgcc:
      	* Makefile.in (SHLIB_NM_FLAGS): Set.
      	* mkmap-flat.awk, mkmap-symver.awk: New files.
      	* configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
      	exceptions.
      	* configure: Regenerate.
      	* config/libgcc-glibc.ver: New file.
      	* config/libgcc-libsystem.ver: New file.
      	* config/t-libunwind (SHLIB_LC): Set.
      	* config/t-linux: New file.
      	* config/t-slibgcc (INSTALL_SHLIB): New.
      	(SHLIB_INSTALL): Use it.
      	* config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
      	to mkmap-symver.awk.
      	(SHLIB_MAPFILES): Don't append, adapt pathname.
      	(SHLIB_VERPFX): Set.
      	* config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
      	to mkmap-symver.awk.
      	* config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
      	config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
      	* config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
      	* config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
      	to mkmap-flat.awk.
      	* config/arm/t-bpabi (SHLIB_MAPFILES): Set.
      	* config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
      	* config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
      	* config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
      	* config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
      	* config/i386/libgcc-darwin.10.4.ver,
      	config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
      	New files.
      	* config/i386/t-darwin: Remove.
      	* config/i386/t-darwin64: Likewise.
      	* config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
      	* config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
      	config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
      	* config/i386/t-linux: New file.
      	* config/i386/t-mingw32: New file.
      	* config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
      	* config/ia64/t-glibc: Rename to ...
      	* config/ia64/t-linux: ... this.
      	(SHLIB_MAPFILES): Set.
      	* config/ia64/t-glibc-libunwind: Rename to ...
      	* config/ia64/t-linux-libunwind: ... this.
      	* config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
      	* config/ia64/t-slibgcc-hpux: New file.
      	* config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
      	* config/m68k/t-slibgcc-elf-ver: New file.
      	* config/mips/t-mips16 (SHLIB_MAPFILES): Set.
      	* config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
      	to mkmap-flat.awk.
      	* config/pa/t-slibgcc-hpux: New file.
      	* config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
      	files.
      	* config/rs6000/libgcc-darwin.10.4.ver,
      	config/rs6000/libgcc-darwin.10.5.ver: New files.
      	* config/rs6000/libgcc-ppc-glibc.ver: Rename to
      	config/rs6000/libgcc-glibc.ver.
      	* config/rs6000/libgcc-ppc64.ver: Rename to
      	config/rs6000/libgcc-ibm-ldouble.ver.
      	* config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
      	* config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
      	* config/rs6000/t-ldbl128: Rename to ...
      	* config/rs6000/t-linux: ... this.
      	(SHLIB_MAPFILES): Adapt filename.
      	* config/rs6000/t-slibgcc-aix: New file.
      	* config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
      	* config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
      	libgcc-excl.ver, libgcc-glibc.ver.
      	(SHLIB_LINK, SHLIB_INSTALL): Remove.
      	* config/sparc/libgcc-glibc.ver: New file.
      	* config/sparc/t-linux: New file.
      	* config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
      	* config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
      	t-slibgcc-elf-ver to tmake_file.
      	Add t-slibgcc-nolc-override to tmake_file for posix threads on
      	*-*-freebsd[34].
      	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
      	*-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
      	t-slibgcc-elf-ver, t-linux to tmake_file.
      	(*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
      	tmake_file.
      	(alpha*-*-linux*): Add alpha/t-linux to tmake_file.
      	(alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
      	(alpha*-dec-*vms*): Likewise.
      	(arm*-*-freebsd*): Append to tmake_file.
      	(arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
      	(arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
      	arm*-*-linux-*eabi.
      	(arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
      	tmake_file for arm*-*-symbianelf*.
      	(bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
      	(cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
      	cris/t-linux.
      	(frv-*-*linux*): Append to tmake_file, add frv/t-linux.
      	(hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
      	pa/t-slibgcc-dwarf-ver to tmake_file.
      	(hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
      	pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
      	(hppa*64*-*-hpux11*): Likewise.
      	(hppa[12]*-*-hpux11*): Likewise.
      	(x86_64-*-darwin*): Don't override tmake_file, but only keep
      	i386/t-crtpc, i386/t-crtfm.
      	(i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
      	Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
      	to tmake_file.
      	Add i386/t-cygwin to tmake_file.
      	Prepent i386/t-mingw-pthread to tmake_file for posix threads.
      	(i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
      	Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
      	to tmake_file.
      	Add i386/t-mingw32 to tmake_file.
      	(x86_64-*-mingw*): Likewise.
      	(ia64*-*-freebsd*): Append to tmake_file.
      	(ia64*-*-linux*): Append to tmake_file.
      	Replace ia64/t-glibc by ia64/t-linux.
      	Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
      	system libunwind.
      	(ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
      	t-slibgcc-hpux to tmake_file.
      	(ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
      	(m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
      	(m32rle-*-linux*): Likewise.
      	(m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
      	sjlj exceptions.
      	(microblaze*-linux*): New case.
      	Append to tmake_file, add t-slibgcc-nolc-override.
      	(powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
      	(powerpc-*-linux*, powerpc64-*-linux*): Likewise.
      	Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
      	(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
      	rs6000/t-slibgcc-aix to tmake_file.
      	(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
      	(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
      	(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
      	(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
      	(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
      	(sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
      	sh*-*-linux*.
      	(sparc-*-linux*): Append to tmake_file for *-leon*.
      	Add sparc/t-linux to tmake_file for non-Leon targets.
      	(sparc64-*-linux*): Add sparc/t-linux to tmake_file.
      	(tic6x-*-uclinux): New case.
      	Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
      	(tic6x-*-*): Add c6x/t-elf to tmake_file.
      	(xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
      	(am33_2.0-*-linux*): Append to tmake_file.
      	(i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
      	(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
      	x86_64-*-kfreebsd*-gnu.
      	Add i386/t-linux to tmake_file.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180767 138bc75d-0d04-0410-961f-82ee72b054a4
      a997b0d8
    • rguenth's avatar
      2011-11-02 Richard Guenther <rguenther@suse.de> · 97ec7931
      rguenth authored
      	PR tree-optimization/50902
      	* tree-vect-stmts.c (vectorizable_load): Properly convert
      	an invariant initializer element.
      
      	* gcc.dg/torture/pr50902.c: New testcase.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180765 138bc75d-0d04-0410-961f-82ee72b054a4
      97ec7931
    • paolo's avatar
      2011-11-02 Paolo Carlini <paolo.carlini@oracle.com> · 2350caac
      paolo authored
      	PR libstdc++/50951
      	* include/bits/random.tcc (operator<<(basic_ostream<>&,
      	const mersenne_twister_engine<>&): Output _M_p too.
      	(operator<<(basic_ostream<>&, const
      	subtract_with_carry_engine<>&): Likewise.
      	(operator>>(basic_istream<>&, mersenne_twister_engine<>&):
      	Reload it.
      	(operator>>(basic_istream<>&, subtract_with_carry_engine<>&):
      	Likewise.
      	* include/bits/random.h (mersenne_twister_engine<>::operator==):
      	Compare _M_p too.
      	(subtract_with_carry_engine<>::operator==): Compare _M_carry
      	and _M_p too.
      	(shuffle_order_engine<>::operator==): Compare _M_v(s) and _M_y too.
      	* testsuite/26_numerics/random/independent_bits_engine/
      	operators/serialize.cc: Extend.
      	* testsuite/26_numerics/random/subtract_with_carry_engine/
      	operators/serialize.cc: Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/
      	operators/serialize.cc: Likewise.
      	* testsuite/26_numerics/random/mersenne_twister_engine/
      	operators/serialize.cc: Likewise.
      	* testsuite/26_numerics/random/linear_congruential_engine/
      	operators/serialize.cc: Likewise.
      	* testsuite/26_numerics/random/shuffle_order_engine/
      	operators/serialize.cc: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180764 138bc75d-0d04-0410-961f-82ee72b054a4
      2350caac
    • rguenth's avatar
      2010-11-02 Richard Guenther <rguenther@suse.de> · 3aa6ac67
      rguenth authored
      	PR tree-optimization/50890
      	* gimple.h (gimple_fold_call): Remove.
      	* gimple-fold.c (fold_stmt_1): Move all call related code to ...
      	(gimple_fold_call): ... here.  Make static.  Update the
      	cannot-inline flag on direct calls.
      	* ipa-inline.c (early_inliner): Copy the cannot-inline flag
      	from the statements to the edges.
      
      	* gcc.dg/torture/pr50890.c: New testcase.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180763 138bc75d-0d04-0410-961f-82ee72b054a4
      3aa6ac67
    • ian's avatar
      * godump.c (struct macro_hash_value): Define. · 62aab493
      ian authored
      	(macro_hash_hashval): New static function.
      	(macro_hash_eq, macro_hash_del): New static functions.
      	(go_define): Use macro_hash_value to store values in macro_hash.
      	Replace an old value on a redefinition.  Don't print anything to
      	go_dump_file.
      	(go_undef): Delete the entry from the hash table.
      	(go_output_typedef): For an enum, use macro_hash_value, and don't
      	print anything to go_dump_file.
      	(go_print_macro): New static function.
      	(go_finish): Traverse macro_hash with go_print_macro.
      	(dump_go_spec_init): Update macro_hash creation for
      	macro_hash_value.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180762 138bc75d-0d04-0410-961f-82ee72b054a4
      62aab493
    • amodra's avatar
      * config/rs6000/rs6000.c (rs6000_code_end): Declare ATTRIBUTE_UNUSED. · b625e58b
      amodra authored
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180761 138bc75d-0d04-0410-961f-82ee72b054a4
      b625e58b
    • bkoz's avatar
      2011-11-02 Benjamin Kosnik <bkoz@redhat.com> · cae32d03
      bkoz authored
      	* include/bits/c++config: Add tr2 to versioned namespaces.
      	* scripts/run_doxygen: Adjust generated man files as well.
      	* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180760 138bc75d-0d04-0410-961f-82ee72b054a4
      cae32d03
    • dj's avatar
      * config.sub: Update to version 2011-10-29 (added rl78) · a4cb2380
      dj authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180758 138bc75d-0d04-0410-961f-82ee72b054a4
      a4cb2380
    • redi's avatar
      * include/std/future (promise): Add constructors for uses-allocator · b9778b33
      redi authored
      	construction from rvalue promise.
      	(packaged_task): Implement LWG 2067. Add additional constructors for
      	uses-allocator construction.
      	* testsuite/30_threads/packaged_task/cons/3.cc: New.
      	* testsuite/30_threads/packaged_task/cons/alloc2.cc: New.
      	* testsuite/30_threads/promise/cons/alloc2.cc: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180757 138bc75d-0d04-0410-961f-82ee72b054a4
      b9778b33
    • gccadmin's avatar
      Daily bump. · 8d9b019f
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180756 138bc75d-0d04-0410-961f-82ee72b054a4
      8d9b019f
  2. 01 Nov, 2011 8 commits