[Bug target/83143] [SH]: Assembler messages: invalid operands (*UND* and .text sections) for `-'

2017-11-26 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143 --- Comment #9 from Segher Boessenkool --- What flags does it need? I can't get it to fail.

[Bug target/83143] [SH]: Assembler messages: invalid operands (*UND* and .text sections) for `-'

2017-11-26 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143 --- Comment #12 from Segher Boessenkool --- Yes I use sh4-linux, but trunk (not 7). Will try 7 later.

[Bug target/81288] [6/7/8 Regression] ICE on 32-bit BE powerpc targets -w -misel -O2 (-O3, -Ofast, -Os)

2017-11-27 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81288 --- Comment #3 from Segher Boessenkool --- Author: segher Date: Tue Nov 28 01:28:57 2017 New Revision: 255188 URL: https://gcc.gnu.org/viewcvs?rev=255188&root=gcc&view=rev Log: rs6000: Improve comparison rtx_cost (PR81288) The current rs6000 rt

[Bug rtl-optimization/81020] [6/7 Regression] wrong code with -O -fno-tree-bit-ccp -fno-tree-coalesce-vars -fno-tree-vrp

2017-11-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81020 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug rtl-optimization/82621] [6/7 Regression] wrong code with -Og -fgcse -fweb

2017-11-29 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82621 --- Comment #11 from Segher Boessenkool --- Author: segher Date: Wed Nov 29 22:42:37 2017 New Revision: 255260 URL: https://gcc.gnu.org/viewcvs?rev=255260&root=gcc&view=rev Log: combine: Do not throw away unneeded arms of parallels (PR83156) Th

[Bug target/83156] [8 regression] gcc.target/i386/pr82361-1.c fail

2017-11-29 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83156 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Wed Nov 29 22:42:37 2017 New Revision: 255260 URL: https://gcc.gnu.org/viewcvs?rev=255260&root=gcc&view=rev Log: combine: Do not throw away unneeded arms of parallels (PR83156) The

[Bug target/83156] [8 regression] gcc.target/i386/pr82361-1.c fail

2017-11-30 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83156 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/81288] [6/7/8 Regression] ICE on 32-bit BE powerpc targets -w -misel -O2 (-O3, -Ofast, -Os)

2017-12-01 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81288 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Fri Dec 1 20:35:52 2017 New Revision: 255337 URL: https://gcc.gnu.org/viewcvs?rev=255337&root=gcc&view=rev Log: rs6000: Improve comparison rtx_cost (PR81288) The current rs6000 rt

[Bug target/81288] [6/7/8 Regression] ICE on 32-bit BE powerpc targets -w -misel -O2 (-O3, -Ofast, -Os)

2017-12-01 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81288 --- Comment #5 from Segher Boessenkool --- Author: segher Date: Fri Dec 1 20:37:33 2017 New Revision: 255338 URL: https://gcc.gnu.org/viewcvs?rev=255338&root=gcc&view=rev Log: rs6000: Improve comparison rtx_cost (PR81288) The current rs6000 rt

[Bug target/81288] [6/7/8 Regression] ICE on 32-bit BE powerpc targets -w -misel -O2 (-O3, -Ofast, -Os)

2017-12-01 Thread segher at gcc dot gnu.org
gcc dot gnu.org |unassigned at gcc dot gnu.org --- Comment #6 from Segher Boessenkool --- Fixed for powerpc on all open branches. Still needs to be handled for powerpcspe.

[Bug target/43871] -mcpu=power4 -mtune=cell emits power7/cell-only opcodes

2017-12-01 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43871 --- Comment #5 from Segher Boessenkool --- Author: segher Date: Sat Dec 2 01:23:41 2017 New Revision: 255349 URL: https://gcc.gnu.org/viewcvs?rev=255349&root=gcc&view=rev Log: rs6000: Set rs6000_cpu correctly (PR43871) We set rs6000_cpu based

[Bug target/83245] [8 regression] several tests fail starting with r255258

2017-12-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83245 Segher Boessenkool changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org

[Bug bootstrap/83265] [8 Regression] Bootstrap failure on powerpc64

2017-12-03 Thread segher at gcc dot gnu.org
||2017-12-03 Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Segher Boessenkool --- Mine.

[Bug target/43871] -mcpu=power4 -mtune=cell emits power7/cell-only opcodes

2017-12-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43871 --- Comment #6 from Segher Boessenkool --- Author: segher Date: Mon Dec 4 09:19:27 2017 New Revision: 255376 URL: https://gcc.gnu.org/viewcvs?rev=255376&root=gcc&view=rev Log: PR bootstrap/83265 Revert 2017-12-01 Seghe

[Bug bootstrap/83265] [8 Regression] Bootstrap failure on powerpc64

2017-12-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83265 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Mon Dec 4 09:19:27 2017 New Revision: 255376 URL: https://gcc.gnu.org/viewcvs?rev=255376&root=gcc&view=rev Log: PR bootstrap/83265 Revert 2017-12-01 Seghe

[Bug bootstrap/83265] [8 Regression] Bootstrap failure on powerpc64

2017-12-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83265 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/83245] [8 regression] several tests fail starting with r255258

2017-12-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83245 --- Comment #3 from Segher Boessenkool --- Author: segher Date: Mon Dec 4 09:30:37 2017 New Revision: 255377 URL: https://gcc.gnu.org/viewcvs?rev=255377&root=gcc&view=rev Log: lra: Clobbers in a parallel are earlyclobbers (PR83245) The documen

[Bug rtl-optimization/83245] [8 regression] several tests fail starting with r255258

2017-12-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83245 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/83289] [8 regression] i386/sse2-init-v2di-2.c, i386/avx256-unaligned-load-1.c, i386/avx256-unaligned-store-*.c fails

2017-12-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83289 --- Comment #1 from Segher Boessenkool --- Please show output and output from before it failed. And/or some analysis that shows why current is wrong. Etc. Or even better, make a patch to fix the testcase ;-)

[Bug target/83289] [8 regression] i386/sse2-init-v2di-2.c, i386/avx256-unaligned-load-1.c, i386/avx256-unaligned-store-*.c fails

2017-12-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83289 --- Comment #2 from Segher Boessenkool --- Ah. It seems to be because the testcases test for /5, /4 etc., which is now printed as /4 resp. /3, because alternatives start counting at 0.

[Bug target/70216] [SH] Implement __builtin_trap

2017-12-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70216 --- Comment #22 from Segher Boessenkool --- ? Why me? What do I have to do with this? It's SH code, I'm not an SH maintainer. /confused

[Bug rtl-optimization/83304] [8 Regression] FAIL: gcc.c-torture/execute/pr61725.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions

2017-12-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83304 --- Comment #2 from Segher Boessenkool --- I do not see any differences in generated asm code between before r255384 and trunk. Some other options are needed as well?

[Bug target/70216] [SH] Implement __builtin_trap

2017-12-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70216 --- Comment #24 from Segher Boessenkool --- Send it to gcc-patches@? If it is approved, I can commit it, sure.

[Bug rtl-optimization/83304] [8 Regression] FAIL: gcc.c-torture/execute/pr61725.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions

2017-12-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83304 --- Comment #4 from Segher Boessenkool --- With r255384 combine manages to do many more combinations. Without it, it can get rid of most of the loop body (which should have been optimised away in gimple already really). I don't see how it would

[Bug rtl-optimization/83304] [8 Regression] FAIL: gcc.c-torture/execute/pr61725.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions

2017-12-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83304 --- Comment #7 from Segher Boessenkool --- But losing a clobber like that is just fine (even losing a SET is fine, if its dest is REG_UNUSED, and combine actually does that in certain cases).

[Bug target/43871] -mcpu=power4 -mtune=cell emits power7/cell-only opcodes

2017-12-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43871 --- Comment #7 from Segher Boessenkool --- Author: segher Date: Thu Dec 7 09:36:28 2017 New Revision: 255464 URL: https://gcc.gnu.org/viewcvs?rev=255464&root=gcc&view=rev Log: rs6000: Initialise rs6000_cpu correctly (PR43871) Finally, set rs60

[Bug rtl-optimization/83304] [8 Regression] FAIL: gcc.c-torture/execute/pr61725.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions

2017-12-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83304 --- Comment #9 from Segher Boessenkool --- At some point during combine we have insn_cost 4 for72: r127:SI=0xff81 insn_cost 4 for 9: r130:SI=ctz(r125:SI) insn_cost 4 for69: cc:CC=cmp(r125:SI,0) insn_cost 4 for70: r131

[Bug rtl-optimization/83304] [8 Regression] FAIL: gcc.c-torture/execute/pr61725.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions

2017-12-08 Thread segher at gcc dot gnu.org
||2017-12-08 Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #10 from Segher Boessenkool --- I have a patch.

[Bug rtl-optimization/83304] [8 Regression] FAIL: gcc.c-torture/execute/pr61725.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions

2017-12-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83304 --- Comment #11 from Segher Boessenkool --- Author: segher Date: Fri Dec 8 11:26:35 2017 New Revision: 255506 URL: https://gcc.gnu.org/viewcvs?rev=255506&root=gcc&view=rev Log: combine: Fix PR83304 In PR83304 two insns are combined, where the

[Bug rtl-optimization/77499] Regression after code-hoisting, due to combine pass failing to evaluate known value range

2016-09-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77499 --- Comment #2 from Segher Boessenkool --- (In reply to avieira from comment #0) > PS: I am not sure I completely understand the way the last_set_value stuff > works for pseudo's in combine, but it looks to me like each instruction is > visited i

[Bug rtl-optimization/77499] [7 Regression] Regression after code-hoisting, due to combine pass failing to evaluate known value range

2016-09-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77499 --- Comment #10 from Segher Boessenkool --- (In reply to avieira from comment #9) > > > So I dont know... Only thing I can think of is better "value-range"-like > > > analysis for combine, but that might be too costly? That is what nonzero_bits

[Bug target/77613] Powerpc64le: redundant swaps in autovectorised loop

2016-09-16 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77613 Segher Boessenkool changed: What|Removed |Added Severity|enhancement |normal

[Bug target/77676] powerpc64 and powerpc64le stage2 bootstrap fail

2016-09-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77676 --- Comment #5 from Segher Boessenkool --- Could this be reverted for now please, until the bootstrap errors are fixed?

[Bug tree-optimization/71109] [6 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-09-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71109 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug tree-optimization/71109] [6 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start"

2016-09-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71109 --- Comment #7 from Segher Boessenkool --- It doesn't fail for me, 6.2.1 20160921 nor 7.0.0 20160914 (experimental).

[Bug rtl-optimization/77416] [7 Regression] LRA rematerializing use of CA reg across function call

2016-09-26 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77416 --- Comment #12 from Segher Boessenkool --- The testcase also fails for -m64 for me (on BE). I have -m64 explicitly in the RUNTESTFLAGS. The testcase has /* { dg-skip-if "do not override -mcpu" { powerpc64*-*-* } { "-mcpu=*" } { "-mcpu=power7"

[Bug tree-optimization/77820] New: A jump threading opportunity with conditionals

2016-10-02 Thread segher at gcc dot gnu.org
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: segher at gcc dot gnu.org Target Milestone: --- Consider the following code: === void g(void); void f(long a, long b, long c, long d, int x) { int t; if (x) t = a <

[Bug tree-optimization/77820] A jump threading opportunity with conditionals

2016-10-03 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77820 --- Comment #2 from Segher Boessenkool --- Note that combine cannot optimise the csetw0, lt cbnzw0, .L6 to blt .L6 because the two insns are in different BBs still. The final branch isn't duplicated until

[Bug go/77838] New: bootstrap broken on powerpc64*-linux

2016-10-03 Thread segher at gcc dot gnu.org
Assignee: ian at airs dot com Reporter: segher at gcc dot gnu.org CC: cmang at google dot com Target Milestone: --- r240657 breaks bootstrap on powerpc64-linux and powerpc64le-linux: ... echo timestamp > s-runtime-inc /home/segher/build/tot/./gcc/xgcc -B/home/seg

[Bug rtl-optimization/77843] New: ICE for gcc.dg/tree-ssa/forwprop-35.c

2016-10-04 Thread segher at gcc dot gnu.org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: segher at gcc dot gnu.org Target Milestone: --- Executing on host: /home/segher/build/tot-master/gcc/xgcc -B/home/segher/build/tot-master/gcc/ /home/segher/src/gcc/gcc/testsuite/gcc.dg/tree-ssa/forwprop-35.c -fno

[Bug rtl-optimization/77843] ICE for gcc.dg/tree-ssa/forwprop-35.c

2016-10-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77843 --- Comment #1 from Segher Boessenkool --- It is trying to do a signed conversion from TImode to float here, to be stored in BLKmode.

[Bug target/77822] [6/7 Regression] arm64 Error: immediate value out of range 0 to 63 at operand 3

2016-10-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822 --- Comment #17 from Segher Boessenkool --- Yes, combine should avoid forming patterns that can never match. It already does that in many cases. Where does it form this one? And yes, the target should not allow patterns it has no instruction f

[Bug rtl-optimization/77843] ICE for gcc.dg/tree-ssa/forwprop-35.c

2016-10-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77843 --- Comment #3 from Segher Boessenkool --- No, my latest tree was at 240740. I didn't find a PR, was there one? Testing with current trunk now.

[Bug target/77881] [5/6/7 Regression] Non-optimal signed comparison on x86_64 since r146817

2016-10-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77881 --- Comment #5 from Segher Boessenkool --- That looks good, please submit to gcc-patches?

[Bug rtl-optimization/60818] ICE in validate_condition_mode on powerpc*-linux-gnu*

2016-10-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60818 --- Comment #11 from Segher Boessenkool --- It's on my radar. All bugs can be fixed during stage3.

[Bug bootstrap/77962] [7 Regression] Bootstrap failure on x86_64-linux starting with r241063

2016-10-13 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77962 Segher Boessenkool changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org

[Bug bootstrap/77962] [7 Regression] Bootstrap failure on x86_64-linux starting with r241063

2016-10-13 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77962 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Thu Oct 13 18:25:15 2016 New Revision: 241135 URL: https://gcc.gnu.org/viewcvs?rev=241135&root=gcc&view=rev Log: Create the *logue in the same order as before (PR77962) PR77962 sho

[Bug rtl-optimization/77843] ICE for gcc.dg/tree-ssa/forwprop-35.c

2016-10-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77843 Segher Boessenkool changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug testsuite/77623] [7 regression] test cases gcc.target/powerpc/warn-1.c and warn-2.c fail starting with r239994

2016-10-14 Thread segher at gcc dot gnu.org
||segher at gcc dot gnu.org Resolution|--- |FIXED --- Comment #2 from Segher Boessenkool --- Fixed with r241056, I wasn't aware there was a BZ, sorry.

[Bug target/71629] [7 Regression] ICE in lra_set_insn_recog_data, at lra.c:964 w/ -O2 -mlra

2016-10-16 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71629 --- Comment #7 from Segher Boessenkool --- Is this the same bug at all? If not, please open a new PR.

[Bug target/71629] [7 Regression] ICE in lra_set_insn_recog_data, at lra.c:964 w/ -O2 -mlra

2016-10-16 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71629 --- Comment #9 from Segher Boessenkool --- (In reply to Arseny Solokha from comment #8) > Well, snippets from #c0 and #c2 still make the latest snapshot ICE: Hrm, in comment 5 it all worked for me. I'll test again. > And I still can't bootstra

[Bug rtl-optimization/78029] ICE in maybe_record_trace_start, at dwarf2cfi.c:2285

2016-10-18 Thread segher at gcc dot gnu.org
||2016-10-18 Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Segher Boessenkool --- Mine. Something with shrink-wrap-separate.

[Bug bootstrap/77993] [7 regression] bootstrap failure on PowerPC/Linux

2016-10-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77993 --- Comment #2 from Segher Boessenkool --- Hi Eric, What bootstrap stage is failing here?

[Bug bootstrap/77993] [7 regression] bootstrap failure on PowerPC/Linux

2016-10-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77993 --- Comment #4 from Segher Boessenkool --- Also, what configure comment, and you seem to have CFLAGS set during build?

[Bug bootstrap/77993] [7 regression] bootstrap failure on PowerPC/Linux

2016-10-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77993 --- Comment #5 from Segher Boessenkool --- Build, with what flags?

[Bug rtl-optimization/78029] ICE in maybe_record_trace_start, at dwarf2cfi.c:2285

2016-10-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78029 --- Comment #3 from Segher Boessenkool --- Kyrill: Anything inconsistent in the CFI will trigger the assert there, it is most probably not the same bug.

[Bug target/78056] [7 Regression] build failure on Power7

2016-10-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78056 --- Comment #5 from Segher Boessenkool --- So it seems rs6000_overloaded_builtin_p doesn't return true for some builtin where it should? Kelvin?

[Bug target/78056] [7 Regression] build failure on Power7

2016-10-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78056 --- Comment #6 from Segher Boessenkool --- It builds fine for me on gcc110. Markus, what are you doing differently? I use recent binutils, maybe that is it?

[Bug target/78056] [7 Regression] build failure on Power7

2016-10-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78056 --- Comment #14 from Segher Boessenkool --- I used the following patch yesterday, and it works. Totally hacky of course, it should be factored to its own function, etc. === diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c in

[Bug target/78095] [7 Regression] valgrind build error on ppc64le

2016-10-24 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78095 --- Comment #2 from Segher Boessenkool --- So why does valgrind try to clobber r2? That just isn't going to work...

[Bug rtl-optimization/78029] [7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2285

2016-10-26 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78029 --- Comment #4 from Segher Boessenkool --- Created attachment 39887 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39887&action=edit testcase

[Bug rtl-optimization/78029] [7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2285

2016-10-26 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78029 --- Comment #5 from Segher Boessenkool --- Created attachment 39888 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39888&action=edit split4 dump (right before sched2)

[Bug rtl-optimization/78029] [7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2285

2016-10-26 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78029 --- Comment #6 from Segher Boessenkool --- Created attachment 39889 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39889&action=edit pro_and_epilogue dump

[Bug rtl-optimization/78029] [7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2285

2016-10-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78029 --- Comment #8 from Segher Boessenkool --- Author: segher Date: Fri Oct 28 14:39:28 2016 New Revision: 241650 URL: https://gcc.gnu.org/viewcvs?rev=241650&root=gcc&view=rev Log: sched: Do not mix prologue and epilogue insns This patch makes sche

[Bug target/71847] powerpc64le: Potential rlwinm optimisation

2016-10-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71847 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Fri Oct 28 20:56:28 2016 New Revision: 241664 URL: https://gcc.gnu.org/viewcvs?rev=241664&root=gcc&view=rev Log: combine: Improve change_zero_ext (fixes PR71847) This improves a fe

[Bug rtl-optimization/78029] [7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2285

2016-10-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78029 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/78168] [7 Regression] Second ICE in maybe_record_trace_start, at dwarf2cfi.c:2285

2016-10-31 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78168 --- Comment #5 from Segher Boessenkool --- Cannot reproduce on 32-bit Linux, will try a plain powerpc-elf build.

[Bug target/78168] [7 Regression] Second ICE in maybe_record_trace_start, at dwarf2cfi.c:2285

2016-10-31 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78168 --- Comment #9 from Segher Boessenkool --- Ah, that might be the difference. My powerpc-elf build worked just fine; trying to build powerpc-rtems4.12 now.

[Bug target/78168] [7 Regression] Second ICE in maybe_record_trace_start, at dwarf2cfi.c:2285

2016-10-31 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78168 --- Comment #10 from Segher Boessenkool --- Doesn't fail with powerpc-rtems4.12 either. Are you sure you built trunk? A clean build?

[Bug target/78168] [7 Regression] Second ICE in maybe_record_trace_start, at dwarf2cfi.c:2285

2016-11-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78168 --- Comment #12 from Segher Boessenkool --- Author: segher Date: Wed Nov 2 17:06:04 2016 New Revision: 241799 URL: https://gcc.gnu.org/viewcvs?rev=241799&root=gcc&view=rev Log: rs6000: Disable shrink-wrap-separate for abi=spe (PR78168) With th

[Bug rtl-optimization/78186] FAIL: gcc.c-torture/execute/bf64-1.c execution test because of revision 241664

2016-11-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78186 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/78186] [7 Regression] FAIL: gcc.c-torture/execute/bf64-1.c execution test because of revision 241664

2016-11-03 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78186 --- Comment #5 from Segher Boessenkool --- Author: segher Date: Thu Nov 3 16:04:22 2016 New Revision: 241824 URL: https://gcc.gnu.org/viewcvs?rev=241824&root=gcc&view=rev Log: combine lhs zero_extract fix (PR78186) PR rtl-optimization

[Bug rtl-optimization/78186] [7 Regression] FAIL: gcc.c-torture/execute/bf64-1.c execution test because of revision 241664

2016-11-03 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78186 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/77957] [6/7 Regression] Undefined .LCTOC0 with -fstack-protector-strong -mminimal-toc -O0 on ppc64le

2016-11-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77957 --- Comment #4 from Segher Boessenkool --- It is on my "stage3" list.

[Bug target/77822] [6 Regression] arm64 Error: immediate value out of range 0 to 63 at operand 3

2016-11-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822 --- Comment #21 from Segher Boessenkool --- Ah, so combine isn't really doing anything wrong here -- for the "plain" shift it already only refuses it because the target does not allow it. Some targets *do* allow shifting by amounts more than a re

[Bug tree-optimization/78248] [7 Regression] wrong code at -Os and above on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2016-11-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78248 --- Comment #15 from Segher Boessenkool --- Hi, could you try https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00775.html ? And sorry for the breakage.

[Bug rtl-optimization/78232] [7 Regression] FAIL: gcc.dg/torture/pr48124-4.c

2016-11-10 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78232 --- Comment #3 from Segher Boessenkool --- Author: segher Date: Thu Nov 10 22:45:39 2016 New Revision: 242059 URL: https://gcc.gnu.org/viewcvs?rev=242059&root=gcc&view=rev Log: combine: Do not call simplify from inside change_zero_ext (PR78232)

[Bug rtl-optimization/78232] [7 Regression] FAIL: gcc.dg/torture/pr48124-4.c

2016-11-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78232 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/77957] [6/7 Regression] Undefined .LCTOC0 with -fstack-protector-strong -mminimal-toc -O0 on ppc64

2016-11-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77957 --- Comment #5 from Segher Boessenkool --- Author: segher Date: Sat Nov 12 15:13:14 2016 New Revision: 242336 URL: https://gcc.gnu.org/viewcvs?rev=242336&root=gcc&view=rev Log: rs6000: Don't forget to initialize the TOC (PR77957) The code gener

[Bug target/77957] [5/6 Regression] Undefined .LCTOC0 with -fstack-protector-strong -mminimal-toc -O0 on ppc64

2016-11-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77957 Segher Boessenkool changed: What|Removed |Added Summary|[6/7 Regression] Undefined |[5/6 Regression] Undefined

[Bug rtl-optimization/71785] Computed gotos are mostly optimized away

2016-11-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71785 --- Comment #7 from Segher Boessenkool --- Author: segher Date: Fri Nov 18 09:14:52 2016 New Revision: 242584 URL: https://gcc.gnu.org/viewcvs?rev=242584&root=gcc&view=rev Log: bb-reorder: Improve compgotos pass (PR71785) For code like the test

[Bug bootstrap/78390] [7 Regression] Bootstrap failure: match.pd: cannot determine type of operand

2016-11-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78390 --- Comment #17 from Segher Boessenkool --- Combine should probably not try to generate this extract, I wonder if it can exist on any target. So where is it coming from? Of course the target should not "successfully" match it ;-)

[Bug rtl-optimization/78400] [7 Regression] ICE: in df_refs_verify, at df-scan.c:4045 when building powerpc crosscompiler

2016-11-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78400 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/78400] [7 Regression] ICE: in df_refs_verify, at df-scan.c:4045 when building powerpc crosscompiler

2016-11-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78400 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Mon Nov 21 14:44:21 2016 New Revision: 242663 URL: https://gcc.gnu.org/viewcvs?rev=242663&root=gcc&view=rev Log: shrink-wrap: Fix problem with DF checking (PR78400) With my previou

[Bug rtl-optimization/71785] Computed gotos are mostly optimized away

2016-11-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71785 --- Comment #8 from Segher Boessenkool --- Author: segher Date: Mon Nov 21 15:15:21 2016 New Revision: 242665 URL: https://gcc.gnu.org/viewcvs?rev=242665&root=gcc&view=rev Log: Testcase for PR71785 gcc/testsuite/ PR rtl-optimization/71

[Bug rtl-optimization/71785] Computed gotos are mostly optimized away

2016-11-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71785 Segher Boessenkool changed: What|Removed |Added Status|NEW |ASSIGNED Known to work|

[Bug rtl-optimization/78342] [7 Regression] ICE in rtl_verify_bb_insns, at cfgrtl.c:2657 (error: flow control insn inside a basic block)

2016-11-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78342 Segher Boessenkool changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org

[Bug target/68803] gcc.vect/powerpc/20050603-3.c failures since r230167

2016-11-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68803 --- Comment #9 from Segher Boessenkool --- Author: segher Date: Mon Nov 21 22:29:34 2016 New Revision: 242681 URL: https://gcc.gnu.org/viewcvs?rev=242681&root=gcc&view=rev Log: rs6000: rl[wd]imi without shift/rotate (PR68803) We didn't have pat

[Bug target/78438] [7 Regression] incorrect comparison optimization

2016-11-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78438 --- Comment #5 from Segher Boessenkool --- Why is this wrong? This isn't the same reg 94 (it is reused): Failed to match this instruction: (set (mem/c:QI (symbol_ref:DI ("a") [flags 0x2] ) [0 a+0 S1 A8]) (subreg:QI (ashiftrt:SI (reg:SI 93

[Bug target/78438] [7 Regression] incorrect comparison optimization

2016-11-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78438 --- Comment #6 from Segher Boessenkool --- n/m, too tired I guess, please ignore comment 5.

[Bug target/65413] inefficient code returning aggregates on powerpc64le

2015-03-14 Thread segher at gcc dot gnu.org
||2015-03-14 CC||segher at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org Target Milestone|--- |6.0 Summary|inefficient code returning |inefficient

[Bug middle-end/34010] [4.8/4.9/5 Regression] ppc64 bad stdargs codegen for zero sized objects

2015-03-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34010 --- Comment #11 from Segher Boessenkool --- Hi Aldy, If the only thing failing is -m32 -mpowerpc64, that is likely another problem. Not likely a regression either (but I don't have testresults around going back more than a year or so; it failed

[Bug testsuite/63256] [5 regression] FAIL: gcc.dg/sms-8.c scan-rtl-dump-times sms "SMS succeeded" 0

2015-03-25 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63256 Segher Boessenkool changed: What|Removed |Added CC||ma...@linux-mips.org --- Comment #5

[Bug testsuite/62028] Power64/Linux: FAIL: gcc.dg/sms-8.c scan-rtl-dump-times sms "SMS succeeded" 0

2015-03-25 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62028 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/65693] [4.8/4.9/5 Regression] ICE in assign_by_spills, at lra-assigns.c:1419

2015-04-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65693 --- Comment #11 from Segher Boessenkool --- I see GCC not trying to throw away the useless arm of the parallel, just as comment 7 mentions. I wonder why that is, investigating. This isn't the root cause; it is just exposing a problem in the RA

[Bug rtl-optimization/65693] [4.8/4.9/5 Regression] ICE in assign_by_spills, at lra-assigns.c:1419

2015-04-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65693 --- Comment #15 from Segher Boessenkool --- Author: segher Date: Wed Apr 8 22:52:24 2015 New Revision: 221937 URL: https://gcc.gnu.org/viewcvs?rev=221937&root=gcc&view=rev Log: PR rtl-optimization/65693 * combine.c (is_parallel_of_n_reg

[Bug rtl-optimization/65693] [4.8/4.9/5 Regression] ICE in assign_by_spills, at lra-assigns.c:1419

2015-04-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65693 --- Comment #17 from Segher Boessenkool --- Author: segher Date: Thu Apr 9 14:37:14 2015 New Revision: 221951 URL: https://gcc.gnu.org/viewcvs?rev=221951&root=gcc&view=rev Log: PR rtl-optimization/65693 * combine.c (is_parallel_of_n_reg

[Bug tree-optimization/42172] inefficient bit fields assignments

2015-04-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42172 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug rtl-optimization/65693] [4.8/4.9/5 Regression] ICE in assign_by_spills, at lra-assigns.c:1419

2015-04-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65693 --- Comment #14 from Segher Boessenkool --- I sent a patch for the combine issue, http://gcc.gnu.org/ml/gcc-patches/2015-04/msg00359.html .

[Bug inline-asm/65741] Missed loop optimization with asm

2015-04-12 Thread segher at gcc dot gnu.org
||2015-04-12 CC||segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Segher Boessenkool --- Confirmed. If not using an asm but, say, a simple assignment, cddce1 gets rid of the loop. Moving

<    15   16   17   18   19   20   21   22   23   24   >