Commit Graph

139139 Commits

Author SHA1 Message Date
Tom de Vries f61f7dc5bf backport: re PR testsuite/65940 (g++.dg/other/anon5.C requires dwarf4 support in ld)
2016-08-29  Tom de Vries  <tom@codesourcery.com>

	backport from trunk:
	PR testsuite/65940
	2016-02-01  Uros Bizjak  <ubizjak@gmail.com>

	* g++.dg/other/anon5.C (dg-opetions): Use -gdwarf-2 instead of -g.

From-SVN: r239815
2016-08-29 07:20:03 +00:00
GCC Administrator 68576bfc50 Daily bump.
From-SVN: r239812
2016-08-29 00:16:05 +00:00
Tom de Vries 32483c959a re PR testsuite/77034 (g++.dg/init/elide5.C fails on powerpc64-unknown-linux-gnu with -m32)
2016-08-28  Tom de Vries  <tom@codesourcery.com>

	PR testsuite/77034
	Backported from mainline
	2016-07-25  Jason Merrill  <jason@redhat.com>

	* g++.dg/init/elide5.C (operator new): Use decltype(sizeof(1)) instead
	of unsigned long.

From-SVN: r239811
2016-08-28 22:02:07 +00:00
GCC Administrator 5e8eeac4bf Daily bump.
From-SVN: r239802
2016-08-28 00:16:05 +00:00
GCC Administrator d135215a54 Daily bump.
From-SVN: r239791
2016-08-27 00:16:05 +00:00
Kyrylo Tkachov 09b84ed3b1 [AArch64][GCC 5] Backport Work around for PR target/64971
Backport from mainline
	2016-04-20  Andrew Pinski  <apinski@cavium.com>
	            Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	PR target/64971
	* config/aarch64/aarch64.md (sibcall): Force call
	address to be DImode for ILP32.
	(sibcall_value): Likewise.

	* gcc.c-torture/compile/pr37433-1.c: New testcase.

From-SVN: r239770
2016-08-26 09:37:20 +00:00
GCC Administrator acad930f41 Daily bump.
From-SVN: r239764
2016-08-26 00:16:05 +00:00
Bill Schmidt 0a23c3476b backport: re PR target/72863 (Powerpc64le: redundant swaps when using vec_vsx_ld/st)
[gcc]

2016-08-25  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	Backport from mainline (minus test for POWER9 support)
	2016-08-11  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	PR target/72863
	* vsx.md (vsx_load_<mode>): For P8LE, emit swaps at expand time.
	(vsx_store_<mode>): Likewise.

[gcc/testsuite]

2016-08-25  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	Backport from mainline
	2016-08-11  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	PR target/72863
	* gcc.target/powerpc/pr72863.c: New test.

From-SVN: r239762
2016-08-25 16:12:23 +00:00
Kyrylo Tkachov 9501daabe2 [expr.c] PR middle-end/71700: zero-extend sub-word value when widening constructor element
Backport from mainline
	2016-07-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	PR middle-end/71700
	* expr.c (store_constructor): Mask sign-extended bits when widening
	sub-word constructor element at the start of a word.

	* gcc.c-torture/execute/pr71700.c: New test.

From-SVN: r239754
2016-08-25 09:26:15 +00:00
GCC Administrator fbaa2aa491 Daily bump.
From-SVN: r239749
2016-08-25 00:16:08 +00:00
GCC Administrator 60fe2f23ca Daily bump.
From-SVN: r239724
2016-08-24 00:16:05 +00:00
Jonathan Wakely 2620360b5d * testsuite/23_containers/map/77334.cc: Use dg-options for C++11.
From-SVN: r239703
2016-08-23 15:23:40 +01:00
Jonathan Wakely bbe31563e5 libstdc++/77334 move assign RB trees of non-copyable types
PR libstdc++/77334
	* include/bits/stl_tree.h (_Rb_tree::_M_move_assign): New functions.
	(_Rb_tree::operator=(_Rb_tree&&)): Dispatch to _M_move_assign.
	Include _Compare in noexcept.
	* testsuite/23_containers/map/77334.cc: New test.

From-SVN: r239701
2016-08-23 15:20:50 +01:00
Jonathan Wakely 06ffb5c0b4 Update links to libstdc++ Doxygen pages
* doc/xml/api.xml: Replace hardcoded links for specific versions with
	link to docs for all releases.
	* doc/html/*: Regenerate.

From-SVN: r239697
2016-08-23 13:23:16 +01:00
Jonathan Wakely 235e0cee21 libstdc++/71771 constrain reverse_iterator difference op
* include/bits/stl_iterator.h
	(operator-(reverse_iterator<Iter>, reverse_iterator<Iter>): Constrain
	for C++11 and later.
	* testsuite/24_iterators/reverse_iterator/71771.cc: New test.

From-SVN: r239696
2016-08-23 13:23:11 +01:00
GCC Administrator e153fa109c Daily bump.
From-SVN: r239678
2016-08-23 00:16:05 +00:00
Uros Bizjak 6e0689949b backport: re PR target/76342 (AVX512: _mm512_undefined_epi32() intrinsic missing (incorrectly named _mm512_undefined_si512))
Backport from mainline
	2016-08-14  Uros Bizjak  <ubizjak@gmail.com>

	PR target/76342
	* config/i386/avx512fintrin.h (_mm512_undefined_epi32):
	Renamed from _mm512_undefined_si512.
	(_mm_undefined_si512): New definition.

	Backport from mainline:
	2016-08-09  David Wohlferd  <dw@LimeGreenSocks.com>

	* config/i3836/avx512fintrin.h (_mm512_cvtsepi64_epi32): Remove
	unused variable __O.

	Backport from mainline:
	2016-08-09  Uros Bizjak  <ubizjak@gmail.com>

	PR target/72843
	* config/i386/i386.md (*movtf_internal): Use
	lra_in_progress || reload_completed instead of !can_create_pseudo_p
	in the insn constraint.
	(*movxf_internal): Ditto.
	(*movdf_internal): Ditto.
	(*movsf_internal): Ditto.

testsuite/ChangeLog:

	Backport from mainline
	2016-08-14  Uros Bizjak  <ubizjak@gmail.com>

	PR target/76342
	* gcc.target/i386/pr76342.c: New test.

From-SVN: r239669
2016-08-22 20:57:37 +02:00
GCC Administrator ca877ac948 Daily bump.
From-SVN: r239644
2016-08-22 00:16:05 +00:00
GCC Administrator e3f9b79189 Daily bump.
From-SVN: r239640
2016-08-21 00:16:05 +00:00
GCC Administrator bd4e2c7886 Daily bump.
From-SVN: r239634
2016-08-20 00:16:04 +00:00
GCC Administrator ffed4f0418 Daily bump.
From-SVN: r239601
2016-08-19 00:16:05 +00:00
Oleg Endo 8bdd483f25 backport: re PR target/71338 ([RL78] mulu instruction not used on G10)
gcc/
	Backport from mainline
	2016-06-17  DJ Delorie  <dj@redhat.com>

	PR target/71338
	* config/rl78/rl78-expand.c (umulqihi3): Enable for G10.
	* config/rl78/rl78-virtual.c (umulhi3_shift_virt): Likewise.
	(umulqihi3_virt): Likewise.
	* config/rl78/rl78-real.c (umulhi3_shift_real): Likewise.
	(umulqihi3_real): Likewise.

From-SVN: r239568
2016-08-18 12:14:33 +00:00
GCC Administrator 8b47372000 Daily bump.
From-SVN: r239551
2016-08-18 00:16:05 +00:00
GCC Administrator 0f122ed8de Daily bump.
From-SVN: r239516
2016-08-17 00:16:06 +00:00
Eric Botcazou dc34bb446e * doc/install.texi (*-*-solaris2*): Adjust latest change.
From-SVN: r239501
2016-08-16 12:43:30 +00:00
GCC Administrator a46d246c96 Daily bump.
From-SVN: r239490
2016-08-16 00:16:05 +00:00
Martin Liska 6ad082d373 Fix invalid memory access in gcc.c (driver/72765)
Backported from mainline
	2016-08-15  Martin Liska  <mliska@suse.cz>

	PR driver/72765
	* gcc.c (do_spec_1): Call save_string with the right size.
	(save_string): Do an assert about string we copy.

From-SVN: r239477
2016-08-15 11:20:09 +00:00
Eric Botcazou 6c89f58d24 install.texi (*-*-solaris2*): Fix version number and document requirement on GNU make for building libjava...
* doc/install.texi (*-*-solaris2*): Fix version number and document
	requirement on GNU make for building libjava with the Solaris linker.

From-SVN: r239466
2016-08-15 09:16:49 +00:00
GCC Administrator 4253c29ae0 Daily bump.
From-SVN: r239458
2016-08-15 00:16:05 +00:00
GCC Administrator cf17032748 Daily bump.
From-SVN: r239450
2016-08-14 00:16:05 +00:00
Thomas Koenig ea95d376de backport: re PR fortran/68147 (Potential incorrect code generation for string self-assignment)
2016-08-13  Thomas Koenig  <tkoenig@gcc.gnu.org>

	Backport from trunk
	PR fortran/68147
	* frontend-passes.c (realloc_string_callback): Don't set
	walk_subtrees.

2016-08-13  Thomas Koenig  <tkoenig@gcc.gnu.org>

	Backport from trunk
	* gfortran.dg/realloc_on_assign_26.f90:  New test case.

From-SVN: r239445
2016-08-13 15:04:04 +00:00
GCC Administrator f6509baf6d Daily bump.
From-SVN: r239439
2016-08-13 00:16:04 +00:00
Bernd Edlinger b1fa43b83c backport: re PR tree-optimization/71083 (Unaligned bit-field address when predictive commoning)
2016-08-12  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        Backport from mainline
        2016-08-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR tree-optimization/71083
        * tree-predcom.c (ref_at_iteration): Correctly align the
        reference type.

testsuite:
2016-08-12  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        Backport from mainline
        2016-08-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR tree-optimization/71083
        * gcc.c-torture/execute/pr71083.c: New test.
        * gnat.dg/loop_optimization23.adb: New test.
        * gnat.dg/loop_optimization23_pkg.ads: New test.
        * gnat.dg/loop_optimization23_pkg.adb: New test.

From-SVN: r239424
2016-08-12 18:56:30 +00:00
GCC Administrator a77babffdd Daily bump.
From-SVN: r239398
2016-08-12 00:16:05 +00:00
Jerry DeLisle 4f86e9b1ea backport: re PR libfortran/71123 (Namelist read failure on Windows)
2016-08-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	Backport from trunk
	PR libgfortran/71123
	PR libgfortran/73142
	* io/list_read (eat_spaces): Eat '\r' as part of spaces.

	* gfortran.dg/namelist_90.f: New test.

From-SVN: r239382
2016-08-11 17:28:51 +00:00
Andre Vehreschild e6d4736e4e backport: re PR fortran/72698 (ICE in lhd_incomplete_type_error, at langhooks.c:205)
gcc/testsuite/ChangeLog:

2016-08-11  Andre Vehreschild  <vehre@gcc.gnu.org>

	Backport from trunk:
	PR fortran/72698
	* gfortran.dg/allocate_with_source_20.f03: New test.


gcc/fortran/ChangeLog:

2016-08-11  Andre Vehreschild  <vehre@gcc.gnu.org>

	Backport from trunk:
	PR fortran/72698
	* trans-stmt.c (gfc_trans_allocate): Prevent generating code for
	copy of zero sized string and with it an ICE.

From-SVN: r239353
2016-08-11 09:57:58 +02:00
GCC Administrator 6b908b9f9b Daily bump.
From-SVN: r239349
2016-08-11 00:16:05 +00:00
GCC Administrator 860cd2ed83 Daily bump.
From-SVN: r239312
2016-08-10 00:16:04 +00:00
Thomas Koenig 9d4a16f98b backport: re PR fortran/71795 (Two Bugs in array constructors (optimization))
2016-08-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

	Backport from trunk
	PR fortran/71795
	* frontend-passes.c (combine_array_constructor):  Don't
	do anything if the expression is inside an array iterator.

2016-08-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

	Backport from trunk
	PR fortran/71795
	* gfortran.dg/array_constructor_50.f90:  New test.

From-SVN: r239302
2016-08-09 20:33:00 +00:00
Thomas Koenig 2c6dce924a backport: re PR fortran/69742 (ICE with -O3 and ASSOCIATE containing repeated expression)
2016-08-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

	Backport from trunk
	PR fortran/69742
	* frontend-passes.c (cfe-expr_0):  Don't register functions
	from within an ASSOCIATE statement.

2016-08-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/69742
	* gfortran.dg/associate_21.f90:  New test.

From-SVN: r239271
2016-08-09 06:28:57 +00:00
GCC Administrator 391f5ea067 Daily bump.
From-SVN: r239262
2016-08-09 00:16:05 +00:00
Thomas Koenig 674577d6dd backport: re PR fortran/60526 (Accepts-invalid: Variable name same as type name)
2016-08-08  Thomas Koenig  <tkoenig@gcc.gnu.org>

	Backport from trunk
	PR fortran/60526
	* decl.c (build_sym):  If the name has already been defined as a
	type, it has a symtree with an upper case letter at the beginning.
	If such a symtree exists, issue an error and exit.  Don't do
	this if there is no corresponding upper case letter.

2016-08-08  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/60526
	* gfortran.dg/type_decl_4.f90:  New test.

From-SVN: r239259
2016-08-08 22:00:37 +00:00
Georg-Johann Lay b8377ab8fb backport: re PR rtl-optimization/71976 (insn-combiner deletes a live 64-bit shift)
Backport from 2016-07-29 trunk r238863.
	PR rtl-optimization/71976
	* combine.c (get_last_value): Return 0 if the argument for which
	the function is called has a wider mode than the recorded value.

From-SVN: r239239
2016-08-08 10:13:54 +00:00
Andre Vehreschild c9c31e0f35 backport: re PR fortran/70524 (ICE when using -frepack-arrays -Warray-temporaries)
gcc/testsuite/ChangeLog:

2016-08-08  Andre Vehreschild  <vehre@gcc.gnu.org>

	Backport from trunk:
	PR fortran/70524
	* gfortran.dg/dependency_48.f90: New test.


gcc/fortran/ChangeLog:

2016-08-08  Andre Vehreschild  <vehre@gcc.gnu.org>

	Backport from trunk:
	PR fortran/70524
	* trans-array.c (gfc_trans_dummy_array_bias): Ensure that the
	location information is correctly set.
	* trans-decl.c (gfc_trans_deferred_vars): Set the locus of the
	current construct early.

From-SVN: r239232
2016-08-08 10:24:22 +02:00
Thomas Koenig 5e48ff0258 re PR fortran/70040 (ICE in gimplify.c with deferred-length strings)
2016-08-08  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/70040
	Backport from trunk
	* gfortran.dg/pr70040.f90:  New testcase.

From-SVN: r239229
2016-08-08 06:29:16 +00:00
GCC Administrator 4689b06a71 Daily bump.
From-SVN: r239226
2016-08-08 00:16:05 +00:00
GCC Administrator cb02ed0d14 Daily bump.
From-SVN: r239214
2016-08-07 00:16:05 +00:00
Jonathan Wakely 23441d2f60 Use correct value category in std::function constraint
* include/std/functional (function::_Callable): Use lvalue in
	result_of expression.
	* testsuite/20_util/function/cons/refqual.cc: New test.

From-SVN: r239208
2016-08-06 13:21:55 +01:00
Jonathan Wakely 3d06e8eb93 Move allocator in RB tree move constructors
Backport from mainline
2016-07-22  Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/71964
	* include/bits/stl_tree.h (_Rb_tree(_Rb_tree&&)): Move allocator.
	* testsuite/23_containers/set/allocator/71964.cc: New test.

From-SVN: r239207
2016-08-06 13:21:51 +01:00
Jonathan Wakely 2a35627433 Fix std::wstring allocator tests
* testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc:
	Remove reundant check for _GLIBCXX_USE_WCHAR_T and fix char type.
	* testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
	Likewise.
	* testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc:
	Likewise.
	* testsuite/21_strings/basic_string/allocator/wchar_t/move.cc:
	Likewise.
	* testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc:
	Likewise.
	* testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc:
	Likewise.
	* testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc:
	Likewise.

From-SVN: r239206
2016-08-06 13:21:46 +01:00