1. 13 May, 2015 40 commits
    • alloc_traits.h (_S_max_size): Implement LWG 2466. · 32e6a60e
      	* include/bits/alloc_traits.h (_S_max_size): Implement LWG 2466.
      	* testsuite/20_util/allocator_traits/members/max_size.cc: Adjust.
      	* testsuite/23_containers/forward_list/allocator/minimal.cc:
      	Likewise.
      	* testsuite/23_containers/map/allocator/minimal.cc: Likewise.
      	* testsuite/23_containers/multimap/allocator/minimal.cc: Likewise.
      	* testsuite/23_containers/multiset/allocator/minimal.cc: Likewise.
      	* testsuite/23_containers/set/allocator/minimal.cc: Likewise.
      	* testsuite/23_containers/unordered_map/allocator/minimal.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_multimap/allocator/minimal.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_multiset/allocator/minimal.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_set/allocator/minimal.cc:
      	Likewise.
      	* testsuite/util/testsuite_allocator.h: Remove unused parameter.
      
      From-SVN: r223154
      Jonathan Wakely committed
    • libcpp: Replace macro usage with C++ constructs · 0501dbd9
      libcpp/ChangeLog:
      	* include/line-map.h (MAX_SOURCE_LOCATION): Convert from a macro
      	to a const source_location.
      	(RESERVED_LOCATION_COUNT): Likewise.
      	(linemap_check_ordinary): Convert from a macro to a pair of inline
      	functions, for const/non-const arguments.
      	(MAP_START_LOCATION): Likewise.
      	(ORDINARY_MAP_STARTING_LINE_NUMBER): Likewise.
      	(ORDINARY_MAP_INCLUDER_FILE_INDEX): Likewise.
      	(ORDINARY_MAP_IN_SYSTEM_HEADER_P): Likewise.
      	(ORDINARY_MAP_NUMBER_OF_COLUMN_BITS): Convert from a macro to a
      	pair of inline functions, for const/non-const arguments, where the
      	latter is named...
      	(SET_ORDINARY_MAP_NUMBER_OF_COLUMN_BITS): New function.
      	(ORDINARY_MAP_FILE_NAME): Convert from a macro to a pair of inline
      	functions, for const/non-const arguments.
      	(MACRO_MAP_MACRO): Likewise.
      	(MACRO_MAP_NUM_MACRO_TOKENS): Likewise.
      	(MACRO_MAP_LOCATIONS): Likewise.
      	(MACRO_MAP_EXPANSION_POINT_LOCATION): Likewise.
      	(LINEMAPS_MAP_INFO): Likewise.
      	(LINEMAPS_MAPS): Likewise.
      	(LINEMAPS_ALLOCATED): Likewise.
      	(LINEMAPS_USED): Likewise.
      	(LINEMAPS_CACHE): Likewise.
      	(LINEMAPS_ORDINARY_CACHE): Likewise.
      	(LINEMAPS_MACRO_CACHE): Likewise.
      	(LINEMAPS_MAP_AT): Convert from a macro to an inline function.
      	(LINEMAPS_LAST_MAP): Likewise.
      	(LINEMAPS_LAST_ALLOCATED_MAP): Likewise.
      	(LINEMAPS_ORDINARY_MAPS): Likewise.
      	(LINEMAPS_ORDINARY_MAP_AT): Likewise.
      	(LINEMAPS_ORDINARY_ALLOCATED): Likewise.
      	(LINEMAPS_ORDINARY_USED): Likewise.
      	(LINEMAPS_LAST_ORDINARY_MAP): Likewise.
      	(LINEMAPS_LAST_ALLOCATED_ORDINARY_MAP): Likewise.
      	(LINEMAPS_MACRO_MAPS): Likewise.
      	(LINEMAPS_MACRO_MAP_AT): Likewise.
      	(LINEMAPS_MACRO_ALLOCATED): Likewise.
      	(LINEMAPS_MACRO_USED): Likewise.
      	(LINEMAPS_MACRO_LOWEST_LOCATION): Likewise.
      	(LINEMAPS_LAST_MACRO_MAP): Likewise.
      	(LINEMAPS_LAST_ALLOCATED_MACRO_MAP): Likewise.
      	(IS_ADHOC_LOC): Likewise.
      	(COMBINE_LOCATION_DATA): Likewise.
      	(SOURCE_LINE): Likewise.
      	(SOURCE_COLUMN): Likewise.
      	(LAST_SOURCE_LINE_LOCATION): Likewise.
      	(LAST_SOURCE_LINE): Likewise.
      	(LAST_SOURCE_COLUMN): Likewise.
      	(LAST_SOURCE_LINE_LOCATION)
      	(INCLUDED_FROM): Likewise.
      	(MAIN_FILE_P): Likewise.
      	(LINEMAP_FILE): Likewise.
      	(LINEMAP_LINE): Likewise.
      	(LINEMAP_SYSP): Likewise.
      	(linemap_location_before_p): Likewise.
      	* line-map.c (linemap_check_files_exited): Make local "map" const.
      	(linemap_add): Use SET_ORDINARY_MAP_NUMBER_OF_COLUMN_BITS.
      	(linemap_line_start): Likewise.
      
      From-SVN: r223152
      David Malcolm committed
    • zlib: Bump to automake 1.11.6 · 39ba2a0e
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      
      From-SVN: r223151
      Michael Haubenwallner committed
    • lto-plugin: Bump to automake 1.11.6 · ed9b4ae3
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.am: Drop 'by automake version' from top-level comment.
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      
      From-SVN: r223150
      Michael Haubenwallner committed
    • libvtv: Bump to automake 1.11.6 · 6cfc0812
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* testsuite/Makefile.in: Likewise.
      	* testsuite/other-tests/Makefile.in: Likewise.
      
      From-SVN: r223149
      Michael Haubenwallner committed
    • libquadmath: Bump to automake 1.11.6 · 5d79f496
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      
      From-SVN: r223148
      Michael Haubenwallner committed
    • libobjc: Bump to automake 1.11.6 · 2394528d
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* aclocal.m4: Regenerated with automake-1.11.6.
      
      From-SVN: r223147
      Michael Haubenwallner committed
    • combine.c (simplify_set): When generating a CC set... · 313b2cc0
      	* combine.c (simplify_set): When generating a CC set, if the
      	source already is in the correct mode, do not wrap it in a
      	compare.  Simplify the rest of that code.
      
      From-SVN: r223146
      Segher Boessenkool committed
    • libmpx: Bump to automake 1.11.6 · a540dfab
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* mpxrt/Makefile.in: Likewise.
      	* mpxwrap/Makefile.in: Likewise.
      
      From-SVN: r223145
      Michael Haubenwallner committed
    • libitm: Bump to automake 1.11.6 · 503902f9
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r223144
      Michael Haubenwallner committed
    • libgomp: Bump to automake 1.11.6 · 55fba601
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* config.h.in: Likewise.
      	* configure: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r223143
      Michael Haubenwallner committed
    • libffi: Bump to automake 1.11.6 · 11989ec2
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* fficonfig.h.in: Likewise.
      	* include/Makefile.in: Likewise.
      	* man/Makefile.in: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r223142
      Michael Haubenwallner committed
    • libssp: Bump to automake 1.11.6 · d106c85d
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      
      From-SVN: r223141
      Michael Haubenwallner committed
    • libsanitizer: Bump to automake 1.11.6 · f3915b42
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* asan/Makefile.in: Likewise.
      	* configure: Likewise.
      	* interception/Makefile.in: Likewise.
      	* libbacktrace/Makefile.in: Likewise.
      	* lsan/Makefile.in: Likewise.
      	* sanitizer_common/Makefile.in: Likewise.
      	* tsan/Makefile.in: Likewise.
      	* ubsan/Makefile.in: Likewise.
      
      From-SVN: r223140
      Michael Haubenwallner committed
    • liboffloadmic: Bump to automake 1.11.6 · 735aacba
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* plugin/Makefile.in: Likewise.
      	* plugin/aclocal.m4: Likewise.
      	* plugin/configure: Likewise.
      
      From-SVN: r223139
      Michael Haubenwallner committed
    • libjava: Bump to automake 1.11.6 · 822ba84a
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* gcj/Makefile.in: Likewise.
      	* include/Makefile.in: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r223138
      Michael Haubenwallner committed
    • libjava/libltdl: Bump to automake 1.11.6 · 7860443b
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      
      From-SVN: r223137
      Michael Haubenwallner committed
    • acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Re-enable on solaris. · 32ff3768
      	* acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Re-enable on solaris.
      	* configure: Regenerate.
      
      From-SVN: r223136
      Jonathan Wakely committed
    • libjava/classpath: Bump to automake 1.11.6 · 7521f823
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	 * Makefile.in: Regenerated with automake-1.11.6.
      	 * aclocal.m4: Likewise.
      	 * configure: Likewise.
      	 * doc/Makefile.in: Likewise.
      	 * doc/api/Makefile.in: Likewise.
      	 * examples/Makefile.in: Likewise.
      	 * external/Makefile.in: Likewise.
      	 * external/jsr166/Makefile.in: Likewise.
      	 * external/relaxngDatatype/Makefile.in: Likewise.
      	 * external/sax/Makefile.in: Likewise.
      	 * external/w3c_dom/Makefile.in: Likewise.
      	 * include/Makefile.in: Likewise.
      	 * lib/Makefile.in: Likewise.
      	 * native/Makefile.in: Likewise.
      	 * native/fdlibm/Makefile.in: Likewise.
      	 * native/jawt/Makefile.in: Likewise.
      	 * native/jni/Makefile.in: Likewise.
      	 * native/jni/classpath/Makefile.in: Likewise.
      	 * native/jni/gconf-peer/Makefile.in: Likewise.
      	 * native/jni/gstreamer-peer/Makefile.in: Likewise.
      	 * native/jni/gtk-peer/Makefile.in: Likewise.
      	 * native/jni/java-io/Makefile.in: Likewise.
      	 * native/jni/java-lang/Makefile.in: Likewise.
      	 * native/jni/java-math/Makefile.in: Likewise.
      	 * native/jni/java-net/Makefile.in: Likewise.
      	 * native/jni/java-nio/Makefile.in: Likewise.
      	 * native/jni/java-util/Makefile.in: Likewise.
      	 * native/jni/midi-alsa/Makefile.in: Likewise.
      	 * native/jni/midi-dssi/Makefile.in: Likewise.
      	 * native/jni/native-lib/Makefile.in: Likewise.
      	 * native/jni/qt-peer/Makefile.in: Likewise.
      	 * native/jni/xmlj/Makefile.in: Likewise.
      	 * native/plugin/Makefile.in: Likewise.
      	 * resource/Makefile.in: Likewise.
      	 * scripts/Makefile.in: Likewise.
      	 * tools/Makefile.in: Likewise.
      
      From-SVN: r223135
      Michael Haubenwallner committed
    • libdecnumber: Bump to automake 1.11.6 · 8f3a6a06
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* aclocal.m4: Regenerated with automake-1.11.6.
      
      From-SVN: r223134
      Michael Haubenwallner committed
    • libcpp: Bump to automake 1.11.6 · eb70f327
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* aclocal.m4: Regenerated with automake-1.11.6.
      
      From-SVN: r223133
      Michael Haubenwallner committed
    • libcilkrts: Bump to automake 1.11.6 · 029b70a7
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      
      From-SVN: r223132
      Michael Haubenwallner committed
    • libcc1: Bump to automake 1.11.6 · 4709a6d2
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      
      From-SVN: r223131
      Michael Haubenwallner committed
    • re PR tree-optimization/66123 (Array of labels as values + ternary operator +… · b56b040c
      re PR tree-optimization/66123 (Array of labels as values + ternary operator + pointer arithmetic = internal compiler error)
      
      2015-05-13  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/66123
      	* tree-ssa-dom.c (propagate_rhs_into_lhs): Check if we found
      	a taken edge.
      
      	* gcc.dg/torture/pr66123.c: New testcase.
      
      From-SVN: r223130
      Richard Biener committed
    • gotools: Bump to automake 1.11.6 · 3211f4c2
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      
      From-SVN: r223129
      Michael Haubenwallner committed
    • libbacktrace: Bump to automake 1.11.6 · df96c0f7
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      
      From-SVN: r223128
      Michael Haubenwallner committed
    • boehm-gc: Bump to automake 1.11.6 · 27f7903a
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* include/Makefile.in: Likewise.
      	* include/gc_config.h.in: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r223127
      Michael Haubenwallner committed
    • re PR middle-end/66110 (uint8_t memory access not optimized) · 2ae1d1b8
      2015-05-13  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/66110
      	* alias.c (alias_sets_conflict_p): Do not treat has_zero_child
      	specially.
      	* Makefile.in (dfp.o-warn): Add -Wno-strict-aliasing.
      
      	* gcc.dg/alias-2.c: Adjust.
      	* gcc.dg/tree-ssa/ssa-dse-17.c: New testcase.
      
      From-SVN: r223126
      Richard Biener committed
    • libstdc++: Bump to automake 1.11.6 · 6ef93676
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* doc/Makefile.in: Likewise.
      	* include/Makefile.in: Likewise.
      	* libsupc++/Makefile.in: Likewise.
      	* po/Makefile.in: Likewise.
      	* python/Makefile.in: Likewise.
      	* src/Makefile.in: Likewise.
      	* src/c++11/Makefile.in: Likewise.
      	* src/c++98/Makefile.in: Likewise.
      	* src/filesystem/Makefile.in: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r223125
      Michael Haubenwallner committed
    • intl: Bump to automake 1.11.6 · 49bfdd59
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* aclocal.m4: Regenerated with automake-1.11.6.
      
      From-SVN: r223124
      Michael Haubenwallner committed
    • fixincludes: Bump to automake 1.11.6 · a4875765
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* aclocal.m4: Regenerated with automake-1.11.6.
      
      From-SVN: r223123
      Michael Haubenwallner committed
    • gcc: Bump to automake 1.11.6 · 29910c86
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* doc/install.texi: Bump latest automake 1.11 version to 1.11.6.
      	* aclocal.m4: Regenerated with automake-1.11.6.
      
      From-SVN: r223122
      Michael Haubenwallner committed
    • line-map.h: move linemap_assert and friends higher up within the file · 60c12095
      libcpp/ChangeLog:
      	* include/line-map.h (linemap_assert): Move up within the file to
      	before all of the map accessor macros.
      	(linemap_assert_fails): Likewise.
      	(linemap_check_ordinary): Likewise.
      	(linemap_macro_expansion_map_p): Likewise.
      
      From-SVN: r223121
      David Malcolm committed
    • Gimplify va_arg ap based on do_deref · fcd424ce
      2015-05-13  Tom de Vries  <tom@codesourcery.com>
      
      	PR tree-optimization/66010
      	* gimplify.h (gimplify_va_arg_internal): Remove declaration.
      	* gimplify.c (gimplify_va_arg_internal): Remove and inline into ...
      	* tree-stdarg.c (expand_ifn_va_arg_1): ... here.  Choose between lval
      	and rval based on do_deref.
      
      From-SVN: r223120
      Tom de Vries committed
    • re PR target/65103 ([i386] GOTOFF relocation is not propagated into address expression) · 7947dd0b
      gcc/
      
      	PR target/65103
      	* config/i386/i386.c (ix86_rtx_costs): We want to propagate
      	link time constants into adress expressions and therefore set
      	their cost to 0.
      
      gcc/testsuite/
      
      	PR target/65103
      	* gcc.target/i386/pr65103-3.c: New.
      
      From-SVN: r223119
      Ilya Enkovich committed
    • Fix test case. · f27127ce
      	* g++.dg/ipa/pr65557.C: Remove unnecessary dump flag.
      
      From-SVN: r223118
      Martin Liska committed
    • re PR target/66112 (__builtin_mul_overflow for int16_t emits poor code) · 3d2def23
      	PR target/66112
      	* config/i386/i386.md (mulv<mode>4, umulv<mode>4, *umulv<mode>4):
      	Use SWI248 iterator instead of SWI.
      	(*mulv<mode>4_1): Use SWI48 instead of SWI.  Simplify output template.
      	Use eq_attr "alternative" "0" instead of match_test in
      	length_immediate attribute computation.
      	(*mulvhi4, *mulvhi4_1): New define_insns.
      
      	* gcc.target/i386/pr66112-2.c: New test.
      
      From-SVN: r223116
      Jakub Jelinek committed
    • re PR target/66112 (__builtin_mul_overflow for int16_t emits poor code) · c1ee2e62
      	PR target/66112
      	* internal-fn.c (get_min_precision): Use UNSIGNED instead of
      	SIGNED to get precision of non-negative value.
      
      	* gcc.target/i386/pr66112-1.c: New test.
      
      From-SVN: r223115
      Jakub Jelinek committed
    • re PR rtl-optimization/66048 ([i386] ICE in create_pre_exit when both AVX and MPX are used) · e9ae68af
      gcc/
      
      	PR target/66048
      	* function.c (diddle_return_value_1): Process bounds first.
      	* config/i38/i386.c (ix86_function_value_regno_p): Add bnd1
      	register.
      
      gcc/testsuite/
      
      	PR target/66048
      	* gcc.target/i386/mpx/pr66048.cc: New.
      
      From-SVN: r223114
      Ilya Enkovich committed
    • re PR rtl-optimization/64616 (Redundant ldr when accessing var inside and outside a loop) · aa953e2f
      2015-05-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
          gcc/
          PR rtl-optimization/64616
          * loop-invariant.c (can_move_invariant_reg): New.
          (move_invariant_reg): Call above new function to decide whether
          instruction can just be moved, skipping creation of temporary
          register.
      
          gcc/testsuite/
          PR rtl-optimization/64616
          * gcc.dg/loop-8.c: New test.
          * gcc.dg/loop-9.c: New test.
      
      From-SVN: r223113
      Thomas Preud'homme committed