]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
8 years ago[PATCH][GCC][AArch64] Fix incorrect INS in SIMD mov pattern
Tamar Christina [Tue, 21 Mar 2017 09:47:07 +0000 (09:47 +0000)] 
[PATCH][GCC][AArch64] Fix incorrect INS in SIMD mov pattern

2017-03-21  Tamar Christina  <tamar.christina@arm.com>

* config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>)
Change ins into fmov.

From-SVN: r246309

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

From-SVN: r246298

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

From-SVN: r246269

8 years agore PR target/71017 (libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift...
Dominique d'Humieres [Sun, 19 Mar 2017 10:00:27 +0000 (11:00 +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-03-19  Dominique d'Humieres  <dominiq@lps.ens.fr>

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

From-SVN: r246268

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

From-SVN: r246262

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

From-SVN: r246250

8 years agoBackport <codecvt> fixes from trunk
Jonathan Wakely [Fri, 17 Mar 2017 19:28:42 +0000 (19:28 +0000)] 
Backport <codecvt> fixes from trunk

Fix alignment bugs in std::codecvt_utf16

* src/c++11/codecvt.cc (range): Add non-type template parameter and
define oerloaded operators for reading and writing code units.
(range<Elem, false>): Define partial specialization for accessing
wide characters in potentially unaligned byte ranges.
(ucs2_span(const char16_t*, const char16_t*, ...))
(ucs4_span(const char16_t*, const char16_t*, ...)): Change parameters
to range<const char16_t, false> in order to avoid unaligned reads.
(__codecvt_utf16_base<char16_t>::do_out)
(__codecvt_utf16_base<char32_t>::do_out)
(__codecvt_utf16_base<wchar_t>::do_out): Use range specialization for
unaligned data to avoid unaligned writes.
(__codecvt_utf16_base<char16_t>::do_in)
(__codecvt_utf16_base<char32_t>::do_in)
(__codecvt_utf16_base<wchar_t>::do_in): Likewise for writes. Return
error if there are unprocessable trailing bytes.
(__codecvt_utf16_base<char16_t>::do_length)
(__codecvt_utf16_base<char32_t>::do_length)
(__codecvt_utf16_base<wchar_t>::do_length): Pass arguments of type
range<const char16_t, false> to span functions.
* testsuite/22_locale/codecvt/codecvt_utf16/misaligned.cc: New test.

PR libstdc++/79980 fix target type of cast

PR libstdc++/79980
* src/c++11/codecvt.cc (to_integer(codecvt_mode)): Fix target type.

PR libstdc++/80041 fix codecvt_utf16<wchar_t> to use UTF-16 not UTF-8

PR libstdc++/80041
* src/c++11/codecvt.cc (__codecvt_utf16_base<wchar_t>::do_out)
(__codecvt_utf16_base<wchar_t>::do_in): Convert char arguments to
char16_t to work with UTF-16 instead of UTF-8.
* testsuite/22_locale/codecvt/codecvt_utf16/80041.cc: New test.

Fix encoding() and max_length() values for codecvt facets

* src/c++11/codecvt.cc (codecvt<char16_t, char, mbstate_t>)
(codecvt<char32_t, char, mbstate_t>, __codecvt_utf8_base<char16_t>)
(__codecvt_utf8_base<char32_t>, __codecvt_utf8_base<wchar_t>)
(__codecvt_utf16_base<char16_t>, __codecvt_utf16_base<char32_t>)
(__codecvt_utf16_base<wchar_t>, __codecvt_utf8_utf16_base<char16_t>)
(__codecvt_utf8_utf16_base<char32_t>)
(__codecvt_utf8_utf16_base<wchar_t>): Fix do_encoding() and
do_max_length() return values.
* testsuite/22_locale/codecvt/codecvt_utf16/members.cc: New test.
* testsuite/22_locale/codecvt/codecvt_utf8/members.cc: New test.
* testsuite/22_locale/codecvt/codecvt_utf8_utf16/members.cc: New test.

PR libstdc++/79980 fix BOM detection, maxcode checks, UCS2 handling

PR libstdc++/79980
* include/bits/locale_conv.h (__do_str_codecvt): Set __count on
error path.
* src/c++11/codecvt.cc (operator&=, operator|=, operator~): Overloads
for manipulating codecvt_mode values.
(read_utf16_bom): Compare input to BOM constants instead of integral
constants that depend on endianness.  Take mode parameter by
reference and adjust it, to distinguish between no BOM present and
UTF-16BE BOM present.
(ucs4_in, ucs2_span, ucs4_span): Adjust calls to read_utf16_bom.
(surrogates): New enumeration type.
(utf16_in, utf16_out): Add surrogates parameter to choose between
UTF-16 and UCS2 behaviour.
(utf16_span, ucs2_span): Use std::min not std::max.
(ucs2_out): Use std::min not std::max.  Disallow surrogate pairs.
(ucs2_in): Likewise. Adjust calls to read_utf16_bom.
* testsuite/22_locale/codecvt/codecvt_utf16/79980.cc: New test.
* testsuite/22_locale/codecvt/codecvt_utf8/79980.cc: New test.

PR libstdc++/79511 fix endianness of UTF-16 data

PR libstdc++/79511
* src/c++11/codecvt.cc (write_utf16_code_point): Don't write 0xffff
as a surrogate pair.
(__codecvt_utf8_utf16_base<char32_t>::do_in): Use native endianness
for internal representation.
(__codecvt_utf8_utf16_base<wchar_t>::do_in): Likewise.
* testsuite/22_locale/codecvt/codecvt_utf8_utf16/79511.cc: New test.

From-SVN: r246247

8 years agoBackport "Print bug url for gcov-dump --help"
Tom de Vries [Fri, 17 Mar 2017 12:35:17 +0000 (12:35 +0000)] 
Backport "Print bug url for gcov-dump --help"

2017-03-17  Tom de Vries  <tom@codesourcery.com>

* gcov-dump.c (print_usage): Print bug_report_url.

From-SVN: r246222

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

From-SVN: r246214

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

From-SVN: r246183

8 years agobackport: Makefile.in: Install gcov-dump.
Matthias Klose [Wed, 15 Mar 2017 20:56:01 +0000 (20:56 +0000)] 
backport: Makefile.in: Install gcov-dump.

2017-03-15  Matthias Klose  <doko@ubuntu.com>

        Backport from mainline
        2017-03-14  Martin Liska  <mliska@suse.cz>

        * Makefile.in: Install gcov-dump.

From-SVN: r246176

8 years agore PR target/80019 (ICE in ix86_vector_duplicate_value, at config/i386/i386.c:42584)
Uros Bizjak [Wed, 15 Mar 2017 16:15:53 +0000 (17:15 +0100)] 
re PR target/80019 (ICE in ix86_vector_duplicate_value, at config/i386/i386.c:42584)

PR target/80019
* config/i386/i386.c (ix86_vector_duplicate_value): Create
subreg of inner mode for values already in registers.

testsuite/ChangeLog:

PR target/80019
* gcc.target/i386/pr80019.c: New test.

From-SVN: r246168

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

From-SVN: r246147

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