]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
8 years agoBackport r245647
Martin Liska [Wed, 22 Mar 2017 14:59:44 +0000 (15:59 +0100)] 
Backport r245647

2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR lto/79587
* data-streamer-in.c (streamer_read_gcov_count): Remove assert.
* data-streamer-out.c (streamer_write_gcov_count_stream):
Likewise.
* value-prof.c (stream_out_histogram_value): Make assert more
precise based on type of counter.
2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR lto/79587
* gcc.dg/tree-prof/pr79587.c: New test.

From-SVN: r246387

8 years agoBackport r246345
Martin Liska [Wed, 22 Mar 2017 12:33:33 +0000 (13:33 +0100)] 
Backport r246345

2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR target/79906
* config/rs6000/rs6000.c (rs6000_inner_target_options): Show
error message instead of an ICE.
2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR target/79906
* g++.dg/ext/mv8.C: Add power* targets.

From-SVN: r246380

8 years agoBackport r246321
Martin Liska [Wed, 22 Mar 2017 12:32:56 +0000 (13:32 +0100)] 
Backport r246321

2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR gcov-profile/80081
* Makefile.in: Add gcov-dump and fix installation of gcov-tool.
* doc/gcc.texi: Include gcov-dump stuff.
* doc/gcov-dump.texi: New file.

From-SVN: r246379

8 years agoBackport r246316
Martin Liska [Wed, 22 Mar 2017 12:32:39 +0000 (13:32 +0100)] 
Backport r246316

2017-03-22  Martin Liska  <mliska@suse.cz>

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

* gcc.target/i386/pr65044.c: Add '.' in order to catch
apostrophes.

From-SVN: r246378

8 years agoBackport r246276
Martin Liska [Wed, 22 Mar 2017 12:32:17 +0000 (13:32 +0100)] 
Backport r246276

2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR middle-end/79753
* tree-chkp.c (chkp_build_returned_bound): Do not build
returned bounds for a LHS that's not a BOUNDED_P type.
2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR middle-end/79753
* gcc.target/i386/mpx/pr79753.c: New test.

From-SVN: r246377

8 years agoBackport r246275
Martin Liska [Wed, 22 Mar 2017 12:31:53 +0000 (13:31 +0100)] 
Backport r246275

2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR target/79769
PR target/79770
* tree-chkp.c (chkp_find_bounds_1): Handle REAL_CST,
COMPLEX_CST and VECTOR_CST.
2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR target/79769
PR target/79770
* g++.dg/pr79769.C: New test.
* gcc.target/i386/mpx/pr79770.c: New test.

From-SVN: r246376

8 years agoBackport r246129
Martin Liska [Wed, 22 Mar 2017 12:31:29 +0000 (13:31 +0100)] 
Backport r246129

2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR middle-end/79831
* doc/invoke.texi (-Wchkp): Document the option.

From-SVN: r246375

8 years agoBackport r246098
Martin Liska [Wed, 22 Mar 2017 12:31:04 +0000 (13:31 +0100)] 
Backport r246098

2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR middle-end/78339
* ipa-pure-const.c (warn_function_noreturn): If the declarations
is a CHKP clone, use original declaration.
2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR middle-end/78339
* gcc.target/i386/mpx/pr78339.c: New test.

From-SVN: r246374

8 years agoBackport r237353,r245997,r246027
Martin Liska [Wed, 22 Mar 2017 12:30:42 +0000 (13:30 +0100)] 
Backport r237353,r245997,r246027

2017-03-22  Martin Liska  <mliska@suse.cz>

Backport from mainline
2016-06-13  Martin Liska  <mliska@suse.cz>

PR target/65705
PR target/69804
PR sanitizer/71458

* toplev.c (process_options): Enable MPX with LSAN and UBSAN.
* tree-chkp.c (chkp_walk_pointer_assignments): Verify that
FIELD != NULL.
2017-03-22  Martin Liska  <mliska@suse.cz>

Backport from mainline
2016-06-13  Martin Liska  <mliska@suse.cz>

PR sanitizer/71458
* gcc.target/i386/pr71458.c: New test.

From-SVN: r246373

8 years agoBackport r245998
Martin Liska [Wed, 22 Mar 2017 12:29:56 +0000 (13:29 +0100)] 
Backport r245998

2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR tree-optimization/79631
* tree-chkp-opt.c (chkp_is_constant_addr): Call
tree_int_cst_sign_bit just for INTEGER constants.
2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR tree-optimization/79631
* gcc.target/i386/mpx/pr79631.c: New test.

From-SVN: r246372

8 years agoBackport r245993
Martin Liska [Wed, 22 Mar 2017 12:29:36 +0000 (13:29 +0100)] 
Backport r245993

2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR ipa/79761
* tree-chkp.c (chkp_get_bound_for_parm): Get bounds for a param.
(chkp_find_bounds_1): Remove gcc_unreachable.
2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR ipa/79761
* g++.dg/pr79761.C: New test.

From-SVN: r246371

8 years agoBackport r245992
Martin Liska [Wed, 22 Mar 2017 12:29:07 +0000 (13:29 +0100)] 
Backport r245992

2017-03-22  Martin Liska  <mliska@suse.cz>

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

* c-ada-spec.c (macro_length): Increment value instead of a pointer.

From-SVN: r246370

8 years agoBackport r245869
Martin Liska [Wed, 22 Mar 2017 12:28:50 +0000 (13:28 +0100)] 
Backport r245869

2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR tree-optimization/79803
* tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Remove
assert.
(pass_loop_prefetch::execute): Disabled optimization if an
assumption about L1 cache size is not met.
2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR tree-optimization/79803
* gcc.dg/tree-ssa/pr79803.c: New test.

From-SVN: r246369

8 years agoBackport r245868
Martin Liska [Wed, 22 Mar 2017 12:28:21 +0000 (13:28 +0100)] 
Backport r245868

2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR rtl-optimization/79574
* gcse.c (struct gcse_expr): Use HOST_WIDE_INT instead of int.
(hash_scan_set): Likewise.
(dump_hash_table): Likewise.
(hoist_code): Likewise.
2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR rtl-optimization/79574
* gcc.dg/pr79574-2.c: New test.

From-SVN: r246368

8 years agoBackport r245531
Martin Liska [Wed, 22 Mar 2017 12:28:00 +0000 (13:28 +0100)] 
Backport r245531

2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR rtl-optimization/79574
* gcse.c (want_to_gcse_p): Prevent integer overflow.
2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR rtl-optimization/79574
* gcc.dg/pr79574.c: New test.

From-SVN: r246367

8 years agoBackport r245532
Martin Liska [Wed, 22 Mar 2017 12:27:32 +0000 (13:27 +0100)] 
Backport r245532

2017-03-22  Martin Liska  <mliska@suse.cz>

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

PR rtl-optimization/79577
* params.def (selsched-max-sched-times): Increase minimum to 1.

From-SVN: r246366

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

From-SVN: r246340

8 years agoPR c++/79548 - missing -Wunused-variable on a typedef'd variable in a function template
Martin Sebor [Tue, 21 Mar 2017 23:56:52 +0000 (23:56 +0000)] 
PR c++/79548 - missing -Wunused-variable on a typedef'd variable in a function template

gcc/c-family/ChangeLog:

PR c++/79548
* c-common.c (set_underlying_type): Mark type used only when
original del is declared unused.

gcc/testsuite/ChangeLog:

PR c++/79548
* g++.dg/warn/Wunused-var-26.C: New test.

From-SVN: r246337

8 years agore PR target/79951 (ICE in extract_insn, at recog.c:2311 on ppc64le with -mno-cmpb)
Pat Haugen [Tue, 21 Mar 2017 16:36:39 +0000 (16:36 +0000)] 
re PR target/79951 (ICE in extract_insn, at recog.c:2311 on ppc64le with -mno-cmpb)

PR target/79951
* config/rs6000/rs6000.md (copysign<mode>3_fcpsgn): Test
for VECTOR_UNIT_VSX_P (<MODE>mode) too.
* gcc.target/powerpc/pr79951.c: New.

From-SVN: r246328

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