]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
8 years agoFix libstdc++ reserved names test to pass on AIX
Jonathan Wakely [Tue, 14 Mar 2017 20:50:16 +0000 (20:50 +0000)] 
Fix libstdc++ reserved names test to pass on AIX

* testsuite/17_intro/names.cc: Undefine macros that clash with
identifiers in AIX system headers.

From-SVN: r246143

8 years agoDaily bump.
GCC Administrator [Tue, 14 Mar 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246113

8 years agore PR libstdc++/80034 (unqualified calls to std::distance in std::list::sort)
Ville Voutilainen [Mon, 13 Mar 2017 19:44:42 +0000 (21:44 +0200)] 
re PR libstdc++/80034 (unqualified calls to std::distance in std::list::sort)

PR libstdc++/80034
* include/bits/list.tcc (merge(list&&)): Use const for the size_t
in the function and in the catch-block, qualify uses of std::distance.
(merge(list&&, _StrictWeakOrdering)): Likewise.
* testsuite/23_containers/list/operations/80034.cc: New.

From-SVN: r246109

8 years agoDaily bump.
GCC Administrator [Mon, 13 Mar 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246080

8 years agoDaily bump.
GCC Administrator [Sun, 12 Mar 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246073

8 years agoDaily bump.
GCC Administrator [Sat, 11 Mar 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246060

8 years agobackport: re PR target/79439 (Missing nop instruction after recursive call corrupts...
Michael Meissner [Fri, 10 Mar 2017 20:53:18 +0000 (20:53 +0000)] 
backport: re PR target/79439 (Missing nop instruction after recursive call corrupts TOC register)

[gcc]
2017-03-10  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from trunk
2017-03-01  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/79439
* config/rs6000/predicates.md (current_file_function_operand): Do
not allow self calls to be local if the function is replaceable.

[gcc/testsuite]
2017-03-10  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from trunk
2017-03-01  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/79439
* gcc.target/powerpc/pr79439.c: New test.

From-SVN: r246058

8 years agoDaily bump.
GCC Administrator [Fri, 10 Mar 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246017

8 years agoDaily bump.
GCC Administrator [Thu, 9 Mar 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245983

8 years agoDaily bump.
GCC Administrator [Wed, 8 Mar 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245964

8 years agobackport: i386.c (ix86_local_alignment): Align most aggregates of 16 bytes and more...
Uros Bizjak [Tue, 7 Mar 2017 18:43:15 +0000 (19:43 +0100)] 
backport: i386.c (ix86_local_alignment): Align most aggregates of 16 bytes and more to 16 bytes...

Backport from mainline
2017-03-07  Segher Boessenkool  <segher@kernel.crashing.org>

* config/i386/i386.c (ix86_local_alignment): Align most aggregates
of 16 bytes and more to 16 bytes, not those of 16 bits and more.

From-SVN: r245958

8 years agoDaily bump.
GCC Administrator [Tue, 7 Mar 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245941

8 years agoFix typo.
John David Anglin [Mon, 6 Mar 2017 23:10:37 +0000 (23:10 +0000)] 
Fix typo.

From-SVN: r245935

8 years agoPR target 77850
John David Anglin [Mon, 6 Mar 2017 22:55:33 +0000 (22:55 +0000)] 
PR target 77850

PR target 77850
* config/pa/pa-64.h (PAD_VARARGS_DOWN): Don't pad down complex and
vector types.

From-SVN: r245934

8 years agoDaily bump.
GCC Administrator [Mon, 6 Mar 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245905

8 years agoDaily bump.
GCC Administrator [Sun, 5 Mar 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245895

8 years agoDaily bump.
GCC Administrator [Sat, 4 Mar 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245888

8 years agoi386.md (*pushxf_rounded): Use Pmode instead of DImode.
Uros Bizjak [Fri, 3 Mar 2017 09:35:17 +0000 (10:35 +0100)] 
i386.md (*pushxf_rounded): Use Pmode instead of DImode.

* config/i386/i386.md (*pushxf_rounded): Use Pmode instead of DImode.

From-SVN: r245863

8 years agoDaily bump.
GCC Administrator [Fri, 3 Mar 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245855

8 years agore PR target/79514 (ICE in curr_insn_transform, at lra-constraints.c:3773)
Uros Bizjak [Thu, 2 Mar 2017 21:35:38 +0000 (22:35 +0100)] 
re PR target/79514 (ICE in curr_insn_transform, at lra-constraints.c:3773)

PR target/79514
* config/i386/i386.md (*pushxf_rounded): New insn_and_split pattern.

testsuite/ChangeLog:

PR target/79514
* gcc.target/i386/pr79514.c: New test.

From-SVN: r245854

8 years agoPR libstdc++/79789 fix non-reserved names in headers
Jonathan Wakely [Thu, 2 Mar 2017 18:59:06 +0000 (18:59 +0000)] 
PR libstdc++/79789 fix non-reserved names in headers

PR libstdc++/79789
* include/bits/ios_base.h (make_error_code, make_error_condition):
Likewise.
* include/bits/mask_array.h (mask_array): Likewise.
* include/bits/regex.h (regex_token_iterator): Likewise.
* include/bits/slice_array.h (slice_array): Likewise.
* include/std/memory (undeclare_no_pointers): Likewise.
* testsuite/17_intro/names.cc: New test.

From-SVN: r245847

8 years agoDaily bump.
GCC Administrator [Thu, 2 Mar 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245823

8 years agore PR target/79544 (vec_sra (unsigned long long,foo) generating vsrd instead of vsrad)
Pat Haugen [Wed, 1 Mar 2017 21:17:46 +0000 (21:17 +0000)] 
re PR target/79544 (vec_sra (unsigned long long,foo) generating vsrd instead of vsrad)

PR target/79544
* rs6000/rs6000-c.c (struct altivec_builtin_types): Use VSRAD for
arithmetic shift of unsigned V2DI.

* gcc.target/powerpc/pr79544.c: New.

From-SVN: r245818

8 years ago[PR 79579] Avoid segfault on NULL ipa_edge_args_vector
Martin Jambor [Wed, 1 Mar 2017 13:54:56 +0000 (14:54 +0100)] 
[PR 79579] Avoid segfault on NULL ipa_edge_args_vector

2017-03-01  Martin Jambor  <mjambor@suse.cz>

Backport from mainline
2017-02-21  Martin Jambor  <mjambor@suse.cz>

PR lto/79579
* ipa-prop.c (ipa_prop_write_jump_functions): Bail out if no edges
have been analyzed.

From-SVN: r245810

8 years agoDaily bump.
GCC Administrator [Wed, 1 Mar 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245797

8 years agore PR target/79749 (Many sparc testcases FAIL at -O0 with -fomit-frame-pointer)
Eric Botcazou [Tue, 28 Feb 2017 22:19:56 +0000 (22:19 +0000)] 
re PR target/79749 (Many sparc testcases FAIL at -O0 with -fomit-frame-pointer)

PR target/79749
* config/sparc/sparc.c (sparc_frame_pointer_required): Add missing
condition on optimize for the leaf function test.

From-SVN: r245793

8 years agoDaily bump.
GCC Administrator [Tue, 28 Feb 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245765

8 years agoDaily bump.
GCC Administrator [Mon, 27 Feb 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245748

8 years agoDaily bump.
GCC Administrator [Sun, 26 Feb 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245742

8 years agoDaily bump.
GCC Administrator [Sat, 25 Feb 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245730

8 years agotrans.c (gnat_to_gnu): Do not apply special handling of boolean rvalues to function...
Eric Botcazou [Fri, 24 Feb 2017 10:54:21 +0000 (10:54 +0000)] 
trans.c (gnat_to_gnu): Do not apply special handling of boolean rvalues to function calls.

* gcc-interface/trans.c (gnat_to_gnu): Do not apply special handling
of boolean rvalues to function calls.

From-SVN: r245708

8 years ago* gcc-interface/trans.c (return_value_ok_for_nrv_p): Add sanity check.
Eric Botcazou [Fri, 24 Feb 2017 10:40:56 +0000 (10:40 +0000)] 
* gcc-interface/trans.c (return_value_ok_for_nrv_p): Add sanity check.

From-SVN: r245703

8 years agoDaily bump.
GCC Administrator [Fri, 24 Feb 2017 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245693

8 years agoDaily bump.
GCC Administrator [Thu, 23 Feb 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245669

8 years agobackport: re PR target/79261 (vec_xxpermdi appears to have endian issues)
Bill Schmidt [Wed, 22 Feb 2017 22:54:56 +0000 (22:54 +0000)] 
backport: re PR target/79261 (vec_xxpermdi appears to have endian issues)

[gcc]

2017-02-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline
2017-02-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/79261
* config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Add
support for CODE_FOR_vsx_xxpermdi_v2d[fi]_be.
* config/rs6000/rs6000.md (reload_gpr_from_vsx<mode>): Call
generator for vsx_xxpermdi_<mode>_be.
* config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Remove logic to
force big-endian semantics.
(vsx_xxpermdi_<mode>_be): New define_expand with same
implementation as previous version of vsx_xxpermdi_<mode>.

[gcc/testsuite]

2017-02-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline
2017-02-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/79261
* gcc.target/powerpc/vec-xxpermdi.c: New file.

From-SVN: r245664

8 years agoDaily bump.
GCC Administrator [Wed, 22 Feb 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245644

8 years agoDaily bump.
GCC Administrator [Tue, 21 Feb 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245616

8 years agoDaily bump.
GCC Administrator [Mon, 20 Feb 2017 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245583

8 years agore PR target/71017 (libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift...
Dominique d'Humieres [Sun, 19 Feb 2017 16:12:34 +0000 (17:12 +0100)] 
re PR target/71017 (libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int')

2017-02-19  Dominique d'Humieres  <dominiq@lps.ens.fr>

PR target/71017
* config/i386/cpuid.h: Fix undefined behavior.

From-SVN: r245576

8 years agoDaily bump.
GCC Administrator [Sun, 19 Feb 2017 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245567

8 years agobackport: x86-64.h: Append --32 to the assembler options when -m16 is used on non...
Gerald Pfeifer [Sat, 18 Feb 2017 22:58:48 +0000 (22:58 +0000)] 
backport: x86-64.h: Append --32 to the assembler options when -m16 is used on non-glibc systems as well.

Backport from mainline
2016-12-11  Roger Pau MonnĂ©  <roger.pau@citrix.com>

* config/i386/x86-64.h: Append --32 to the assembler options when
-m16 is used on non-glibc systems as well.

From-SVN: r245566

8 years agoDaily bump.
GCC Administrator [Sat, 18 Feb 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245556

8 years agobackport: re PR sanitizer/79562 (sanitizer breaks bootstrap of x86_64-*-freebsd)
Andreas Tobler [Fri, 17 Feb 2017 19:23:28 +0000 (20:23 +0100)] 
backport: re PR sanitizer/79562 (sanitizer breaks bootstrap of x86_64-*-freebsd)

2017-02-17  Andreas Tobler  <andreast@gcc.gnu.org>

    Backported from mainline
    2017-02-16  Andreas Tobler  <andreast@gcc.gnu.org>

    PR sanitizer/79562
    * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
    upstream r294806.

From-SVN: r245547

8 years agore PR target/76731 ([AVX512] _mm512_i32gather_epi32 and other scatter/gather routines...
Julia Koval [Fri, 17 Feb 2017 16:35:37 +0000 (17:35 +0100)] 
re PR target/76731 ([AVX512] _mm512_i32gather_epi32 and other scatter/gather routines have incorrect signature)

PR target/76731
* config/i386/avx512fintrin.h
(_mm512_i32gather_ps): Change __addr type to void const*.
(_mm512_mask_i32gather_ps): Ditto.
(_mm512_i32gather_pd): Ditto.
(_mm512_mask_i32gather_pd): Ditto.
(_mm512_i64gather_ps): Ditto.
(_mm512_mask_i64gather_ps): Ditto.
(_mm512_i64gather_pd): Ditto.
(_mm512_mask_i64gather_pd): Ditto.
(_mm512_i32gather_epi32): Ditto.
(_mm512_mask_i32gather_epi32): Ditto.
(_mm512_i32gather_epi64): Ditto.
(_mm512_mask_i32gather_epi64): Ditto.
(_mm512_i64gather_epi32): Ditto.
(_mm512_mask_i64gather_epi32): Ditto.
(_mm512_i64gather_epi64): Ditto.
(_mm512_mask_i64gather_epi64): Ditto.
(_mm512_i32scatter_ps): Change __addr type to void*.
(_mm512_mask_i32scatter_ps): Ditto.
(_mm512_i32scatter_pd): Ditto.
(_mm512_mask_i32scatter_pd): Ditto.
(_mm512_i64scatter_ps): Ditto.
(_mm512_mask_i64scatter_ps): Ditto.
(_mm512_i64scatter_pd): Ditto.
(_mm512_mask_i64scatter_pd): Ditto.
(_mm512_i32scatter_epi32): Ditto.
(_mm512_mask_i32scatter_epi32): Ditto.
(_mm512_i32scatter_epi64): Ditto.
(_mm512_mask_i32scatter_epi64): Ditto.
(_mm512_i64scatter_epi32): Ditto.
(_mm512_mask_i64scatter_epi32): Ditto.
(_mm512_i64scatter_epi64): Ditto.
(_mm512_mask_i64scatter_epi64): Ditto.
* config/i386/avx512pfintrin.h
(_mm512_mask_prefetch_i32gather_pd): Change addr type to void const*.
(_mm512_mask_prefetch_i32gather_ps): Ditto.
(_mm512_mask_prefetch_i64gather_pd): Ditto.
(_mm512_mask_prefetch_i64gather_ps): Ditto.
(_mm512_prefetch_i32scatter_pd): Change addr type to void*.
(_mm512_prefetch_i32scatter_ps): Ditto.
(_mm512_mask_prefetch_i32scatter_pd): Ditto.
(_mm512_mask_prefetch_i32scatter_ps): Ditto.
(_mm512_prefetch_i64scatter_pd): Ditto.
(_mm512_prefetch_i64scatter_ps): Ditto.
(_mm512_mask_prefetch_i64scatter_pd): Ditto.
(_mm512_mask_prefetch_i64scatter_ps): Ditto.
* config/i386/avx512vlintrin.h
(_mm256_mmask_i32gather_ps): Change __addr type to void const*.
(_mm_mmask_i32gather_ps): Ditto.
(_mm256_mmask_i32gather_pd): Ditto.
(_mm_mmask_i32gather_pd): Ditto.
(_mm256_mmask_i64gather_ps): Ditto.
(_mm_mmask_i64gather_ps): Ditto.
(_mm256_mmask_i64gather_pd): Ditto.
(_mm_mmask_i64gather_pd): Ditto.
(_mm256_mmask_i32gather_epi32): Ditto.
(_mm_mmask_i32gather_epi32): Ditto.
(_mm256_mmask_i32gather_epi64): Ditto.
(_mm_mmask_i32gather_epi64): Ditto.
(_mm256_mmask_i64gather_epi32): Ditto.
(_mm_mmask_i64gather_epi32): Ditto.
(_mm256_mmask_i64gather_epi64): Ditto.
(_mm_mmask_i64gather_epi64): Ditto.
(_mm256_i32scatter_ps): Change __addr type to void*.
(_mm256_mask_i32scatter_ps): Ditto.
(_mm_i32scatter_ps): Ditto.
(_mm_mask_i32scatter_ps): Ditto.
(_mm256_i32scatter_pd): Ditto.
(_mm256_mask_i32scatter_pd): Ditto.
(_mm_i32scatter_pd): Ditto.
(_mm_mask_i32scatter_pd): Ditto.
(_mm256_i64scatter_ps): Ditto.
(_mm256_mask_i64scatter_ps): Ditto.
(_mm_i64scatter_ps): Ditto.
(_mm_mask_i64scatter_ps): Ditto.
(_mm256_i64scatter_pd): Ditto.
(_mm256_mask_i64scatter_pd): Ditto.
(_mm_i64scatter_pd): Ditto.
(_mm_mask_i64scatter_pd): Ditto.
(_mm256_i32scatter_epi32): Ditto.
(_mm256_mask_i32scatter_epi32): Ditto.
(_mm_i32scatter_epi32): Ditto.
(_mm_mask_i32scatter_epi32): Ditto.
(_mm256_i32scatter_epi64): Ditto.
(_mm256_mask_i32scatter_epi64): Ditto.
(_mm_i32scatter_epi64): Ditto.
(_mm_mask_i32scatter_epi64): Ditto.
(_mm256_i64scatter_epi32): Ditto.
(_mm256_mask_i64scatter_epi32): Ditto.
(_mm_i64scatter_epi32): Ditto.
(_mm_mask_i64scatter_epi32): Ditto.
(_mm256_i64scatter_epi64): Ditto.
(_mm256_mask_i64scatter_epi64): Ditto.
(_mm_i64scatter_epi64): Ditto.
(_mm_mask_i64scatter_epi64): Ditto.
* config/i386/i386-builtin-types.def (V16SF_V16SF_PCFLOAT_V16SI_HI_INT)
(V8DF_V8DF_PCDOUBLE_V8SI_QI_INT, V8SF_V8SF_PCFLOAT_V8DI_QI_INT)
(V8DF_V8DF_PCDOUBLE_V8DI_QI_INT, V16SI_V16SI_PCINT_V16SI_HI_INT)
(V8DI_V8DI_PCINT64_V8SI_QI_INT, V8SI_V8SI_PCINT_V8DI_QI_INT)
(V8DI_V8DI_PCINT64_V8DI_QI_INT, V2DF_V2DF_PCDOUBLE_V4SI_QI_INT)
(V4DF_V4DF_PCDOUBLE_V4SI_QI_INT, V2DF_V2DF_PCDOUBLE_V2DI_QI_INT)
(V4DF_V4DF_PCDOUBLE_V4DI_QI_INT, V4SF_V4SF_PCFLOAT_V4SI_QI_INT)
(V8SF_V8SF_PCFLOAT_V8SI_QI_INT, V4SF_V4SF_PCFLOAT_V2DI_QI_INT)
(V4SF_V4SF_PCFLOAT_V4DI_QI_INT, V2DI_V2DI_PCINT64_V4SI_QI_INT)
(V4DI_V4DI_PCINT64_V4SI_QI_INT, V2DI_V2DI_PCINT64_V2DI_QI_INT)
(V4DI_V4DI_PCINT64_V4DI_QI_INT, V4SI_V4SI_PCINT_V4SI_QI_INT)
(V8SI_V8SI_PCINT_V8SI_QI_INT, V4SI_V4SI_PCINT_V2DI_QI_INT)
(V4SI_V4SI_PCINT_V4DI_QI_INT, VOID_PFLOAT_HI_V16SI_V16SF_INT)
(VOID_PFLOAT_QI_V8SI_V8SF_INT, VOID_PFLOAT_QI_V4SI_V4SF_INT)
(VOID_PDOUBLE_QI_V8SI_V8DF_INT, VOID_PDOUBLE_QI_V4SI_V4DF_INT)
(VOID_PDOUBLE_QI_V4SI_V2DF_INT, VOID_PFLOAT_QI_V8DI_V8SF_INT)
(VOID_PFLOAT_QI_V4DI_V4SF_INT, VOID_PFLOAT_QI_V2DI_V4SF_INT)
(VOID_PDOUBLE_QI_V8DI_V8DF_INT, VOID_PDOUBLE_QI_V4DI_V4DF_INT)
(VOID_PDOUBLE_QI_V2DI_V2DF_INT, VOID_PINT_HI_V16SI_V16SI_INT)
(VOID_PINT_QI_V8SI_V8SI_INT, VOID_PINT_QI_V4SI_V4SI_INT)
(VOID_PLONGLONG_QI_V8SI_V8DI_INT, VOID_PLONGLONG_QI_V4SI_V4DI_INT)
(VOID_PLONGLONG_QI_V4SI_V2DI_INT, VOID_PINT_QI_V8DI_V8SI_INT)
(VOID_PINT_QI_V4DI_V4SI_INT, VOID_PINT_QI_V2DI_V4SI_INT)
(VOID_PLONGLONG_QI_V8DI_V8DI_INT, VOID_QI_V8SI_PCINT64_INT_INT)
(VOID_PLONGLONG_QI_V4DI_V4DI_INT, VOID_PLONGLONG_QI_V2DI_V2DI_INT)
(VOID_HI_V16SI_PCINT_INT_INT, VOID_QI_V8DI_PCINT64_INT_INT)
(VOID_QI_V8DI_PCINT_INT_INT): Remove.
(V16SF_V16SF_PCVOID_V16SI_HI_INT,  V8DF_V8DF_PCVOID_V8SI_QI_INT)
(V8SF_V8SF_PCVOID_V8DI_QI_INT, V8DF_V8DF_PCVOID_V8DI_QI_INT)
(V16SI_V16SI_PCVOID_V16SI_HI_INT, V8DI_V8DI_PCVOID_V8SI_QI_INT)
(V8SI_V8SI_PCVOID_V8DI_QI_INT, V8DI_V8DI_PCVOID_V8DI_QI_INT)
(VOID_PVOID_HI_V16SI_V16SF_INT, VOID_PVOID_QI_V8SI_V8DF_INT)
(VOID_PVOID_QI_V8DI_V8SF_INT, VOID_PVOID_QI_V8DI_V8DF_INT)
(VOID_PVOID_HI_V16SI_V16SI_INT, VOID_PVOID_QI_V8SI_V8DI_INT)
(VOID_PVOID_QI_V8DI_V8SI_INT, VOID_PVOID_QI_V8DI_V8DI_INT)
(V2DF_V2DF_PCVOID_V4SI_QI_INT, V4DF_V4DF_PCVOID_V4SI_QI_INT)
(V2DF_V2DF_PCVOID_V2DI_QI_INT, V4DF_V4DF_PCVOID_V4DI_QI_INT
(V4SF_V4SF_PCVOID_V4SI_QI_INT, V8SF_V8SF_PCVOID_V8SI_QI_INT)
(V4SF_V4SF_PCVOID_V2DI_QI_INT, V4SF_V4SF_PCVOID_V4DI_QI_INT)
(V2DI_V2DI_PCVOID_V4SI_QI_INT, V4DI_V4DI_PCVOID_V4SI_QI_INT)
(V2DI_V2DI_PCVOID_V2DI_QI_INT, V4DI_V4DI_PCVOID_V4DI_QI_INT)
(V4SI_V4SI_PCVOID_V4SI_QI_INT, V8SI_V8SI_PCVOID_V8SI_QI_INT)
(V4SI_V4SI_PCVOID_V2DI_QI_INT, V4SI_V4SI_PCVOID_V4DI_QI_INT)
(VOID_PVOID_QI_V8SI_V8SF_INT, VOID_PVOID_QI_V4SI_V4SF_INT)
(VOID_PVOID_QI_V4SI_V4DF_INT, VOID_PVOID_QI_V4SI_V2DF_INT)
(VOID_PVOID_QI_V4DI_V4SF_INT, VOID_PVOID_QI_V2DI_V4SF_INT)
(VOID_PVOID_QI_V4DI_V4DF_INT, VOID_PVOID_QI_V2DI_V2DF_INT)
(VOID_PVOID_QI_V8SI_V8SI_INT, VOID_PVOID_QI_V4SI_V4SI_INT)
(VOID_PVOID_QI_V4SI_V4DI_INT, VOID_PVOID_QI_V4SI_V2DI_INT)
(VOID_PVOID_QI_V4DI_V4SI_INT, VOID_PVOID_QI_V2DI_V4SI_INT)
(VOID_PVOID_QI_V4DI_V4DI_INT, VOID_PVOID_QI_V2DI_V2DI_INT)
(VOID_QI_V8SI_PCVOID_INT_INT, VOID_HI_V16SI_PCVOID_INT_INT)
(VOID_QI_V8DI_PCVOID_INT_INT): Add.
* config/i386/i386.c (ix86_init_mmx_sse_builtins): Adjust builtin
definitions accordingly.

From-SVN: r245537

8 years agoDaily bump.
GCC Administrator [Fri, 17 Feb 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245522

8 years agobackport: re PR target/79545 (gcc[5/6]: RS6000, xvcvuxdsp and xvcvsxdsp RTL defines...
Carl Love [Thu, 16 Feb 2017 20:59:20 +0000 (20:59 +0000)] 
backport: re PR target/79545 (gcc[5/6]: RS6000, xvcvuxdsp and xvcvsxdsp RTL defines have wrong type)

gcc/ChangeLog:

2017-02-16  Carl Love  <cel@us.ibm.com>

   Backport from mainline commit r245460 on 2017-02-14

   PR 79545
   * config/rs6000/rs6000.c: Add case statement entry to make the xvcvuxdsp
   built-in argument unsigned.
   * config/rs6000/vsx.md: Fix the source and return operand types so they
   match the instruction definitions from the ISA document.  Fix typo
   in the instruction generation for the (define_insn "vsx_xvcvuxdsp"
   statement.

gcc/testsuite/ChangeLog:

2017-01-16  Carl Love  <cel@us.ibm.com>

   Backport from mainline commit r245460 on 2017-02-14

   PR 79545
   * gcc.target/powerpc/vsx-builtin-3.c: Add missing test case for the
   xvcvsxdsp and xvcvuxdsp instructions.

From-SVN: r245518

8 years agoDaily bump.
GCC Administrator [Thu, 16 Feb 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245497

8 years agoDaily bump.
GCC Administrator [Wed, 15 Feb 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245462

8 years agoPR69321 fix any_cast<T>(any*) for non-copyable T
Jonathan Wakely [Tue, 14 Feb 2017 21:17:34 +0000 (21:17 +0000)] 
PR69321 fix any_cast<T>(any*) for non-copyable T

Backport from mainline
2017-01-20  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/69321
* include/experimental/any (__any_caster): Avoid instantiating
manager function for types that can't be stored in any.
* testsuite/experimental/any/misc/any_cast.cc: Likewise.
* testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.

From-SVN: r245458

8 years agoPR69301 don't assume atomic<T> can default construct T
Jonathan Wakely [Tue, 14 Feb 2017 21:17:29 +0000 (21:17 +0000)] 
PR69301 don't assume atomic<T> can default construct T

Backport from mainline
2017-01-18  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/69301
* include/std/atomic (atomic<T>::load, atomic<T>::exchange): Use
aligned buffer instead of default-initialized variable.
* testsuite/29_atomics/atomic/69301.cc: New test.
* include/ext/pointer.h (_Pointer_adapter::operator++(int))
(_Pointer_adapter::operator--(int)): Likewise.

From-SVN: r245457

8 years agoPR78702 fix accessibility of locale::facet::__shim
Jonathan Wakely [Tue, 14 Feb 2017 21:17:23 +0000 (21:17 +0000)] 
PR78702 fix accessibility of locale::facet::__shim

Backport from mainline
2017-01-16  Jonathan Wakely  <jwakely@redhat.com>

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: r245456

8 years agoPR78134 fix return types of heterogeneous lookup functions
Jonathan Wakely [Tue, 14 Feb 2017 21:17:18 +0000 (21:17 +0000)] 
PR78134 fix return types of heterogeneous lookup functions

Backport from mainline
2017-01-11  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/78134
* include/bits/stl_map.h (map::lower_bound, map::upper_bound)
(map::equal_range): Fix return type of heterogeneous overloads.
* include/bits/stl_multimap.h (multimap::lower_bound)
(multimap::upper_bound, multimap::equal_range): Likewise.
* include/bits/stl_multiset.h (multiset::lower_bound)
(multiset::upper_bound, multiset::equal_range): Likewise.
* include/bits/stl_set.h (set::lower_bound, set::upper_bound)
(set::equal_range): Likewise.
* testsuite/23_containers/map/operations/2.cc: Check return types.
* testsuite/23_containers/multimap/operations/2.cc: Likewise.
* testsuite/23_containers/multiset/operations/2.cc: Likewise.
* testsuite/23_containers/set/operations/2.cc: Likewise.

From-SVN: r245455

8 years agoPR78273 fix count to work with partitioning function
Jonathan Wakely [Tue, 14 Feb 2017 21:17:11 +0000 (21:17 +0000)] 
PR78273 fix count to work with partitioning function

Backport from mainline
2017-01-11  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/78273
* include/bits/stl_map.h (map::count<_Kt>(const _Kt&)): Don't assume
the heterogeneous comparison can only find one match.
* include/bits/stl_set.h (set::count<_Kt>(const _Kt&)): Likewise.
* testsuite/23_containers/map/operations/2.cc: Test count works with
comparison function that just partitions rather than sorting.
* testsuite/23_containers/set/operations/2.cc: Likewise.

From-SVN: r245454

8 years agobackport: [multiple changes]
Martin Liska [Tue, 14 Feb 2017 10:45:31 +0000 (11:45 +0100)] 
backport: [multiple changes]

2016-03-01  Richard Biener  <rguenther@suse.de>

2017-02-14  Martin Liska  <mliska@suse.cz>

Backport from mainline
2016-03-01  Richard Biener  <rguenther@suse.de>

PR middle-end/70022
PR target/79498
* fold-const.c (fold_indirect_ref_1): Fix range checking for
vector BIT_FIELD_REF extract.

From-SVN: r245426

8 years agoReplace XALLOCAVEC with XCNEWVEC (PR c/79471).
Martin Liska [Tue, 14 Feb 2017 08:03:42 +0000 (09:03 +0100)] 
Replace XALLOCAVEC with XCNEWVEC (PR c/79471).

2017-02-14  Martin Liska  <mliska@suse.cz>

Backport from mainline
2017-02-13  Martin Liska  <mliska@suse.cz>

PR c/79471
* calls.c (expand_call): Replace XALLOCAVEC with XCNEWVEC.

From-SVN: r245418

8 years agoDaily bump.
GCC Administrator [Tue, 14 Feb 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245412

8 years agoDaily bump.
GCC Administrator [Mon, 13 Feb 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245379

8 years agoDaily bump.
GCC Administrator [Sun, 12 Feb 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245368

8 years agoDaily bump.
GCC Administrator [Sat, 11 Feb 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245351

8 years agoDaily bump.
GCC Administrator [Fri, 10 Feb 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245318

8 years agoDaily bump.
GCC Administrator [Thu, 9 Feb 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245289

8 years agors6000: Fix spelling of AltiVec in rs6000.opt (PR79397)
Segher Boessenkool [Wed, 8 Feb 2017 21:44:37 +0000 (22:44 +0100)] 
rs6000: Fix spelling of AltiVec in rs6000.opt (PR79397)

It was spelled Altivec in two user-facing messages in rs6000.opt; let's
be consistent.

PR translation/79397
* config/rs6000/rs6000.opt (maltivec=le, maltivec=be): Fix spelling
of AltiVec.

From-SVN: r245287

8 years agotrans-types.c (gfc_get_int_kind_from_width_isofortranen): Choose REAL type with the...
Steven G. Kargl [Wed, 8 Feb 2017 00:37:22 +0000 (00:37 +0000)] 
trans-types.c (gfc_get_int_kind_from_width_isofortranen): Choose REAL type with the widest precision if...

2017-02-07  Steven G. Kargl  <kargl@gcc.gnu.org>

* trans-types.c (gfc_get_int_kind_from_width_isofortranen):  Choose
REAL type with the widest precision if two (or more) have the same
storage size.

From-SVN: r245265

8 years agoDaily bump.
GCC Administrator [Wed, 8 Feb 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245262

8 years ago[ARM][PR target/78945] Fix libatomic on armv7-m
Szabolcs Nagy [Tue, 7 Feb 2017 12:51:00 +0000 (12:51 +0000)] 
[ARM][PR target/78945] Fix libatomic on armv7-m

libatomic/

Backport from mainline:
2017-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>

PR target/78945
* config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.

From-SVN: r245247

8 years agoDaily bump.
GCC Administrator [Tue, 7 Feb 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245235

8 years agobackport: dated 2017-01-26 and 2017-01-25 respectively
Carl Love [Mon, 6 Feb 2017 17:40:29 +0000 (17:40 +0000)] 
backport: dated 2017-01-26 and 2017-01-25 respectively

gcc/ChangeLog:

2017-02-06  Carl Love  <cel@us.ibm.com>

        Backport of two commits from mainline, r244943 and r244904,
        dated 2017-01-26 and 2017-01-25 respectively

        * config/rs6000/rs6000-c (altivec_overloaded_builtins): Fix order
        of entries for ALTIVEC_BUILTIN_VEC_PACKS.  Remove bogus entries
        for P8V_BUILTIN_VEC_VGBBD.

gcc/testsuite/ChangeLog:

2017-02-06  Carl Love  <cel@us.ibm.com>
        * gcc.target/powerpc/builtins-3-p8.c:  Add new testfile for missing
        vec_packs built-in tests.

From-SVN: r245212

8 years agoDaily bump.
GCC Administrator [Mon, 6 Feb 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245200

8 years agoDaily bump.
GCC Administrator [Sun, 5 Feb 2017 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245185

8 years agoDaily bump.
GCC Administrator [Sat, 4 Feb 2017 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245175

8 years agobackport: re PR testsuite/65484 (FAIL: g++.dg/vect/pr36648.cc on powerpc64)
Bill Schmidt [Fri, 3 Feb 2017 19:06:58 +0000 (19:06 +0000)] 
backport: re PR testsuite/65484 (FAIL: g++.dg/vect/pr36648.cc on powerpc64)

2017-02-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline
2017-01-27  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/65484
* g++.dg/vect/pr36648.cc: Modify to reflect that the loop is not
vectorized on POWER unless hardware misaligned loads are
available.

From-SVN: r245164

8 years agore PR lto/79061 ([LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initializati...
Maxim Ostapenko [Fri, 3 Feb 2017 09:13:06 +0000 (09:13 +0000)] 
re PR lto/79061 ([LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco")

PR lto/79061
* asan.c (asan_add_global): Force has_dynamic_init to zero in LTO mode.

From-SVN: r245148

8 years agoDaily bump.
GCC Administrator [Fri, 3 Feb 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245139

8 years agoDaily bump.
GCC Administrator [Thu, 2 Feb 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245112

8 years agoPR78346 make <bits/predefined_ops.h> handle stashing iterators
Jonathan Wakely [Wed, 1 Feb 2017 12:57:58 +0000 (12:57 +0000)] 
PR78346 make <bits/predefined_ops.h> handle stashing iterators

PR libstdc++/78346
* include/bits/predefined_ops.h (_Iter_equals_iter): Store iterator
not its referent.
(_Iter_comp_to_iter): Likewise.
* testsuite/25_algorithms/search/78346.cc: New test.

From-SVN: r245092

8 years agoPR libstdc++/79254 fix exception-safety of std::string copy assignment
Jonathan Wakely [Wed, 1 Feb 2017 12:18:43 +0000 (12:18 +0000)] 
PR libstdc++/79254 fix exception-safety of std::string copy assignment

PR libstdc++/79254
* include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI]
(basic_string::operator=(const basic_string&)): If source object is
small just deallocate, otherwise perform new allocation before
making any changes.
* testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
Test exception-safety of copy assignment when allocator propagates.
* testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
Likewise.
* testsuite/util/testsuite_allocator.h (uneq_allocator::swap): Make
std::swap visible.

From-SVN: r245088

8 years agoDaily bump.
GCC Administrator [Wed, 1 Feb 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245077

8 years agore PR fortran/79305 (real128 - undefined reference to cexpl)
Steven G. Kargl [Tue, 31 Jan 2017 21:42:01 +0000 (21:42 +0000)] 
re PR fortran/79305 (real128 - undefined reference to cexpl)

2017-01-31  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/79305
* c99_protos.h: Spell HAVE_EXPL correctly.
* intrinsics/c99_functions.c: Ditto.

From-SVN: r245074

8 years agoDaily bump.
GCC Administrator [Tue, 31 Jan 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245042

8 years agoOnly declare gets for C++ < 2014 on Solaris (PR libstdc++/78979)
Rainer Orth [Mon, 30 Jan 2017 16:08:42 +0000 (16:08 +0000)] 
Only declare gets for C++ < 2014 on Solaris (PR libstdc++/78979)

Backport from mainline
2017-01-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

PR libstdc++/78979
* inclhack.def (solaris_gets_c11, solaris_gets_cxx14)
(solaris_std_gets_cxx14, solaris_stdlib_noreturn): New fixes.
* fixincl.x: Regenerate.
* tests/base/iso/stdio_iso.h [SOLARIS_GETS_C11_CHECK,
SOLARIS_GETS_CXX14_CHECK, SOLARIS_STD_GETS_CXX14_CHECK,
SOLARIS_STDLIB_NORETURN_CHECK]: New tests.

From-SVN: r245034

8 years agoDaily bump.
GCC Administrator [Mon, 30 Jan 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245018

8 years agoDaily bump.
GCC Administrator [Sun, 29 Jan 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245011

8 years agoDaily bump.
GCC Administrator [Sat, 28 Jan 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r245000

8 years agoDaily bump.
GCC Administrator [Fri, 27 Jan 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r244958

8 years agobackport: [multiple changes]
Richard Biener [Thu, 26 Jan 2017 13:08:43 +0000 (13:08 +0000)] 
backport: [multiple changes]

2017-01-26  Richard Biener  <rguenther@suse.de>

Backport from mainline
2016-01-10  Richard Biener  <rguenther@suse.de>

PR tree-optimization/79034
* tree-call-cdce.c (shrink_wrap_one_built_in_call_with_conds):
Propagate out degenerate PHIs in the joiner.

* g++.dg/torture/pr79034.C: New testcase.

2016-11-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/78224
* tree-call-cdce.c (shrink_wrap_one_built_in_call_with_conds):
Split the fallthru edge in case its successor may have PHIs.
Do not free dominance info.

* g++.dg/torture/pr78224.C: New testcase.

From-SVN: r244930

8 years agobackport: [multiple changes]
Richard Biener [Thu, 26 Jan 2017 08:16:37 +0000 (08:16 +0000)] 
backport: [multiple changes]

2017-01-26  Richard Biener  <rguenther@suse.de>

Backport from mainline
2016-09-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/77745
* tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
When removing redundant stores make sure to check compatibility
of the TBAA state for downstream accesses.
* tree-ssa-sccvn.c (visit_reference_op_store): Likewise for when
value-numbering virtual operands for store matches.

* g++.dg/torture/pr77745.C: New testcase.

2016-09-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/77768
* tree-ssa-sccvn.c (visit_reference_op_store): Properly deal
with stores to a place we know has a constant value.
* tree-vrp.c (set_defs_to_varying): New helper avoiding
writing to vr_const_varying.
(vrp_initialize): Call it.
(vrp_visit_stmt): Likewise.
(evrp_dom_walker::before_dom_children): Likewise.
* tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
Handle stores to readonly memory when removing redundant stores.

* gcc.dg/torture/pr77768.c: New testcase.

From-SVN: r244918

8 years agoDaily bump.
GCC Administrator [Thu, 26 Jan 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r244913

8 years agoDaily bump.
GCC Administrator [Wed, 25 Jan 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r244886

8 years agoAdd missing test.
Wilco Dijkstra [Tue, 24 Jan 2017 14:15:44 +0000 (14:15 +0000)] 
Add missing test.

    testsuite/
* gcc.target/arm/pr78041.c: New test.

From-SVN: r244873

8 years agoWith -fpu=neon DI mode shifts are expanded after reload.
Wilco Dijkstra [Tue, 24 Jan 2017 14:14:12 +0000 (14:14 +0000)] 
With -fpu=neon DI mode shifts are expanded after reload.

With -fpu=neon DI mode shifts are expanded after reload.  DI mode registers can
either fully or partially overlap on both ARM and Thumb-2.  However the shift
expansion code can only deal with the full overlap case, and generates incorrect
code for partial overlaps.  The fix is to add new variants that support either
full overlap or no overlap.

Backport from mainline
    gcc/
PR target/78041
* config/arm/neon.md (ashldi3_neon): Add "r 0 i" and "&r r i" variants.
Remove partial overlap check for shift by 1.
(ashldi3_neon): Likewise.
    testsuite/
* gcc.target/arm/pr78041.c: New test.

From-SVN: r244872

8 years agobackport: re PR tree-optimization/77450 (ICE: in verify_ssa, at tree-ssa.c:1016 on...
Richard Biener [Tue, 24 Jan 2017 13:56:50 +0000 (13:56 +0000)] 
backport: re PR tree-optimization/77450 (ICE: in verify_ssa, at tree-ssa.c:1016 on very simple code with vectors)

2017-01-24  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2016-09-06  Richard Biener  <rguenther@suse.de>

        PR c/77450
        * c-common.c (c_common_mark_addressable_vec): Handle
        COMPOUND_LITERAL_EXPR.

From-SVN: r244870

8 years agoBackport PRs 71848, 77646, 77648, 77879, 78188
Richard Biener [Tue, 24 Jan 2017 11:30:44 +0000 (11:30 +0000)] 
Backport PRs 71848, 77646, 77648, 77879, 78188

2017-01-24  Richard Biener  <rguenther@suse.de>

Backport from mainline
2016-09-20  Richard Biener  <rguenther@suse.de>

PR tree-optimization/77646
* tree-ssa-sccvn.c (visit_reference_op_call): Always value-number
a VDEF.

* gcc.dg/torture/pr77646.c: New testcase.

2016-11-05  David Edelsohn  <dje.gcc@gmail.com>
Richard Biener  <rguenther@suse.de>

PR bootstrap/78188
PR c++/71848
* ipa-comdats.c (pass_ipa_comdats::gate): Require HAVE_COMDAT_GROUP.

* g++.dg/ipa/pr78188.C: New test.

2016-09-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/77648
* tree-ssa-structalias.c (process_constraint): Handle all DEREF
with complex RHS.
(make_transitive_closure_constraints): Adjust comment.
(make_any_offset_constraints): New function.
(handle_rhs_call): Make sure to first expand a pointer to all
subfields before transitively closing it.
(handle_const_call): Likewise.  Properly expand returned
pointers as well.
(handle_pure_call): Likewise.

* gcc.dg/torture/pr77648-1.c: New testcase.
* gcc.dg/torture/pr77648-2.c: Likewise.

2016-10-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/77879
* tree-ssa-structalias.c (handle_const_call): Properly handle
NRV return slots.
(handle_pure_call): Likewise.

From-SVN: r244864

8 years agoBackport PRs 77436, 77450, 77605, 77855, 78047, 78185, 78333
Richard Biener [Tue, 24 Jan 2017 08:06:29 +0000 (08:06 +0000)] 
Backport PRs 77436, 77450, 77605, 77855, 78047, 78185, 78333

2017-01-24  Richard Biener  <rguenther@suse.de>

Backport from mainline
2016-10-06  Richard Biener  <rguenther@suse.de>

PR tree-optimization/77855
* tree-ssa-pre.c (prune_clobbered_mems): Queue exprs to remove
instead of removing the current item while iterating over the set
which is not safe.

* gcc.dg/torture/pr77855.c: New testcase.

2016-09-01  Richard Biener  <rguenther@suse.de>

PR middle-end/77436
* tree-chrec.c (tree_fold_binomial): Use widest_int, properly
check whether the result fits the desired result type.

* gcc.dg/torture/pr77436.c: New testcase.

2016-09-06  Richard Biener  <rguenther@suse.de>

PR c/77450
c-family/
* c-common.c (c_common_mark_addressable_vec): Handle
COMPOUND_LITERAL_EXPR.

* c-c++-common/vector-subscript-7.c: Adjust.
* gcc.dg/pr77450.c: New testcase.

2016-09-19  Richard Biener  <rguenther@suse.de>

PR middle-end/77605
* tree-data-ref.c (analyze_subscript_affine_affine): Use the
proper niter to bound the loops.

* gcc.dg/torture/pr77605.c: New testcase.

2016-11-02  Richard Biener  <rguenther@suse.de>

PR tree-optimization/78047
* tree-ssa-structalias.c (push_fields_onto_fieldstack): Initialize
fake field at offset zero conservatively regarding to may_have_pointers.

2016-11-02  Richard Biener  <rguenther@suse.de>

PR middle-end/78185
* loop-invariant.c (find_invariant_insn): Never hoist trapping or
faulting instructions.
* tree-ssa-loop-im.c: Include tree-ssa-loop-niter.h.
(fill_always_executed_in_1): Honor infinite child loops.

* gcc.dg/pr78185.c: New testcase.

2016-11-16  Richard Biener  <rguenther@suse.de>

PR middle-end/78333
* gimplify.c (gimplify_function_tree): Do not instrument
GNU extern inline functions.

* gcc.dg/pr78333.c: New testcase.

From-SVN: r244853

8 years agoDaily bump.
GCC Administrator [Tue, 24 Jan 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r244841

8 years agoFix FAIL: gcc.dg/lto/pr69188 on bare-metal targets
Martin Liska [Mon, 23 Jan 2017 12:25:17 +0000 (13:25 +0100)] 
Fix FAIL: gcc.dg/lto/pr69188 on bare-metal targets

2017-01-23  Martin Liska  <mliska@suse.cz>

Backport from mainline
2016-01-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

* gcc.dg/lto/pr69188_0.c: Require profiling support for testcase.

From-SVN: r244798

8 years agoDo not declare artificial variables in tree-profile.c to have a definition (PR lto...
Martin Liska [Mon, 23 Jan 2017 12:24:54 +0000 (13:24 +0100)] 
Do not declare artificial variables in tree-profile.c to have a definition (PR lto/69188).

2017-01-23  Martin Liska  <mliska@suse.cz>

Backport from mainline
2017-01-20  Martin Liska  <mliska@suse.cz>

PR lto/69188
* tree-profile.c (init_ic_make_global_vars): Do not call
finalize_decl.
(gimple_init_gcov_profiler): Likewise.
2017-01-23  Martin Liska  <mliska@suse.cz>

Backport from mainline
2017-01-20  Martin Liska  <mliska@suse.cz>

PR lto/69188
* gcc.dg/lto/pr69188_0.c: New test.
* gcc.dg/lto/pr69188_1.c: New test.

From-SVN: r244797

8 years agoDaily bump.
GCC Administrator [Mon, 23 Jan 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r244767

8 years agobackport: faq.xml: Update address of C++ ABI link.
Gerald Pfeifer [Sun, 22 Jan 2017 16:05:45 +0000 (16:05 +0000)] 
backport: faq.xml: Update address of C++ ABI link.

Merge from mainline
2017-01-01  Gerald Pfeifer  <gerald@pfeifer.com>

* doc/xml/faq.xml: Update address of C++ ABI link.
* doc/xml/manual/abi.xml: Ditto.

From-SVN: r244761

8 years agoDaily bump.
GCC Administrator [Sun, 22 Jan 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r244754

8 years agobackport: extend.texi (Cilk Plus Builtins): cilkplus.org now uses https by default.
Gerald Pfeifer [Sat, 21 Jan 2017 22:04:31 +0000 (22:04 +0000)] 
backport: extend.texi (Cilk Plus Builtins): cilkplus.org now uses https by default.

Backport from mainline
2016-12-29  Gerald Pfeifer  <gerald@pfeifer.com>

* doc/extend.texi (Cilk Plus Builtins): cilkplus.org now uses
https by default.
* doc/passes.texi (Cilk Plus Transformation): Ditto.
* doc/generic.texi (Statements for C++): Ditto, and use @uref.

From-SVN: r244753