[Bug c++/85668] ICE with substitution failure

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85668 Richard Biener changed: What|Removed |Added Keywords||ice-on-invalid-code

[committed][AArch64] Predicated SVE comparison folds

2018-05-08 Thread Richard Sandiford
This patch adds SVE patterns that combine a PTRUE-predicated comparison with a separate AND. The main benefit is for optimising ANDs with the loop predicate, as in the testcase. However, one of the potential drawbacks is that it triggers even for cases in which two naturally-parallel comparisons

Re: Tighten condition in vect/pr85586.c (PR 85654)

2018-05-08 Thread Richard Biener
On Tue, May 8, 2018 at 11:03 AM, Richard Sandiford wrote: > Another gcc.dg/vect test, another chance to play whack-a-mole > with the target selectors. In this case I think we want > { ! vect_no_align }. { { ! vect_no_align } || vect_hw_misalign } > might work too,

[Bug c++/68812] [concepts] bogus mismatched argument pack lengths

2018-05-08 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68812 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/61502] == comparison on "one-past" pointer gives wrong result

2018-05-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61502 --- Comment #28 from rguenther at suse dot de --- On Tue, 8 May 2018, harald at gigawatt dot nl wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61502 > > --- Comment #27 from Harald van Dijk --- > (In reply to Richard Biener from

[Bug go/85037] SIGSEGV in gotools testsuite affects several tests

2018-05-08 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85037 --- Comment #1 from Uroš Bizjak --- The failure recently [1] changed to "fatal error: mallocgc called with gcphase == _GCmarktermination": FAIL: TestCgoSignalDeadlock crash_test.go:55: building testprogcgo []: exit status 2

[Bug c++/70563] SFINAE fails when trying invalid template instantiation

2018-05-08 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70563 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/70563] SFINAE fails when trying invalid template instantiation

2018-05-08 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70563 --- Comment #2 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue May 8 10:03:39 2018 New Revision: 260030 URL: https://gcc.gnu.org/viewcvs?rev=260030=gcc=rev Log: 2018-05-08 Paolo Carlini PR

[committed][AArch64] Use UNSPEC_MERGE_PTRUE for comparisons

2018-05-08 Thread Richard Sandiford
This patch rewrites the SVE comparison handling so that it uses UNSPEC_MERGE_PTRUE for comparisons that are known to be predicated on a PTRUE, for consistency with other patterns. Specific unspecs are then only needed for truly predicated floating-point comparisons, such as those used in the

[Bug tree-optimization/61502] == comparison on "one-past" pointer gives wrong result

2018-05-08 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61502 --- Comment #27 from Harald van Dijk --- (In reply to Richard Biener from comment #25) > (In reply to Harald van Dijk from comment #22) > > (In reply to Andrew Pinski from comment #21) > > > Invalid as mentioned a few times already but never

[Bug target/85665] Multiple typos in diagnostics

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85665 Richard Biener changed: What|Removed |Added Target||arm --- Comment #5 from Richard Biener

[Bug tree-optimization/85692] Two source permute not used for vector initialization

2018-05-08 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85692 --- Comment #1 from Allan Jensen --- Created attachment 44084 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44084=edit construct.cc Motivating examples. Compile with -msse4.1 for the second case.

[Bug target/85616] ARM target using -O2 may cause unaligned access

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85616 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/85692] New: Two source permute not used for vector initialization

2018-05-08 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85692 Bug ID: 85692 Summary: Two source permute not used for vector initialization Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[committed][AArch64] Tweak sve/vcond_6.c test

2018-05-08 Thread Richard Sandiford
sve/vcond_6.c was effectively testing a three-input logical operation, since the result of BINOP needed to be ANDed with the loop predicate before loading src[i]. This patch makes it really test a binary operation instead. A later patch will add (and optimise) the three-operand case. Tested on

[Bug target/37759] powerpc option -mabi=no-spe still generates SPE instructions

2018-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37759 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #7

[Bug sanitizer/85663] [8/9 Regression] gcc-8.0.1 regression: sanitizer fails to build on mips-unknown-linux-gnu

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85663 Richard Biener changed: What|Removed |Added Target||mips Target Milestone|---

[Bug c++/85662] [8/9 Regression] "error: non-constant condition for static assertion" from __builtin_offsetof in C++

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85662 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Priority|P3

[Bug target/85658] [8/9 Regression] gcc-8.0.1 stopped validating --with-arch= flag

2018-05-08 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85658 Richard Earnshaw changed: What|Removed |Added Status|NEW |ASSIGNED

Re: [PATCH] Implement absv2di2 and absv4di2 expanders for pre-avx512vl (PR target/85572)

2018-05-08 Thread Uros Bizjak
On Tue, May 8, 2018 at 11:11 AM, Uros Bizjak wrote: > On Mon, Apr 30, 2018 at 9:19 PM, Jakub Jelinek wrote: >> Hi! >> >> Before avx512vl we don't have a single instruction to do V2DImode and >> V4DImode abs, but that isn't much different from say V4SImode

Re: [PATCH] Implement absv2di2 and absv4di2 expanders for pre-avx512vl (PR target/85572)

2018-05-08 Thread Uros Bizjak
On Mon, Apr 30, 2018 at 9:19 PM, Jakub Jelinek wrote: > Hi! > > Before avx512vl we don't have a single instruction to do V2DImode and > V4DImode abs, but that isn't much different from say V4SImode before SSE3 > where we also just emit a short sequence that is better than

[Bug c++/81024] ICE within convert_like_real with std::initializer_list

2018-05-08 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81024 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/80956] [7 Regression] ICE with abstract class vector

2018-05-08 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80956 Paolo Carlini changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug target/85658] [8/9 Regression] gcc-8.0.1 stopped validating --with-arch= flag

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85658 Richard Biener changed: What|Removed |Added Target||arm Priority|P3

[Bug ipa/85655] [8/9 Regression] ICE with -flto and -O2 during IPA pass: cp lto1: internal compiler error: Segmentation fault

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85655 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

Tighten condition in vect/pr85586.c (PR 85654)

2018-05-08 Thread Richard Sandiford
Another gcc.dg/vect test, another chance to play whack-a-mole with the target selectors. In this case I think we want { ! vect_no_align }. { { ! vect_no_align } || vect_hw_misalign } might work too, but (a) there are other tests that use vect_no_align on its own and (b) the point of the scan

[Bug c++/80691] Narrowing conversion in {} allowed in a SFINAE context

2018-05-08 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80691 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/80691] Narrowing conversion in {} allowed in a SFINAE context

2018-05-08 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80691 --- Comment #5 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue May 8 08:55:30 2018 New Revision: 260027 URL: https://gcc.gnu.org/viewcvs?rev=260027=gcc=rev Log: 2018-05-08 Paolo Carlini PR

[Bug bootstrap/85571] [9 Regression] non-bootstrap-debug miscompare with trunk

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85571 --- Comment #11 from Richard Biener --- Author: rguenth Date: Tue May 8 08:50:33 2018 New Revision: 260026 URL: https://gcc.gnu.org/viewcvs?rev=260026=gcc=rev Log: 2018-05-08 Richard Biener PR bootstrap/85571

[Bug bootstrap/85571] [9 Regression] non-bootstrap-debug miscompare with trunk

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85571 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/85654] [9 Regression] gcc.dg/vect/pr85586.c FAILs

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85654 Richard Biener changed: What|Removed |Added Component|tree-optimization |testsuite

Re: [PATCH] Fix bootstrap miscompare with LTO bootstrap (PR85571)

2018-05-08 Thread Jakub Jelinek
On Tue, May 08, 2018 at 10:37:04AM +0200, Richard Biener wrote: > > OK for trunk? > > Ping. > > Richard. > > > Thanks, > > Richard. > > > > 2018-05-02 Richard Biener > > > > PR bootstrap/85571 > > config/ > > * bootstrap-lto-noplugin.mk: Disable compare. > >

Re: [PATCH] Fix bootstrap miscompare with LTO bootstrap (PR85571)

2018-05-08 Thread Richard Biener
On Wed, 2 May 2018, Richard Biener wrote: > > The following fixes the LTO part of the -f[no-]checking miscompare issue. > I introduce a compare-lto script similar to compare-debug where I strip > the LTO option section and re-compare. I have no easy way to test > the nonplugin path and at least

[Bug tree-optimization/85627] [6/7/8 Regression] ICE in update_phi_components in tree-complex.c

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85627 --- Comment #10 from Richard Biener --- Author: rguenth Date: Tue May 8 08:32:46 2018 New Revision: 260025 URL: https://gcc.gnu.org/viewcvs?rev=260025=gcc=rev Log: 2018-05-08 Richard Biener Backport from mainline

Re: [Aarch64] PR target/83009: Relax strict address checking for store pair lanes

2018-05-08 Thread Andre Vieira (lists)
Hi Richard, On 07/05/18 11:14, Richard Sandiford wrote: > "Andre Vieira (lists)" writes: >> Hi, >> >> See below a patch to address PR 83009. >> >> Tested with aarch64-linux-gnu bootstrap and regtests for c, c++ and fortran. >> Ran the adjusted testcase for

Re: fminnm/fmaxnm generation in aarch64

2018-05-08 Thread Andrew Haley
On 07/05/18 18:08, Indu Bhagat wrote: [Trying to get some feedback. I earlier posted on gcc-help a week ago] In tree.def - /* Minimum and maximum values.  When used with floating point, if both    operands are zeros, or if either operand is NaN, then it is unspecified    which of the two

[Bug tree-optimization/85588] [6/7/8 Regression] -fwrapv miscompilation

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85588 --- Comment #8 from Richard Biener --- (In reply to Mikael Pettersson from comment #7) > (In reply to Richard Biener from comment #6) > > Fixed on trunk sofar. > > I believe the fix was mistakenly labelled as PR85574 (including the file > name

[Bug tree-optimization/85588] [6/7/8 Regression] -fwrapv miscompilation

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85588 --- Comment #9 from Richard Biener --- Author: rguenth Date: Tue May 8 07:55:24 2018 New Revision: 260024 URL: https://gcc.gnu.org/viewcvs?rev=260024=gcc=rev Log: 2018-05-08 Richard Biener PR middle-end/85588

Re: [PATCH] Add constant folding support for next{after,toward}{,f,l} (PR libstdc++/85466)

2018-05-08 Thread Tom de Vries
On 05/07/2018 03:41 PM, Christophe Lyon wrote: On 7 May 2018 at 12:04, Tom de Vries wrote: On 04/21/2018 07:36 PM, Jakub Jelinek wrote: * gcc.dg/nextafter-2.c: New test. Hi, FTR, I ran into a link error "unresolved symbol nexttowardf" using the standalone

[Bug middle-end/38960] Wrong floating point reorder

2018-05-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38960 --- Comment #6 from rguenther at suse dot de --- On Fri, 4 May 2018, joseph at codesourcery dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38960 > > --- Comment #5 from joseph at codesourcery dot com dot com> --- > Since any

[Bug fortran/54613] [F08] Add FINDLOC plus support MAXLOC/MINLOC with KIND=/BACK=

2018-05-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54613 --- Comment #9 from Thomas Koenig --- Author: tkoenig Date: Tue May 8 07:47:19 2018 New Revision: 260023 URL: https://gcc.gnu.org/viewcvs?rev=260023=gcc=rev Log: 2018-05-08 Thomas Koenig PR fortran/54613

RE: [PATCH][GCC][AArch64] Correct 3 way XOR instructions adding missing patterns.

2018-05-08 Thread Tamar Christina
Ping? Backport may not be appropriate but I'd still like it in trunk. > -Original Message- > From: gcc-patches-ow...@gcc.gnu.org > On Behalf Of Tamar Christina > Sent: Monday, April 30, 2018 15:13 > To: gcc-patches@gcc.gnu.org > Cc: nd ; James

[Bug libstdc++/84949] -ffast-math bugged with respect to NaNs

2018-05-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 --- Comment #5 from rguenther at suse dot de --- On Thu, 3 May 2018, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 > > --- Comment #4 from Jonathan Wakely --- > std::numeric_limits defines: > >

[Bug rtl-optimization/85638] [8/9 regression] build failure for Ada runtime with SJLJ exceptions on x86

2018-05-08 Thread xantares09 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85638 --- Comment #15 from xantares09 at hotmail dot com --- The build goes through with your second patch too, thanks a lot.

[Bug tree-optimization/61502] == comparison on "one-past" pointer gives wrong result

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61502 --- Comment #26 from Richard Biener --- (In reply to James Y Knight from comment #24) > FWIW, clang did consider this a bug and fixed it in > https://bugs.llvm.org/show_bug.cgi?id=21327. Unfortunately it isn't visible _what_ change fixed this

[Bug tree-optimization/61502] == comparison on "one-past" pointer gives wrong result

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61502 --- Comment #25 from Richard Biener --- (In reply to Harald van Dijk from comment #22) > (In reply to Andrew Pinski from comment #21) > > Invalid as mentioned a few times already but never actually closed until > > now. > > I posted a strictly

[Bug other/78063] libbacktrace fails to handle cross CU DW_AT_abstract_origin

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78063 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

<    1   2   3