[Bug target/106577] [13 Regression] during RTL pass: subreg3 ICE: in extract_insn, at recog.cc:2791 (unrecognizable insn) with -O -mavx since r13-2006-ga56c1641e9d25e46

2022-08-11 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106577 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug tree-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2022-08-12 Thread roger at nextmovesoftware dot com via Gcc-bugs
|UNCONFIRMED |NEW CC||roger at nextmovesoftware dot com Ever confirmed|0 |1 --- Comment #3 from Roger Sayle --- Ah interesting. Because index is a char, the tree-level optimizers realize that the shift by 4 can be

[Bug tree-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2022-08-12 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 --- Comment #5 from Roger Sayle --- Hi Tamar, I think this is where I need to apologize. Combine is now canonicalizing these equivalent RTL expressions to the zero_extend form, on the assumption that zero extension has no data dependency and is

[Bug rtl-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2022-08-13 Thread roger at nextmovesoftware dot com via Gcc-bugs
|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com Status|NEW |ASSIGNED

[Bug tree-optimization/21137] Convert (a >> 2) & 1 != 0 into a & 4 != 0

2022-08-13 Thread roger at nextmovesoftware dot com via Gcc-bugs
|--- |13.0 Resolution|--- |FIXED CC||roger at nextmovesoftware dot com --- Comment #14 from Roger Sayle --- This is currently fixed (in match.pd).

[Bug target/106577] [13 Regression] during RTL pass: subreg3 ICE: in extract_insn, at recog.cc:2791 (unrecognizable insn) with -O -mavx since r13-2006-ga56c1641e9d25e46

2022-08-13 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106577 --- Comment #3 from Roger Sayle --- Patch proposed: https://gcc.gnu.org/pipermail/gcc-patches/2022-August/599663.html

[Bug target/106640] [13 Regression] during RTL pass: stv ICE: RTL check: expected elt 1 type 'i' or 'n', have 'e' (rtx ashift) in compute_convert_gain, at config/i386/i386-features.cc:1251/1285

2022-08-16 Thread roger at nextmovesoftware dot com via Gcc-bugs
||roger at nextmovesoftware dot com Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com Status|NEW |ASSIGNED --- Comment #1 from Roger Sayle --- Doh! For some reason I used "op1val = XINT (src, 1);"

[Bug rtl-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2022-08-17 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 --- Comment #8 from Roger Sayle --- Time for a status update. The PR title is a little misleading; sign-extensions aren't really the problem, but it turns out that the equivalent zero-extensions aren't always optimized as well as the equivalent

[Bug target/106609] [12/13 Regression] sh3eb-elf cross compiler is being miscompiled since r12-1525-g3155d51bfd1de8b6c4645

2022-08-19 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106609 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug debug/106746] [13 Regression] '-fcompare-debug' failure (length) with -O2 -fsched2-use-superblocks since r13-2041-g6624ad73064de241

2022-09-02 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106746 --- Comment #9 from Roger Sayle --- I'm curious why the zero_extend behaves so differently to a sign_extend, perhaps a missing simplification or pattern. Presumably the CONCAT in the debug_insn is there whether or not a sign_extend or zero_ext

[Bug target/106640] [13 Regression] during RTL pass: stv ICE: RTL check: expected elt 1 type 'i' or 'n', have 'e' (rtx ashift) in compute_convert_gain, at config/i386/i386-features.cc:1251/1285

2022-09-04 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106640 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/64992] More optimize opportunity

2022-09-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64992 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug tree-optimization/98956] Failure to optimize out boolean left shift

2022-09-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98956 Bug 98956 depends on bug 64992, which changed state. Bug 64992 Summary: More optimize opportunity https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64992 What|Removed |Added --

[Bug tree-optimization/98956] Failure to optimize out boolean left shift

2022-09-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
||roger at nextmovesoftware dot com Target Milestone|--- |13.0 Resolution|--- |FIXED --- Comment #6 from Roger Sayle --- This should now be fixed on mainline.

[Bug tree-optimization/98954] ((X << CST0) & CST1) == 0 is not optimized to 0 == (X & (CST1 >> CST0))

2022-09-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
|RESOLVED CC||roger at nextmovesoftware dot com Resolution|--- |FIXED --- Comment #8 from Roger Sayle --- This should now be fixed on mainline.

[Bug target/106877] [12/13 Regression] ICE in move_for_stack_reg, at reg-stack.cc:1076 since r12-248-gb58dc0b803057c0e

2022-09-13 Thread roger at nextmovesoftware dot com via Gcc-bugs
||roger at nextmovesoftware dot com Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com --- Comment #3 from Roger Sayle --- Patch proposed https://gcc.gnu.org/pipermail/gcc-patches/2022-September/601526.html

[Bug target/106933] [13 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn) since r13-2049-g6f94923dea21bd92

2022-09-14 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106933 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/106933] [13 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn) since r13-2049-g6f94923dea21bd92

2022-09-14 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106933 --- Comment #3 from Roger Sayle --- Ignore all of Comment 2. The reason the instruction isn't getting split, is that (unlike the other clones), the pseudo's mode is V1TI (not TI), hence doesn't match the constraint. The problem is STV (again)

[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2022-09-19 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 Roger Sayle changed: What|Removed |Added Assignee|roger at nextmovesoftware dot com |unassigned at gcc dot gnu.org

[Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2022-10-09 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 --- Comment #6 from Roger Sayle --- This sounds related to the discussion/patch originally proposed at https://gcc.gnu.org/pipermail/gcc-patches/2022-July/598040.html and then revised (based on reviewer comments) at https://gcc.gnu.org/pipermail

[Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2022-10-11 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug rtl-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2022-10-19 Thread roger at nextmovesoftware dot com via Gcc-bugs
|NEW Assignee|roger at nextmovesoftware dot com |unassigned at gcc dot gnu.org --- Comment #9 from Roger Sayle --- My proposed patch to solve this problem was posted here: https://gcc.gnu.org/pipermail/gcc-patches/2022-September/601423.html

[Bug bootstrap/103820] [12 Regression] i686 failed to bootstrap with ada by r12-6077

2021-12-23 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103820 --- Comment #3 from Roger Sayle --- Thanks for investigating this HJ (I'm having difficulty configuring my system to reproduce this). Is the TARGET_64BIT guard needed by both peephole2s, or is one sufficient to restore bootstrap? Your fix/work

[Bug hsa/86948] Internal compiler error compiling brig.dg/test/gimple/mulhi.hsail

2021-12-23 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86948 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug middle-end/80929] [9/10/11/12 Regression] Division with constant no more optimized to mult highpart

2021-12-23 Thread roger at nextmovesoftware dot com via Gcc-bugs
||roger at nextmovesoftware dot com Resolution|--- |FIXED Target Milestone|9.5 |11.3 --- Comment #17 from Roger Sayle --- According to godbolt, with the example from comment #6, this appears to have been fixed in gcc 11.1

[Bug target/103773] wrong code at -Oz due to sign extension

2021-12-27 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103773 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug middle-end/104140] [12 Regression] ICE verify_gimple failed: type mismatch in binary expression since r12-6434-g0752c75536e

2022-01-20 Thread roger at nextmovesoftware dot com via Gcc-bugs
|ASSIGNED Last reconfirmed||2022-01-20 Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com --- Comment #1 from Roger Sayle --- Mine (perhaps?). To quote the review from my HIGHPART_MULT_EXPR patch: >+ if (opt

[Bug middle-end/104140] [12 Regression] ICE verify_gimple failed: type mismatch in binary expression since r12-6434-g0752c75536e

2022-01-20 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104140 --- Comment #2 from Roger Sayle --- Ah. risv.md provides a usmulsidi3 expander that populates a usmul_widen_optab, performing a widening multiplication with operands of differing signs. The comment/documentation in tree.def needs to be updated

[Bug middle-end/104140] [12 Regression] ICE verify_gimple failed: type mismatch in binary expression since r12-6434-g0752c75536e

2022-01-20 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104140 --- Comment #3 from Roger Sayle --- Sorry for the noise, but interestingly riscv.md also defines a usmulsi3_highpart instruction, providing highpart multiplication with different operand signedness. So in theory an alternate fix might be to allo

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2022-01-22 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #20 from Roger Sayle --- IMHO, the problem is in tree-vect-patterns.cc's vect_synth_mult_by_constant. The comment above line 3054 reads: /* Use MAX_COST here as we don't want to limit the sequence on rtx costs. The vectorizer'

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2022-01-24 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #22 from Roger Sayle --- I completely agree with Richard that the decision to vectorize or not to vectorize should be made elsewhere taking the whole function/loop into account. It's quite reasonable to synthesize a slow vector mult

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2022-01-24 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #23 from Roger Sayle --- In fact I can see from my debugging logs that doing a DImode scalar multiplication on AArch64 is never more than COSTS_N_INSNS(9) [mult_cost=36], so doing this is a win if moving back and forth is cheaper tha

[Bug tree-optimization/102950] [11/12 Regression] Dead Code Elimination Regression at -O3 (trunk&11.2.0 vs 10.3.0)

2022-02-01 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102950 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/104345] nvptx: "regression" after "nvptx: Transition nvptx backend to STORE_FLAG_VALUE = 1"

2022-02-02 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104345 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug rtl-optimization/101885] [10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2022-02-03 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101885 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug target/104345] [12 Regression] "nvptx: Transition nvptx backend to STORE_FLAG_VALUE = 1" patch made some code generation worse

2022-02-03 Thread roger at nextmovesoftware dot com via Gcc-bugs
at gcc dot gnu.org |roger at nextmovesoftware dot com --- Comment #3 from Roger Sayle --- Additional patch proposed: https://gcc.gnu.org/pipermail/gcc-patches/2022-February/589802.html I need to figure out how to (re)produce Thomas' "used N registers" reports. If someone coul

[Bug middle-end/85811] Invalid optimization with fmax, fabs and nan

2022-02-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
|--- |FIXED CC||roger at nextmovesoftware dot com --- Comment #13 from Roger Sayle --- Fixed on mainline. [Sorry I've only just noticed this hadn't been closed].

[Bug target/104422] nvptx: for-3.exe fail with driver 390.x

2022-02-07 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104422 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug tree-optimization/104420] [12 Regression] Inconsistent checks for X * 0.0 optimization

2022-02-08 Thread roger at nextmovesoftware dot com via Gcc-bugs
at gcc dot gnu.org |roger at nextmovesoftware dot com CC||roger at nextmovesoftware dot com --- Comment #2 from Roger Sayle --- Patch proposed https://gcc.gnu.org/pipermail/gcc-patches/2022-February/590049.html

[Bug tree-optimization/104420] [12 Regression] Inconsistent checks for X * 0.0 optimization

2022-02-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104420 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/101885] [10/11 Regression] wrong code at -O3 on x86_64-linux-gnu

2022-02-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101885 Roger Sayle changed: What|Removed |Added Summary|[10/11/12 Regression] wrong |[10/11 Regression] wrong

[Bug target/104489] nvptx, sm_53: internal compiler error: in gen_rtx_SUBREG, at emit-rtl.cc:1022

2022-02-11 Thread roger at nextmovesoftware dot com via Gcc-bugs
|1 Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com Last reconfirmed||2022-02-11 --- Comment #3 from Roger Sayle --- Patch proposed: https://gcc.gnu.org/pipermail/gcc-patches/2022-February/590139.html

[Bug target/102986] [12 Regression] ICE: in expand_shift_1, at expmed.c:2671 with a negative shift of a vector

2021-11-03 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102986 Roger Sayle changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/100810] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-397-gda9e6e63d1ae22e530ec7baf59f6ed028bf05776

2021-11-11 Thread roger at nextmovesoftware dot com via Gcc-bugs
nextmovesoftware dot com |unassigned at gcc dot gnu.org

[Bug target/102117] s390: Inefficient code for 64x64=128 signed multiply for <= z13

2021-11-20 Thread roger at nextmovesoftware dot com via Gcc-bugs
dot gnu.org |roger at nextmovesoftware dot com CC||roger at nextmovesoftware dot com Last reconfirmed||2021-11-20 Status|UNCONFIRMED |ASSIGNED --- Comment #2 from Roger Sayle --- Patch

[Bug tree-optimization/103345] missed optimization: add/xor individual bytes to form a word

2021-11-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
|tree-optimization Ever confirmed|0 |1 CC||roger at nextmovesoftware dot com Last reconfirmed||2021-11-21 --- Comment #1 from Roger Sayle --- The ior form is percieved in tree

[Bug middle-end/103344] mulshift does not work when divisor is larger than 100 on 32 bits target.

2021-11-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103344 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug tree-optimization/103345] missed optimization: add/xor individual bytes to form a word

2021-11-22 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103345 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug tree-optimization/98953] Failure to optimize two reads from adjacent addresses into one

2021-11-22 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98953 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug middle-end/103406] [12 Regression] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-24 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug tree-optimization/103376] [12 Regression] wrong code at -Os and above on x86_64-linux-gnu since r12-5453-ga944b5dec3adb28e

2021-11-24 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103376 --- Comment #10 from Roger Sayle --- Many thanks to Jakub for the speedy fix (and Richard B for the speedy review), and my apologies for the inconvenience. As diagnosed by Jakub, I hadn't realized that the bswap pass was performing additional o

[Bug target/102117] s390: Inefficient code for 64x64=128 signed multiply for <= z13

2021-11-25 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102117 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/103406] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-25 Thread roger at nextmovesoftware dot com via Gcc-bugs
nextmovesoftware dot com |unassigned at gcc dot gnu.org Summary|[12 Regression] gcc -O0 |gcc -O0 behaves differently |behaves differently on |on "DBL_MAX related |"DBL_MAX related|operations" than gcc -O1

[Bug tree-optimization/103345] missed optimization: add/xor individual bytes to form a word

2021-11-25 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103345 Roger Sayle changed: What|Removed |Added Target Milestone|--- |12.0 Status|ASSIGNED

[Bug tree-optimization/98953] Failure to optimize two reads from adjacent addresses into one

2021-11-25 Thread roger at nextmovesoftware dot com via Gcc-bugs
nextmovesoftware dot com |unassigned at gcc dot gnu.org --- Comment #4 from Roger Sayle --- The MULT_EXPR and PLUS_EXPR aspects of this PR are now resolved (i.e. the case in comment #1), but unfortunately the abs-based indexing used in the original report still causes problems. The bswap pass doesn&#

[Bug tree-optimization/99520] Failure to detect bswap pattern

2021-11-25 Thread roger at nextmovesoftware dot com via Gcc-bugs
||roger at nextmovesoftware dot com Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #9 from Roger Sayle --- This PR is now fixed on mainline. Thanks to Jakub (my apologies if I'd seen comment #2 I wouldn

[Bug rtl-optimization/79048] Unnecessary reload for flags setting insn when operands die

2021-11-25 Thread roger at nextmovesoftware dot com via Gcc-bugs
|--- |FIXED Status|UNCONFIRMED |RESOLVED CC||roger at nextmovesoftware dot com --- Comment #2 from Roger Sayle --- This issue appears to be fixed on mainline. The test case now generates: f1: orb %dil, %sil

[Bug middle-end/103406] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 Roger Sayle changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug target/45365] X86 SSE FP add and multiply aren't commutative with 2 NaNs

2021-11-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45365 Roger Sayle changed: What|Removed |Added CC||shaohua.li at inf dot ethz.ch --- Comment

[Bug middle-end/53875] calls to const functions are eliminated at -O0

2021-11-29 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53875 --- Comment #6 from Roger Sayle --- I believe this should be "... && optimize != 0", i.e. we want to eliminate these calls (only) when optimizing. But this seems like a reasonable fix/feature request (to identify breakpoints at -O0).

[Bug testsuite/103477] [12 regression] gcc.dg/tree-ssa/pr103345.c fails after r12-5453

2021-11-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103477 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/54063] [9/10/11/12 regression] on powerpc64 gcc 4.9/8 generates larger code for global variable accesses than gcc 4.7

2021-11-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54063 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/43892] PowerPC suboptimal "add with carry" optimization

2021-12-03 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43892 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug rtl-optimization/103550] 2 more instructions generated by gcc than clang

2021-12-04 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103550 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug rtl-optimization/103550] 2 more instructions generated by gcc than clang

2021-12-04 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103550 --- Comment #9 from Roger Sayle --- Note adding -fno-tree-reassoc results in fewer instructions than clang.

[Bug ipa/103601] [12 Regression] ICE in insert_kill, at ipa-modref-tree.c:84 since r12-5244-g64f3e71c302b4a13

2021-12-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
||roger at nextmovesoftware dot com Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com --- Comment #3 from Roger Sayle --- Patch proposed: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/586550.html

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug ipa/103601] [12 Regression] ICE in insert_kill, at ipa-modref-tree.c:84 since r12-5244-g64f3e71c302b4a13

2021-12-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103601 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/103773] wrong code at -Oz due to sign extension

2021-12-20 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103773 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug target/103785] [12 Regression] Ada bootstrap ICEs on i?86

2021-12-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103785 --- Comment #4 from Roger Sayle --- This is either (i) related to PR 103773, where GNAT is somehow setting optimize_size to a value greater than 1 (i.e. -Oz) and getting hit by the known memory corruption or (ii) somehow related to the highpart

[Bug target/103773] wrong code at -Oz due to sign extension

2021-12-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103773 --- Comment #3 from Roger Sayle --- Patch proposed https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587258.html

[Bug target/103611] GCC generates suboptimal code for SSE2/SSE4.1 64-bit integer element extraction on 32-bit x86 targets

2021-12-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
|RESOLVED Resolution|--- |FIXED CC||roger at nextmovesoftware dot com --- Comment #7 from Roger Sayle --- This should now be fixed on mainline.

[Bug tree-optimization/102134] [12 Regression] wrong code at -O1

2021-08-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102134 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug middle-end/100810] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-397-gda9e6e63d1ae22e530ec7baf59f6ed028bf05776

2021-08-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100810 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug tree-optimization/102134] [12 Regression] wrong code at -O1

2021-08-31 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102134 --- Comment #8 from Roger Sayle --- It's even more complicated than that. According to wi::clz, if the unsigned value being stored has a precision that is a multiple of HOST_WIDE_INT it's sign-extended, and for all other precisions they are zer

[Bug bootstrap/100832] s390x-linux-gnu: wrong number of alternatives in the output template

2021-08-31 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100832 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug c/102245] [12 Regression] false int-in-bool-context warning with shift

2021-09-13 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102245 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug c/102245] [12 Regression] false int-in-bool-context warning with shift

2021-09-14 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102245 --- Comment #8 from Roger Sayle --- Alternate patch proposed: https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579378.html

[Bug middle-end/88173] constant folding of NaN comparison depends on order of operands

2021-09-18 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88173 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug c/102245] [12 Regression] false int-in-bool-context warning with shift

2021-09-18 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102245 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/88173] constant folding of NaN comparison depends on order of operands

2021-09-19 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88173 Roger Sayle changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug rtl-optimization/102785] [12 Regression] {smul,umul}_highpart changes break bfin-elf

2021-10-15 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102785 Roger Sayle changed: What|Removed |Added Last reconfirmed||2021-10-15 Status|UNCONFIRMED

[Bug rtl-optimization/102840] [12 Regression] gcc.target/i386/pr22076.c by r12-4475

2021-10-19 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102840 Roger Sayle changed: What|Removed |Added Last reconfirmed||2021-10-19 Status|UNCONFIRMED

[Bug rtl-optimization/102840] [12 Regression] gcc.target/i386/pr22076.c by r12-4475

2021-10-19 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102840 --- Comment #3 from Roger Sayle --- With -m64, before: test: movq.LC1(%rip), %mm0 paddb .LC0(%rip), %mm0 movq%xmm0, x(%rip) ret And after: test: movq.LC2(%rip), %rax movq%rax, x(%rip)

[Bug target/102986] [12 Regression] ICE: in expand_shift_1, at expmed.c:2671 with a negative shift of a vector

2021-10-29 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102986 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/102986] [12 Regression] ICE: in expand_shift_1, at expmed.c:2671 with a negative shift of a vector

2021-10-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102986 --- Comment #5 from Roger Sayle --- Patch proposed: https://gcc.gnu.org/pipermail/gcc-patches/2021-October/582931.html

[Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2022-10-28 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 --- Comment #47 from Roger Sayle --- I really don't believe that using UNSPEC here is the correct way to go, but it appears to be the (only?) approach that Segher is prepared to approve. Hohum.

[Bug target/107627] [13 Regression] int128_t shift generates extra xor/or.

2022-11-25 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107627 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/106877] [12 Regression] ICE in move_for_stack_reg, at reg-stack.cc:1076 since r12-248-gb58dc0b803057c0e

2022-12-23 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106877 Roger Sayle changed: What|Removed |Added Target Milestone|12.3|13.0 Resolution|---

[Bug target/106933] [13 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn) since r13-2049-g6f94923dea21bd92

2022-12-24 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106933 Roger Sayle changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/106959] [13 Regression] ICE in curr_insn_transform, at lra-constraints.cc:4168 (error: unable to generate reloads), or ICE in simplify_subreg, at simplify-rtx.cc:7405 since r13-2100-g5cccc

2022-12-24 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106959 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/107548] STV doesn't consider vec_select

2022-12-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
|--- |FIXED CC||roger at nextmovesoftware dot com Target Milestone|--- |13.0 --- Comment #3 from Roger Sayle --- This should now be fixed/implemented on mainline.

[Bug target/108229] [13 Regression] unprofitable STV transform since r13-4873-g0b2c1369d035e928

2022-12-28 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108229 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug middle-end/100793] ICE: in expand_assignment, at expr.c:5363

2022-12-29 Thread roger at nextmovesoftware dot com via Gcc-bugs
|1 Keywords|error-recovery, |ice-on-valid-code |ice-on-invalid-code | Status|UNCONFIRMED |NEW CC||roger at nextmovesoftware dot com --- Comment #1 from

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #8 from Roger Sayle --- Created attachment 54195 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54195&action=edit Roger's proposed patch Here's my proposed patch (or something close to it, it's still bootstrapping and regressi

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #9 from Roger Sayle --- Another way to avoid the SCALAR_FLOAT_MODE_P problem is: /* Add a REG_EQUAL note to allow condition to be shared. */ rtx note = gen_rtx_fmt_ee (orig_code, mode, op0, op1); /* TMP

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #14 from Roger Sayle --- Created attachment 54197 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54197&action=edit Related optimizations to ix86_expand_int_movcc. Just for the record, here is a related patch that I was working

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/105486] new test case gcc.dg/vect/bb-slp-pr104240.c from r13-71-g41e3db05d69740

2022-05-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105486 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

<    1   2   3   4   5   >