]> gcc.gnu.org Git - gcc.git/log
gcc.git
6 years agoDaily bump.
GCC Administrator [Sun, 30 Sep 2018 00:16:12 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264718

6 years agore PR target/87467 (Incorrect function parameter for _mm512_abs_pd in `include/avx512...
Jakub Jelinek [Sat, 29 Sep 2018 16:28:53 +0000 (18:28 +0200)]
re PR target/87467 (Incorrect function parameter for _mm512_abs_pd in `include/avx512fintrin.h`)

PR target/87467
* config/i386/avx512fintrin.h (_mm512_abs_pd, _mm512_mask_abs_pd): Use
__m512d type for __A argument rather than __m512.

* gcc.target/i386/avx512f-abspd-1.c (SIZE): Divide by two.
(CALC): Use double instead of float.
(TEST): Adjust to test _mm512_abs_pd and _mm512_mask_abs_pd rather than
_mm512_abs_ps and _mm512_mask_abs_ps.

From-SVN: r264714

6 years agoDaily bump.
GCC Administrator [Sat, 29 Sep 2018 00:16:10 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264707

6 years agoBackport pr 87033 to gcc 7
Michael Meissner [Fri, 28 Sep 2018 00:32:46 +0000 (00:32 +0000)]
Backport pr 87033 to gcc 7

From-SVN: r264686

6 years agoDaily bump.
GCC Administrator [Fri, 28 Sep 2018 00:16:34 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264683

6 years agoDaily bump.
GCC Administrator [Thu, 27 Sep 2018 00:16:45 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264659

6 years agoDaily bump.
GCC Administrator [Wed, 26 Sep 2018 00:16:48 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264590

6 years agoDaily bump.
GCC Administrator [Tue, 25 Sep 2018 00:16:28 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264550

6 years agoFix thinko
Eric Botcazou [Mon, 24 Sep 2018 08:15:53 +0000 (08:15 +0000)]
Fix thinko

From-SVN: r264524

6 years agoDaily bump.
GCC Administrator [Mon, 24 Sep 2018 00:16:22 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264520

6 years agoDaily bump.
GCC Administrator [Sun, 23 Sep 2018 00:16:10 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264508

6 years agoDaily bump.
GCC Administrator [Sat, 22 Sep 2018 00:16:31 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264498

6 years agors6000.c (rs6000_function_ok_for_sibcall): Return false if the call takes a static...
Eric Botcazou [Fri, 21 Sep 2018 10:06:25 +0000 (10:06 +0000)]
rs6000.c (rs6000_function_ok_for_sibcall): Return false if the call takes a static chain.

* config/rs6000/rs6000.c (rs6000_function_ok_for_sibcall): Return false
if the call takes a static chain.

From-SVN: r264465

6 years agoDaily bump.
GCC Administrator [Fri, 21 Sep 2018 00:16:47 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264454

6 years agopa.md (atomic_storeqi): Restore deleted expander.
John David Anglin [Thu, 20 Sep 2018 01:10:47 +0000 (01:10 +0000)]
pa.md (atomic_storeqi): Restore deleted expander.

* config/pa/pa.md (atomic_storeqi): Restore deleted expander.
(atomic_storehi): Likewise.
(atomic_storesi): Likewise.
(atomic_loaddi): Restore compare and swap exchange loop code.

From-SVN: r264435

6 years agoDaily bump.
GCC Administrator [Thu, 20 Sep 2018 00:16:24 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264430

6 years agoDaily bump.
GCC Administrator [Wed, 19 Sep 2018 00:16:37 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264415

6 years ago[libgfortran] Fix uninitialized variable use in fallback_access
Kyrylo Tkachov [Tue, 18 Sep 2018 09:02:14 +0000 (09:02 +0000)]
[libgfortran] Fix uninitialized variable use in fallback_access

Backport from trunk
2018-09-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

* io/unix.c (fallback_access): Avoid calling close on
uninitialized file descriptor.

From-SVN: r264384

6 years agoDaily bump.
GCC Administrator [Tue, 18 Sep 2018 00:16:23 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264378

6 years agoDaily bump.
GCC Administrator [Mon, 17 Sep 2018 00:16:21 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264353

6 years agoDaily bump.
GCC Administrator [Sun, 16 Sep 2018 00:16:34 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264344

6 years agoDaily bump.
GCC Administrator [Sat, 15 Sep 2018 00:16:17 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264339

6 years agoDaily bump.
GCC Administrator [Fri, 14 Sep 2018 00:16:36 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264297

6 years agore PR fortran/87284 (Allocation of class arrays with mold results in "conditional...
Paul Thomas [Thu, 13 Sep 2018 19:46:05 +0000 (19:46 +0000)]
re PR fortran/87284 (Allocation of class arrays with mold results in "conditional jump or move depends on uninitialised value")

2018-09-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/87284
* trans-expr.c (gfc_trans_class_init_assign): Access to
to array elements of the dynamic type requires that the array
reference be added to the class expression and not the _data
component, unlike scalar expressions.

2018-09-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/87284
* gfortran.dg/allocate_with_mold_2.f90: New test.

From-SVN: r264288

6 years agobackport: s-osinte-solaris.ads (upad64_t): New private type.
Eric Botcazou [Thu, 13 Sep 2018 10:14:39 +0000 (10:14 +0000)]
backport: s-osinte-solaris.ads (upad64_t): New private type.

Backport from mainline
2018-07-31  Eric Botcazou  <ebotcazou@adacore.com>

* s-osinte-solaris.ads (upad64_t): New private type.
(mutex_t): Use it for 'lock' and 'data' components.
(cond_t): Likewise for 'data' and use single 'flags' component.

From-SVN: r264266

6 years agoDaily bump.
GCC Administrator [Thu, 13 Sep 2018 00:16:11 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264256

6 years agoBackport patch for PR86989 to 7
Segher Boessenkool [Wed, 12 Sep 2018 18:01:11 +0000 (20:01 +0200)]
Backport patch for PR86989 to 7

2018-09-12  Segher Boessenkool  <segher@kernel.crashing.org>

Backport from trunk
2018-08-24  Segher Boessenkool  <segher@kernel.crashing.org>

PR target/86989
* config/rs6000/rs6000.c (toc_relative_expr_p): Check that the base is
the TOC register.

From-SVN: r264247

6 years agoS/390: Use proper rounding mode for DFP to BFD conversions
Andreas Krebbel [Wed, 12 Sep 2018 11:13:56 +0000 (11:13 +0000)]
S/390: Use proper rounding mode for DFP to BFD conversions

According to IEEE 754 2008 4.3 'Rounding-direction attributes' the
rounding mode of the target format needs to be used. By not setting
the value so far we have always used the DFP rounding mode.

gcc/ChangeLog:

2018-09-12  Andreas Krebbel  <krebbel@linux.ibm.com>

Backport from mainline
2018-09-12  Andreas Krebbel  <krebbel@linux.ibm.com>

* config/s390/s390.md (PFPO_RND_MODE_DFP, PFPO_RND_MODE_BFP): New
constants.
("trunc<BFP:mode><DFP_ALL:mode>2")
("trunc<DFP_ALL:mode><BFP:mode>2")
("extend<BFP:mode><DFP_ALL:mode>2")
("extend<DFP_ALL:mode><BFP:mode>2"): Set proper rounding mode
according to the target operand type.

gcc/testsuite/ChangeLog:

2018-09-12  Andreas Krebbel  <krebbel@linux.ibm.com>

Backport from mainline
2018-09-12  Andreas Krebbel  <krebbel@linux.ibm.com>

* gcc.target/s390/dfp_to_bfp_rounding.c: New test.

From-SVN: r264236

6 years agoDaily bump.
GCC Administrator [Wed, 12 Sep 2018 00:16:35 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264224

6 years agoDaily bump.
GCC Administrator [Tue, 11 Sep 2018 00:16:25 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264198

6 years agoDaily bump.
GCC Administrator [Mon, 10 Sep 2018 00:16:29 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264187

6 years agoDaily bump.
GCC Administrator [Sun, 9 Sep 2018 00:16:28 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264174

6 years agoDaily bump.
GCC Administrator [Sat, 8 Sep 2018 00:16:33 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264165

6 years agobackport: re PR fortran/86116 (Ambiguous generic interface not recognised)
Janus Weil [Fri, 7 Sep 2018 17:33:15 +0000 (19:33 +0200)]
backport: re PR fortran/86116 (Ambiguous generic interface not recognised)

2018-09-07  Janus Weil  <janus@gcc.gnu.org>

Backported from trunk
PR fortran/86116
* interface.c (compare_type): Remove a CLASS/TYPE check.
(compare_type_characteristics): New function that behaves like the old
'compare_type'.
(gfc_check_dummy_characteristics, gfc_check_result_characteristics):
Call 'compare_type_characteristics' instead of 'compare_type'.

2018-09-07  Janus Weil  <janus@gcc.gnu.org>

Backported from trunk
PR fortran/86116
* gfortran.dg/generic_34.f90: New test case.

From-SVN: r264161

6 years agoDaily bump.
GCC Administrator [Fri, 7 Sep 2018 00:16:22 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264153

6 years agoDaily bump.
GCC Administrator [Thu, 6 Sep 2018 00:16:31 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264136

6 years agoDaily bump.
GCC Administrator [Wed, 5 Sep 2018 00:16:20 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264098

6 years agogcc: xtensa: fix NAND code in xtensa_expand_atomic
Max Filippov [Tue, 4 Sep 2018 17:59:04 +0000 (17:59 +0000)]
gcc: xtensa: fix NAND code in xtensa_expand_atomic

NAND is ~(a1 & a2), but xtensa_expand_atomic does ~a1 & a2.
That fixes libatomic tests atomic-op-{1,2}.

gcc/
2018-09-04  Max Filippov  <jcmvbkbc@gmail.com>

Backport from mainline
2018-09-04  Max Filippov  <jcmvbkbc@gmail.com>

* config/xtensa/xtensa.c (xtensa_expand_atomic): Reorder AND and
XOR operations in NAND case.

From-SVN: r264090

6 years agoAdd -Waligned-new to Option Summary
Jonathan Wakely [Tue, 4 Sep 2018 13:33:14 +0000 (14:33 +0100)]
Add -Waligned-new to Option Summary

* doc/invoke.texi (Option Summary): Add -Waligned-new.

From-SVN: r264082

6 years agoDaily bump.
GCC Administrator [Tue, 4 Sep 2018 00:16:36 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264072

6 years agobackport "[tail-merge] Fix side-effect test in stmt_local_def"
Tom de Vries [Mon, 3 Sep 2018 10:04:08 +0000 (10:04 +0000)]
backport "[tail-merge] Fix side-effect test in stmt_local_def"

2018-09-03  Tom de Vries  <tdevries@suse.de>

backport from trunk:
2018-06-21  Tom de Vries  <tdevries@suse.de>

PR tree-optimization/85859
* tree-ssa-tail-merge.c (stmt_local_def): Copy gimple_is_call
test with comment from bb_no_side_effects_p.

* gcc.dg/pr85859.c: New test.

From-SVN: r264054

6 years agoDaily bump.
GCC Administrator [Mon, 3 Sep 2018 00:16:40 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264047

6 years agoDaily bump.
GCC Administrator [Sun, 2 Sep 2018 00:16:15 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264035

6 years agoDaily bump.
GCC Administrator [Sat, 1 Sep 2018 00:16:30 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264024

6 years agoDaily bump.
GCC Administrator [Fri, 31 Aug 2018 00:16:25 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r264004

6 years agoDaily bump.
GCC Administrator [Thu, 30 Aug 2018 00:16:43 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263970

6 years agoDaily bump.
GCC Administrator [Wed, 29 Aug 2018 00:16:26 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263938

6 years agoDaily bump.
GCC Administrator [Tue, 28 Aug 2018 00:16:27 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263902

6 years agoDaily bump.
GCC Administrator [Mon, 27 Aug 2018 00:16:14 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263865

6 years agoDaily bump.
GCC Administrator [Sun, 26 Aug 2018 00:16:42 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263858

6 years agobackport: re PR target/86662 (msp430-elf segfault with -flto and -mlarge)
Jozef Lawrynowicz [Sat, 25 Aug 2018 11:52:15 +0000 (11:52 +0000)]
backport: re PR target/86662 (msp430-elf segfault with -flto and -mlarge)

Backport from mainline

PR target/86662

        * gcc/tree.c (build_common_tree_nodes): Initialize integer_types array
        with all enabled __intN types.

        * gcc/testsuite/gcc.target/msp430/pr86662.c: New test.

From-SVN: r263852

6 years agoDaily bump.
GCC Administrator [Sat, 25 Aug 2018 00:16:43 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263847

6 years agoDaily bump.
GCC Administrator [Fri, 24 Aug 2018 00:16:40 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263825

6 years agoDaily bump.
GCC Administrator [Thu, 23 Aug 2018 00:16:43 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263796

6 years agoDaily bump.
GCC Administrator [Wed, 22 Aug 2018 00:16:20 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263756

6 years agox86: Always update EH return address in word_mode
H.J. Lu [Tue, 21 Aug 2018 16:27:22 +0000 (16:27 +0000)]
x86: Always update EH return address in word_mode

On x86, return address is always popped in word_mode.  eh_return needs
to put EH return address in word_mode on stack.

gcc/

Backport from mainline
PR target/87014
* config/i386/i386.md (eh_return): Always update EH return
address in word_mode.

gcc/testsuite/

Backport from mainline
PR target/87014
* g++.dg/torture/pr87014.C: New file.

From-SVN: r263744

6 years agoRestrict the pr86763 test to *-*-linux* targets
Szabolcs Nagy [Tue, 21 Aug 2018 13:20:21 +0000 (13:20 +0000)]
Restrict the pr86763 test to *-*-linux* targets

clock_gettime is not available on some baremetal targets
and may require -lrt on some non-linux targets.

gcc/testsuite/ChangeLog:

Backport from mainline
2018-08-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>

* g++.dg/torture/pr86763.C: Restrict to *-*-linux*.

From-SVN: r263701

6 years agoDaily bump.
GCC Administrator [Tue, 21 Aug 2018 00:16:09 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263681

6 years agoDaily bump.
GCC Administrator [Mon, 20 Aug 2018 00:16:16 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263654

6 years agoDaily bump.
GCC Administrator [Sun, 19 Aug 2018 00:16:10 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263649

6 years agoDaily bump.
GCC Administrator [Sat, 18 Aug 2018 00:16:17 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263642

6 years agobackport: pa.md (UNSPEC_MEMORY_BARRIER): New unspec enum.
John David Anglin [Fri, 17 Aug 2018 22:56:33 +0000 (22:56 +0000)]
backport: pa.md (UNSPEC_MEMORY_BARRIER): New unspec enum.

Backport from mainline
2018-08-11  John David Anglin  <danglin@gcc.gnu.org>

gcc
* config/pa/pa.md (UNSPEC_MEMORY_BARRIER): New unspec enum.
Update comment for atomic instructions.
(atomic_storeqi, atomic_storehi, atomic_storesi, atomic_storesf,
atomic_loaddf, atomic_loaddf_1, atomic_storedf, atomic_storedf_1):
Remove.
(atomic_loaddi): Revise fence expansion to only emit fence prior to
load for __ATOMIC_SEQ_CST model.
(atomic_loaddi_1): Remove float register target.
(atomic_storedi): Handle CONST_INT values.
(atomic_storedi_1): Remove float register source.  Add special case
for zero value.
(memory_barrier): New expander and insn.

libgcc
* config/pa/linux-atomic.c: Update comment.
(FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
__ATOMIC_RELAXED for atomic loads.
(SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
unordered store to release lock.
(__sync_lock_release_8): Likewise.
(SYNC_LOCK_RELEASE_2): Remove define.

From-SVN: r263638

6 years agobackport: re PR c++/86763 (Wrong code comparing member of copy of a 237 byte object...
Richard Biener [Fri, 17 Aug 2018 14:17:10 +0000 (14:17 +0000)]
backport: re PR c++/86763 (Wrong code comparing member of copy of a 237 byte object with nontrivial default constructor on x86-64 arch)

2018-08-17  Richard Biener  <rguenther@suse.de>

Backport from mainline
2018-08-02  Richard Biener  <rguenther@suse.de>

PR c++/86763
* class.c (layout_class_type): Copy TYPE_TYPELESS_STORAGE
to the CLASSTYPE_AS_BASE.

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

From-SVN: r263621

6 years agoDaily bump.
GCC Administrator [Fri, 17 Aug 2018 00:16:23 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263609

6 years agoBackport r263246
Martin Liska [Thu, 16 Aug 2018 10:19:16 +0000 (12:19 +0200)]
Backport r263246

2018-08-16  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-08-02  Martin Liska  <mliska@suse.cz>

        PR sanitizer/86022
* sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
        Cherry-pick compiler-rt revision 338606.

From-SVN: r263581

6 years agoDaily bump.
GCC Administrator [Thu, 16 Aug 2018 00:16:25 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263574

6 years agoDaily bump.
GCC Administrator [Wed, 15 Aug 2018 00:16:30 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263545

6 years agoDaily bump.
GCC Administrator [Tue, 14 Aug 2018 00:16:23 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263525

6 years agoRevert "libstdc++-v3: Have aligned_alloc() on Newlib"
Jonathan Wakely [Mon, 13 Aug 2018 19:16:02 +0000 (20:16 +0100)]
Revert "libstdc++-v3: Have aligned_alloc() on Newlib"

This reverts commit r263463 / b7edd52337828cc46e469bca12f58288795b78d5
because aligned_alloc is not defined for baremetal newlib targets, see
https://gcc.gnu.org/ml/libstdc++/2018-08/msg00065.html

Revert
2018-08-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>

PR target/85904
* configure.ac: Define HAVE_ALIGNED_ALLOC if building for
Newlib.
* configure: Regenerate.

From-SVN: r263518

6 years agobackport: re PR rtl-optimization/85645 (ICE in maybe_record_trace_start, at dwarf2cfi...
Segher Boessenkool [Mon, 13 Aug 2018 17:05:48 +0000 (19:05 +0200)]
backport: re PR rtl-optimization/85645 (ICE in maybe_record_trace_start, at dwarf2cfi.c:2348)

Backport from mainline
2018-05-09  Segher Boessenkool  <segher@kernel.crashing.org>

PR rtl-optimization/85645
* regrename.c (build_def_use): Also kill the chains that include the
destination of a REG_CFA_REGISTER note.

PR rtl-optimization/85645
*  regcprop.c (copyprop_hardreg_forward_1): Don't propagate into an
insn that has a REG_CFA_REGISTER note.

From-SVN: r263509

6 years agoDaily bump.
GCC Administrator [Mon, 13 Aug 2018 00:16:10 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263501

6 years agoDaily bump.
GCC Administrator [Sun, 12 Aug 2018 00:16:10 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263490

6 years agoPR c++/86728 - C variadic generic lambda.
Jason Merrill [Sat, 11 Aug 2018 11:02:22 +0000 (07:02 -0400)]
PR c++/86728 - C variadic generic lambda.

* parser.c (cp_parser_parameter_declaration): Don't turn 'auto' into
a pack if it's followed by a declarator-id.

From-SVN: r263486

6 years agoDaily bump.
GCC Administrator [Sat, 11 Aug 2018 00:16:20 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263481

6 years agobackport: re PR target/86197 (POWERPC: float128 parameter passing)
Segher Boessenkool [Fri, 10 Aug 2018 20:14:11 +0000 (22:14 +0200)]
backport: re PR target/86197 (POWERPC: float128 parameter passing)

Backport from mainline
2018-06-19  Segher Boessenkool  <segher@kernel.crashing.org>

PR target/86197
* config/rs6000/rs6000.md (rs6000_discover_homogeneous_aggregate): An
ieee128 argument takes up only one (vector) register, not two (floating
point) registers.

From-SVN: r263477

6 years agolibstdc++-v3: Have aligned_alloc() on Newlib
Sebastian Huber [Fri, 10 Aug 2018 06:31:57 +0000 (06:31 +0000)]
libstdc++-v3: Have aligned_alloc() on Newlib

While building for Newlib, some configure checks must be hard coded.
The aligned_alloc() is supported since 2015 in Newlib.

libstdc++-v3/

PR target/85904
* configure.ac: Define HAVE_ALIGNED_ALLOC if building for
Newlib.
* configure: Regenerate.

From-SVN: r263463

6 years agoDaily bump.
GCC Administrator [Fri, 10 Aug 2018 00:16:19 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263458

6 years agoDaily bump.
GCC Administrator [Thu, 9 Aug 2018 00:16:22 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263437

6 years agoPrevent internal aligned_alloc clashing with libc version
Jonathan Wakely [Wed, 8 Aug 2018 15:53:25 +0000 (16:53 +0100)]
Prevent internal aligned_alloc clashing with libc version

If configure fails to detect aligned_alloc we will try to define our
own in new_opa.cc but that could clash with the libc version in
<stdlib.h>. Use a namespace to keep them distinct.

* libsupc++/new_opa.cc (aligned_alloc): Declare inside namespace to
avoid clashing with an ::aligned_alloc function that was not detected
by configure.

From-SVN: r263426

6 years agoFix Docbook markup to remove empty table cell
Jonathan Wakely [Wed, 8 Aug 2018 13:52:09 +0000 (14:52 +0100)]
Fix Docbook markup to remove empty table cell

* doc/xml/manual/using.xml: Remove empty table cell.
* doc/html/*: Regenerate.

From-SVN: r263403

6 years agoFix docs on C++17 and LFTS headers
Jonathan Wakely [Wed, 8 Aug 2018 13:46:29 +0000 (14:46 +0100)]
Fix docs on C++17 and LFTS headers

* doc/xml/manual/using.xml: Add missing header to table and fix typo.
Remove C++17 headers not present on gcc-8-branch.
* doc/html/*: Regenerate.

From-SVN: r263402

6 years agoDaily bump.
GCC Administrator [Wed, 8 Aug 2018 00:16:20 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263385

6 years agoDeclare some explicit instantiations for strings in Debug Mode
Jonathan Wakely [Tue, 7 Aug 2018 22:50:55 +0000 (23:50 +0100)]
Declare some explicit instantiations for strings in Debug Mode

The empty reps and the I/O functions do not need to be implicitly
instantiated to enable assertions, so declare the explicit
instantiations when _GLIBCXX_EXTERN_TEMPLATE == -1 (i.e. when
_GLIBCXX_ASSERTIONS is defined).

Backport from mainline
2018-06-27  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/86138
* include/bits/basic_string.tcc: [_GLIBCXX_EXTERN_TEMPLATE < 0]
Declare explicit instantiations of COW empty reps and I/O functions.

From-SVN: r263383

6 years agoPR libstdc++/84654 Disable __float128 specializations for -mno-float128
Jonathan Wakely [Tue, 7 Aug 2018 22:50:49 +0000 (23:50 +0100)]
PR libstdc++/84654 Disable __float128 specializations for -mno-float128

Backport from mainline
2018-05-08  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/85672
* include/Makefile.am [!ENABLE_FLOAT128]: Change c++config.h entry
to #undef _GLIBCXX_USE_FLOAT128 instead of defining it to zero.
* include/Makefile.in: Regenerate.
* include/bits/c++config (_GLIBCXX_USE_FLOAT128): Move definition
within conditional block.

Backport from mainline
2018-05-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>

PR libstdc++/84654
* acinclude.m4: Set ENABLE_FLOAT128 instead of _GLIBCXX_USE_FLOAT128.
* config.h.in: Remove references to _GLIBCXX_USE_FLOAT128.
* configure: Regenerate.
* include/Makefile.am: Replace the value of _GLIBCXX_USE_FLOAT128
based on ENABLE_FLOAT128.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Define _GLIBCXX_USE_FLOAT128.
[!defined(__FLOAT128__) && !defined(__SIZEOF_FLOAT128__)]: Undefine
_GLIBCXX_USE_FLOAT128.

From-SVN: r263382

6 years agoPR libstdc++/80893 Fix null dereference in vector<bool>
Jonathan Wakely [Tue, 7 Aug 2018 22:50:45 +0000 (23:50 +0100)]
PR libstdc++/80893 Fix null dereference in vector<bool>

Backport from mainline
2017-06-17  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/80893
* testsuite/23_containers/vector/bool/80893.cc: Add { target c++11 }.

Backport from mainline
2017-05-31  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/80893
* include/bits/stl_bvector.h (vector<bool>::_M_initialize): Avoid
null pointer dereference when size is zero.
* testsuite/23_containers/vector/bool/80893.cc: New.
* testsuite/util/testsuite_allocator.h (PointerBase::PointerBase):
Add non-explicit constructor from nullptr.
(PointerBase::derived() const): Add const-qualified overload.

From-SVN: r263381

6 years agoPR libstdc++/68519 use native duration to avoid rounding errors
Jonathan Wakely [Tue, 7 Aug 2018 22:50:40 +0000 (23:50 +0100)]
PR libstdc++/68519 use native duration to avoid rounding errors

Backport from mainline
2017-12-14  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/68519
* include/std/condition_variable (condition_variable::wait_for):
Convert duration to native clock's duration before addition.
* testsuite/30_threads/condition_variable/members/68519.cc: New test.

From-SVN: r263380

6 years agoPR libstdc++/86292 fix exception safety of std::vector<InputIterator> constructor
Jonathan Wakely [Tue, 7 Aug 2018 22:50:33 +0000 (23:50 +0100)]
PR libstdc++/86292 fix exception safety of std::vector<InputIterator> constructor

Backport from mainline
2018-06-25  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/86292
* include/bits/stl_vector.h (vector::_M_range_initialize<InputIter>):
Add try-catch block.
* testsuite/23_containers/vector/cons/86292.cc: New.

From-SVN: r263379

6 years agoImprove libstdc++ docs w.r.t newer C++ standards
Jonathan Wakely [Tue, 7 Aug 2018 22:50:28 +0000 (23:50 +0100)]
Improve libstdc++ docs w.r.t newer C++ standards

Instead of repeating all the old headers for every new standard I've
changed the docs to only list the new headers for each standard.

Backport from mainline
2018-07-31  Jonathan Wakely  <jwakely@redhat.com>

* doc/xml/manual/test.xml: Improve documentation on writing tests for
newer standards.
* doc/xml/manual/using.xml: Document all headers for C++11 and later.
* doc/html/*: Regenerate.

From-SVN: r263378

6 years agoPR libstdc++/60555 std::system_category() should recognise POSIX errno values
Jonathan Wakely [Tue, 7 Aug 2018 22:50:24 +0000 (23:50 +0100)]
PR libstdc++/60555 std::system_category() should recognise POSIX errno values

Backport from mainline
2018-08-03  Jonathan Wakely  <jwakely@redhat.com>

* src/c++11/system_error.cc
(system_error_category::default_error_condition): Add workaround for
ENOTEMPTY and EEXIST having the same value on AIX.
* testsuite/19_diagnostics/error_category/system_category.cc: Add
extra testcases for EDOM, EILSEQ, ERANGE, EEXIST and ENOTEMPTY.

Backport from mainline
2018-08-01  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/60555
* src/c++11/system_error.cc
(system_error_category::default_error_condition): New override to
check for POSIX errno values.
* testsuite/19_diagnostics/error_category/generic_category.cc: New
* testsuite/19_diagnostics/error_category/system_category.cc: New
test.

From-SVN: r263377

6 years agoPR libstdc++/86861 Meet precondition for Solaris memalign
Jonathan Wakely [Tue, 7 Aug 2018 22:50:19 +0000 (23:50 +0100)]
PR libstdc++/86861 Meet precondition for Solaris memalign

Solaris memalign requires alignment to be at least sizeof(int), so
increase it as needed.

Also move the check for valid alignments from the fallback
implementation of aligned_alloc into operator new, as it's required for
all of aligned_alloc, memalign, posix_memalign and __aligned_malloc.

Backport from mainline
2018-08-07  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/86861
* libsupc++/new_opa.cc [_GLIBCXX_HAVE_MEMALIGN] (aligned_alloc):
Replace macro with inline function.
[__sun]: Increase alignment to meet memalign precondition.
[!HAVE__ALIGNED_MALLOC && !HAVE_POSIX_MEMALIGN && !HAVE_MEMALIGN]
(aligned_alloc): Move check for valid alignment to operator new.
Remove redundant check for non-zero size, it's enforced by the caller.
(operator new): Move check for valid alignment here. Use
__builtin_expect on check for zero size.

From-SVN: r263376

6 years agoAdd workaround for aligned_alloc bug on AIX
Jonathan Wakely [Tue, 7 Aug 2018 22:50:15 +0000 (23:50 +0100)]
Add workaround for aligned_alloc bug on AIX

On AIX 7.2.0.0 aligned_alloc incorrectly requires the alignment to be a
multiple of sizeof(void*).

This adds a workaround to the operator new overload taking an alignment
value, to increase the alignment (and size) if needed.

Backport from mainline
2018-07-30  Jonathan Wakely  <jwakely@redhat.com>

* libsupc++/new_opa.cc (operator new(size_t, align_val_t)): Add
workaround for aligned_alloc bug on AIX.
* testsuite/18_support/new_aligned.cc: New test.

From-SVN: r263375

6 years agoPR libstdc++/86734 use addressof in reverse_iterator::operator->
Jonathan Wakely [Tue, 7 Aug 2018 22:50:11 +0000 (23:50 +0100)]
PR libstdc++/86734 use addressof in reverse_iterator::operator->

Backport from mainline
2018-07-30  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/86734
* include/bits/stl_iterator.h (reverse_iterator::operator->): Use
addressof (LWG 2188).
* testsuite/24_iterators/reverse_iterator/dr2188.cc: New test.

From-SVN: r263374

6 years agoFix std::codecvt_utf8<wchar_t> for Mingw
Jonathan Wakely [Tue, 7 Aug 2018 22:50:06 +0000 (23:50 +0100)]
Fix std::codecvt_utf8<wchar_t> for Mingw

Backport from mainline
2018-05-19  Jonathan Wakely  <jwakely@redhat.com>

* src/c++11/codecvt.cc (__codecvt_utf8_base<wchar_t>::do_in)
[__SIZEOF_WCHAR_T__==2 && __BYTE_ORDER__!=__ORDER_BIG_ENDIAN__]: Set
little_endian element in bitmask.
* testsuite/22_locale/codecvt/codecvt_utf8/69703.cc: Run all tests.
* testsuite/22_locale/codecvt/codecvt_utf8/wchar_t/1.cc: New.

From-SVN: r263373

6 years agoDaily bump.
GCC Administrator [Tue, 7 Aug 2018 00:16:21 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263348

6 years agoDaily bump.
GCC Administrator [Mon, 6 Aug 2018 00:16:21 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263322

6 years agoDaily bump.
GCC Administrator [Sun, 5 Aug 2018 00:16:15 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263314

6 years agoDaily bump.
GCC Administrator [Sat, 4 Aug 2018 00:16:20 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263303

6 years agoDaily bump.
GCC Administrator [Fri, 3 Aug 2018 00:16:09 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263282

6 years agobackport: re PR middle-end/86705 (pr45678-2.c ICE with msp430-elf -mlarge)
Jozef Lawrynowicz [Thu, 2 Aug 2018 20:36:14 +0000 (20:36 +0000)]
backport: re PR middle-end/86705 (pr45678-2.c ICE with msp430-elf -mlarge)

2018-08-02  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

Backport from mainline
2018-07-31  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

PR middle-end/86705
* gcc/cfgexpand.c (set_parm_rtl): Use the alignment of Pmode when
MAX_SUPPORTED_STACK_ALIGNMENT would otherwise be exceeded by the
requested variable alignment.
(expand_one_ssa_partition): Likewise.
(expand_one_var): Likewise.

From-SVN: r263277

6 years agoDaily bump.
GCC Administrator [Thu, 2 Aug 2018 00:16:40 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r263241

This page took 0.122426 seconds and 5 git commands to generate.