[Bug target/94145] Longcalls mis-optimize loading the function address

2020-03-11 Thread amodra at gmail dot com
gcc dot gnu.org |amodra at gmail dot com Last reconfirmed||2020-03-11 Ever confirmed|0 |1

[Bug target/94145] Longcalls mis-optimize loading the function address

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

[Bug target/94145] Longcalls mis-optimize loading the function address

2020-03-12 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94145 --- Comment #6 from Alan Modra --- Transformations to indirect calls and hoisting function addresses out of loops is fine. That sort of thing has nothing to do with this problem. The problem is that the PLT really is volatile, and the inline PL

[Bug target/94145] Longcalls mis-optimize loading the function address

2020-03-12 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94145 --- Comment #8 from Alan Modra --- (In reply to Richard Biener from comment #7) > OTOH CSEing the load from the PLT once it is resolved _would_ be an > optimization. Possibly. Sometimes making the call sequence seem more efficient runs into sta

[Bug target/94393] Powerpc suboptimal 64-bit constant comparison

2020-03-30 Thread amodra at gmail dot com
gnu.org |amodra at gmail dot com Last reconfirmed||2020-03-30 CC|amodra at gmail dot com| Status|UNCONFIRMED |ASSIGNED

[Bug target/94393] Powerpc suboptimal 64-bit constant comparison

2020-03-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94393 --- Comment #1 from Alan Modra --- Created attachment 48146 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48146&action=edit teach gcc more two insn sequences for constants

[Bug target/57836] large constants evaluated inline

2020-04-01 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57836 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|5.5

[Bug target/94393] Powerpc suboptimal 64-bit constant comparison

2020-04-01 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94393 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #2

[Bug target/94393] Powerpc suboptimal 64-bit constant comparison

2020-04-01 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94393 --- Comment #3 from Alan Modra --- There are two parts to fixing this PR. 1) We can do better in the sequences generated for some constants. 2) rs6000_rtx_costs needs to be accurate, so that expensive constants are put in memory and stay there wi

[Bug target/94504] On powerpc, -ffunction-sections -fdata-sections is not as effective as expected for PIE and PIC

2020-04-12 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94504 Alan Modra changed: What|Removed |Added Severity|normal |enhancement Status|UNCONFIRMED

[Bug target/94145] Longcalls mis-optimize loading the function address

2020-04-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94145 Alan Modra changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/95353] [10/11 Regression] GCC can't build binutils

2020-05-27 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95353 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #6

[Bug target/94393] Powerpc suboptimal 64-bit constant comparison

2020-07-15 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94393 --- Comment #7 from Alan Modra --- (In reply to Peter Bergner from comment #5) > Alan, I think you pushed some changes to help with 1) above, correct? > Is there more to do for 1)? Possibly, I haven't looked at what needs to be done (if anything)

[Bug lto/96385] [8/9/10/11 Regression] GCC generates separate debug info with undefined symbols without relocations

2020-08-03 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96385 --- Comment #16 from Alan Modra --- It looks fine to me, assuming you don't need to keep any of these undefined symbols.

[Bug target/96493] New: powerpc local call linkage failure

2020-08-05 Thread amodra at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- /* -O2 -mcpu=power8 */ static int __attribute__ ((target("cpu=power10"),noclone,noinline)) local_func (int x) { return x; } int main() { return local_func (0); } results i

[Bug target/96493] powerpc local call linkage failure

2020-08-06 Thread amodra at gmail dot com
at gcc dot gnu.org |amodra at gmail dot com Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1

[Bug target/96493] powerpc local call linkage failure

2020-08-06 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96493 --- Comment #2 from Alan Modra --- Yes, it is a bug present in any gcc version supporting pcrel.

[Bug testsuite/96525] new test gcc.target/powerpc/pr96493.c fails

2020-08-09 Thread amodra at gmail dot com
at gcc dot gnu.org |amodra at gmail dot com CC|amodra at gcc dot gnu.org | Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #4 from Alan Modra --- Yes, the test needs power10_ok, but *not

[Bug testsuite/96525] new test gcc.target/powerpc/pr96493.c fails

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

[Bug target/96493] powerpc local call linkage failure

2020-08-12 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96493 Alan Modra changed: What|Removed |Added Host||gcc Status|ASSIGNED

[Bug target/97042] New: powerpc64 UINT_MAX constant

2020-09-13 Thread amodra at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- /* -O2 -S */ long foo (long x) { return ~0u - x; } for gcc-8 to current master lis 9,0x ori 9,9,0x rldicl 9,9,0,32 subf 3,3,9 blr a regression

[Bug target/97042] powerpc64 UINT_MAX constant

2020-09-13 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97042 --- Comment #1 from Alan Modra --- Yes, reverting 5d3ae76af13 cures this PR.

[Bug target/97042] powerpc64 UINT_MAX constant

2020-09-14 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97042 --- Comment #6 from Alan Modra --- That's easy. rs6000_emit_set_long_const doesn't generate that sequence. Incidentally, a patch I had to generate more constants from li;rldicl also fixes this pr.

[Bug target/97042] powerpc64 UINT_MAX constant

2020-09-14 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97042 --- Comment #7 from Alan Modra --- and of course, li 0x is li -1 which sets all bits.

[Bug target/97042] powerpc64 UINT_MAX constant

2020-09-14 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97042 --- Comment #9 from Alan Modra --- I think that splitter should disappear and rs6000_emit_set_long_const handle all special cases where you might want combinations of two logical instructions before handling the li;rldicl, li;rldicr or any other

[Bug target/97107] New: libgo fails to build for power10

2020-09-18 Thread amodra at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- ld.gold: error: runtime/.libs/go-cdiv.o: failed to match split-stack sequence at section 1 offset 0 ld.gold: error: runtime/.libs/go-cdiv.o: failed to match split-stack sequence at section 1

[Bug target/97107] libgo fails to build for power10

2020-09-18 Thread amodra at gmail dot com
gnu.org |amodra at gmail dot com Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2020-09-18

[Bug target/97107] libgo fails to build for power10

2020-09-18 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97107 --- Comment #1 from Alan Modra --- Created attachment 49241 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49241&action=edit fix under test

[Bug sanitizer/92634] New: [gcc-8 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread amodra at gmail dot com
Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 --- Comment #2 from Alan Modra --- (In reply to Andrew Pinski from comment #1) > No those are still officially considered a referencing. > > In fact all three cases: > &p->field does not dereference p, just as &*p and &p[i] do not. > > Should

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 Alan Modra changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 --- Comment #7 from Alan Modra --- Here's another example, a typical offsetof. #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-23 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 --- Comment #11 from Alan Modra --- Oh wow, so the line of reasoning relies on what the C standard *doesn't* say in 6.5.3.2. I also think the deductions are somewhat suspect. You say &p->f is the same as &((*p).f), which is from p->f being the

[Bug lto/93384] [10 Regression] Python 3.9.0a3 fails to build on ppc64le with GCC 10.0.1: redefined symbol cannot be used on reloc

2020-01-28 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93384 --- Comment #16 from Alan Modra --- It is possible to fix this in the assembler too, but I'm reluctant to do so. If we make some sort of promise that .set x,y .set x,y gives the same results as when only the first .set is present, t

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2020-01-31 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 --- Comment #13 from Alan Modra --- Yes, I came to the conclusion myself that this is really nothing to do with dereferencing. So my original claim and Andrew's replies about dereferencing are not relevant. The standard says of unary & "The op

[Bug target/91052] [10 Regression] ICE in fix_reg_equiv_init, at ira.c:2705

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

[Bug libgomp/56073] SPEComp2012 376.kdtree fails to complete

2013-02-05 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56073 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug target/53040] nested functions may trash floating point registers

2013-02-05 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53040 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug target/53038] cfi_restore for cr before cr is actually restored

2013-02-05 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53038 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug target/54009] incorrect code generated for DFmode lo_sum mem

2013-02-06 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54009 --- Comment #4 from Alan Modra 2013-02-06 13:04:43 UTC --- Regressed due to pr54131 fix.

[Bug target/53040] nested functions may trash floating point registers

2013-02-06 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53040 --- Comment #6 from Alan Modra 2013-02-06 13:31:45 UTC --- This one is hardly an annoying bug. You need a) nested functions, b) using floating point, c) with an unusual set of callee saved fprs, d) and -Os. I found the bug only becau

[Bug target/44364] Wrong code with e500 double floating point

2013-02-06 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44364 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug target/54009] incorrect code generated for DFmode lo_sum mem

2013-02-06 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54009 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug target/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc

2013-02-07 Thread amodra at gmail dot com
||amodra at gmail dot com AssignedTo|unassigned at gcc dot |amodra at gmail dot com |gnu.org | --- Comment #12 from Alan Modra 2013-02-07 08:36:45 UTC --- Some of the claims made in various comments are wrong, at

[Bug target/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc

2013-02-07 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45053 --- Comment #13 from Alan Modra 2013-02-07 08:40:15 UTC --- Created attachment 29382 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29382 Fix

[Bug target/55431] Invalid auxv search in ppc linux-unwind code.

2013-02-11 Thread amodra at gmail dot com
at gcc dot gnu.org |amodra at gmail dot com AssignedTo|unassigned at gcc dot |amodra at gmail dot com |gnu.org |

[Bug target/55431] Invalid auxv search in ppc linux-unwind code.

2013-02-11 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55431 --- Comment #5 from Alan Modra 2013-02-12 03:04:28 UTC --- Created attachment 29420 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29420 use /proc/self/auxv At the time the original code was being developed, linux-2.4.x was in wid

[Bug target/55431] Invalid auxv search in ppc linux-unwind code.

2013-02-12 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55431 --- Comment #7 from Alan Modra 2013-02-12 13:23:59 UTC --- On thinking about this a little more, the idea of using /proc/self/auxv isn't that good. MD_FALLBACK_FRAME_STATE_FOR is only needed for older kernels; Kernels 2.6.15 and later pr

[Bug target/55431] Invalid auxv search in ppc linux-unwind code.

2013-02-15 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55431 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED URL|

[Bug target/55431] Invalid auxv search in ppc linux-unwind code.

2013-02-15 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55431 Alan Modra changed: What|Removed |Added Target Milestone|--- |4.8.0

[Bug target/57052] New: missed optimization with rotate and mask

2013-04-23 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57052 Bug #: 57052 Summary: missed optimization with rotate and mask Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug target/57052] missed optimization with rotate and mask

2013-04-24 Thread amodra at gmail dot com
||missed-optimization Last reconfirmed||2013-04-24 AssignedTo|unassigned at gcc dot |amodra at gmail dot com |gnu.org | Ever Confirmed|0 |1

[Bug target/57052] missed optimization with rotate and mask

2013-04-25 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57052 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug middle-end/57134] ICE with -mstrict-align and inline assembly on ppc64

2013-05-01 Thread amodra at gmail dot com
||2013-05-01 CC||amodra at gmail dot com Ever Confirmed|0 |1 --- Comment #1 from Alan Modra 2013-05-01 14:32:49 UTC --- I think the bug here is that we lose EXPAND_MEMORY when recursively calling

[Bug libgcj/57074] gcc-4.8.0 libgcj regression on 32bit Power architecture

2013-05-02 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57074 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com

[Bug libgcj/57074] gcc-4.8.0 libgcj regression on 32bit Power architecture

2013-05-02 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57074 --- Comment #3 from Alan Modra 2013-05-02 08:54:39 UTC --- In libgcj-tools.so 20316: 00456aec 144 OBJECT LOCAL DEFAULT 22 _ZN3gnu9classpath5tools7keytool17Main$ShutdownHook6class$E That's in .data, as expected. >From the .o

[Bug libgcj/57074] gcc-4.8.0 libgcj regression on 32bit Power architecture

2013-05-02 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57074 --- Comment #4 from Alan Modra 2013-05-02 11:35:20 UTC --- I believe this is triggered by powerpc turning on -fsection-anchors by default, and a section anchor bug loses the alignment. The classes are all nicely aligned if I compile with

[Bug libgcj/57074] gcc-4.8.0 libgcj regression on 32bit Power architecture

2013-05-02 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57074 --- Comment #5 from Alan Modra 2013-05-02 14:01:59 UTC --- So the section anchor code places vars (and constants) in blocks according to their alignment and sizes (varasm.c:place_block_symbol). The calculations are all good, offsets are p

[Bug libgcj/57074] gcc-4.8.0 libgcj regression on 32bit Power architecture

2013-05-02 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57074 Alan Modra changed: What|Removed |Added Target Milestone|4.8.1 |--- --- Comment #10 from Alan Modr

[Bug libgcj/57074] gcc-4.8.0 libgcj regression on 32bit Power architecture

2013-05-03 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57074 --- Comment #11 from Alan Modra 2013-05-03 10:42:12 UTC --- No, of course that doesn't work. We make references into the section anchor block as .LANCHORn+offset, so the items in the block must be exactly where place_block_symbol() expect

[Bug libgcj/57074] gcc-4.8.0 libgcj regression on 32bit Power architecture

2013-05-03 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57074 --- Comment #12 from Alan Modra 2013-05-03 10:47:22 UTC --- Created attachment 30017 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30017 Use .org instead of padding in section anchor block This one ensures that offsets of emitted

[Bug libgcj/57074] gcc-4.8.0 libgcj regression on 32bit Power architecture

2013-05-03 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57074 --- Comment #15 from Alan Modra 2013-05-04 01:21:50 UTC --- With this patch I'm still seeing odd trees in place_block_symbol(). In the following, the type is the correct size (168 bytes), but the var_decl size too small (48 bytes). place

[Bug middle-end/28865] Structures with a flexible arrray member have wrong .size

2013-05-04 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28865 --- Comment #9 from Alan Modra 2013-05-04 14:34:39 UTC --- >From what I see on current mainline for a testcase based on glibc/nss/nss_files/files-init.c the var_decl size and the type size agree and are correct. What causes a problem with

[Bug middle-end/28865] Structures with a flexible arrray member have wrong .size

2013-05-04 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28865 --- Comment #10 from Alan Modra 2013-05-04 14:39:34 UTC --- Incidentall, I expect the patch referred to in comment #6 will ICE with tree-checking on due to CONSTRUCTOR nodes not having the required fields for DECL_SIZE_UNIT.

[Bug c/57180] New: Structures with a flexible arrray member have wrong size

2013-05-05 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57180 Bug #: 57180 Summary: Structures with a flexible arrray member have wrong size Classification: Unclassified Product: gcc Version: 4.9.0 Status: UNCONFIRMED

[Bug c/57180] Structures with a flexible arrray member have wrong size

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

[Bug target/55033] [4.7/4.8/4.9 Regression] PowerPC section type conflict error

2013-05-09 Thread amodra at gmail dot com
||2013-05-10 CC||amodra at gmail dot com Ever confirmed|0 |1 --- Comment #7 from Alan Modra --- Fix mainline and 4.8 http://gcc.gnu.org/ml/gcc-cvs/2013-05/msg00282.html http://gcc.gnu.org/ml/gcc-cvs/2013-05/msg00283

[Bug target/27619] wrong code for mixed-mode division with -mpowerpc64 -O1

2012-10-23 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27619 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com

[Bug target/27619] wrong code for mixed-mode division with -mpowerpc64 -O1

2012-10-25 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27619 --- Comment #17 from Alan Modra 2012-10-26 03:51:35 UTC --- Fixed in gas and ld. I think the only thing that needs doing in gcc is fixing the lwa constraint.

[Bug libstdc++/52839] [4.7/4.8 Regression] double free or corruption running tr1/.../default_weaktoshared.exe

2012-11-01 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52839 --- Comment #36 from Alan Modra 2012-11-02 02:13:20 UTC --- The change I mention in #c22 http://gcc.gnu.org/viewcvs?view=revision&revision=184110 tests for atomic ops on all of bool, short, int and long long, where the previous test was

[Bug libstdc++/52839] [4.7/4.8 Regression] double free or corruption running tr1/.../default_weaktoshared.exe

2012-11-01 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52839 --- Comment #38 from Alan Modra 2012-11-02 02:39:29 UTC --- Ah, the #c3 fail on powerpc was due to a powerpc glibc pthread_once bug. And comment #36 should have read: ..previous test was for *either* atomic bool or atomic int.

[Bug rtl-optimization/46556] Code size regression in struct access

2011-01-18 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46556 Alan Modra changed: What|Removed |Added Target||powerpc-linux Status|UNCONFIRMED

[Bug bootstrap/47279] Bootstrap fails in stage1 with GCC 4.6

2011-01-27 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47279 --- Comment #3 from Alan Modra 2011-01-27 22:52:29 UTC --- This is odd. The error is given when a plt call, or a call needing an r2 offsetting stub is made but the code does not have a following nop which can be replaced with an r2 restoring ins

[Bug bootstrap/47279] Bootstrap fails in stage1 with GCC 4.6

2011-01-28 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47279 Alan Modra changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|WORKSFORME

[Bug bootstrap/47279] Bootstrap fails in stage1 with GCC 4.6

2011-01-30 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47279 --- Comment #9 from Alan Modra 2011-01-31 01:40:15 UTC --- I can't duplicate the failure, even using 167488 as host compiler. -Wl,--stats shows: /usr/local/powerpc-linux/bin/ld: linker stubs in 2 groups /usr/local/powerpc-linux/bin/ld: branch

[Bug bootstrap/47279] Bootstrap fails in stage1 with GCC 4.6

2011-01-31 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47279 --- Comment #10 from Alan Modra 2011-01-31 08:47:16 UTC --- With enough fiddling around, I finally duplicated the error, in my case when linking lto1. libbackend.a(cse.o): In function `insert_const_anchors': /src/gcc-current/gcc/cse.c:1293: sibl

[Bug bootstrap/47279] Bootstrap fails in stage1 with GCC 4.6

2011-01-31 Thread amodra at gmail dot com
||FIXED AssignedTo|unassigned at gcc dot |amodra at gmail dot com |gnu.org | --- Comment #11 from Alan Modra 2011-01-31 22:53:48 UTC --- http://sourceware.org/ml/binutils/2011-01/msg00403.html

[Bug lto/47607] New: FAIL: gcc.c-torture/execute/builtins/abs-2.c execution, -O2 -flto

2011-02-04 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47607 Summary: FAIL: gcc.c-torture/execute/builtins/abs-2.c execution, -O2 -flto Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/47607] FAIL: gcc.c-torture/execute/builtins/abs-2.c execution, -O2 -flto

2011-02-04 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47607 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug target/47487] ICE in rs6000_output_function_epilogue, at config/rs6000/rs6000.c:21782 building 64bit libgo

2011-02-21 Thread amodra at gmail dot com
||2011.02.21 12:10:03 CC||amodra at gmail dot com Ever Confirmed|0 |1 --- Comment #2 from Alan Modra 2011-02-21 12:10:03 UTC --- This is just a lack of else if (strcmp (language_string, "GNU Go")

[Bug target/47935] New: PowerPC64 -mcmodel=medium invalid lwa offset

2011-02-28 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47935 Summary: PowerPC64 -mcmodel=medium invalid lwa offset Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unas

[Bug target/47935] PowerPC64 -mcmodel=medium invalid lwa offset

2011-02-28 Thread amodra at gmail dot com
||2011.03.01 07:09:14 AssignedTo|unassigned at gcc dot |amodra at gmail dot com |gnu.org | Ever Confirmed|0 |1

[Bug target/47935] PowerPC64 -mcmodel=medium invalid lwa offset

2011-02-28 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47935 --- Comment #1 from Alan Modra 2011-03-01 07:10:18 UTC --- res6000/predicates.md:lwa_operand needs to handle -mcmodel=medium code

[Bug target/47935] PowerPC64 -mcmodel=medium invalid lwa offset

2011-03-01 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47935 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug target/47986] New: gcc.c-torture/execute/20040709-1.c fails with non-delegitimized UNSPEC

2011-03-04 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47986 Summary: gcc.c-torture/execute/20040709-1.c fails with non-delegitimized UNSPEC Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/47986] gcc.c-torture/execute/20040709-1.c fails with non-delegitimized UNSPEC

2011-03-04 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47986 --- Comment #1 from Alan Modra 2011-03-04 11:24:02 UTC --- I can easily fix rs6000_delegitimize_address to handle this debug expression, but I suspect that would be papering over the real problem, the duplicate debug_insns.

[Bug target/47986] gcc.c-torture/execute/20040709-1.c fails with non-delegitimized UNSPEC

2011-03-04 Thread amodra at gmail dot com
||2011.03.04 12:34:31 AssignedTo|unassigned at gcc dot |amodra at gmail dot com |gnu.org | Ever Confirmed|0 |1 --- Comment #3 from Alan Modra 2011-03-04 12:34:31 UTC --- Created attachment 23541

[Bug target/47986] gcc.c-torture/execute/20040709-1.c fails with non-delegitimized UNSPEC

2011-03-04 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47986 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug middle-end/57134] [4.9 Regression] ICE with -mstrict-align and inline assembly on ppc64

2013-06-12 Thread amodra at gmail dot com
||http://gcc.gnu.org/ml/gcc-p ||atches/2013-06/msg00642.htm ||l Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com

[Bug middle-end/57586] ICE when expanding volatile asm using unaligned pointer

2013-06-13 Thread amodra at gmail dot com
||amodra at gmail dot com Component|target |middle-end Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Severity|major |normal

[Bug target/57717] error: unrecognizable insn compiling ./strtod_l.c from glibc on powerpc-gnuspe

2013-06-27 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #3 from

[Bug target/57836] New: large constants evaluated inline

2013-07-06 Thread amodra at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com On powerpc64 with -mcmodel=small -O1, this int x; void f1 (long long hx) { if (hx < 0x3ff0LL) x++; } results in .L.f1: lis 9,0x3fef ori 9,9,65535 sldi 9,9,32 oris 9,9,0xf

[Bug target/57865] Broken _save64gpr and _rest64gpr usage

2013-07-10 Thread amodra at gmail dot com
||2013-07-10 Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Ever confirmed|0 |1 --- Comment #2 from Alan Modra --- My guess is that it's this change -#define FIRST_SAVED_GP_REGNO 13 +#define FIRST_SAVED_GP_

[Bug target/57865] Broken _save64gpr and _rest64gpr usage

2013-07-10 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57865 --- Comment #4 from Alan Modra --- Created attachment 30489 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30489&action=edit Fix ool_adjust Please verify that this fixes the problem

[Bug rtl-optimization/58034] New: glibc nptl/tst-cleanup2 fail due to scheduling

2013-07-30 Thread amodra at gmail dot com
: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Created attachment 30575 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30575&action=edit preprocessed test case nprl/tst-cleanup2 fails when compiled with -O2 -mcpu=power6

[Bug rtl-optimization/58034] glibc nptl/tst-cleanup2 fail due to scheduling

2013-07-31 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58034 Alan Modra changed: What|Removed |Added Known to work||4.7.2 Known to fail|

[Bug target/57865] Broken _save64gpr and _rest64gpr usage

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

[Bug target/58330] powerpc64 atomic store split in two

2013-09-05 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58330 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #2 from

[Bug middle-end/57134] [4.9 Regression] ICE with -mstrict-align and inline assembly on ppc64

2013-09-16 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57134 --- Comment #5 from Alan Modra --- r200086 fixed Anton's first testcase but then he found another one. See http://gcc.gnu.org/ml/gcc-patches/2013-09/msg00983.html

[Bug target/57589] Linux powerpc -mcpu=native returns pointer to variable on stack in driver-rs6000.c

2013-09-16 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57589 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com Resolution

  1   2   3   4   5   6   7   8   9   >