Skip to content
Snippets Groups Projects
  1. Jan 17, 2017
    • Jonathan Wakely's avatar
      PR69699 document why __GLIBCXX__ macro is useless · c6b8b5e4
      Jonathan Wakely authored
      	PR libstdc++/69699
      	* doc/xml/manual/abi.xml (abi.versioning.history): Explain why the
      	_GLIBCXX__ macro is not useful. Remove redundant date information
      	and link to the GCC release timeline.
      	(abi.versioning.active): Move partial sentence into the previous
      	paragraph.
      	* doc/html/*: Regenerate.
      
      From-SVN: r244532
      c6b8b5e4
    • Jonathan Wakely's avatar
      PR79114 use decayed type in std::throw_with_nested assertion · 04c872aa
      Jonathan Wakely authored
      	PR libstdc++/79114
      	* libsupc++/nested_exception.h (throw_with_nested): Use decay instead
      	of remove_reference.
      	* testsuite/18_support/nested_exception/79114.cc: New test.
      
      From-SVN: r244531
      04c872aa
    • Martin Liska's avatar
      Fix wrong assumption in contains_type_p (PR ipa/71207). · 4f197ff9
      Martin Liska authored
      2017-01-17  Martin Liska  <mliska@suse.cz>
      
      	PR ipa/71207
      	* g++.dg/ipa/pr71207.C: New test.
      2017-01-17  Martin Liska  <mliska@suse.cz>
      
      	PR ipa/71207
      	* ipa-polymorphic-call.c (contains_type_p): Fix wrong
      	assumption and add comment.
      
      From-SVN: r244530
      4f197ff9
    • Nathan Sidwell's avatar
      ipa-visibility.c (localize_node): New function, broken out of ... · 408de159
      Nathan Sidwell authored
      	* ipa-visibility.c (localize_node): New function, broken out of	...
      	(function_and_variable_visibility): ... here. Call it.
      
      From-SVN: r244529
      408de159
    • Jan Hubicka's avatar
      re PR tree-optimization/77445 (Performance drop after r239219 on coremark test) · d4193b85
      Jan Hubicka authored
      	PR middle-end/77445
      	* tree-ssa-threadupdate.c (remove_ctrl_stmt_and_useless_edges):
      	correctly set frequency of oudgoing edge.
      	(duplicate_thread_path): Fix profile updating.
      	* gcc.dg/tree-ssa/pr77445-2.c: New testcase.
      	* gcc.dg/tree-ssa/pr77445.c: New testcase.
      
      From-SVN: r244528
      d4193b85
    • Jakub Jelinek's avatar
      ssa-dse-2.C (size_t): Typedef to __SIZE_TYPE__ rather than long unsigned int. · 906e7712
      Jakub Jelinek authored
      	* g++.dg/tree-ssa/ssa-dse-2.C (size_t): Typedef to __SIZE_TYPE__
      	rather than long unsigned int.
      	* g++.dg/tree-ssa/ssa-dom.C: Likewise.
      
      From-SVN: r244527
      906e7712
    • Jakub Jelinek's avatar
      hsa.h: Add GCC runtime library exception. · d190d5c0
      Jakub Jelinek authored
      	* plugin/hsa.h: Add GCC runtime library exception.
      	* plugin/hsa_ext_finalize.h: Likewise.
      
      From-SVN: r244523
      d190d5c0
    • Jakub Jelinek's avatar
      configfrag.ac: For --without-cuda-driver don't initialize CUDA_DRIVER_INCLUDE nor CUDA_DRIVER_LIB. · 2393d337
      Jakub Jelinek authored
      	* plugin/configfrag.ac: For --without-cuda-driver don't initialize
      	CUDA_DRIVER_INCLUDE nor CUDA_DRIVER_LIB.  If both
      	CUDA_DRIVER_INCLUDE and CUDA_DRIVER_LIB are empty and linking small
      	cuda program fails, define PLUGIN_NVPTX_DYNAMIC to 1 and use
      	plugin/include/cuda as include dir and -ldl instead of -lcuda as
      	library to link ptx plugin against.
      	* plugin/plugin-nvptx.c: Include dlfcn.h if PLUGIN_NVPTX_DYNAMIC.
      	(CUDA_CALLS): Define.
      	(cuda_lib, cuda_lib_inited): New variables.
      	(init_cuda_lib): New function.
      	(CUDA_CALL_PREFIX): Define.
      	(CUDA_CALL_ERET, CUDA_CALL_ASSERT): Use CUDA_CALL_PREFIX.
      	(CUDA_CALL): Use FN instead of (FN).
      	(CUDA_CALL_NOCHECK): Define.
      	(cuda_error, fini_streams_for_device, select_stream_for_async,
      	nvptx_attach_host_thread_to_device, nvptx_open_device, link_ptx,
      	event_gc, nvptx_exec, nvptx_async_test, nvptx_async_test_all,
      	nvptx_wait_all, nvptx_set_clocktick, GOMP_OFFLOAD_unload_image,
      	nvptx_stacks_alloc, nvptx_stacks_free, GOMP_OFFLOAD_run): Use
      	CUDA_CALL_NOCHECK.
      	(nvptx_init): Call init_cuda_lib, if it fails, return false.  Use
      	CUDA_CALL_NOCHECK.
      	(nvptx_get_num_devices): Call init_cuda_lib, if it fails, return 0.
      	Use CUDA_CALL_NOCHECK.
      	* plugin/cuda/cuda.h: New file.
      	* config.h.in: Regenerated.
      	* configure: Regenerated.
      
      From-SVN: r244522
      2393d337
    • Jakub Jelinek's avatar
      re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) · 3c36aa6b
      Jakub Jelinek authored
      	PR other/79046
      	* configure: Regenerated.
      config/
      	* acx.m4 (GCC_BASE_VER): New m4 function.
      	(ACX_TOOL_DIRS): Require GCC_BASE_VER, for
      	--with-gcc-major-version-only use just major number from BASE-VER.
      gcc/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
      	version from BASE-VER file.
      	(CFLAGS-gcc.o): Add -DBASEVER=$(BASEVER_s).
      	(gcc.o): Depend on $(BASEVER).
      	* common.opt (dumpfullversion): New option.
      	* gcc.c (driver_handle_option): Handle OPT_dumpfullversion.
      	* doc/invoke.texi: Document -dumpfullversion.
      	* doc/install.texi: Document --with-gcc-major-version-only.
      	* configure: Regenerated.
      libatomic/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libgomp/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libgcc/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
      	version from BASE-VER file.
      	* configure: Regenerated.
      libssp/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      liboffloadmic/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* aclocal.m4: Include ../config/acx.m4.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libquadmath/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libmpx/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libada/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
      	version from BASE-VER file.
      	* configure: Regenerated.
      lto-plugin/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libitm/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      fixincludes/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      libcilkrts/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* aclocal.m4: Include ../config/acx.m4.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libcc1/
      	* configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
      	use just major number from BASE-VER.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libobjc/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      libstdc++-v3/
      	* configure.ac: Add GCC_BASE_VER.
      	* fragment.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* po/Makefile.in: Regenerated.
      	* libsupc++/Makefile.in: Regenerated.
      	* testsuite/Makefile.in: Regenerated.
      	* src/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      	* include/Makefile.in: Regenerated.
      	* doc/Makefile.in: Regenerated.
      	* python/Makefile.in: Regenerated.
      	* src/c++11/Makefile.in: Regenerated.
      	* src/c++98/Makefile.in: Regenerated.
      	* src/filesystem/Makefile.in: Regenerated.
      libvtv/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libsanitizer/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* libbacktrace/Makefile.in: Regenerated.
      	* interception/Makefile.in: Regenerated.
      	* asan/Makefile.in: Regenerated.
      	* ubsan/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* sanitizer_common/Makefile.in: Regenerated.
      	* lsan/Makefile.in: Regenerated.
      	* Makefile.in: Regenerated.
      	* tsan/Makefile.in: Regenerated.
      libgfortran/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      
      From-SVN: r244521
      3c36aa6b
    • Richard Biener's avatar
      re PR tree-optimization/71433 (-Warray-bounds false positive with -O2) · 12314dc9
      Richard Biener authored
      2017-01-17  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/71433
      	* tree-vrp.c (register_new_assert_for): Merge same asserts
      	on all incoming edges.
      	(process_assert_insertions_for): Handle insertions at the
      	beginning of BBs.
      
      	* gcc.dg/Warray-bounds-20.c: New testcase.
      
      From-SVN: r244520
      12314dc9
    • Richard Biener's avatar
      re PR testsuite/52563 (FAIL: gcc.dg/tree-ssa/scev-[3,4].c scan-tree-dump-times optimized "&a" 1) · a23e48df
      Richard Biener authored
      2017-01-17  Richard Biener  <rguenther@suse.de>
      
      	PR testsuite/52563
      	PR testsuite/71237
      	PR testsuite/77737
      	* gcc.dg/tree-ssa/scev-3.c: Re-write to a GIMPLE testcase for IVOPTs.
      	* gcc.dg/tree-ssa/scev-4.c: Likewise.
      	* gcc.dg/tree-ssa/scev-5.c: Likewise.
      
      From-SVN: r244519
      a23e48df
    • Gerald Pfeifer's avatar
      gcc_update: Remove entries related to GCJ and libgcj. · b2bcb1b3
      Gerald Pfeifer authored
      	* gcc_update: Remove entries related to GCJ and libgcj.
      	Complete copyright years and adjust my e-mail address.
      
      From-SVN: r244518
      b2bcb1b3
    • Gerald Pfeifer's avatar
      cygwin.h (LIBGCJ_SONAME): Remove. · 4b1a89aa
      Gerald Pfeifer authored
      	* config/i386/cygwin.h (LIBGCJ_SONAME): Remove.
      	* config/i386/mingw32.h (LIBGCJ_SONAME): Remove.
      
      From-SVN: r244517
      4b1a89aa
    • Kaz Kojima's avatar
      re PR target/78633 ([SH] libgcc/fp-bit.c:944:1: error: invalid rtl sharing found in the insn) · d27c8bec
      Kaz Kojima authored
      	PR target/78633
      	* config/sh/sh.md (cmpeqsi_t+1): Call copy_rtx to avoid invalid
      	RTL sharing.
      
      From-SVN: r244516
      d27c8bec
    • Alan Modra's avatar
      PR79066, non-PIC code generated for powerpc glibc with -fpic · e6750e5c
      Alan Modra authored
      	PR target/79066
      	* config/rs6000/rs6000.md (elf_high, elf_low): Disable when pic.
      	* config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Don't allow
      	symbolic stack limit when pic.
      testsuite/
      	* gcc.target/powerpc/pr79066.c: New.
      
      From-SVN: r244515
      e6750e5c
    • GCC Administrator's avatar
      Daily bump. · 86b957ca
      GCC Administrator authored
      From-SVN: r244514
      86b957ca
    • Martin Sebor's avatar
      PR tree-optimization/78608 - gimple-ssa-sprintf.c:570:17: runtime error:... · 209042e6
      Martin Sebor authored
      PR tree-optimization/78608 - gimple-ssa-sprintf.c:570:17: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'
      
      gcc/ChangeLog:
      	* gimple-ssa-sprintf.c (tree_digits): Avoid negating TYPE_MIN.
      
      From-SVN: r244511
      209042e6
  2. Jan 16, 2017
    • Jeff Law's avatar
      revert: Makefile.in (PREPROCESSOR_DEFINES): Add a level of indirection for... · 26830c2f
      Jeff Law authored
      revert: Makefile.in (PREPROCESSOR_DEFINES): Add a level of indirection for several include directories that may be relative...
      
      	Revert:
      	2016-12-02  Tadek Kijkowski  <tkijkowski@gmail.com>
              * Makefile.in (PREPROCESSOR_DEFINES): Add a level of indirection
              for several include directories that may be relative to sysroot.
              * config/i386/x-mingw32 (gplus_includedir): Define.
              (gplus_tool_includedir, gplus_backward_include_dir): Likewise.
              (native_system_includedir): Likewise.
              * config/i386/mingw32.h (STANDARD_STARTFILE_PREFIX_1): Do not
              override if TARGET_SYSTEM_ROOT is defined.
              (NATIVE_SYSTEM_HEADER_DIR): Likewise.
      
      From-SVN: r244510
      26830c2f
    • Jeff Law's avatar
      re PR tree-optimization/79090 (DSE wrongly removes store at variable offset) · a59afbe2
      Jeff Law authored
      2017-01-16  Jeff Law  <law@redhat.com>
      
      	PR tree-optimization/79090
      	PR tree-optimization/33562
      	PR tree-optimization/61912
      	PR tree-optimization/77485
      	* tree-ssa-dse.c (compute_trims): Accept STMT argument.  Dump STMT
      	and computed trims into the dump file.
      
      	PR tree-optimization/79090
      	PR tree-optimization/33562
      	PR tree-optimization/61912
      	PR tree-optimization/77485
      	* tree-ssa-dse.c (compute_trims): Accept STMT argument.  Dump STMT
      	and computed trims into the dump file.
      
      From-SVN: r244509
      a59afbe2
    • Uros Bizjak's avatar
      i386.h (LIMIT_RELOAD_CLASS): Remove. · af995bf0
      Uros Bizjak authored
      	* config/i386/i386.h (LIMIT_RELOAD_CLASS): Remove.
      
      From-SVN: r244508
      af995bf0
    • Jakub Jelinek's avatar
      re PR middle-end/79089 (error: incorrect sharing of tree nodes) · 98e92fb2
      Jakub Jelinek authored
      	PR c/79089
      	* gimplify.c (gimplify_init_constructor): If want_value and
      	object == lhs, unshare lhs to avoid invalid tree sharing.  Formatting
      	fix.
      
      	* gcc.c-torture/compile/pr79089.c: New test.
      
      From-SVN: r244507
      98e92fb2
    • Jakub Jelinek's avatar
      re PR target/79080 (ICE: internal consistency failure (error: invalid rtl... · e1bcfb92
      Jakub Jelinek authored
      re PR target/79080 (ICE: internal consistency failure (error: invalid rtl sharing found in the insn) (error: shared rtx))
      
      	PR target/79080
      	* loop-doloop.c (doloop_modify): Call unshare_all_rtl_in_chain on
      	sequence.  Formatting fixes.
      	(doloop_optimize): Formatting fixes.
      
      	* gcc.dg/pr79080.c: New test.
      
      From-SVN: r244506
      e1bcfb92
    • Jakub Jelinek's avatar
      re PR driver/49726 (-g0 file.S -g does not produce debug info) · 1c70261c
      Jakub Jelinek authored
      	PR driver/49726
      	* gcc.c (debug_level_greater_than_spec_func): New function.
      	(static_spec_functions): Add debug-level-gt spec function.
      	(ASM_DEBUG_SPEC, cpp_options): Use %:debug-level-gt(0) instead of
      	!g0.
      	* config/darwin.h (DSYMUTIL_SPEC, ASM_DEBUG_SPEC): Likewise.
      	* config/darwin9.h (DSYMUTIL_SPEC, ASM_DEBUG_SPEC): Likewise.
      	* common.opt (g, gcoff, gdwarf, gdwarf-, ggdb, gno-pubnames,
      	gpubnames, ggnu-pubnames, gno-record-gcc-switches,
      	grecord-gcc-switches, gno-strict-dwarf, gstrict-dwarf, gstabs,
      	gstabs+, gtoggle, gvms, gxcoff, gxcoff+): Add Driver flag.
      c-family/
      	* c.opt (gen-decls): Add Driver flag.
      ada/
      	* gcc-interface/lang.opt (gant, gnatO, gnat): Add Driver flag.
      
      From-SVN: r244505
      1c70261c
    • Uros Bizjak's avatar
      i386.h (HARD_REGNO_CALLER_SAVE_MODE): Apply HImode and QImode fixups to... · a60c3351
      Uros Bizjak authored
      i386.h (HARD_REGNO_CALLER_SAVE_MODE): Apply HImode and QImode fixups to general and mask registers only.
      
      	* config/i386/i386.h (HARD_REGNO_CALLER_SAVE_MODE): Apply HImode and
      	QImode fixups to general and mask registers only.
      
      From-SVN: r244504
      a60c3351
    • Joseph Myers's avatar
      * sv.po: Update. · 05c6bc14
      Joseph Myers authored
      From-SVN: r244503
      05c6bc14
    • David Malcolm's avatar
      Fix testcases for PR c/78304 · 0ef1f9cd
      David Malcolm authored
      The testcases as written made assumptions about size_t and long
      being invalid for use with "%u".
      
      We only need some invalid type, so this patch converts them to
      attempt a "const char *" with "%u", which should be invalid for
      every target.
      
      gcc/testsuite/ChangeLog:
      	PR c/78304
      	* gcc.dg/format/pr78304.c: Convert argument from integral type
      	to a pointer.
      	* gcc.dg/format/pr78304-2.c: Likewise.
      
      From-SVN: r244502
      0ef1f9cd
    • Carl Love's avatar
      rs6000-c (altivec_overloaded_builtins): Add support for built-in functions... · 76689ffc
      Carl Love authored
      rs6000-c (altivec_overloaded_builtins): Add support for built-in functions vector signed char vec_nabs (vector signed...
      
      gcc/ChangeLog:
      
      2017-01-16  Carl Love  <cel@us.ibm.com>
      
      	* config/rs6000/rs6000-c (altivec_overloaded_builtins): Add support
      	for built-in functions
      	vector signed char vec_nabs (vector signed char)
      	vector signed short vec_nabs (vector signed short)
      	vector signed int vec_nabs (vector signed int)
      	vector signed long long vec_nabs (vector signed long long)
      	vector float vec_nabs (vector float)
      	vector double vec_nabs (vector double)
      	* config/rs6000/rs6000-builtin.def: Add definitions for NABS functions
      	and NABS overload.
      	* config/rs6000/altivec.md: New define_expand nabs<mode>2 types
      	* config/rs6000/altivec.h: New define for vec_nabs built-in function.
      	* doc/extend.texi: Update the documentation file for the new built-in
      	functions.
      
      gcc/testsuite/ChangeLog:
      
      2017-01-16  Carl Love  <cel@us.ibm.com>
      
      	* gcc.target/powerpc/builtins-3.c: New vec_nabs testcase.
      	* gcc.target/powerpc/builtins-3-p8.c: New vec_nabs testcase.
      
      From-SVN: r244501
      76689ffc
    • Martin Sebor's avatar
      gimple-ssa-sprintf.c (format_directive): Correct a typo in a warning message. · 1a413677
      Martin Sebor authored
      gcc/ChangeLog:
      	* gimple-ssa-sprintf.c (format_directive): Correct a typo in a warning
      	message.
      
      From-SVN: r244500
      1a413677
    • Carl Love's avatar
      builtins-3-p9.c (test_ne_long()): Change arguments and return type to bool long long. · ce12ee9e
      Carl Love authored
      gcc/testsuite/ChangeLog:
      
      2017-01-16 Carl Love  <cel@us.ibm.com>
      
      	* gcc.target/powerpc/builtins-3-p9.c (test_ne_long()):
      	Change arguments and return type to bool long long.
      
      From-SVN: r244499
      ce12ee9e
    • Jonathan Wakely's avatar
      PR66145 use new ABI for std::ios::failure exceptions · 83291b8b
      Jonathan Wakely authored
      	PR libstdc++/66145
      	* src/c++11/functexcept.cc: Use new ABI for std::ios_base::failure
      	exceptions.
      	* testsuite/27_io/basic_ios/copyfmt/char/1.cc: Don't override ABI
      	for test, so new ios::failure can be caught.
      	* testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/
      	exceptions_failbit.cc: Likewise.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
      	exceptions_failbit.cc: Likewise.
      	* testsuite/27_io/basic_istream/extractors_other/char/
      	exceptions_null.cc: Likewise.
      	* testsuite/27_io/basic_istream/extractors_other/wchar_t/
      	exceptions_null.cc: Likewise.
      	* testsuite/27_io/basic_istream/sentry/char/12297.cc: Likewise.
      	* testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
      	* testsuite/27_io/basic_ostream/inserters_other/char/
      	exceptions_null.cc: Likewise.
      	* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
      	exceptions_null.cc: Likewise.
      	* testsuite/27_io/ios_base/storage/2.cc: Likewise.
      
      From-SVN: r244498
      83291b8b
    • Martin Sebor's avatar
      PR testsuite/79051 - FAIL: gcc.dg/attr-alloc_size-4.c (test for warnings, line 140) · b336037d
      Martin Sebor authored
      gcc/testsuite/ChangeLog:
      	* gcc.dg/attr-alloc_size-4.c: Avoid exercising a test case except
      	on x86.
      
      From-SVN: r244497
      b336037d
    • Paolo Carlini's avatar
      revert: re PR c++/71737 (ICE following 2x pack expansion in non-pack with template alias) · 1ddca3f3
      Paolo Carlini authored
      /c-family
      2017-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	Revert:
           	2017-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/71737
      	* c-common.c (set_underlying_type): Always set DECL_ORIGINAL_TYPE.
      
      /testsuite
      2017-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	Revert:
              2017-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/71737
      	* g++.dg/cpp0x/pr71737.C: New.
      
      From-SVN: r244496
      1ddca3f3
    • Bill Schmidt's avatar
      rs6000.c (rtx_is_swappable_p): Change UNSPEC_VSX__XXSPLTD to require special splat handling. · 290687fb
      Bill Schmidt authored
      [gcc]
      
      2017-01-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	* config/rs6000/rs6000.c (rtx_is_swappable_p): Change
      	UNSPEC_VSX__XXSPLTD to require special splat handling.
      
      [gcc/testsuite]
      
      2017-01-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	* gcc.target/powerpc/swaps-p8-27.c: New.
      
      From-SVN: r244495
      290687fb
    • David Malcolm's avatar
      system.h: Poison strndup (PR bootstrap/78616) · 436afa16
      David Malcolm authored
      gcc/ChangeLog:
      	PR bootstrap/78616
      	* system.h: Poison strndup.
      
      From-SVN: r244494
      436afa16
    • Jonathan Wakely's avatar
      PR78702 fix accessibility of locale::facet::__shim · b497fbc1
      Jonathan Wakely authored
      	PR libstdc++/78702
      	* include/bits/locale_classes.h (locale::facet::__shim): Change from
      	private to protected.
      	* src/c++11/cxx11-shim_facets.cc (__shim_accessor): Define helper to
      	make locale::facet::__shim accessible.
      
      From-SVN: r244491
      b497fbc1
    • Ville Voutilainen's avatar
      PR libstdc++/78389 fix backwards size adjustments. · 53426b63
      Ville Voutilainen authored
      PR libstdc++/78389
      * include/bits/list.tcc (merge(list&&)): Fix backwards size adjustments.
      (merge(list&&, _StrictWeakOrdering)): Likewise.
      * testsuite/23_containers/list/operations/78389.cc: Add
      better test for the sizes.
      
      From-SVN: r244490
      53426b63
    • Alan Modra's avatar
      Powerpc bootstrap failure due to duplicate case value · 7cefdfd5
      Alan Modra authored
      	PR target/79098
      	* config/rs6000/rs6000.c (rs6000_legitimate_combined_insn): Don't
      	use a switch.
      
      From-SVN: r244489
      7cefdfd5
    • Georg-Johann Lay's avatar
      avr.h (BRANCH_COST): Increase by 4. · 1bcd0192
      Georg-Johann Lay authored
      gcc/
      	* config/avr/avr.h (BRANCH_COST) [reload_completed]: Increase by 4.
      
      From-SVN: r244488
      1bcd0192
    • Richard Biener's avatar
      re PR tree-optimization/77283 (Revision 238005 disables loop unrolling) · a99ce94c
      Richard Biener authored
      2017-01-13  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/77283
      	* gimple-ssa-split-paths.c: Include gimple-ssa.h, tree-phinodes.h
      	and ssa-iterators.h.
      	(is_feasible_trace): Implement a cost model based on joiner
      	PHI node uses.
      
      	* gcc.dg/tree-ssa/split-path-7.c: Adjust.
      	* gcc.dg/tree-ssa/split-path-8.c: New testcase.
      	* gcc.dg/tree-ssa/split-path-9.c: Likewise.
      
      From-SVN: r244487
      a99ce94c
    • Paolo Carlini's avatar
      re PR c++/71737 (ICE following 2x pack expansion in non-pack with template alias) · 7d2f3f1d
      Paolo Carlini authored
      /c-family
      2017-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/71737
      	* c-common.c (set_underlying_type): Always set DECL_ORIGINAL_TYPE.
      
      /testsuite
      2017-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/71737
      	* g++.dg/cpp0x/pr71737.C: New.
      
      From-SVN: r244486
      7d2f3f1d
Loading