[Bug tree-optimization/26270] missed vrp optimization with unsigned comparison

2016-03-15 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26270 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/63169] ivopts rewrite_uses pessimizes debug info

2016-03-15 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63169 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/32621] undefined weak sym test broken when pic

2016-03-15 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32621 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/70263] [4.9/5/6 Regression] ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (segmentation fault)

2016-03-19 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70263 --- Comment #6 from Alan Modra --- Created attachment 38017 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38017=edit possible fix Maybe something as simple as this?

[Bug tree-optimization/70130] [6 Regression] h264ref fails with verification error starting with r231674

2016-04-13 Thread amodra at gmail dot com
||2016-04-13 CC||amodra at gmail dot com Resolution|INVALID |--- Ever confirmed|0 |1 --- Comment #7 from Alan Modra --- My analysis says this is not a linker error. Pass/fail

[Bug target/70107] ICE: in emit_move_insn, at expr.c:3546 with -mcpu=power8

2016-04-12 Thread amodra at gmail dot com
|--- |FIXED Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Target Milestone|--- |4.9.4 --- Comment #9 from Alan Modra --- Fixed

[Bug tree-optimization/70130] [6 Regression] h264ref fails with verification error starting with r231674

2016-04-13 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70130 Alan Modra changed: What|Removed |Added Status|REOPENED|NEW --- Comment #8 from Alan Modra ---

[Bug tree-optimization/70130] [6 Regression] h264ref fails with verification error starting with r231674

2016-04-13 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70130 --- Comment #11 from Alan Modra --- Created attachment 38250 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38250=edit stand alone testcase Compile with -m64 -O3 -mcpu=power7 -fno-common

[Bug target/70107] ICE: in emit_move_insn, at expr.c:3546 with -mcpu=power8

2016-04-12 Thread amodra at gmail dot com
||2016-04-12 CC||amodra at gmail dot com, ||ppalka at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #5 from Alan Modra --- This is actually a duplicate of pr70096

[Bug target/70117] ppc long double isinf() is wrong?

2016-04-11 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/70107] ICE: in emit_move_insn, at expr.c:3546 with -mcpu=power8

2016-04-12 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70107 --- Comment #6 from Alan Modra --- Bootstrap and regression testing completed for both gcc-4.9 and gcc-5 branch

[Bug rtl-optimization/70263] [4.9/5/6 Regression] ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (segmentation fault)

2016-03-19 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70263 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #5

[Bug target/70052] ICE compiling _Decimal128 test case

2016-03-23 Thread amodra at gmail dot com
at gcc dot gnu.org |amodra at gmail dot com

[Bug target/70052] ICE compiling _Decimal128 test case

2016-03-23 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70052 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #3

[Bug target/70052] ICE compiling _Decimal128 test case

2016-03-23 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70052 --- Comment #4 from Alan Modra --- Created attachment 38072 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38072=edit tentative patch This hasn't been tested much, apart from verifying that the testcase compiles. I also find that I don't

[Bug target/70052] [5/6 Regression] ICE compiling _Decimal128 test case

2016-03-26 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70052 Alan Modra changed: What|Removed |Added Known to work|5.3.1 |4.9.4 Summary|ICE compiling

[Bug rtl-optimization/70134] New: combine misses jump optimization on powerpc64le

2016-03-07 Thread amodra at gmail dot com
Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- I'm not sure this is really a combine bug, but I noticed that for x86_64 and gfortran.dg/pr46755.f, combine is able to convert (insn 62 34 35 9 (set (reg/v:SI

[Bug rtl-optimization/69195] [4.9/5/6 Regression] gcc.dg/torture/pr44913.c FAILs with -O3 -fno-dce -fno-forward-propagate

2016-03-03 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69195 --- Comment #13 from Alan Modra --- Created attachment 37862 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37862=edit delete bad reg_equiv A patch like this one that deletes reg_equiv notes that become invalid according to

[Bug rtl-optimization/69195] [4.9/5/6 Regression] gcc.dg/torture/pr44913.c FAILs with -O3 -fno-dce -fno-forward-propagate

2016-03-03 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69195 Alan Modra changed: What|Removed |Added Attachment #37862|0 |1 is obsolete|

[Bug rtl-optimization/69195] [4.9/5/6 Regression] gcc.dg/torture/pr44913.c FAILs with -O3 -fno-dce -fno-forward-propagate

2016-03-03 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69195 --- Comment #15 from Alan Modra --- Blah, that last patch segfaults all over the place.

[Bug rtl-optimization/69195] [4.9/5/6 Regression] gcc.dg/torture/pr44913.c FAILs with -O3 -fno-dce -fno-forward-propagate

2016-03-04 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69195 Alan Modra changed: What|Removed |Added Attachment #37863|0 |1 is obsolete|

[Bug ipa/69990] [6 Regression] decl alignment not respected

2016-03-02 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69990 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/69195] [4.9/5/6 Regression] gcc.dg/torture/pr44913.c FAILs with -O3 -fno-dce -fno-forward-propagate

2016-03-03 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69195 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #11

[Bug rtl-optimization/69195] [4.9/5/6 Regression] gcc.dg/torture/pr44913.c FAILs with -O3 -fno-dce -fno-forward-propagate

2016-03-03 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69195 --- Comment #12 from Alan Modra --- Created attachment 37857 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37857=edit workaround patch Given the problems identified with notes (and of course the notes are what drives reg_equiv_init

[Bug target/70117] ppc long double isinf() is wrong?

2016-03-07 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #3

[Bug target/70117] ppc long double isinf() is wrong?

2016-03-07 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117 --- Comment #6 from Alan Modra --- > Well, what I don't quite understand is that the gnulib value, which is > > 0x1.f7cp+1023 Sorry, I didn't look properly at the bug before commenting last night. For some reason I

[Bug target/70117] ppc long double isinf() is wrong?

2016-04-04 Thread amodra at gmail dot com
at gcc dot gnu.org |amodra at gmail dot com

[Bug target/70117] ppc long double isinf() is wrong?

2016-04-04 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117 --- Comment #14 from Alan Modra --- > if (fmt == _extended_double) No, there is mips_extended_format too.

[Bug target/70052] [5/6 Regression] ICE compiling _Decimal128 test case

2016-03-29 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70052 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/69645] powerpc -ffixed- ignored when saving and restoring regs

2016-03-21 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69645 Alan Modra changed: What|Removed |Added Keywords||patch URL|

[Bug tree-optimization/70130] [6 Regression] h264ref fails with verification error starting with r231674 (r224221 is the true start of the problem)

2016-04-14 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70130 --- Comment #24 from Alan Modra --- Created attachment 38266 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38266=edit testcase for gcc.dg/vect/ Revised testcase checking multiple offsets, using an array of structs so not dependent on var

[Bug target/69645] powerpc -ffixed- ignored when saving and restoring regs

2016-04-29 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69645 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/70826] [7 regression] many test cases fail starting with r235442

2016-04-28 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70826 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #8

[Bug rtl-optimization/70826] [7 regression] many test cases fail starting with r235442

2016-04-28 Thread amodra at gmail dot com
||2016-04-29 Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Ever confirmed|0 |1 --- Comment #9 from Alan Modra --- It looks like a testcase bug. -frename-regs happens to make main() use cr2, and there doesn't seem

[Bug target/70866] powerpc64le -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 ICE

2016-04-28 Thread amodra at gmail dot com
|ASSIGNED Last reconfirmed||2016-04-29 Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Ever confirmed|0 |1

[Bug target/70866] New: powerpc64le -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 ICE

2016-04-28 Thread amodra at gmail dot com
: target Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- /* { dg-do compile } */ /* { dg-options "-ffixed-cr2 -ffixed-cr3 -ffixed-cr4" } */ #define SET_CR(R,V) __asm__ __volatile__ ("mtcrf %0,%1" : : "

[Bug target/70947] regrename Go breakage on powerpc64

2016-05-16 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70947 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Version|7.0

[Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64

2016-05-03 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70890 Alan Modra changed: What|Removed |Added Target|ia64-*-*|ia64-*-*, powerpc64-linux

[Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64

2016-05-02 Thread amodra at gmail dot com
at gcc dot gnu.org |amodra at gmail dot com --- Comment #5 from Alan Modra --- Created attachment 38401 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38401=edit patch under test Andreas, please let me know if this cures the ia64 bootstrap problem. By inspection the code looks g

[Bug target/70866] powerpc64le -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 ICE

2016-05-03 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70866 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/70947] regrename Go breakage on powerpc64

2016-05-04 Thread amodra at gmail dot com
||2016-05-04 Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Ever confirmed|0 |1

[Bug target/70947] New: regrename Go breakage on powerpc64

2016-05-04 Thread amodra at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- Instructions around a __morestack call typically have r0, used to save and restore lr, replaced with other regs by regrename. This trashes the current function parameter and return regs

[Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64

2016-05-04 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70890 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64

2016-05-02 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70890 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/66033] rs6000 nops removed by rtl_dce

2016-04-14 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66033 --- Comment #5 from Alan Modra --- Comment #4 was added to the wrong bug. Not fixed on gcc-5 branch.

[Bug rtl-optimization/68814] [6 regression] gcc.dg/pr63594-2.c fails since r226005

2016-04-14 Thread amodra at gmail dot com
||amodra at gmail dot com Target Milestone|6.0 |4.9.4

[Bug tree-optimization/70130] [6 Regression] h264ref fails with verification error starting with r231674 (r224221 is the true start of the problem)

2016-04-14 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70130 --- Comment #28 from Alan Modra --- Bootstrapped and regression testing now completed on both powerpc64le-linux and -m64/-m32 on a power7 powerpc64-linux host, all langs. No regressions found, and it seems this also fixes

[Bug testsuite/70826] [7 regression] many test cases fail starting with r235442

2016-05-09 Thread amodra at gmail dot com
dot gnu.org, | |amodra at gmail dot com| Resolution|--- |FIXED --- Comment #11 from Alan Modra --- Fixed, until it breaks next time.

[Bug target/72103] ICE with gcc 7 for povray benchmark

2016-07-25 Thread amodra at gmail dot com
at gmail dot com| Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com

[Bug target/72103] ICE with gcc 7 for povray benchmark

2016-07-25 Thread amodra at gmail dot com
||2016-07-26 CC||amodra at gmail dot com Ever confirmed|0 |1 --- Comment #2 from Alan Modra --- So, we are dealing with reloads for this insn: (insn 488 206 406 31 (set (reg:DI 317) (unspec:DI

[Bug target/72103] ICE with gcc 7 for povray benchmark

2016-07-26 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72103 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/72103] ICE with gcc 7 for povray benchmark

2016-07-26 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72103 Alan Modra changed: What|Removed |Added Keywords||ice-on-valid-code, patch

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-07-27 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #8

[Bug target/72103] ICE with gcc 7 for povray benchmark

2016-07-28 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72103 --- Comment #9 from Alan Modra --- I looked, and decided there wasn't much we could do. So the main nastiness in the sequence is the mem store/load, but that is just reload running out of regs and spilling. Yes, it looks really dumb when

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-07-29 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 --- Comment #10 from Alan Modra --- Arseny, I could not reproduce the problem using your testcase, and I tried a dozen or so revisions around 20160626 buiding powerpc-e500v2-linux-gnuspe cross-compilers on an x86_64-linux host. Please specify

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-07-27 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 --- Comment #9 from Alan Modra --- lra doesn't load in SFmode due to the following condition in lra-constraints.c:simplify_operand_subreg /* If we change address for paradoxical subreg of memory, the address might violate the necessary

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-08-02 Thread amodra at gmail dot com
|ASSIGNED URL||https://gcc.gnu.org/ml/gcc- ||patches/2016-08/msg00113.ht ||ml Assignee|unassigned at gcc dot gnu.org |amodra at gmail

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-08-02 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 --- Comment #13 from Alan Modra --- The e500 issue is quite different, and is not fixed by my lra patch. From the lra dump, Creating newreg=436, assigning class NO_REGS to save r436 536: r192:SI=0x1 REG_EQUAL 0x1 Add

[Bug target/72853] gcc/testsuite/gcc.c-torture/execute/20021120-1.c generates incorrect stxssp op with -mcpu=power9

2016-08-09 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72853 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #5

[Bug target/72802] powerpc64le: -mcpu=power9 emits lxssp instruction with offset that isn't a multiple of 4

2016-08-03 Thread amodra at gmail dot com
||2016-08-04 CC|amodra at gcc dot gnu.org |amodra at gmail dot com Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Ever confirmed|0 |1 --- Comment #1 from Alan Modra --- "o" constraints

[Bug target/73650] powerpc: -mcpu=e500mc hits ICE: insn does not satisfy its constraints

2016-08-12 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73650 --- Comment #6 from Alan Modra --- It's a bit interesting that the problem insn (from ira dump): (insn 70 66 76 3 (parallel [ (set (reg:CC 198) (compare:CC (reg/v:SI 188 [ n ]) (const_int 0 [0])))

[Bug target/73650] powerpc: -mcpu=e500mc hits ICE: insn does not satisfy its constraints

2016-08-12 Thread amodra at gmail dot com
|| CC||amodra at gmail dot com --- Comment #5 from Alan Modra --- Created attachment 39271 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39271=edit tidier testcase

[Bug rtl-optimization/55190] ivopts causes loop setup bloat

2016-08-15 Thread amodra at gmail dot com
*-*-* ||powerpc*-*-* CC||amodra at gmail dot com --- Comment #10 from Alan Modra --- Seen also on powerpc. Even for simple testcases like int b[30]; void fn1 (unsigned int n) { unsigned int i; for (i = 0; i < n; i++) b[i] =

[Bug c/72864] gcc.c-torture/compile/pr72802.c fails on x86_64-apple-darwin15 with -m32

2016-08-11 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72864 --- Comment #1 from Alan Modra --- The testcase was one generated by https://embed.cs.utah.edu/csmith. Horrible looking, but legal. clang should just warn, not error. I'm happy the testcase exposed another gcc bug.

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-08-10 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/71733] ICE in vmx test cases with -mcpu=power9

2016-07-13 Thread amodra at gmail dot com
||amodra at gmail dot com Resolution|--- |FIXED Target Milestone|7.0 |6.2 --- Comment #8 from Alan Modra --- Fixed for gcc-7 and gcc-6.

[Bug target/71763] powerpc64: ICE due to need for output reload on jump

2016-07-04 Thread amodra at gmail dot com
||2016-07-05 CC||amodra at gmail dot com Ever confirmed|0 |1 --- Comment #1 from Alan Modra --- Confirmed. This long-standing reload problem won't be fixed until something like https://gcc.gnu.org/ml/gcc-patches

[Bug target/71763] powerpc64: ICE due to need for output reload on jump

2016-07-05 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71763 --- Comment #4 from Alan Modra --- Created attachment 38833 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38833=edit output reloads on jump insns Revised https://gcc.gnu.org/ml/gcc-patches/2004-12/msg00739.html It's surprising how little

[Bug target/72802] powerpc64le: -mcpu=power9 emits lxssp instruction with offset that isn't a multiple of 4

2016-08-04 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72802 --- Comment #3 from Alan Modra --- wY is using mem_operand_gpr which is designed for gpr loads/stores. When -m32, mem_operand_gpr does not enforce multiple-of-4 offsets.

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-08-05 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 --- Comment #14 from Alan Modra --- Created attachment 39056 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39056=edit save SImode regs in SImode Arseny, you might like to try this. I don't have the means at the moment to properly test

[Bug target/72771] [6/7 Regression] powerpc64le ICE with -mcpu=power9

2016-08-05 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72771 --- Comment #5 from Alan Modra --- > I'm wondering why this pattern even has a Z alternative It would be nice to be able to edit bugzilla entries, to remove dumb comments like that one.

[Bug target/72771] [6/7 Regression] powerpc64le ICE with -mcpu=power9

2016-08-05 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72771 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #4

[Bug target/72771] [6/7 Regression] powerpc64le ICE with -mcpu=power9

2016-08-05 Thread amodra at gmail dot com
at gcc dot gnu.org |amodra at gmail dot com

[Bug target/72802] powerpc64le: -mcpu=power9 emits lxssp instruction with offset that isn't a multiple of 4

2016-08-08 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72802 Alan Modra changed: What|Removed |Added CC|amodra at gmail dot com| --- Comment #7 from Alan Modra

[Bug rtl-optimization/71724] [5/6/7 Regression] ICE: Segmentation fault, deep recursion between combine_simplify_rtx and subst

2016-08-08 Thread amodra at gmail dot com
||2016-08-09 CC||amodra at gmail dot com Ever confirmed|0 |1 --- Comment #1 from Alan Modra --- combine goes into infinite recursion inside this call: newpat = subst (newpat, i0dest, i0src, 0, 0, 0); The args

[Bug target/72802] powerpc64le: -mcpu=power9 emits lxssp instruction with offset that isn't a multiple of 4

2016-08-08 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72802 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/72771] [6/7 Regression] powerpc64le ICE with -mcpu=power9

2016-08-07 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72771 Alan Modra changed: What|Removed |Added CC|amodra at gcc dot gnu.org, | |amodra at gmail

[Bug target/71709] powerpc64le: argument to strcpy() optimised out

2016-06-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71709 --- Comment #5 from Alan Modra --- Created attachment 38802 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38802=edit fix Cures the error in find_call_crossed_cheap_reg

[Bug target/71709] powerpc64le: argument to strcpy() optimised out

2016-06-30 Thread amodra at gmail dot com
||amodra at gmail dot com Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com --- Comment #4 from Alan Modra --- Comment #3 isn't showing any real problem. Where things go wrong is in ira where the first strcpy call gets a bad REG_RETURNED note. I think

[Bug rtl-optimization/71709] powerpc64le: argument to strcpy() optimised out

2016-07-01 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71709 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/71709] powerpc64le: argument to strcpy() optimised out

2016-07-01 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71709 --- Comment #7 from Alan Modra --- find_call_crossed_cheap_reg is certainly confusing. On looking at it again this morning, I can't see why it uses reg_overlap_mentioned_p to break out of the loop. Who cares if the reg is referenced (except

[Bug rtl-optimization/79286] [7 Regression] ira and lra wrong code at -O2 and -Os on i686-linux

2017-02-01 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79286 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com Summary

[Bug target/79343] [7 Regression] error: PIC register clobbered by '%2' in 'asm'

2017-02-02 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79343 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #3

[Bug tree-optimization/79334] Segfault on tree loop hoisting

2017-02-02 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79334 --- Comment #4 from Alan Modra --- When you have the tree optimization bug fixed, this becomes an rtl optimization bug since rtl pre does the same as tree pre..

[Bug tree-optimization/79334] New: Segfault on tree loop hoisting

2017-02-02 Thread amodra at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- Found when looking for a testcase that could trigger a similar problem to pr72986 for equivalences created in ira using validate_equiv_mem. Instead I found a tree optimization

[Bug tree-optimization/79334] Segfault on tree loop hoisting

2017-02-02 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79334 --- Comment #1 from Alan Modra --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79286 I meant.

[Bug tree-optimization/79286] [7 Regression] wrong code at -O3 on x86_64-linux-gnu in 32-bit mode (but not in 64-bit mode)

2017-01-31 Thread amodra at gmail dot com
||amodra at gmail dot com Assignee|unassigned at gcc dot gnu.org |amodra at gcc dot gnu.org

[Bug target/79343] [7 Regression] error: PIC register clobbered by '%2' in 'asm'

2017-02-02 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79343 --- Comment #4 from Alan Modra --- Followup here: https://github.com/xianyi/OpenBLAS/issues/1078

[Bug target/79354] [7 Regression] -mcpu=power8 -O2 generates power9 instruction on powerpc64le-linux

2017-02-02 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79354 --- Comment #6 from Alan Modra --- Regression tested powerpc64le-linux successfully.

[Bug target/79354] [7 Regression] -mcpu=power8 -O2 generates power9 instruction on powerpc64le-linux

2017-02-02 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79354 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #5

[Bug rtl-optimization/79584] ICE in base_to_reg, at lra-constraints.c:2918

2017-02-21 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79584 Alan Modra changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|amodra at gmail dot

[Bug rtl-optimization/79584] ICE in base_to_reg, at lra-constraints.c:2918

2017-02-22 Thread amodra at gmail dot com
at gcc dot gnu.org |amodra at gmail dot com --- Comment #4 from Alan Modra --- Created attachment 40813 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40813=edit lra fix Patch currently under test

[Bug rtl-optimization/79584] ICE in base_to_reg, at lra-constraints.c:2918

2017-02-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79584 --- Comment #5 from Alan Modra --- The patch passes ppc64le bootstrap but that isn't really the best target to test. I'd test powerpc64-linux bi-arch but the machine I normally use for BE testing had a disk die, and instead of trying to set

[Bug rtl-optimization/79584] ICE in base_to_reg, at lra-constraints.c:2918

2017-02-20 Thread amodra at gmail dot com
||2017-02-21 CC||amodra at gmail dot com Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Ever confirmed|0 |1 --- Comment #2 from Alan Modra --- I don't see a -mno-lra ICE

[Bug rtl-optimization/79584] ICE in base_to_reg, at lra-constraints.c:2918

2017-02-25 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79584 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79144] cmpstrnsi optimization breaks glibc

2017-01-19 Thread amodra at gmail dot com
||2017-01-19 Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Ever confirmed|0 |1 --- Comment #1 from Alan Modra --- Testing a fix

[Bug target/79144] New: cmpstrsi optimization breaks glibc

2017-01-18 Thread amodra at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- Created attachment 40541 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40541=edit strncmp testcase glibc built with current gcc fails elf/check-localplt due to strcmp and strn

[Bug bootstrap/79098] [7 Regression] Failure to bootstrap gcc for powerpc-e500v2-linux-gnuspe target

2017-01-16 Thread amodra at gmail dot com
at gcc dot gnu.org |amodra at gmail dot com

[Bug bootstrap/79098] [7 Regression] Failure to bootstrap gcc for powerpc-e500v2-linux-gnuspe target

2017-01-16 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79098 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79066] [7 Regression] non-PIC code generated for powerpc glibc with -fpic

2017-01-16 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79066 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

<    1   2   3   4   5   6   7   8   9   >