[Bug target/68879] PowerPC: SImode cstore optimisation produces bad code

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

[Bug target/68865] [6 regression] gcc.dg/atomic/c11-atomic-exec-2.c fails since r231165

2015-12-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68865 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Mon Dec 14 16:13:33 2015 New Revision: 231621 URL: https://gcc.gnu.org/viewcvs?rev=231621&root=gcc&view=rev Log: rs6000: Fix a mistake in cstore_si_as_di (PR68865, PR68879) convert

[Bug target/68879] PowerPC: SImode cstore optimisation produces bad code

2015-12-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68879 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Mon Dec 14 16:13:33 2015 New Revision: 231621 URL: https://gcc.gnu.org/viewcvs?rev=231621&root=gcc&view=rev Log: rs6000: Fix a mistake in cstore_si_as_di (PR68865, PR68879) convert

[Bug target/68865] [6 regression] gcc.dg/atomic/c11-atomic-exec-2.c fails since r231165

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

[Bug rtl-optimization/63577] [4.9/5/6 Regression]: Huge compile time and memory usage with -O and not -fPIC

2015-12-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63577 --- Comment #12 from Segher Boessenkool --- I cannot reproduce the problem with GCC 6, combine takes about 1% time and little memory. I do not know what changed.

[Bug rtl-optimization/68909] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in maybe_record_trace_start, at dwarf2cfi.c:2297

2015-12-17 Thread segher at gcc dot gnu.org
|rtl-optimization Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org --- Comment #7 from Segher Boessenkool --- Confirmed, mine.

[Bug rtl-optimization/68909] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in maybe_record_trace_start, at dwarf2cfi.c:2297

2016-01-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68909 --- Comment #8 from Segher Boessenkool --- Author: segher Date: Fri Jan 8 03:58:40 2016 New Revision: 232148 URL: https://gcc.gnu.org/viewcvs?rev=232148&root=gcc&view=rev Log: shrink-wrap: Once more PRs 67778, 68634, and now 68909 If a candida

[Bug target/68634] [6 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2284 w/ -O2 -fmodulo-sched

2016-01-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68634 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Fri Jan 8 03:58:40 2016 New Revision: 232148 URL: https://gcc.gnu.org/viewcvs?rev=232148&root=gcc&view=rev Log: shrink-wrap: Once more PRs 67778, 68634, and now 68909 If a candida

[Bug rtl-optimization/67778] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in maybe_record_trace_start, at dwarf2cfi.c:2297

2016-01-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67778 --- Comment #16 from Segher Boessenkool --- Author: segher Date: Fri Jan 8 03:58:40 2016 New Revision: 232148 URL: https://gcc.gnu.org/viewcvs?rev=232148&root=gcc&view=rev Log: shrink-wrap: Once more PRs 67778, 68634, and now 68909 If a candid

[Bug target/69175] [6 Regression] ICE in haifa_luid_for_non_insn, at haifa-sched.c:7895

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

[Bug rtl-optimization/68909] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in maybe_record_trace_start, at dwarf2cfi.c:2297

2016-01-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68909 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/69246] [6 Regression] ICE in distribute_notes, at combine.c:13693 on i686-linux-gnu

2016-01-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69246 --- Comment #5 from Segher Boessenkool --- The following patch does the trick, if having REG_ARGS_SIZE on sibcalls is correct that is. I couldn't find any documentation on REG_ARGS_SIZE. --- 8< --- diff --git a/gcc/combine.c b/gcc/combine.c ind

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

2016-01-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68803 --- Comment #5 from Segher Boessenkool --- Do 4.9.2 and 5.3.0 actually fail the testcase? Huh?

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

2016-01-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68803 --- Comment #7 from Segher Boessenkool --- Author: segher Date: Thu Jan 14 19:24:28 2016 New Revision: 232380 URL: https://gcc.gnu.org/viewcvs?rev=232380&root=gcc&view=rev Log: powerpc: Add some XFAILs to 20050603-3.c (PR68803) In r230167 I mad

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

2016-01-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68803 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|SUSPENDED Target Milestone|6.0

[Bug tree-optimization/66612] [6 regression] FAIL: gcc.target/powerpc/20050830-1.c scan-assembler bdn

2016-01-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66612 --- Comment #11 from Segher Boessenkool --- I don't see it being fixed any time soon. a fix is likely too intrusive for stage 4, so yeah let's just xfail it :-(

[Bug target/69431] New: There should be builtins for PowerPC mtfsb0, mtfsb1

2016-01-22 Thread segher at gcc dot gnu.org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: segher at gcc dot gnu.org Target Milestone: --- Target: powerpc*-*-* As it is, ppu_intrinsics.h has some support for mtfsb[01], nothing else does.

[Bug c/69480] New: Bad error message on assigning to read-only

2016-01-25 Thread segher at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: segher at gcc dot gnu.org CC: hector at marcansoft dot com Target Milestone: --- This testcase from Hector #include struct fail { uint32_t *p; }; #define __ACCESS_ONCE(x) ({ \ typeof(x

[Bug target/69493] Poor code generation for return of struct containing vectors on PPC64LE

2016-01-26 Thread segher at gcc dot gnu.org
||2016-01-26 CC||segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Segher Boessenkool --- Confirmed. At expand time it already goes via memory.

[Bug rtl-optimization/66489] combine fails to merge insns if some are reused later on

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

[Bug rtl-optimization/56766] Fails to combine (vec_select (vec_concat ...)) to (vec_merge ...)

2015-06-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56766 --- Comment #18 from Segher Boessenkool --- (in reply to c#9) Yes, this is a generic problem. recog will not recognise patterns where regs are swapped in some places but not others. This can of course be worked around in combine, but that will

[Bug rtl-optimization/56766] Fails to combine (vec_select (vec_concat ...)) to (vec_merge ...)

2015-06-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56766 --- Comment #20 from Segher Boessenkool --- That patch is similar to what all other backends do for similar situations, yes. There is no nicer way to do things as far as I know.

[Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result))

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

[Bug rtl-optimization/66412] [5/6 Regression] ICE on valid code at -O2 and -O3 with -g enabled in simplify_subreg, at simplify-rtx.c:5748

2015-06-24 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66412 Segher Boessenkool changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org

[Bug rtl-optimization/66552] Missed optimization when shift amount is result of signed modulus

2015-06-29 Thread segher at gcc dot gnu.org
||2015-06-30 CC||segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Segher Boessenkool --- Please file a separate bug for that last problem (it seems to be a combine problem; it has nothing

[Bug rtl-optimization/66706] Redundant bitmask instruction on x >> (n & 32)

2015-06-30 Thread segher at gcc dot gnu.org
||2015-06-30 Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Segher Boessenkool --- For some reason when combining the zero_extend with the lshiftrt, combine writes it as

[Bug rtl-optimization/66706] Redundant bitmask instruction on x >> (n & 32)

2015-07-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66706 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Thu Jul 2 16:27:11 2015 New Revision: 225344 URL: https://gcc.gnu.org/viewcvs?rev=225344&root=gcc&view=rev Log: PR rtl-optimization/66706 * combine.c (make_compound

[Bug rtl-optimization/66706] Redundant bitmask instruction on x >> (n & 32)

2015-07-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66706 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/66706] Redundant bitmask instruction on x >> (n & 32)

2015-07-03 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66706 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Fri Jul 3 14:37:26 2015 New Revision: 225382 URL: https://gcc.gnu.org/viewcvs?rev=225382&root=gcc&view=rev Log: PR rtl-optimization/66706 * gcc.target/powerpc/shift

[Bug middle-end/66588] combine should try transforming if_then_else of zero_extends into zero_extend of if_then_else

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

[Bug rtl-optimization/66556] Wrong code-generation for armv7-a big-endian at -Os

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

[Bug c/66773] sign-compare warning for == and != are pretty useless

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

[Bug target/66217] PowerPC rotate/shift/mask instructions not optimal

2015-07-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66217 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Mon Jul 20 16:30:56 2015 New Revision: 226005 URL: https://gcc.gnu.org/viewcvs?rev=226005&root=gcc&view=rev Log: PR target/66217 * config/rs6000/constraints.md ("S",

[Bug target/66217] PowerPC rotate/shift/mask instructions not optimal

2015-07-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66217 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Thu Jul 23 14:37:57 2015 New Revision: 226112 URL: https://gcc.gnu.org/viewcvs?rev=226112&root=gcc&view=rev Log: PR target/66217 * config/rs6000/rs6000-protos.h (rs6

[Bug rtl-optimization/67028] combine bug. Different assumptions about subreg in different places.

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

[Bug rtl-optimization/67028] combine bug. Different assumptions about subreg in different places.

2015-07-27 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67028 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/67028] combine bug. Different assumptions about subreg in different places.

2015-07-27 Thread segher at gcc dot gnu.org
at gcc dot gnu.org |segher at gcc dot gnu.org --- Comment #4 from Segher Boessenkool --- I'm testing a patch.

[Bug target/67045] [ICE][PPC64LE] internal compiler error: in choose_multiplier, at expmed.c:3373

2015-07-28 Thread segher at gcc dot gnu.org
||2015-07-29 Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Segher Boessenkool --- Hi Gary, I'll try to reproduce the problem tomorrow.

[Bug target/67045] [ICE][PPC64LE] internal compiler error: in choose_multiplier, at expmed.c:3373

2015-07-29 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67045 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Thu Jul 30 02:34:09 2015 New Revision: 226378 URL: https://gcc.gnu.org/viewcvs?rev=226378&root=gcc&view=rev Log: PR target/66217 PR target/67045 * config/rs6

[Bug target/66217] PowerPC rotate/shift/mask instructions not optimal

2015-07-29 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66217 --- Comment #5 from Segher Boessenkool --- Author: segher Date: Thu Jul 30 02:34:09 2015 New Revision: 226378 URL: https://gcc.gnu.org/viewcvs?rev=226378&root=gcc&view=rev Log: PR target/66217 PR target/67045 * config/rs6

[Bug rtl-optimization/67028] combine bug. Different assumptions about subreg in different places.

2015-08-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67028 --- Comment #6 from Segher Boessenkool --- Author: segher Date: Sat Aug 8 01:51:27 2015 New Revision: 226731 URL: https://gcc.gnu.org/viewcvs?rev=226731&root=gcc&view=rev Log: PR rtl-optimization/67028 * combine.c (simplify_comp

[Bug target/54089] [SH] Refactor shift patterns

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

[Bug target/54089] [SH] Refactor shift patterns

2015-08-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 --- Comment #43 from Segher Boessenkool --- The archs that already use the real libgcc are arc, cris, hexagon, m32r, nios2, openrisc, parisc, xtensa. grep -w LIBGCC ~/src/kernel/arch/*/Makefile

[Bug target/67254] On-stack memory regions with aligned attribute overlap on ARM

2015-08-18 Thread segher at gcc dot gnu.org
||segher at gcc dot gnu.org Resolution|--- |INVALID --- Comment #2 from Segher Boessenkool --- There is no overlap, "data" just happens to live at a higher address than "reference". Closing as invalid.

[Bug rtl-optimization/67028] combine bug. Different assumptions about subreg in different places.

2015-08-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67028 --- Comment #7 from Segher Boessenkool --- Author: segher Date: Tue Aug 18 12:21:41 2015 New Revision: 226967 URL: https://gcc.gnu.org/viewcvs?rev=226967&root=gcc&view=rev Log: PR rtl-optimization/67028 * combine.c (simplify_comp

[Bug rtl-optimization/67028] combine bug. Different assumptions about subreg in different places.

2015-08-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67028 --- Comment #8 from Segher Boessenkool --- Author: segher Date: Tue Aug 18 14:27:50 2015 New Revision: 226971 URL: https://gcc.gnu.org/viewcvs?rev=226971&root=gcc&view=rev Log: PR rtl-optimization/67028 * combine.c (simplify_comp

[Bug rtl-optimization/67028] combine bug. Different assumptions about subreg in different places.

2015-08-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67028 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu

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

[Bug regression/67288] [4.9 regression] non optimal simple function (useless additional shift/remove/shift/add)

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

[Bug target/67290] powerpc: suboptimal add of u64 with u32

2015-08-22 Thread segher at gcc dot gnu.org
||segher at gcc dot gnu.org Resolution|--- |FIXED --- Comment #1 from Segher Boessenkool --- This works fine with 5 and trunk. I won't backport it, it is much too big a change.

[Bug other/57195] Mode attributes with specific mode iterator can not be used as mode iterators in *.md files

2015-08-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57195 --- Comment #4 from Segher Boessenkool --- Hello Michael, Patches should be sent to gcc-patches@. If you do, either make in_angle_bracket a bool, or actually count the nesting level; and you probably want to handle the case where there are more

[Bug other/57195] Mode attributes with specific mode iterator can not be used as mode iterators in *.md files

2015-08-24 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57195 --- Comment #6 from Segher Boessenkool --- Please send it as a separate patch, not buried in an unrelated target-specific patch. Use a subject that makes clear what the patch is about.

[Bug regression/67288] [4.9 regression] non optimal simple function (useless additional shift/remove/shift/add)

2015-08-24 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67288 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/67344] PowerPC unrecognizable insn

2015-08-24 Thread segher at gcc dot gnu.org
|ASSIGNED CC||segher at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org --- Comment #1 from Segher Boessenkool --- That sounds like I did that. Oops. Do you have some nice auto

[Bug target/67346] PowerPC: could not split insn

2015-08-24 Thread segher at gcc dot gnu.org
|ASSIGNED CC||segher at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org

[Bug target/67317] [x86] Silly code generation for _addcarry_u32/_addcarry_u64

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

[Bug target/67317] [x86] Silly code generation for _addcarry_u32/_addcarry_u64

2015-08-25 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67317 --- Comment #5 from Segher Boessenkool --- Combine can handle most RTL expressions, although it sometimes simplifies (or "simplifies") more than you want. I think in this case what is already done in *add3_cc_overflow will work well, but I do no

[Bug target/67344] PowerPC unrecognizable insn

2015-08-25 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67344 --- Comment #3 from Segher Boessenkool --- Author: segher Date: Tue Aug 25 19:32:28 2015 New Revision: 227182 URL: https://gcc.gnu.org/viewcvs?rev=227182&root=gcc&view=rev Log: rs6000: Fix PR67344 The "*and3_imm_dot_shifted" pattern is a define

[Bug target/67346] PowerPC: could not split insn

2015-08-25 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67346 --- Comment #3 from Segher Boessenkool --- Author: segher Date: Tue Aug 25 19:35:15 2015 New Revision: 227183 URL: https://gcc.gnu.org/viewcvs?rev=227183&root=gcc&view=rev Log: rs6000: Fix PR67346 "*ior_mask" is a define_insn_and_split, so it s

[Bug target/67344] PowerPC unrecognizable insn

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

[Bug target/67346] PowerPC: could not split insn

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

[Bug rtl-optimization/67382] RTL combiner is too eager to combine (plus (reg 92) (reg 92)) to (ashift (reg 92) (const_int 1))

2015-08-28 Thread segher at gcc dot gnu.org
||2015-08-28 CC||segher at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org Summary|RTL combiner is too eager |RTL combiner is too eager |to combine

[Bug rtl-optimization/67305] [6 Regression] gcc.c-torture/compile/20121027-1.c ICE

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

[Bug target/67305] [6 Regression] gcc.c-torture/compile/20121027-1.c ICE

2015-08-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67305 Segher Boessenkool changed: What|Removed |Added Component|rtl-optimization|target --- Comment #6 from Segher B

[Bug bootstrap/49195] [4.7 Regression] Error building libgcc for powerpc64 since r174305

2011-05-27 Thread segher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49195 --- Comment #2 from Segher Boessenkool 2011-05-27 19:51:13 UTC --- Created attachment 24377 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24377 diff from good to bad insn-recog.c

[Bug bootstrap/49195] [4.7 Regression] Error building libgcc for powerpc64 since r174305

2011-05-27 Thread segher at gcc dot gnu.org
||2011.05.27 19:52:23 CC||segher at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #3 from Segher Boessenkool 2011-05-27 19:52:23 UTC --- Confirmed on a cross build with RTL checking on, error is /n/10

[Bug bootstrap/49195] [4.7 Regression] Error building libgcc for powerpc64 since r174305

2011-05-27 Thread segher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49195 --- Comment #4 from Segher Boessenkool 2011-05-27 20:14:05 UTC --- This is the match_op_dup operand in (define_insn "" [(set (match_operand:CC 0 "cc_reg_operand" "=x,?y") (compare:CC (match_operator:SI 1 "scc_comparison_operator"

[Bug target/71670] powerpc64le ICE in extract_constrain_insn with -mcpu=power9

2016-06-26 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71670 --- Comment #1 from Segher Boessenkool --- I have a fix.

[Bug target/71670] powerpc64le ICE in extract_constrain_insn with -mcpu=power9

2016-06-27 Thread segher at gcc dot gnu.org
|UNCONFIRMED |ASSIGNED Last reconfirmed||2016-06-27 Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org Ever confirmed|0 |1 Known to fail||6.1.1, 7.0

[Bug target/71670] powerpc64le ICE in extract_constrain_insn with -mcpu=power9

2016-06-27 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71670 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Tue Jun 28 05:56:41 2016 New Revision: 237813 URL: https://gcc.gnu.org/viewcvs?rev=237813&root=gcc&view=rev Log: rs6000: Fix split of ashdi3_extswsli_dot for memory (PR71670) The s

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

2016-06-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 --- Comment #3 from Segher Boessenkool --- anton: What flags for your test case? I fail to reproduce it.

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

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

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

2016-06-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 --- Comment #6 from Segher Boessenkool --- Yes, but it fails with -m32 too.

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

2016-06-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 --- Comment #7 from Segher Boessenkool --- We have an insn: (insn 32 33 34 3 (set (reg:DI 165) (unspec:DI [ (fix:SI (subreg:SF (reg:SI 160 [ a ]) 0)) ] UNSPEC_FCTIWZ)) 71680.c:11 334 {fctiwz_sf} (expr_lis

[Bug target/71698] ICE related to decimal float when compiling with -mcpu=power9

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

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

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

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

2016-06-29 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71709 --- Comment #3 from Segher Boessenkool --- Before the first RTL CSE, we have on that second strcpy: (call_insn 47 46 0 2 (parallel [ (set (reg:DI 3 3) (call (mem:SI (symbol_ref:DI ("strcpy") [flags 0x41] ) [0 __built

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

2016-06-30 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71709 --- Comment #6 from Segher Boessenkool --- Yeah that looks better, I'm still confused by REG_DEAD vs. REG_UNUSED, sigh. The whole logic here seems somewhat confused. Or at least it is confusing me :-)

[Bug target/71670] powerpc64le ICE in extract_constrain_insn with -mcpu=power9

2016-07-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71670 --- Comment #3 from Segher Boessenkool --- Author: segher Date: Mon Jul 4 09:52:38 2016 New Revision: 237958 URL: https://gcc.gnu.org/viewcvs?rev=237958&root=gcc&view=rev Log: rs6000: Fix split of ashdi3_extswsli_dot for memory (PR71670) The s

[Bug target/71670] powerpc64le ICE in extract_constrain_insn with -mcpu=power9

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

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

2016-07-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71763 --- Comment #2 from Segher Boessenkool --- Well. Here it is using a vector register (v31) as the iterator reg, which we do not handle. Should we? Where does it come from?

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

2016-07-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71763 Segher Boessenkool changed: What|Removed |Added Target|powerpc64le-linux |powerpc64*-linux --- Comment #3 fro

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

2016-07-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71763 --- Comment #5 from Segher Boessenkool --- Actually, needs -mcpu=power8 as well, otherwise we get another ICE (we need direct moves for FP regs in the ctr patterns; this is the case that is not yet solved in PR70098).

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

2016-07-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71763 --- Comment #7 from Segher Boessenkool --- (In reply to Michael Meissner from comment #6) > Note if you put the requirement that you need direct move, you will > potentially have the problem in power7. Yes; we have that same problem for FPRs alr

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

2016-07-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71763 --- Comment #9 from Segher Boessenkool --- Author: segher Date: Thu Jul 7 03:09:03 2016 New Revision: 238076 URL: https://gcc.gnu.org/viewcvs?rev=238076&root=gcc&view=rev Log: rs6000: Make the ctr* patterns allow ints in vector regs (PR71763)

[Bug target/70098] PowerPC64: eigen hits ICE following invalid register assignment

2016-07-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70098 --- Comment #12 from Segher Boessenkool --- Author: segher Date: Thu Jul 7 03:09:03 2016 New Revision: 238076 URL: https://gcc.gnu.org/viewcvs?rev=238076&root=gcc&view=rev Log: rs6000: Make the ctr* patterns allow ints in vector regs (PR71763)

[Bug c/71785] Computed gotos are mostly optimized away

2016-07-06 Thread segher at gcc dot gnu.org
||2016-07-07 CC||segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Segher Boessenkool --- Confirmed.

[Bug c/71785] Computed gotos are mostly optimized away

2016-07-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71785 --- Comment #3 from Segher Boessenkool --- So, compgotos does its job just fine. It has duplicated the indirect jump to all its predecessors. One of those is a block that just does an add (the op++ from the testcase) and then jumps to the indir

[Bug middle-end/71785] Computed gotos are mostly optimized away

2016-07-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71785 --- Comment #5 from Segher Boessenkool --- Created attachment 38847 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38847&action=edit proposed patch to bb-reorder Proposed patch. Works for the testcase in here without removing the 8 succes

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

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

[Bug target/69019] [5 regression] Failure of test case gcc.target/powerpc/ti_math1.c

2016-07-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69019 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Thu Jul 7 17:08:00 2016 New Revision: 238121 URL: https://gcc.gnu.org/viewcvs?rev=238121&root=gcc&view=rev Log: rs6000: Fix gcc.target/powerpc/ti_math1.c on GCC 5 (PR69019) This t

[Bug target/25287] PPC has conditional indirect jumps if ra allocates the a in ctr before the jumps

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

[Bug target/71847] powerpc64le: Potential rlwinm optimisation

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

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

2016-07-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71763 --- Comment #12 from Segher Boessenkool --- Author: segher Date: Tue Jul 12 15:10:08 2016 New Revision: 238250 URL: https://gcc.gnu.org/viewcvs?rev=238250&root=gcc&view=rev Log: Backport from mainline 2016-07-06 Segher Boessenko

[Bug target/70098] PowerPC64: eigen hits ICE following invalid register assignment

2016-07-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70098 --- Comment #13 from Segher Boessenkool --- Author: segher Date: Tue Jul 12 15:10:08 2016 New Revision: 238250 URL: https://gcc.gnu.org/viewcvs?rev=238250&root=gcc&view=rev Log: Backport from mainline 2016-07-06 Segher Boessenko

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

2016-07-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71763 --- Comment #13 from Segher Boessenkool --- Author: segher Date: Tue Jul 12 15:13:47 2016 New Revision: 238251 URL: https://gcc.gnu.org/viewcvs?rev=238251&root=gcc&view=rev Log: Backport from mainline 2016-07-06 Segher Boessenko

[Bug target/70098] PowerPC64: eigen hits ICE following invalid register assignment

2016-07-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70098 --- Comment #14 from Segher Boessenkool --- Author: segher Date: Tue Jul 12 15:13:47 2016 New Revision: 238251 URL: https://gcc.gnu.org/viewcvs?rev=238251&root=gcc&view=rev Log: Backport from mainline 2016-07-06 Segher Boessenko

[Bug target/71493] [6/7 regression] accidental ABI change for structure return on PowerPC

2016-07-17 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71493 --- Comment #2 from Segher Boessenkool --- Is there a testcase? I cannot reproduce the problem. powerpc-elf-gcc on both trunk and gcc-6-branch returns a struct in registers if it needs at most two registers for that, in float regs if it needs j

[Bug target/71493] [6/7 regression] accidental ABI change for structure return on PowerPC

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

[Bug target/71216] [4.9/5/6/7 Regression] Incorrect PPC assembly due to inserted .machine pseudo-op

2016-07-18 Thread segher at gcc dot gnu.org
||2016-07-18 CC||segher at gcc dot gnu.org Known to work||4.9.1 Ever confirmed|0 |1 Known to fail||5.1.0 --- Comment #1 from Segher

<    18   19   20   21   22   23   24   25   26   27   >