[Bug tree-optimization/90594] New: [9/10 regression] Spurious popcount emitted

2019-05-23 Thread wilco at gcc dot gnu.org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: wilco at gcc dot gnu.org Target Milestone: --- The following testcase emits a popcount which computes the final pointer value. This is redundant given the loop already computes the pointer value. The popcount causes

[Bug other/16996] [meta-bug] code size improvements

2019-05-17 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16996 Bug 16996 depends on bug 38570, which changed state. Bug 38570 Summary: [arm] -mthumb generates sub-optimal prolog/epilog https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38570 What|Removed |Added

[Bug target/38570] [arm] -mthumb generates sub-optimal prolog/epilog

2019-05-17 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38570 Wilco changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/38570] [arm] -mthumb generates sub-optimal prolog/epilog

2019-05-17 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38570 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #12 from

[Bug target/41999] Bug in generation of interrupt function code for ARM processor

2019-05-17 Thread wilco at gcc dot gnu.org
||wilco at gcc dot gnu.org Resolution|--- |WORKSFORME --- Comment #4 from Wilco --- Works since at least GCC4.5.4.

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #9 from Wilco --- (In reply to Martin Sebor from comment #7) > Rather than unconditionally transforming mempcpy to memcpy I would prefer to > see libc implementations of memccpy optimized. WG14 N2349 discusses a > rationale for

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #6 from Wilco --- (In reply to Martin Liška from comment #5) > The discussion looks familiar to me. Isn't that PR70140, where I was > suggesting something like: > > https://marc.info/?l=gcc-patches=150166433909242=2 > > with a new

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #18 from Wilco --- (In reply to Martin Liška from comment #14) > Created attachment 46262 [details] > Patch candidate > > Patch candidate that handles: > > $ cat ~/Programming/testcases/mempcpy.c > int *mempcopy2 (int *p, int *q,

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #17 from Wilco --- (In reply to Wilco from comment #16) > (In reply to Martin Sebor from comment #15) > > I just noticed I have been misreading mempcpy as memccpy and so making no > > sense. Sorry about that! Please ignore my

[Bug rtl-optimization/90249] [9/10 Regression] Code size regression on thumb2 due to sub-optimal register allocation starting with r265398

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90249 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #5 from

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #12 from Wilco --- (In reply to Martin Sebor from comment #11) > My concern is that transforming memccpy to memcpy would leave little > incentive for libraries like glibc to provide a more optimal implementation. > Would implementing

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #16 from Wilco --- (In reply to Martin Sebor from comment #15) > I just noticed I have been misreading mempcpy as memccpy and so making no > sense. Sorry about that! Please ignore my comments. I see, yes we have too many and the

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-05-07 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #20 from Wilco --- (In reply to Martin Liška from comment #19) > Created attachment 46265 [details] > Patch candidate v2 > > Update patch that should be fine. Tests on x86_64 work except: > FAIL:

[Bug rtl-optimization/87871] [9 Regression] testcases fail after r265398 on arm

2019-04-18 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87871 --- Comment #47 from Wilco --- (In reply to Segher Boessenkool from comment #46) > With all three patches together (Peter's, mine, Jakub's), I get a code size > increase of only 0.047%, much more acceptable. Now looking what that diff > really

[Bug middle-end/90263] New: Calls to mempcpy should use memcpy

2019-04-26 Thread wilco at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: wilco at gcc dot gnu.org Target Milestone: --- While GCC now inlines fixed-size mempcpy like memcpy, GCC still emits calls to mempcpy rather than converting to memcpy. Since most libraries, including GLIBC, do not have optimized

[Bug middle-end/90262] New: Inline small constant memmoves

2019-04-26 Thread wilco at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: wilco at gcc dot gnu.org Target Milestone: --- GCC does not inline fixed-size memmoves. However memmove can be as easily inlined as memcpy. The existing memcpy infrastructure could be reused/expanded for this - all loads would

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-26 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #2 from Wilco --- (In reply to Jakub Jelinek from comment #1) > As stated several times in the past, I strongly disagree. Why? GCC already does this for bzero and bcopy.

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-26 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #4 from Wilco --- (In reply to Jakub Jelinek from comment #3) > Because then you penalize properly maintained targets which do have > efficient mempcpy. And even if some targets don't have efficient mempcpy > right now, that doesn't

[Bug tree-optimization/90883] Generated code is worse if returned struct is unnamed

2019-07-04 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #14 from

[Bug tree-optimization/91096] New: Openmp vector max reduction incorrect

2019-07-05 Thread wilco at gcc dot gnu.org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: wilco at gcc dot gnu.org Target Milestone: --- The new gcc.dg/vect/vect-simd-14.c test produces incorrect reduction due to the vectorizer adding fmax (result, FLT_MAX): float b[1024], a[1024]; __attribute__((noipa

[Bug tree-optimization/91096] Openmp vector max reduction incorrect

2019-07-05 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91096 --- Comment #3 from Wilco --- (In reply to Jakub Jelinek from comment #2) > Created attachment 46561 [details] > gcc10-pr91096.patch > > Does this fix it for you? Works for me with: > make check-gcc

[Bug tree-optimization/90883] Generated code is worse if returned struct is unnamed

2019-07-05 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 Wilco changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug tree-optimization/91144] New: [10 regiression] 176.gcc miscompare after r273294

2019-07-11 Thread wilco at gcc dot gnu.org
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: wilco at gcc dot gnu.org Target Milestone: --- Since r273294 SPEC2000 176.gcc fails with -O3 -DSPEC_CPU2000_LP64 -DSPEC_CPU2000_LINUX -std=gnu89: Running Benchmarks Running 176.gcc ref base ab default

[Bug testsuite/78529] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2019-07-12 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 --- Comment #41 from Wilco --- Author: wilco Date: Fri Jul 12 16:41:01 2019 New Revision: 273450 URL: https://gcc.gnu.org/viewcvs?rev=273450=gcc=rev Log: Turn off ipa-ra in builtins test (PR91059) The gcc.c-torture/execute/builtins/lib

[Bug testsuite/78529] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2019-07-12 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 --- Comment #42 from Wilco --- Author: wilco Date: Fri Jul 12 17:00:40 2019 New Revision: 273452 URL: https://gcc.gnu.org/viewcvs?rev=273452=gcc=rev Log: Turn off ipa-ra in builtins test (PR91059) The gcc.c-torture/execute/builtins/lib

[Bug testsuite/78529] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2019-07-12 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 --- Comment #44 from Wilco --- Backported fix to all active branches so this should never fail again.

[Bug testsuite/78529] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2019-07-12 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 --- Comment #43 from Wilco --- Author: wilco Date: Fri Jul 12 17:15:13 2019 New Revision: 273453 URL: https://gcc.gnu.org/viewcvs?rev=273453=gcc=rev Log: Turn off ipa-ra in builtins test (PR91059) The gcc.c-torture/execute/builtins/lib

[Bug tree-optimization/83518] [8/9 Regression] Missing optimization: useless instructions should be dropped

2019-07-09 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83518 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #12 from

[Bug tree-optimization/83518] [8/9 Regression] Missing optimization: useless instructions should be dropped

2019-07-09 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83518 --- Comment #15 from Wilco --- (In reply to Richard Biener from comment #14) > Yeah. It is > >[local count: 178992762]: > arr = *.LC0; > arr[0] = 5; > vect__56.15_75 = MEM [(int *)]; > > I'll fix that (well, I'll try). Right, it's

[Bug rtl-optimization/42575] arm-eabi-gcc 64-bit multiply weirdness

2019-07-09 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42575 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #19 from

[Bug target/91059] [10 regression] gcc.c-torture/execute/builtins/snprintf-chk.c fails on aarch64-elf since r272843

2019-07-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91059 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #2 from

[Bug testsuite/78529] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2019-07-08 Thread wilco at gcc dot gnu.org
||wilco at gcc dot gnu.org Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |wilco at gcc dot gnu.org --- Comment #40 from Wilco --- Fixed

[Bug testsuite/91059] [10 regression] gcc.c-torture/execute/builtins/snprintf-chk.c fails on aarch64-elf since r272843

2019-07-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91059 --- Comment #3 from Wilco --- Confirmed it's the same memset register corruption issue. The fix is trivial: add -fno-ipa-ra.

[Bug testsuite/78529] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2019-07-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 --- Comment #39 from Wilco --- Author: wilco Date: Mon Jul 8 17:02:35 2019 New Revision: 273238 URL: https://gcc.gnu.org/viewcvs?rev=273238=gcc=rev Log: Turn of ipa-ra in builtins test (PR91059) The gcc.c-torture/execute/builtins/lib

[Bug testsuite/91059] [10 regression] gcc.c-torture/execute/builtins/snprintf-chk.c fails on aarch64-elf since r272843

2019-07-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91059 --- Comment #5 from Wilco --- Author: wilco Date: Mon Jul 8 17:02:35 2019 New Revision: 273238 URL: https://gcc.gnu.org/viewcvs?rev=273238=gcc=rev Log: Turn of ipa-ra in builtins test (PR91059) The gcc.c-torture/execute/builtins/lib directory

[Bug target/85711] ICE in aarch64_classify_address, at config/aarch64/aarch64.c:5678

2019-07-15 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85711 Wilco changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/85711] [8 regression] ICE in aarch64_classify_address, at config/aarch64/aarch64.c:5678

2019-07-15 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85711 --- Comment #5 from Wilco --- Author: wilco Date: Mon Jul 15 11:00:48 2019 New Revision: 273491 URL: https://gcc.gnu.org/viewcvs?rev=273491=gcc=rev Log: Backport fix for PR85711 Backport from mainline 2019-01-23 Bin Cheng

[Bug target/88834] [SVE] Poor addressing mode choices for LD2 and ST2

2019-04-09 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88834 --- Comment #16 from Wilco --- (In reply to kugan from comment #15) > (In reply to Wilco from comment #11) > > There is also something odd with the way the loop iterates, this doesn't > > look right: > > > > whilelo p0.s, x3, x4 > >

[Bug target/89190] [ARM] armv8-m.base invalid ldm ICE

2019-07-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89190 Wilco changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/89222] [7/8 regression] ARM thumb-2 misoptimisation of func ptr call with -O2 or -Os

2019-07-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89222 --- Comment #10 from Wilco --- Author: wilco Date: Tue Jul 16 12:37:14 2019 New Revision: 273526 URL: https://gcc.gnu.org/viewcvs?rev=273526=gcc=rev Log: [ARM] Fix PR89222 The GCC optimizer can generate symbols with non-zero offset from simple

[Bug tree-optimization/83518] [8/9 Regression] Missing optimization: useless instructions should be dropped

2019-07-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83518 Wilco changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug target/89222] [7 regression] ARM thumb-2 misoptimisation of func ptr call with -O2 or -Os

2019-07-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89222 --- Comment #11 from Wilco --- Author: wilco Date: Tue Jul 16 13:13:26 2019 New Revision: 273527 URL: https://gcc.gnu.org/viewcvs?rev=273527=gcc=rev Log: [ARM] Fix PR89222 The GCC optimizer can generate symbols with non-zero offset from simple

[Bug target/89190] [8 regression][ARM] armv8-m.base invalid ldm ICE

2019-07-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89190 --- Comment #5 from Wilco --- Author: wilco Date: Tue Jul 16 12:06:55 2019 New Revision: 273524 URL: https://gcc.gnu.org/viewcvs?rev=273524=gcc=rev Log: Add missing testcase for PR89190 testsuite/ PR target/89190 *

[Bug target/89222] [7 regression] ARM thumb-2 misoptimisation of func ptr call with -O2 or -Os

2019-07-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89222 Wilco changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/89190] [8 regression][ARM] armv8-m.base invalid ldm ICE

2019-07-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89190 --- Comment #7 from Wilco --- Backported to GCC8 branch, and added missing testcase to trunk and GCC9. All fixed.

[Bug target/89190] [8 regression][ARM] armv8-m.base invalid ldm ICE

2019-07-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89190 --- Comment #6 from Wilco --- Author: wilco Date: Tue Jul 16 12:12:01 2019 New Revision: 273525 URL: https://gcc.gnu.org/viewcvs?rev=273525=gcc=rev Log: Add missing testcase for PR89190 testsuite/ PR target/89190 *

[Bug target/89190] [8 regression][ARM] armv8-m.base invalid ldm ICE

2019-07-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89190 --- Comment #4 from Wilco --- Author: wilco Date: Tue Jul 16 12:00:42 2019 New Revision: 273523 URL: https://gcc.gnu.org/viewcvs?rev=273523=gcc=rev Log: [ARM] Fix Thumb-1 ldm (PR89190) This patch fixes an ICE in the Thumb-1 LDM peepholer.

[Bug target/89222] [7 regression] ARM thumb-2 misoptimisation of func ptr call with -O2 or -Os

2019-07-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89222 Wilco changed: What|Removed |Added Target Milestone|8.5 |7.5

[Bug driver/90684] New alignment options incorrectly report error

2019-07-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90684 --- Comment #4 from Wilco --- Author: wilco Date: Tue Jul 16 16:17:39 2019 New Revision: 273533 URL: https://gcc.gnu.org/viewcvs?rev=273533=gcc=rev Log: Fix alignment option parser (PR90684) Fix the alignment option parser to always allow up

[Bug driver/90684] New alignment options incorrectly report error

2019-07-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90684 Wilco changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/91386] [9 regression] open-iscsi iscsiadm miscompiled by LTO on aarch64

2019-08-12 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91386 --- Comment #22 from Wilco --- (In reply to Richard Earnshaw from comment #21) > Fixed on trunk. I ran an AArch64 bootstrap on GCC9 branch and that is fine.

[Bug target/81800] [8/9/10 regression] on aarch64 ilp32 lrint should not be inlined as two instructions

2019-08-13 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81800 --- Comment #17 from Wilco --- Author: wilco Date: Tue Aug 13 10:46:44 2019 New Revision: 274376 URL: https://gcc.gnu.org/viewcvs?rev=274376=gcc=rev Log: [AArch64] Fix PR81800 PR81800 is about the lrint inline giving spurious FE_INEXACT

[Bug target/81800] [8/9 regression] on aarch64 ilp32 lrint should not be inlined as two instructions

2019-08-13 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81800 Wilco changed: What|Removed |Added Known to work||10.0 Summary|[8/9/10 regression] on

[Bug target/91598] [8/9/10 regression] 60% speed drop on neon intrinsic loop

2019-08-30 Thread wilco at gcc dot gnu.org
|NEW Last reconfirmed||2019-08-30 CC||wilco at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Wilco --- (In reply to Maxim Kuvyrkov from comment #2) > Created attachm

[Bug tree-optimization/83661] sincos does not handle sin(2x)

2019-09-02 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83661 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #8 from

[Bug tree-optimization/83661] sincos does not handle sin(2x)

2019-09-02 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83661 --- Comment #9 from Wilco --- (In reply to Christophe Monat from comment #4) > Hi Pratamesh, > > You're absolutely right - maybe it's more efficient when there is some > hardware sincos available (Intel FSINCOS ?) but I would check also

[Bug target/77308] surprisingly large stack usage for sha512 on arm

2019-08-23 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77308 Wilco changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/81800] [8/9 regression] on aarch64 ilp32 lrint should not be inlined as two instructions

2019-09-04 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81800 --- Comment #19 from Wilco --- Author: wilco Date: Wed Sep 4 12:42:22 2019 New Revision: 275373 URL: https://gcc.gnu.org/viewcvs?rev=275373=gcc=rev Log: [AArch64] Fix PR81800 PR81800 is about the lrint inline giving spurious FE_INEXACT

[Bug target/81800] [8/9 regression] on aarch64 ilp32 lrint should not be inlined as two instructions

2019-09-04 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81800 --- Comment #20 from Wilco --- Author: wilco Date: Wed Sep 4 13:06:55 2019 New Revision: 275374 URL: https://gcc.gnu.org/viewcvs?rev=275374=gcc=rev Log: [AArch64] Fix PR81800 PR81800 is about the lrint inline giving spurious FE_INEXACT

[Bug target/81800] On aarch64 ilp32 lrint should not be inlined as two instructions

2019-09-04 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81800 --- Comment #21 from Wilco --- Backported to GCC8 and GCC9 too.

[Bug target/81800] On aarch64 ilp32 lrint should not be inlined as two instructions

2019-09-04 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81800 Wilco changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug target/91684] New: [10 regression][ARM] ICE in gen_movdi, at config/arm/arm.md:5079

2019-09-06 Thread wilco at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: wilco at gcc dot gnu.org Target Milestone: --- The following small example fails with an ICE with -mcpu=cortex-a57: typedef struct { int a, b, c; } S; void g (S *s); void bug1 (void

[Bug target/91684] [10 regression][ARM] ICE in gen_movdi, at config/arm/arm.md:5079

2019-09-06 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91684 Wilco changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/91753] Bad register allocation of multi-register types

2019-09-13 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91753 --- Comment #4 from Wilco --- (In reply to Andrew Pinski from comment #3) > (In reply to Wilco from comment #2) > > (In reply to Andrew Pinski from comment #1) > > > lower-subreg should have be able to help here. I wonder why it did not > > >

[Bug middle-end/91753] New: Bad register allocation of multi-register types

2019-09-12 Thread wilco at gcc dot gnu.org
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: wilco at gcc dot gnu.org Target Milestone: --- The following example shows that register allocation of types which require multiple registers is quite non-optimal: #include #include void neon_transform_nada(const

[Bug target/91708] [10 regression][ARM] Bootstrap fails in gen_movsi, at config/arm/arm.md:5258

2019-09-09 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91708 --- Comment #2 from Wilco --- (In reply to Bernd Edlinger from comment #1) > Oh, nice, could you say what config options you use? The full set I used: ${src}/configure --disable-libsanitizer --enable-languages=c,c++ --prefix=${install}

[Bug target/91708] New: [10 regression][ARM] Bootstrap fails in gen_movsi, at config/arm/arm.md:5258

2019-09-09 Thread wilco at gcc dot gnu.org
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: wilco at gcc dot gnu.org Target Milestone: --- Arm bootstrap still fails with latest trunk when configured with --with-cpu=cortex-a57: gcc/gcc/real.c:5240:1: internal

[Bug target/91708] [10 regression][ARM] Bootstrap fails in gen_movsi, at config/arm/arm.md:5258

2019-09-10 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91708 --- Comment #11 from Wilco --- Created attachment 46862 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46862=edit Reproducer g++ -mcpu=cortex-a57 -mfpu=fp-armv8 out.c -O2 -c reproduces the issue outside of a bootstrap

[Bug target/91708] [10 regression][ARM] Bootstrap fails in gen_movsi, at config/arm/arm.md:5258

2019-09-10 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91708 --- Comment #13 from Wilco --- (In reply to Bernd Edlinger from comment #12) > Created attachment 46863 [details] > untested patch > > That was easy :-) > I have been there before... Great! That bootstraps successfully now.

[Bug tree-optimization/91776] `-fsplit-paths` generates slower code on arm

2019-09-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91776 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #1 from

[Bug target/91766] -fvisibility=hidden during -fpic still uses GOT indirection on arm64

2019-09-17 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91766 Wilco changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/91766] -fvisibility=hidden during -fpic still uses GOT indirection on arm64

2019-09-17 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91766 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #7 from

[Bug rtl-optimization/42575] arm-eabi-gcc 64-bit multiply weirdness

2019-09-09 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42575 --- Comment #20 from Wilco --- (In reply to Wilco from comment #19) > (In reply to Christophe Lyon from comment #18) > > This is still wrong with current trunk. > > I don't see it happening since expansion of DImode instructions improved. > The

[Bug fortran/91690] Slow IEEE intrinsics

2019-09-09 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91690 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #4 from

[Bug target/91708] [10 regression][ARM] Bootstrap fails in gen_movsi, at config/arm/arm.md:5258

2019-09-09 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91708 --- Comment #8 from Wilco --- (In reply to Bernd Edlinger from comment #7) > without looking in detail, this could > be another middle-end error or the back-end > generating an invalid instruction where no assertions > are, then lra can rewrite

[Bug target/91708] [10 regression][ARM] Bootstrap fails in gen_movsi, at config/arm/arm.md:5258

2019-09-09 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91708 --- Comment #5 from Wilco --- (In reply to Christophe Lyon from comment #4) > (In reply to Bernd Edlinger from comment #3) > > I will try to reproduce with building of a cross for this target. > > FWIW, cross-build looked fine for me at

[Bug middle-end/91708] [10 regression][ARM] Bootstrap fails in gen_movsi, at config/arm/arm.md:5258

2019-09-17 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91708 --- Comment #18 from Wilco --- (In reply to Richard Earnshaw from comment #17) > So do we have a testcase that shows the problem on older compilers? Yes, the same testcase shows the same incorrect substitution in older compilers. I tried GCC9,

[Bug tree-optimization/91776] `-fsplit-paths` generates slower code on arm

2019-09-18 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91776 Wilco changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/91708] [10 regression][ARM] Bootstrap fails in gen_movsi, at config/arm/arm.md:5258

2019-09-18 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91708 --- Comment #20 from Wilco --- (In reply to Richard Earnshaw from comment #19) > (In reply to Wilco from comment #18) > > (In reply to Richard Earnshaw from comment #17) > > > So do we have a testcase that shows the problem on older compilers? >

[Bug middle-end/91708] [10 regression][ARM] Bootstrap fails in gen_movsi, at config/arm/arm.md:5258

2019-09-18 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91708 --- Comment #22 from Wilco --- (In reply to Richard Earnshaw from comment #21) > But dropping in a char* will give a more restrictive alias set, so that > isn't wrong, even if it is suboptimal The alias set could be anything given CSE changes

[Bug target/91738] [10 regression] gcc.target/arm/pr53447-5.c fails since r274823

2019-09-18 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91738 --- Comment #2 from Wilco --- Author: wilco Date: Wed Sep 18 19:52:09 2019 New Revision: 275907 URL: https://gcc.gnu.org/viewcvs?rev=275907=gcc=rev Log: [ARM] Add logical DImode expanders We currently use default mid-end expanders for logical

[Bug middle-end/91708] [10 regression][ARM] Bootstrap fails in gen_movsi, at config/arm/arm.md:5258

2019-09-17 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91708 --- Comment #16 from Wilco --- (In reply to Richard Earnshaw from comment #15) > So is this now fixed? On trunk yes. This is quite a nasty alias bug in CSE, so it will need to be backported.

[Bug target/91738] [10 regression] gcc.target/arm/pr53447-5.c fails since r274823

2019-09-11 Thread wilco at gcc dot gnu.org
||2019-09-11 CC||wilco at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |wilco at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Wilco --- (In reply to Christophe Lyon from comment

[Bug target/91386] open-iscsi iscsiadm miscompiled by LTO on aarch64

2019-08-07 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91386 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #12 from

[Bug target/91386] open-iscsi iscsiadm miscompiled by LTO on aarch64

2019-08-07 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91386 --- Comment #14 from Wilco --- (In reply to Martin Liška from comment #13) > > > > The key question is how does one dump rtl with -flto? It doesn't work at > > all, making debugging this difficult... > > It does, look: > >

[Bug tree-optimization/90838] Detect table-based ctz implementation

2019-08-09 Thread wilco at gcc dot gnu.org
||2019-08-09 Assignee|unassigned at gcc dot gnu.org |wilco at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #7 from Wilco --- I'll have a look at this, I think it could easily be done in match.pd if we add support for matching array

[Bug middle-end/90693] Missing popcount simplifications

2019-08-09 Thread wilco at gcc dot gnu.org
||2019-08-09 Assignee|unassigned at gcc dot gnu.org |wilco at gcc dot gnu.org Ever confirmed|0 |1

[Bug tree-optimization/91144] [10 regression] 176.gcc miscompare after r273294

2019-08-01 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91144 Wilco changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/91322] New: [10 regression] alias-4 test failure

2019-08-01 Thread wilco at gcc dot gnu.org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: wilco at gcc dot gnu.org Target Milestone: --- The new alias-4_0.C fails on Arm. Without LTO it also fails with -O2 on AArch64, but it fails with -O2 and -O3 on Arm, so something must be different. Unfortunately even

[Bug target/90317] [7/8/9] ICE for arm sha1h and wrong optimisations on sha1h/c/m/p

2019-07-18 Thread wilco at gcc dot gnu.org
dot gnu.org |wilco at gcc dot gnu.org Summary|[7/8/9/10] ICE for arm |[7/8/9] ICE for arm sha1h |sha1h and wrong |and wrong optimisations on |optimisations on|sha1h/c/m/p |sha1h/c/m/p

[Bug tree-optimization/90883] Generated code is worse if returned struct is unnamed

2019-07-23 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 --- Comment #17 from Wilco --- (In reply to Jeffrey A. Law from comment #16) > The issue here (of course) is that aarch64 has a different set of defaults > for when to open-code vs loop vs function call. My attempts to pick a > better size for

[Bug bootstrap/91176] [10 regression] AArch64 bootstrap fails since r273479

2019-07-15 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91176 --- Comment #2 from Wilco --- (In reply to rsand...@gcc.gnu.org from comment #1) > Dramantic differences in file size are expected, since stage2 is built with > -gtoggle (to suppress debug info) whereas stage 3 is built normally. One of > the

[Bug bootstrap/91176] New: [10 regression] AArch64 bootstrap fails since r273479

2019-07-15 Thread wilco at gcc dot gnu.org
Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: wilco at gcc dot gnu.org Target Milestone: --- Since r273479 bootstrap fails with this error on AArch64: Comparing stages 2 and 3 Bootstrap comparison failure! gcc/aarch64.o differs gcc/dwarf2out.o differs gcc

[Bug target/91738] [10 regression] gcc.target/arm/pr53447-5.c fails since r274823

2019-09-19 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91738 Wilco changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/90712] [10 regression] gcc.dg/rtl/aarch64/subs_adds_sp.c fails with ICE

2019-07-08 Thread wilco at gcc dot gnu.org
||wilco at gcc dot gnu.org Resolution|--- |FIXED --- Comment #2 from Wilco --- Fixed

[Bug tree-optimization/91126] New: [10 regression] Incorrect constant propagation of BIT_FIELD_REF

2019-07-09 Thread wilco at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: wilco at gcc dot gnu.org Target Milestone: --- gcc.c-torture/execute/pr31448-2.c generates incorrect code due to a recent change with -O2 -mbig-endian on AArch64. fre3

[Bug c++/92425] Incorrect logical AND on 64bit variable using 32bit register

2019-11-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92425 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #1 from

[Bug rtl-optimization/92294] alias attribute generates incorrect code

2019-10-31 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92294 Wilco changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/92294] alias attribute generates incorrect code

2019-10-30 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92294 Wilco changed: What|Removed |Added Target||aarch64 Target Milestone|---

[Bug target/91927] -mstrict-align doesn't prevent unaligned accesses at -O2 and -O3 on AARCH64 targets

2019-10-30 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91927 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #8 from

<    1   2   3   4   5   6   7   8   >