[Bug rtl-optimization/117836] [meta-bug] favoid-store-forwarding issues

2025-04-22 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117836 --- Comment #1 from ptomsich at gcc dot gnu.org --- We'll continue using this meta-bug to track issues that should be addressed before we enabled favoid-store-forwarding by default at O2.

[Bug rtl-optimization/119884] [16 Regression] ICE: in emit_move_insn, at expr.cc:4636 with -O2 -fno-dse -favoid-store-forwarding

2025-04-22 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119884 ptomsich at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |konstantinos.elefth

[Bug testsuite/119862] [16 Regression] gcc.dg/pr119160.c FAILs

2025-04-22 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119862 ptomsich at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED C

[Bug rtl-optimization/119160] wrong code with -O2 -finstrument-functions-once -favoid-store-forwarding -fnon-call-exceptions -fschedule-insns -mgeneral-regs-only

2025-03-11 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119160 ptomsich at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |konstantinos.elefth

[Bug rtl-optimization/117712] [15 regression] ICE when building x265: internal compiler error: in expand_fix, at optabs.cc:5936 since r15-2890

2025-02-04 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117712 ptomsich at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |konstantinos.elefth

[Bug tree-optimization/117079] [15 Regression] FAIL: gcc.target/i386/pr105493.c since r15-2820-gab18785840d7b8

2025-01-10 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117079 ptomsich at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |cmuellner at gcc dot

[Bug rtl-optimization/117922] [15 Regression] 1000% compilation time slow down on the testcase from pr26854

2025-01-10 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117922 ptomsich at gcc dot gnu.org changed: What|Removed |Added CC||ptomsich at gcc dot gnu.org

[Bug middle-end/116860] [15 Regression] New test case gcc.dg/tree-ssa/fold-xor-and-or.c from r15-3866-ga88d6c6d777ad7 fails

2025-01-08 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116860 ptomsich at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unass

[Bug rtl-optimization/48696] Horrible bitfield code generation on x86

2024-12-27 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48696 --- Comment #22 from ptomsich at gcc dot gnu.org --- Agreed. It would be ideal not to have to deal with this in the store-forward avoidance pass (i.e., catching it before or during lowering). Given that the store-forward avoidance pass (mostly) c

[Bug rtl-optimization/48696] Horrible bitfield code generation on x86

2024-12-20 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48696 ptomsich at gcc dot gnu.org changed: What|Removed |Added CC||ptomsich at gcc dot gnu.org

[Bug rtl-optimization/117872] wrong code with -O -maccumulate-outgoing-args --param=store-forwarding-max-distance=1000 -favoid-store-forwarding

2024-12-17 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117872 --- Comment #1 from ptomsich at gcc dot gnu.org --- Our patch (see https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671800.html) for PR117835 should also fix this issue.

[Bug rtl-optimization/117816] ICE: in rtl_verify_bb_insns, at cfgrtl.cc:2837: flow control insn inside a basic block with -O -favoid-store-forwarding -fnon-call-exceptions -fno-forward-propagate -fins

2024-12-06 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117816 ptomsich at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|A

[Bug rtl-optimization/117836] [meta-bug] favoid-store-forwarding issues

2024-12-06 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117836 Bug 117836 depends on bug 117816, which changed state. Bug 117816 Summary: ICE: in rtl_verify_bb_insns, at cfgrtl.cc:2837: flow control insn inside a basic block with -O -favoid-store-forwarding -fnon-call-exceptions -fno-forward-propagate -fin

[Bug middle-end/116845] gcc.dg/pr109393.c test fails on ilp32 targets (and maybe others)

2024-09-26 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116845 --- Comment #7 from ptomsich at gcc dot gnu.org --- Our team will also be busy with other priorities for the next weeks. We will attempt to schedule this before the end of stage 1, but might still have to delay until stage 3.

[Bug middle-end/116358] [15 Regression] undefined reference to `__umindi3' at -O3 when compiling with SVE

2024-08-13 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116358 ptomsich at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assigne

[Bug rtl-optimization/116353] [15 Regression] ICE on glibc-2.39: RTL pass: ce2, in expand_simple_binop, at optabs.cc:1264 since r15-2890-g72c9b5f438f22c

2024-08-13 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116353 --- Comment #5 from ptomsich at gcc dot gnu.org --- To add on to the info provided by Manolis, this is the diff for the proposed fix: diff --git a/gcc/ifcvt.cc b/gcc/ifcvt.cc index 3e25f30b67e..da59c907891 100644 --- a/gcc/ifcvt.cc +++ b/gcc/ifc

[Bug rtl-optimization/116353] [15 Regression] ICE on glibc-2.39: RTL pass: ce2, in expand_simple_binop, at optabs.cc:1264

2024-08-12 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116353 --- Comment #2 from ptomsich at gcc dot gnu.org --- Thanks for providing an isolated case, this is very helpful. Note that despite this being reported as 'ce2', it is the same underlying pass as 'ce1'... just the second time the ce (conditional

[Bug tree-optimization/114326] Missed optimization for A || B when !B implies A.

2024-03-13 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114326 --- Comment #2 from ptomsich at gcc dot gnu.org --- To copy the last piece of info from our internal tracker... LLVM learned this new trick only in the run-up to LLVM 18. Up until then, GCC and LLVM performed identically on this snippet.

[Bug tree-optimization/114010] Unwanted effects of using SSA free lists.

2024-02-23 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114010 --- Comment #9 from ptomsich at gcc dot gnu.org --- (In reply to Manolis Tsamis from comment #0) > E.g. another loop, non canonicalized names: > > .L120: > ldr q30, [x0], 16 > moviv29.2s, 0 > ld2 {v26.16b - v27.16b

[Bug tree-optimization/114010] Unwanted effects of using SSA free lists.

2024-02-21 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114010 --- Comment #7 from ptomsich at gcc dot gnu.org --- (In reply to Manolis Tsamis from comment #5) > On of these happens to precede a relevant vector statement and then > in one case combine does the umlal transformation but in the other not. Plea

[Bug tree-optimization/114010] Unwanted effects of using SSA free lists.

2024-02-21 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114010 --- Comment #6 from ptomsich at gcc dot gnu.org --- (In reply to Manolis Tsamis from comment #5) > On of these happens to precede a relevant vector statement and then > in one case combine does the umlal transformation but in the other not. Plea

[Bug debug/110308] [14 Regression] ICE on audiofile-0.3.6: RTL: vartrack: Segmentation fault in mode_to_precision(machine_mode)

2023-06-20 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110308 ptomsich at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug debug/110308] [14 Regression] ICE on audiofile-0.3.6: RTL: vartrack: Segmentation fault in mode_to_precision(machine_mode)

2023-06-20 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110308 --- Comment #8 from ptomsich at gcc dot gnu.org --- @mtsamis: Could you attach the proposed patch as an attachment (to allow easy application and testing that this resolves the ICE)?

[Bug target/108589] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1932 with -mtune=ampere1a -fno-split-wide-types

2023-05-09 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108589 ptomsich at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|A

[Bug target/108589] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1932 with -mtune=ampere1a -fno-split-wide-types

2023-01-30 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108589 --- Comment #3 from ptomsich at gcc dot gnu.org --- I can confirm that the issue reproduces (as expected) with the '--enable-checking=rtl' configuration. I'll retest the fix and submit via the list.

[Bug target/108589] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1932 with -mtune=ampere1a -fno-split-wide-types

2023-01-30 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108589 ptomsich at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ptomsich at gcc dot

[Bug target/107786] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-4151-gacbb5ef06ee978

2022-11-21 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107786 ptomsich at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|A

[Bug target/107786] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-4151-gacbb5ef06ee978

2022-11-21 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107786 ptomsich at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assigne

[Bug rtl-optimization/105314] [12 Regression] ifcvt regression in noce_try_store_flag_mask

2022-04-25 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105314 --- Comment #7 from ptomsich at gcc dot gnu.org --- The transformation for """ long func2 (long a, long b, long c) { if (c) a = 0; else a = 5; return a; } """ into """ 0006 : 6: 00163513

[Bug rtl-optimization/105314] [12 Regression] ifcvt regression in noce_try_store_flag_mask

2022-04-25 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105314 --- Comment #5 from ptomsich at gcc dot gnu.org --- The fix addresses the issue and generates no new failures on small test cases. Testing against SPEC is still ongoing and I'll report back once that has completed.

[Bug tree-optimization/88492] SLP optimization generates ugly code

2021-04-14 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88492 ptomsich at gcc dot gnu.org changed: What|Removed |Added CC||ptomsich at gcc dot gnu.org

[Bug ipa/98748] Increased precision for points-to analysis

2021-01-19 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98748 ptomsich at gcc dot gnu.org changed: What|Removed |Added CC||ptomsich at gcc dot gnu.org