[Bug c/95133] [9/10/11 Regression] ICE in gimple_redirect_edge_and_branch_force, at tree-cfg.c:6075

2020-05-14 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95133 --- Comment #2 from James Greenhalgh --- Should reproduce further back if you force it on with -ftree-vectorize . i.e. gcc foo.c -ftree-vectorize -O3 Breaks somewhere between: gcc version 7.0.0 20160615 gcc version 7.0.0 20160907

[Bug target/96313] [AArch64] vqmovun* return types should be unsigned

2020-07-27 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96313 James Greenhalgh changed: What|Removed |Added CC||jgreenhalgh at gcc dot gnu.org

[Bug libstdc++/96958] New: Long Double in Hash Table policy forces soft-float calculations

2020-09-07 Thread jgreenhalgh at gcc dot gnu.org
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org Target Milestone: --- It was pointed out that some forks of GCC ( https://github.com/FEX-Emu/gcc/commit/8a2b7389f50a50a4e26ec98101d47fb1fc1c1bcd

[Bug libstdc++/96958] Long Double in Hash Table policy forces soft-float calculations

2020-09-07 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96958 --- Comment #1 from James Greenhalgh --- Asleep at the wheel today, I had intended to link to the https://gcc.gnu.org/pipermail/libstdc++/2011-September/036420.html original discussion rather than leave it as a tedious exercise for the reader.

[Bug target/57586] New: ICE when expanding volatile asm using unaligned pointer

2013-06-11 Thread jgreenhalgh at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org Created attachment 30290 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30290&action=edit Reduced testcase Using built-in specs. COLLECT_GCC=../build-a

[Bug target/57586] ICE when expanding volatile asm using unaligned pointer

2013-06-11 Thread jgreenhalgh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57586 --- Comment #1 from jgreenhalgh at gcc dot gnu.org --- A bisect shows that this bug first occurs after r197095: 2013-03-26 Richard Biener * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove alignment computations and

[Bug target/57586] ICE when expanding volatile asm using unaligned pointer

2013-06-11 Thread jgreenhalgh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57586 jgreenhalgh at gcc dot gnu.org changed: What|Removed |Added CC||jgreenhalgh at gcc dot

[Bug target/57586] ICE when expanding volatile asm using unaligned pointer

2013-06-11 Thread jgreenhalgh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57586 --- Comment #4 from jgreenhalgh at gcc dot gnu.org --- Created attachment 30293 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30293&action=edit Less reduced failing testcase Yes, the same thing happens for packed versions of those

[Bug middle-end/58106] ICE: in ipa_edge_duplication_hook, at ipa-prop.c:2839

2013-08-09 Thread jgreenhalgh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58106 jgreenhalgh at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2013-08-09 Ever

[Bug rtl-optimization/58383] New: ICE when RTL folds vector operations using constants after gne_int_mode changes

2013-09-10 Thread jgreenhalgh at gcc dot gnu.org
: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org The patch set around [1/4] Using gen_int_mode instead of GEN_INT causes a number of similair regressions when building for AArch64

[Bug rtl-optimization/58383] ICE when RTL folds vector operations using constants after gne_int_mode changes

2013-09-10 Thread jgreenhalgh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58383 jgreenhalgh at gcc dot gnu.org changed: What|Removed |Added CC||jgreenhalgh at gcc dot

[Bug tree-optimization/58553] New: New fail in PASS->FAIL: gcc.c-torture/execute/memcpy-2.c execution on arm and aarch64

2013-09-27 Thread jgreenhalgh at gcc dot gnu.org
tus: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org Created attachment 30917 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30917&a

[Bug tree-optimization/58553] New fail in PASS->FAIL: gcc.c-torture/execute/memcpy-2.c execution on arm and aarch64

2013-09-27 Thread jgreenhalgh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58553 --- Comment #1 from jgreenhalgh at gcc dot gnu.org --- Created attachment 30918 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30918&action=edit Output of dom1

[Bug middle-end/59037] ICE when accessing invalid element (nelts + 1) of vector

2013-11-07 Thread jgreenhalgh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59037 jgreenhalgh at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug tree-optimization/54742] Switch elimination in FSM loop

2013-11-27 Thread jgreenhalgh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54742 jgreenhalgh at gcc dot gnu.org changed: What|Removed |Added CC||jgreenhalgh at gcc dot

[Bug tree-optimization/54742] Switch elimination in FSM loop

2013-11-27 Thread jgreenhalgh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54742 jgreenhalgh at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug tree-optimization/19794] [meta-bug] Jump threading related bugs

2013-11-27 Thread jgreenhalgh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19794 Bug 19794 depends on bug 54742, which changed state. Bug 54742 Summary: Switch elimination in FSM loop http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54742 What|Removed |Added --

[Bug tree-optimization/59471] New: ICE using vector extensions (non-top-level BIT_FIELD_REF, IMAGPART_EXPR or REALPART_EXPR)

2013-12-11 Thread jgreenhalgh at gcc dot gnu.org
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org The following code: typedef unsigned char uint8x8_t __attribute__ ((__vector_size__ (8))); typedef unsigned short

[Bug c/88887] New: Warn on unexpected continuation of 'return' to new line in if statement.

2019-01-16 Thread jgreenhalgh at gcc dot gnu.org
Severity: enhancement Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org Target Milestone: --- A colleague tripped up on this typo: void bar(); void foo (int x) { if (x) return bar ();

[Bug c++/85466] Performance is slow when doing 'branchless' conditional style math operations

2018-04-19 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 James Greenhalgh changed: What|Removed |Added CC||jgreenhalgh at gcc dot gnu.org

[Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations

2018-04-19 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 --- Comment #11 from James Greenhalgh --- With Jonathon's suggested change, copied in to the original poster's framework (without -fno-trapping-math), Clang hot loop ( score: 165065 http://quick-bench.com/6NaD8ay0f8qMh9n0aMriYEiuKNA ) is: 0.16%

[Bug middle-end/85682] New: Regression: gcc.dg/tree-ssa/prefetch-5.c at r259995

2018-05-07 Thread jgreenhalgh at gcc dot gnu.org
: middle-end Assignee: luis.machado at linaro dot org Reporter: jgreenhalgh at gcc dot gnu.org CC: hjl.tools at gmail dot com, law at redhat dot com, luis.machado at linaro dot org Target Milestone: --- Target: x86-64-none-linux

[Bug middle-end/85682] Regression: gcc.dg/tree-ssa/prefetch-5.c at r259995

2018-05-16 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85682 --- Comment #3 from James Greenhalgh --- The bisect robot doesn't bootstrap, only build a stage 1 compiler. I've checked your most recent patch against these testcases, and they execute and complete fine. (In reply to Luis Machado from comment

[Bug target/83663] [8 regression] aarch64_be regressions after r255946

2018-01-03 Thread jgreenhalgh at gcc dot gnu.org
||2018-01-03 CC||jgreenhalgh at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jgreenhalgh at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from James Greenhalgh --- I

[Bug middle-end/84040] [8 regression] compilation time of gcc.c-torture/compile/limits-blockid.c is 50x slower

2018-01-25 Thread jgreenhalgh at gcc dot gnu.org
||2018-01-25 CC||jgreenhalgh at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from James Greenhalgh --- Confirmed on aarch64-none-linux-gnu. My bisect pointed to the same revision r255569 . The 50x slow

[Bug lto/84242] New: [8 Regression] g++.dg/torture/pr67600.C at r257412

2018-02-06 Thread jgreenhalgh at gcc dot gnu.org
: lto Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Target: aarch64-none-linux-gnu, x86-64-none-linux-gnu Hi Our testing robot spotted

[Bug lto/84242] [8 Regression] g++.dg/torture/pr67600.C at r257412

2018-02-06 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84242 --- Comment #1 from James Greenhalgh --- Also gcc.target/i386/mvc9.c on x86-64-none-linux-gnu.

[Bug testsuite/84243] New: [8 Regression] gcc.target/i386/cet-intrin-4.c at r257414

2018-02-06 Thread jgreenhalgh at gcc dot gnu.org
Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org CC: itsimbal at gcc dot gnu.org Target Milestone: --- Target: x86-64-none-linux-gnu, aarch64-none-linux-gnu Hi, our bisect robot

[Bug testsuite/84243] [8 Regression] gcc.target/i386/cet-intrin-4.c at r257414

2018-02-06 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84243 --- Comment #2 from James Greenhalgh --- gcc -v: Configured with: .../gcc/configure --disable-bootstrap --enable-languages=c,c++,fortran --disable-multilib --disable-libsanitizer --prefix=.../build/install/ FAIL: gcc.target/i386/cet-intrin-3

[Bug rtl-optimization/86685] [8/9 Regression] 436.cactusADM regression on aarch64

2018-07-30 Thread jgreenhalgh at gcc dot gnu.org
||2018-07-30 CC||jgreenhalgh at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from James Greenhalgh --- On the platforms I'm looking at, this is equal to a 13% regression in dynamic instruction

[Bug target/84521] [8 Regression] aarch64: Frame-pointer corruption with setjmp/longjmp and -fomit-frame-pointer

2018-02-22 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84521 James Greenhalgh changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/69556] New: [6 Regression] forwprop4/match.pd undoing work from recip

2016-01-29 Thread jgreenhalgh at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org Target Milestone: --- For this code compiled at -Ofast: double bar (double, double, double, double, double); double foo (double a) { return bar

[Bug tree-optimization/69556] [6 Regression] forwprop4/match.pd undoing work from recip

2016-01-29 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69556 James Greenhalgh changed: What|Removed |Added CC||jgreenhalgh at gcc dot gnu.org

[Bug rtl-optimization/69570] [6 Regression] if-conversion bug on i?86

2016-01-31 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69570 --- Comment #2 from James Greenhalgh --- (In reply to Jakub Jelinek from comment #1) > I guess ifcvt only triggers some latent bug, either RA or more likely in > reg-stack. That said, all the comments about the r229822 changes say its > purpose

[Bug target/69671] New: [6 Regression] FAIL: gcc.target/i386/avx512vl-vpmovqb-1.c scan-assembler-times vpmovqb[ \\t]+[^{\n]*%ymm[0-9]+[^\n]*%xmm[0-9]+{%k[1-7]}{z}(?

2016-02-04 Thread jgreenhalgh at gcc dot gnu.org
}(? Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org CC: kyrylo.tkachov at arm

[Bug testsuite/69371] UNRESOLVED: special_functions/18_riemann_zeta/check_value.cc compilation failed to produce executable

2016-02-04 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69371 James Greenhalgh changed: What|Removed |Added Target|arm-none-eabi |arm-none-eabi, |

[Bug target/69841] Wrong template instantiation in C++11 on armv7l

2016-02-22 Thread jgreenhalgh at gcc dot gnu.org
||2016-02-22 CC||jgreenhalgh at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from James Greenhalgh --- Confirmed, I'm trying to figure out what is going wrong.

[Bug target/69841] Wrong template instantiation in C++11 on armv7l

2016-02-24 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69841 James Greenhalgh changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jgreenhalgh at gcc dot

[Bug target/69841] Wrong template instantiation in C++11 on armv7l

2016-02-25 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69841 James Greenhalgh changed: What|Removed |Added CC||alan.lawrence at arm dot com,

[Bug target/69841] Wrong template instantiation in C++11 on armv7l

2016-02-26 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69841 James Greenhalgh changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug testsuite/70009] test case libgomp.oacc-c-c++-common/vprop.c fails starting with its introduction in r233607

2016-03-07 Thread jgreenhalgh at gcc dot gnu.org
-*-*, ||arm*-*-* Last reconfirmed|2016-02-29 00:00:00 |2016-3-7 CC||jgreenhalgh at gcc dot gnu.org --- Comment #5 from James Greenhalgh --- Also failing on arm/aarch64 (so good further evidence of signed vs

[Bug target/69841] Wrong template instantiation in C++11 on armv7l

2016-03-09 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69841 --- Comment #5 from James Greenhalgh --- I don't know enough about the C++ standard to know whether this patch is reasonable to backport to GCC 5. Jason, do you have an opinion?

[Bug testsuite/68232] gcc.dg/ifcvt-4.c fails on some arm configurations

2016-03-14 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68232 --- Comment #8 from James Greenhalgh --- (In reply to Pat Haugen from comment #6) > (In reply to James Greenhalgh from comment #5) > > "Fixed" with the testsuite skips. Feel free to add any other target triplets > > for which this test is unrelia

[Bug target/70133] AArch64 -mtune=native generates improperly formatted -march parameters

2016-03-19 Thread jgreenhalgh at gcc dot gnu.org
||jgreenhalgh at gcc dot gnu.org --- Comment #5 from James Greenhalgh --- The crux of this issue is going to be that your Cortex-A53 has no support for the cryptography extension, but does have support for the CRC extensions. By inspection of host_detect_local_cpu, I see that we run

[Bug target/70133] AArch64 -mtune=native generates improperly formatted -march parameters

2016-03-19 Thread jgreenhalgh at gcc dot gnu.org
|unassigned at gcc dot gnu.org |jgreenhalgh at gcc dot gnu.org --- Comment #8 from James Greenhalgh --- (In reply to Christophe Lyon from comment #6) > > 3) We should think about whether we need to put out these +no extension > > strings at all. I don't like that for my older sys

[Bug target/70133] AArch64 -mtune=native generates improperly formatted -march parameters

2016-03-20 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70133 James Greenhalgh changed: What|Removed |Added Target||aarch64*-none-linux-gnu

[Bug rtl-optimization/68749] FAIL: gcc.dg/ifcvt-4.c scan-rtl-dump ce1 "2 true changes made"

2016-03-22 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68749 --- Comment #4 from James Greenhalgh --- Hi, sorry I missed this. I need to write a better filter for bugs I'm CCed on, I'll work on that. I'm hitting the limits of what I can guess from the Sparc machine files. I don't understand why we get an

[Bug c++/70494] Capturing an array of vectors in a lambda

2016-04-01 Thread jgreenhalgh at gcc dot gnu.org
|NEW Last reconfirmed||2016-04-01 CC||jgreenhalgh at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from James Greenhalgh --- Fails for me on trunk and 5.3. Trunk

[Bug target/67896] Inconsistent behaviour between C and C++ for types poly8x8_t and poly16x8_t

2016-04-01 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67896 --- Comment #6 from James Greenhalgh --- Author: jgreenhalgh Date: Fri Apr 1 09:45:44 2016 New Revision: 234665 URL: https://gcc.gnu.org/viewcvs?rev=234665&root=gcc&view=rev Log: Backport: [PATCH] Do not set structural equality on polynomial ty

[Bug target/67896] Inconsistent behaviour between C and C++ for types poly8x8_t and poly16x8_t

2016-04-01 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67896 James Greenhalgh changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/70531] Turning optimisation level 2 causes the output program to go into infinite loop

2016-04-04 Thread jgreenhalgh at gcc dot gnu.org
||jgreenhalgh at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from James Greenhalgh --- Try compiling and running with -fsanitize=undefined. You have a bug in your logic that results in an out-of-bounds memory access: .../ab2.cpp:97

[Bug target/70133] AArch64 -mtune=native generates improperly formatted -march parameters

2016-04-11 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70133 --- Comment #10 from James Greenhalgh --- Author: jgreenhalgh Date: Mon Apr 11 10:14:59 2016 New Revision: 234876 URL: https://gcc.gnu.org/viewcvs?rev=234876&root=gcc&view=rev Log: [Patch AArch64 2/3] Rework the code to print extension strings (

[Bug target/70133] AArch64 -mtune=native generates improperly formatted -march parameters

2016-04-11 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70133 --- Comment #11 from James Greenhalgh --- Author: jgreenhalgh Date: Mon Apr 11 10:16:26 2016 New Revision: 234877 URL: https://gcc.gnu.org/viewcvs?rev=234877&root=gcc&view=rev Log: [Patch AArch64 3/3] Fix up for pr70133 gcc/ PR target/

[Bug target/70133] AArch64 -mtune=native generates improperly formatted -march parameters

2016-04-11 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70133 James Greenhalgh changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/69841] Wrong template instantiation in C++11 on armv7l

2016-04-11 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69841 James Greenhalgh changed: What|Removed |Added CC||jason at redhat dot com --- Comment #

[Bug c++/70657] testing

2016-04-14 Thread jgreenhalgh at gcc dot gnu.org
||jgreenhalgh at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from James Greenhalgh --- Please, stop this.

[Bug c/70707] INT_MAX used before it is defined

2016-04-18 Thread jgreenhalgh at gcc dot gnu.org
||jgreenhalgh at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from James Greenhalgh --- Hi Lewis, This bugzilla is for reporting bugs against GCC, rather than asking for usage help. Feel free to post the same message on gcc-h

[Bug target/70809] New: [AArch64] aarch64_vmls pattern should be rejected if -ffp-contract=off

2016-04-26 Thread jgreenhalgh at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org Target Milestone: --- Target: aarch64*-*-* Take this simple testcase: void foo (float * __restrict__ __attribute__ ((aligned (16

[Bug target/66200] GCC for ARM / AArch64 doesn't define TARGET_RELAXED_ORDERING

2016-04-27 Thread jgreenhalgh at gcc dot gnu.org
||jgreenhalgh at gcc dot gnu.org Resolution|--- |FIXED --- Comment #11 from James Greenhalgh --- Looks like this is fixed on all live branches. Ramana, please reopen if there is something more to be done that I've missed.

[Bug tree-optimization/71478] New: ICE in tree-ssa-reassoc.c after r236564

2016-06-09 Thread jgreenhalgh at gcc dot gnu.org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org CC: kugan.vivekanandarajah at linaro dot org Target Milestone: --- Created attachment 38671 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38671&action=edit

[Bug target/81456] [7/8 Regression] x86-64 optimizer makes wrong decision when optimizing for size

2017-07-17 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81456 --- Comment #2 from James Greenhalgh --- (In reply to Martin Liška from comment #1) > Confirmed, started with r238594. The cost model relies on the target giving a reasonable approximation for an instruction size through ix86_rtx_costs. The bas

[Bug middle-end/81832] [8 Regression] ICE in expand_LOOP_DIST_ALIAS, at internal-fn.c:2273

2017-08-14 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81832 James Greenhalgh changed: What|Removed |Added CC||amker at gcc dot gnu.org --- Comment

[Bug rtl-optimization/82237] New: [AArch64] Destructive operations result in poor register allocation after scheduling

2017-09-18 Thread jgreenhalgh at gcc dot gnu.org
Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org Target Milestone: --- A destructive operation is one in which an input operand is both read and written. For example, in the

[Bug rtl-optimization/82237] [AArch64] Destructive operations result in poor register allocation after scheduling

2017-09-18 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82237 James Greenhalgh changed: What|Removed |Added Target||aarch64*-*-* Status|UNCON

[Bug testsuite/77634] some vectorized testcases fail with -mcpu=thunderx

2017-09-19 Thread jgreenhalgh at gcc dot gnu.org
||jgreenhalgh at gcc dot gnu.org Resolution|--- |FIXED --- Comment #2 from James Greenhalgh --- Comment 1 claims this is fixed, Andrew, please reopen if it is still an issue.

[Bug target/63250] Complex fp16 arithmetic uses nonexistent libgcc functions

2017-09-19 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63250 James Greenhalgh changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/79534] [7 Regression] tree-ifcombine aarch64 performance regression with trunk@245151

2017-04-19 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79534 --- Comment #8 from James Greenhalgh --- In the case before Honza's patch, corrupt profile information leads to a branch being marked as 100% taken. After Honza's patch, the branch is instead seen with 95.6% taken: (jump_insn 1916 1915 1922 309

[Bug tree-optimization/79534] [7 Regression] tree-ifcombine aarch64 performance regression with trunk@245151

2017-04-20 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79534 --- Comment #10 from James Greenhalgh --- The most striking improvement was in libquantum, for which we saw a 15% performance improvement on Cortex-A72 (3% on cortex-A57) directly attributable to basic block ordering after this patch. Otherwise,

[Bug tree-optimization/79534] [7/8 Regression] tree-ifcombine aarch64 performance regression with trunk@245151

2017-04-21 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79534 --- Comment #12 from James Greenhalgh --- So while there's nothing buggy about the if-conversion which causes the performance issue, it does show an interesting missed optimization that ifcvt can't handle. We make the transform through find_if_c

[Bug target/80530] New: [7 Regression][AArch64] ICE when expanding reciprocal square root with -mcpu=exynos-m1 or -mcpu=xgene-1

2017-04-26 Thread jgreenhalgh at gcc dot gnu.org
: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org Target Milestone: --- This testcase: double bar (double a) { return 1.0/__builtin_sqrt(a); } Fails with an ICE

[Bug tree-optimization/80457] vectorizable_condition does not update the vectorizer cost model

2017-05-03 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80457 --- Comment #3 from James Greenhalgh --- (In reply to Bill Schmidt from comment #2) > Per https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00967.html, James > Greenhalgh has a more comprehensive patch for this, so removing myself from > the Assignee

[Bug tree-optimization/80457] vectorizable_condition does not update the vectorizer cost model

2017-05-31 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80457 --- Comment #7 from James Greenhalgh --- Thanks for your help!

[Bug target/71778] [6/7/8 Regression][ARM] ICE using non-constant argument to Neon intrinsic that requires constant arguments

2017-06-16 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71778 --- Comment #7 from James Greenhalgh --- Author: jgreenhalgh Date: Fri Jun 16 17:29:56 2017 New Revision: 249272 URL: https://gcc.gnu.org/viewcvs?rev=249272&root=gcc&view=rev Log: [Patch ARM] Fix PR71778 gcc/ PR target/71778 *

[Bug target/71778] [6/7/8 Regression][ARM] ICE using non-constant argument to Neon intrinsic that requires constant arguments

2017-06-19 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71778 --- Comment #8 from James Greenhalgh --- Author: jgreenhalgh Date: Mon Jun 19 16:58:03 2017 New Revision: 249379 URL: https://gcc.gnu.org/viewcvs?rev=249379&root=gcc&view=rev Log: Backport: [Patch ARM] Fix PR71778 gcc/ PR target/71778

[Bug target/71778] [6/7/8 Regression][ARM] ICE using non-constant argument to Neon intrinsic that requires constant arguments

2017-06-19 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71778 --- Comment #9 from James Greenhalgh --- Author: jgreenhalgh Date: Mon Jun 19 17:12:12 2017 New Revision: 249380 URL: https://gcc.gnu.org/viewcvs?rev=249380&root=gcc&view=rev Log: Backport: [Patch ARM] Fix PR71778 gcc/ PR target/71778

[Bug target/71778] [6/7/8 Regression][ARM] ICE using non-constant argument to Neon intrinsic that requires constant arguments

2017-06-19 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71778 James Greenhalgh changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/63250] Complex fp16 arithmetic uses nonexistent libgcc functions

2016-11-23 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63250 --- Comment #5 from James Greenhalgh --- Author: jgreenhalgh Date: Wed Nov 23 17:36:21 2016 New Revision: 242784 URL: https://gcc.gnu.org/viewcvs?rev=242784&root=gcc&view=rev Log: [Patch ARM 17/17] Enable _Float16 for ARM and fix PR target/63250

[Bug middle-end/78509] [7 regression] ICE in in excess_precision_type, at tree.c:8875

2016-11-24 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 --- Comment #2 from James Greenhalgh --- (In reply to Rainer Orth from comment #1) > James, this is caused by your patch series > > [Patch 1/17] Add a new target hook for describing excess precision intentions > > I believe. > > Rainer Than

[Bug middle-end/78509] [7 regression] ICE in in excess_precision_type, at tree.c:8875

2016-11-24 Thread jgreenhalgh at gcc dot gnu.org
||2016-11-24 Assignee|unassigned at gcc dot gnu.org |jgreenhalgh at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #4 from James Greenhalgh --- Well, certainly this comment and assert in tree.c: /* The target should not ask for

[Bug middle-end/78509] [7 regression] ICE in in excess_precision_type, at tree.c:8875

2016-11-24 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 --- Comment #6 from James Greenhalgh --- None of the logic was there in the original code, so there is not much to compare. The question for the backend when TYPE is EXCESS_PRECISION_TYPE_FAST or EXCESS_PRECISION_TYPE_STANDARD is, does it wants

[Bug target/78509] [7 regression] ICE in in excess_precision_type, at tree.c:8875

2016-11-24 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 --- Comment #8 from James Greenhalgh --- (In reply to Jakub Jelinek from comment #7) > (In reply to James Greenhalgh from comment #6) > > None of the logic was there in the original code, so there is not much to > > compare. > > ?? Since -fexce

[Bug target/78509] [7 regression] ICE in in excess_precision_type, at tree.c:8875

2016-11-25 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 --- Comment #9 from James Greenhalgh --- Author: jgreenhalgh Date: Fri Nov 25 09:25:31 2016 New Revision: 242866 URL: https://gcc.gnu.org/viewcvs?rev=242866&root=gcc&view=rev Log: [Patch i386] PR78509 - TARGET_C_EXCESS_PRECISION should not retur

[Bug target/78509] [7 regression] ICE in in excess_precision_type, at tree.c:8875

2016-11-25 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 --- Comment #10 from James Greenhalgh --- Should now be fixed, but I'll leave open for Rainer to confirm.

[Bug target/78509] [7 regression] ICE in in excess_precision_type, at tree.c:8875

2016-11-25 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 --- Comment #12 from James Greenhalgh --- I tried looking at the generated assembly for that test with the compilers I built before my patch series, and after the patch series + the fix above. I couldn't see any difference in code generated for t

[Bug target/70120] [6 Regression][aarch64] -g causes Assembler messages: Error: unaligned opcodes detected in executable segment

2016-11-25 Thread jgreenhalgh at gcc dot gnu.org
||jgreenhalgh at gcc dot gnu.org Resolution|FIXED |--- --- Comment #12 from James Greenhalgh --- I can still trigger this with a testcase using 16-bit floating-point types, and the tiny memory model: int main (__fp16 x) { __fp16 a

[Bug rtl-optimization/78561] New: Constant pool size (offset) can become stale where constant pool entires become unused

2016-11-28 Thread jgreenhalgh at gcc dot gnu.org
Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org Target Milestone: --- This bug report is mostly from inspection, but the effects of this issue can be seen with this

[Bug rtl-optimization/78561] Constant pool size (offset) can become stale where constant pool entires become unused

2016-11-28 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78561 James Greenhalgh changed: What|Removed |Added Target||aarch64*-*-* Status|UNCON

[Bug target/70120] [6 Regression][aarch64] -g causes Assembler messages: Error: unaligned opcodes detected in executable segment

2016-11-28 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70120 James Greenhalgh changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug rtl-optimization/78547] [7 Regression] ICE: in loc_cmp, at var-tracking.c:3417 with -Os -g -mstringop-strategy=libcall -freorder-blocks-algorithm=simple

2016-11-28 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78547 James Greenhalgh changed: What|Removed |Added CC||hjl at gcc dot gnu.org,

[Bug rtl-optimization/78561] Constant pool size (offset) can become stale where constant pool entires become unused

2016-11-30 Thread jgreenhalgh at gcc dot gnu.org
|unassigned at gcc dot gnu.org |jgreenhalgh at gcc dot gnu.org --- Comment #1 from James Greenhalgh --- Well, confirmed - and an easy fix is to recompute the offset data while sweeping for valid constants at the end of compilation.

[Bug tree-optimization/77445] [7 Regression] Performance drop after r239219 on coremark test

2016-11-30 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77445 James Greenhalgh changed: What|Removed |Added Last reconfirmed|2016-09-03 00:00:00 |2016-11-30 CC|

[Bug tree-optimization/77445] [7 Regression] Performance drop after r239219 on coremark test

2016-11-30 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77445 --- Comment #7 from James Greenhalgh --- Right, I've trimmed too much context from my message. This performance regression starts with r239219 which adds a cost model to the threader which relies on frequency information (arguably this is a bad

[Bug rtl-optimization/78561] Constant pool size (offset) can become stale where constant pool entires become unused

2016-12-02 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78561 --- Comment #2 from James Greenhalgh --- Author: jgreenhalgh Date: Fri Dec 2 14:29:35 2016 New Revision: 243182 URL: https://gcc.gnu.org/viewcvs?rev=243182&root=gcc&view=rev Log: [Patch 1/2 PR78561] Rename get_pool_size to get_pool_size_upper_b

[Bug rtl-optimization/78561] Constant pool size (offset) can become stale where constant pool entires become unused

2016-12-02 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78561 --- Comment #3 from James Greenhalgh --- Author: jgreenhalgh Date: Fri Dec 2 14:31:10 2016 New Revision: 243183 URL: https://gcc.gnu.org/viewcvs?rev=243183&root=gcc&view=rev Log: [Patch 2/2 PR78561] Recalculate constant pool size before emittin

[Bug rtl-optimization/78561] Constant pool size (offset) can become stale where constant pool entires become unused

2016-12-05 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78561 --- Comment #6 from James Greenhalgh --- Author: jgreenhalgh Date: Mon Dec 5 09:35:28 2016 New Revision: 243239 URL: https://gcc.gnu.org/viewcvs?rev=243239&root=gcc&view=rev Log: [Patch 2/2 PR78561] Recalculate constant pool size before emittin

[Bug rtl-optimization/78561] Constant pool size (offset) can become stale where constant pool entires become unused

2016-12-05 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78561 --- Comment #7 from James Greenhalgh --- (In reply to Segher Boessenkool from comment #5) > Oh btw, you forgot to commit the testcase in 2/2. Thanks, that's the easy one to fix. Would you be able to help me with a configure line I can use for a

[Bug rtl-optimization/78561] Constant pool size (offset) can become stale where constant pool entires become unused

2016-12-05 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78561 --- Comment #9 from James Greenhalgh --- (In reply to Segher Boessenkool from comment #8) > I usually use --disable-libgomp, but otherwise everything default (well, > --enable-languages=all,ada,go,obj-c++). I need a bit more hand holding on this

[Bug rtl-optimization/78561] Constant pool size (offset) can become stale where constant pool entires become unused

2016-12-05 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78561 --- Comment #11 from James Greenhalgh --- My bootstrap at r243245 on gcc110 seemed to work fine. [jgreenhalgh@gcc1-power7 gcc]$ ../build-gcc/gcc/xgcc -v Using built-in specs. COLLECT_GCC=../build-gcc/gcc/xgcc Target: powerpc64-unknown-linux-gnu

[Bug rtl-optimization/78561] Constant pool size (offset) can become stale where constant pool entires become unused

2016-12-05 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78561 --- Comment #13 from James Greenhalgh --- (In reply to Segher Boessenkool from comment #12) > It still happens here, also on gcc110. Note you need --disable-werror, > to avoid another bootstrap error. > > Did you perchance use --disable-bootstr

[Bug rtl-optimization/78561] Constant pool size (offset) can become stale where constant pool entires become unused

2016-12-05 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78561 --- Comment #15 from James Greenhalgh --- (In reply to Segher Boessenkool from comment #14) > I used trunk. --disable-bootstrap fails the same, just much faster ;-) > > Maybe the binutils etc. version matters? Do you have a "modern" GCC on pat

  1   2   3   >