[Bug tree-optimization/116575] [15 Regression] blender in SPEC2017 ICE in vect_analyze_slp

2024-09-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116575 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/116573] [15 Regression] Recent SLP work appears to generate significantly worse code on RISC-V

2024-09-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116573 Richard Biener changed: What|Removed |Added CC||juzhe.zhong at rivai dot ai --- Commen

[Bug tree-optimization/116578] vectorizer SLP transition issues / dependences

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116578 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/116576] `INT64_MAX` and `-Oz`

2024-09-02 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116576 --- Comment #1 from LIU Hao --- Here is a longer solution but it breaks the dependency: ``` 31c0; xor eax, eax 48 ffc8 ; dec rax 48 d1e8 ; shr rax ; (8 bytes; no dependency) ```

[Bug tree-optimization/116578] New: vectorizer SLP transition issues / dependences

2024-09-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116578 Bug ID: 116578 Summary: vectorizer SLP transition issues / dependences Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug target/116571] [15 Regression] GCN vs. "lower SLP load permutation to interleaving"

2024-09-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116571 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/36010] Loop interchange not performed

2024-09-02 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36010 --- Comment #8 from rguenther at suse dot de --- On Mon, 2 Sep 2024, tnfchris at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36010 > > Tamar Christina changed: > >What|Removed |Add

[Bug tree-optimization/116575] [15 Regression] blender in SPEC2017 ICE in vect_analyze_slp

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116575 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/116577] [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116577 Andrew Pinski changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug tree-optimization/116575] [15 Regression] blender in SPEC2017 ICE in vect_analyze_slp

2024-09-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116575 --- Comment #1 from Tamar Christina --- --- int a; float *b, *c; void d() { char *e; for (; a; a++, b += 4, c += 4) if (*e++) { float *f = c; f[0] = b[0]; f[1] = b[1]; f[2] = b[2]; f[3] = b[3]; } } comp

[Bug tree-optimization/116577] [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116577 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 CC|

[Bug target/116576] `INT64_MAX` and `-Oz`

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116576 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/116577] New: [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations

2024-09-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116577 Bug ID: 116577 Summary: [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice

[Bug target/116576] New: `INT64_MAX` and `-Oz`

2024-09-02 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116576 Bug ID: 116576 Summary: `INT64_MAX` and `-Oz` Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee:

[Bug tree-optimization/116575] [15 Regression] blender in SPEC2017 ICE in vect_analyze_slp

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116575 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 CC|

[Bug rtl-optimization/113682] Branches in branchless binary search rather than cmov/csel/csinc

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113682 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > This might be the path splitting running on the gimple level causing issues > too; see PR 112402 . Actually I was wrong. In this case it is jump threading whic

[Bug tree-optimization/91776] `-fsplit-paths` generates slower code on arm

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91776 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0 Resolution|---

[Bug middle-end/116575] New: [15 Regression] blender in SPEC2017 ICE in vect_analyze_slp

2024-09-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116575 Bug ID: 116575 Summary: [15 Regression] blender in SPEC2017 ICE in vect_analyze_slp Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug target/55212] [SH] Switch to LRA

2024-09-02 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #225 from John Paul Adrian Glaubitz --- (In reply to Kazumoto Kojima from comment #224) > (In reply to John Paul Adrian Glaubitz from comment #223) > > > > I had run into some issues with my build environment, so my results are a > >

[Bug tree-optimization/80520] [12/13/14/15 Regression] Performance regression from missing if-conversion

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80520 --- Comment #20 from Andrew Pinski --- I think this was fixed in GCC 13 by being able to vectorize this code now.

[Bug target/55212] [SH] Switch to LRA

2024-09-02 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #224 from Kazumoto Kojima --- (In reply to John Paul Adrian Glaubitz from comment #223) > > I had run into some issues with my build environment, so my results are a > little delayed. Apologies. No problem. After further testing, i

[Bug tree-optimization/112402] [12/13/14/15 Regression] Path splitting causes if-conversion miss

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112402 --- Comment #6 from Andrew Pinski --- I have a patch which improves/rewrites (and much needed simplification) the heuristic in path splitting.

[Bug middle-end/82365] stack locations are not consolidated if noreturn function is on the path

2024-09-02 Thread yangtiezhu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82365 Tiezhu Yang changed: What|Removed |Added CC||yangtiezhu at loongson dot cn --- Comment

[Bug tree-optimization/112402] [12/13/14/15 Regression] Path splitting causes if-conversion miss

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112402 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > I have a patch which moves split paths to RTL like it should be. Waiting on > legal though. I am just going to do the simple patch here for ifcvt here.

[Bug c++/107430] [meta-bug] lambda in decltype

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 116565, which changed state. Bug 116565 Summary: ICE in tsubst, at cp/pt.cc:16401 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116565 What|Removed |Added --

[Bug c++/116565] ICE in tsubst, at cp/pt.cc:16401

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116565 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/115318] decltype(lambda) from an template function inside a templated lambda causes ICE

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115318 Andrew Pinski changed: What|Removed |Added CC||tsnorri at iki dot fi --- Comment #3 fr

[Bug target/109989] [13 Regression] RISC-V: Missing sign extension with int to float conversion with 64bit soft floats caused by r13-2105

2024-09-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109989 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/110632] RISC-V: SLP optimisation

2024-09-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110632 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org Resolut

[Bug target/111020] RFE: RISC-V: ability to cherry-pick additional instructions

2024-09-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111020 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org Sta

[Bug target/111372] libgcc: RISCV C++ exception handling stack usage grew in 13.1

2024-09-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111372 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org Resolut

[Bug target/63521] The AArch64 backend doesn't define REG_ALLOC_ORDER.

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63521 --- Comment #9 from Andrew Pinski --- For future reference here are the 2 discussions about REG_ALLOC_ORDER for aarch64 https://inbox.sourceware.org/gcc-patches/n998ucjwgk1@arm.com/ https://inbox.sourceware.org/gcc-patches/mptjzxhperg@arm

[Bug target/63521] The AArch64 backend doesn't define REG_ALLOC_ORDER.

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63521 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 --- Comment #8 from Andrew Pinski

[Bug c/116563] Wtautological-compare for memcmp and friends

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116563 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/65452] strcmp (foo, foo) could give a warning

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65452 Andrew Pinski changed: What|Removed |Added CC||rv at rasmusvillemoes dot dk --- Comment

[Bug target/116571] [15 Regression] GCN vs. "lower SLP load permutation to interleaving"

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116571 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/116571] [15 Regression] GCN vs. "lower SLP load permutation to interleaving"

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116571 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Summary|GCN vs. "lower

[Bug tree-optimization/116573] [15 Regression] Recent SLP work appears to generate significantly worse code on RISC-V

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116573 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target Milestone|

[Bug tree-optimization/116569] [15 Regression] ICE in to_constant, at poly-int.h:592

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116569 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Andrew Pin

[Bug c++/116567] ICE when using lamdba as default non-type template parameter.

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116567 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/116564] [12/13/14/15 Regression] aarch64: gcc hangs when compiling vst2_f64 instrinsic at -O1 and above since r12-4910-g66f206b853

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116564 --- Comment #4 from Andrew Pinski --- (In reply to Alex Coplan from comment #1) > and it just seems to repeat adding insns {17,10,8}, then {16,14,13}, then 3. (insn 8 6 37 3 (clobber (subreg:V1DF (reg/v:V2x1DF 104 [ __valD.22804 ]) 0)) -1

[Bug rtl-optimization/108681] [12 Regression] gcc hangs compiling opencv/channels_combine.cpp for aarch64

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108681 Andrew Pinski changed: What|Removed |Added Target Milestone|13.0|12.3

[Bug target/116574] GCC generates redundant moves in simple vector addition

2024-09-02 Thread bernardo at bernardosulzbach dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116574 --- Comment #11 from Bernardo Sulzbach --- (In reply to Andrew Pinski from comment #2) > -Os does not vectorize the code. > But that might be on purpose ... Then one last question: is that because -Os makes GCC not even consider it, even if in

[Bug target/116574] GCC generates redundant moves in simple vector addition

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116574 --- Comment #10 from Andrew Pinski --- Also on many processors a move is free.

[Bug target/116574] GCC generates redundant moves in simple vector addition

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116574 --- Comment #9 from Andrew Pinski --- (In reply to Bernardo Sulzbach from comment #8) > But that this happens even in simple cases such as this one is known and > already tracked? Kinda of but since it is only shown up so far in micro-benchmark

[Bug target/116574] GCC generates redundant moves in simple vector addition

2024-09-02 Thread bernardo at bernardosulzbach dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116574 --- Comment #8 from Bernardo Sulzbach --- (In reply to Andrew Pinski from comment #7) > >with -O2/-O3. Is there a reason for `addps xmm1, xmm0` and moving instead of > >`addps xmm0, xmm1`? > > Register allocation is not always the best when it

[Bug target/116574] GCC generates redundant moves in simple vector addition

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116574 --- Comment #7 from Andrew Pinski --- >with -O2/-O3. Is there a reason for `addps xmm1, xmm0` and moving instead of >`addps xmm0, xmm1`? Register allocation is not always the best when it comes to argument and returns. Also the trunk with -O2

[Bug target/116574] GCC generates redundant moves in simple vector addition

2024-09-02 Thread bernardo at bernardosulzbach dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116574 --- Comment #6 from Bernardo Sulzbach --- (In reply to Bernardo Sulzbach from comment #5) > (In reply to Andrew Pinski from comment #1) > > -fno-trapping-math removes the zeroing of the top half of the registers. > > I see. I tried passing that

[Bug target/116574] GCC generates redundant moves in simple vector addition

2024-09-02 Thread bernardo at bernardosulzbach dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116574 --- Comment #5 from Bernardo Sulzbach --- (In reply to Andrew Pinski from comment #1) > -fno-trapping-math removes the zeroing of the top half of the registers. I see. I tried passing that and got add(std::array, std::array): movap

[Bug target/116574] GCC generates redundant moves in simple vector addition

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116574 --- Comment #4 from Andrew Pinski --- Note clang's code generation with -ftrapping-math is so much worse than GCCs: movaps %xmm1, %xmm2 addss %xmm0, %xmm2 shufps $85, %xmm0, %xmm0 shufps $85, %xmm1, %xmm1

[Bug target/116574] GCC generates redundant moves in simple vector addition

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116574 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/116574] GCC generates redundant moves in simple vector addition

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116574 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug target/116574] GCC generates redundant moves in simple vector addition

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116574 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/116574] New: GCC generates redundant moves in simple vector addition

2024-09-02 Thread bernardo at bernardosulzbach dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116574 Bug ID: 116574 Summary: GCC generates redundant moves in simple vector addition Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/116572] [14/15 Regression] Using a std::string passed to a virtual member function of a side-casted pointer spuriously ICEs (wrong code with checking disable)

2024-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116572 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code, |

[Bug target/55212] [SH] Switch to LRA

2024-09-02 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #223 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #218) > (In reply to Kazumoto Kojima from comment #216) > > This patch is assumed to be applied to the top of 58832, 58833, 58883, > > 58905

[Bug tree-optimization/116573] [15 Regression] Recent SLP work appears to generate significantly worse code on RISC-V

2024-09-02 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116573 --- Comment #1 from rguenther at suse dot de --- > Am 02.09.2024 um 18:48 schrieb law at gcc dot gnu.org > : > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116573 > > Jeffrey A. Law changed: > > What|Removed

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-09-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #26 from Aldy Hernandez --- I think there's something fundamentally wrong in the *backwards* threader that causes us to blow up, even without fully resolving conditions with a global ranger. I tried running at -O1 and -fenable-tree-

[Bug tree-optimization/116573] New: [15 Regression] Recent SLP work appears to generate significantly worse code on RISC-V

2024-09-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116573 Bug ID: 116573 Summary: [15 Regression] Recent SLP work appears to generate significantly worse code on RISC-V Product: gcc Version: 15.0 Status: UNCONFIRMED S

[Bug d/115295] [15 regression] Various gdc testsuite regressions

2024-09-02 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115295 Alexandre Oliva changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug ipa/114531] Feature proposal for an `-finline-functions-aggressive` compiler option

2024-09-02 Thread rvmallad at amazon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114531 --- Comment #22 from Rama Malladi --- Checking in again... Hubicka@ and rsandifo@, Can we action this PR https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655506.html? Accept or Reject? Thanks.

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-09-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #25 from Aldy Hernandez --- (In reply to Aldy Hernandez from comment #22) > Created attachment 59001 [details] > reduce recursion in forward threader (patch in testing) Avoiding unnecessary recursion in simplify_control_stmt_conditi

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-09-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #24 from Aldy Hernandez --- (In reply to Richard Biener from comment #13) > Most of the -O1 dom time is spent in threading using path ranger to simplify > the JT conditions. That in turn does (for each threading from scratch?) > GOR

[Bug tree-optimization/116570] Write without read optimization is not applied to custom malloc/free even when marked as such

2024-09-02 Thread uis9936 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116570 --- Comment #6 from uis --- I looked into tree-ssa-dse.cc. Does it only work with builtins? I testes with mismatched free(malloc_test and regular free), store was removed.

[Bug tree-optimization/116570] Write without read optimization is not applied to custom malloc/free even when marked as such

2024-09-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116570 --- Comment #5 from Xi Ruoyao --- (In reply to uis from comment #4) > I tried even adding restrict keyword and leaf attribute. Why would they make any difference? If do_something_with is a macro the leaf attribute won't invalidate my example.

[Bug c++/116572] New: Using a std::string passed to a virtual member function of a side-casted pointer spuriously triggers UBSan on 14.2.0, and ICEs on trunk

2024-09-02 Thread eddiejnolan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116572 Bug ID: 116572 Summary: Using a std::string passed to a virtual member function of a side-casted pointer spuriously triggers UBSan on 14.2.0, and ICEs on trunk Product: gcc

[Bug tree-optimization/116570] Write without read optimization is not applied to custom malloc/free even when marked as such

2024-09-02 Thread uis9936 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116570 --- Comment #4 from uis --- I tried even adding restrict keyword and leaf attribute.

[Bug tree-optimization/36010] Loop interchange not performed

2024-09-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36010 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Commen

[Bug tree-optimization/116570] Write without read optimization is not applied to custom malloc/free even when marked as such

2024-09-02 Thread uis9936 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116570 --- Comment #3 from uis --- And there is no way to tell compiler that store is dead without at least disabling writes to globals?

[Bug libstdc++/91486] future::wait_for and shared_timed_mutex::wait_for do not work properly with float duration

2024-09-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91486 --- Comment #15 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:410061b15a9b0a464c851173fa568e49c85570dc commit r15-3385-g410061b15a9b0a464c851173fa568e49c85570dc Author: Alexandre Oliva Date:

[Bug d/115295] [15 regression] Various gdc testsuite regressions

2024-09-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115295 --- Comment #10 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:9223d1715918e4e8e7a59471b228f815b4a3467c commit r15-3384-g9223d1715918e4e8e7a59471b228f815b4a3467c Author: Alexandre Oliva Date

[Bug rust/116561] gcc/testsuite/rust/execute/torture/iter1.rs:350:5: internal compiler error: 'verify_gimple' failed

2024-09-02 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116561 Thomas Schwinge changed: What|Removed |Added Keywords||testsuite-fail Ever confirmed|0

[Bug rtl-optimization/108039] Unnecessary extension storing same value twice to small location

2024-09-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108039 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/116571] New: GCN vs. "lower SLP load permutation to interleaving"

2024-09-02 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116571 Bug ID: 116571 Summary: GCN vs. "lower SLP load permutation to interleaving" Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal

[Bug target/115921] Missed optimization: and->ashift might be cheaper than ashift->and on typical RISC targets

2024-09-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115921 --- Comment #3 from Jeffrey A. Law --- IIRC, the reason for that condition to to avoid spoiling certain cases where we want to ultimately generate shNadd instructions. It's a tradeoff. The shadd case is probably more important than avoiding th

[Bug tree-optimization/116569] [15 Regression] ICE in to_constant, at poly-int.h:592

2024-09-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116569 --- Comment #2 from Richard Biener --- Apparently the vectorizer introduces ops that are not supported by the target. Or vector lowering indentifes them wrong.

[Bug tree-optimization/116570] Write without read optimization is not applied to custom malloc/free even when marked as such

2024-09-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116570 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Statu

[Bug tree-optimization/116501] wrong code with __builtin_sub_overflow_p() and _BitInt() at -O1

2024-09-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116501 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/116224] wrong code with _BitInt() division at -O1 and above (breaks in ccp2?)

2024-09-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116224 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/116502] [15 Regression] -Wunused-result warning cannot be suppressed if coroutine awaiter returns a reference after r15-2318-g2664c1bf83855b

2024-09-02 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116502 Arsen Arsenović changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug tree-optimization/116570] Write without read optimization is not applied to custom malloc/free even when marked as such

2024-09-02 Thread uis9936 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116570 --- Comment #1 from uis --- Maybe I need some attribute to mark returned pointer as not potentially being memory-mapped file?

[Bug tree-optimization/116569] [15 Regression] ICE in to_constant, at poly-int.h:592

2024-09-02 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116569 Alex Coplan changed: What|Removed |Added Last reconfirmed||2024-09-02 Status|UNCONFIRMED

[Bug middle-end/116562] wrong cost of gather load preventing loop from vectored

2024-09-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116562 Richard Biener changed: What|Removed |Added Target||aarch64 CC|

[Bug rtl-optimization/116560] [13/14/15 Regression] RISC-V : rv32 code optimization , big code difference between 8/9.x and 10.x

2024-09-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116560 Richard Biener changed: What|Removed |Added Version|unknown |15.0 Target Milestone|---

[Bug tree-optimization/116570] New: Write without read optimization is not applied to custom malloc/free even when marked as such

2024-09-02 Thread uis9936 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116570 Bug ID: 116570 Summary: Write without read optimization is not applied to custom malloc/free even when marked as such Product: gcc Version: 13.3.1 Status: UNCONFIRMED

[Bug modula2/116378] [15 Regression] M2 bootstrap fails on x86_64-darwin after r15-2876

2024-09-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116378 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/116557] m2: FSF (physical) mailing address is included in the license header

2024-09-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116557 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/116557] m2: FSF (physical) mailing address is included in the license header

2024-09-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116557 --- Comment #2 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:78dc2e2575c602c62d50a9522ea976020a5bf7aa commit r15-3380-g78dc2e2575c602c62d50a9522ea976020a5bf7aa Author: Gaius Mulley Date: Mon

[Bug c++/99948] [modules] ICE in add_mergeable_specialization

2024-09-02 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99948 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/99227] [meta-bug] [modules] Bugs relating to header-units of STL header files

2024-09-02 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99948, which changed state. Bug 99948 Summary: [modules] ICE in add_mergeable_specialization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99948 What|Removed |Added --

[Bug c++/103524] [meta-bug] modules issue

2024-09-02 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99948, which changed state. Bug 99948 Summary: [modules] ICE in add_mergeable_specialization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99948 What|Removed |Added

[Bug c++/99915] [modules] ICE in write_location

2024-09-02 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99915 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org

[Bug c++/103524] [meta-bug] modules issue

2024-09-02 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99915, which changed state. Bug 99915 Summary: [modules] ICE in write_location https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99915 What|Removed |Added --

[Bug c++/99227] [meta-bug] [modules] Bugs relating to header-units of STL header files

2024-09-02 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99915, which changed state. Bug 99915 Summary: [modules] ICE in write_location https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99915 What|Removed |Added

[Bug c++/103524] [meta-bug] modules issue

2024-09-02 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99879, which changed state. Bug 99879 Summary: [modules] ICE in open https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99879 What|Removed |Added

[Bug c++/99879] [modules] ICE in open

2024-09-02 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99879 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/99227] [meta-bug] [modules] Bugs relating to header-units of STL header files

2024-09-02 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99879, which changed state. Bug 99879 Summary: [modules] ICE in open https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99879 What|Removed |Added --

[Bug tree-optimization/116569] [15 Regression] ICE in to_constant, at poly-int.h:592

2024-09-02 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116569 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/116569] New: [15 Regression] ICE in to_constant, at poly-int.h:592

2024-09-02 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116569 Bug ID: 116569 Summary: [15 Regression] ICE in to_constant, at poly-int.h:592 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: aarch64-sve, ice-on-valid-code Sev

[Bug c++/103524] [meta-bug] modules issue

2024-09-02 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99760, which changed state. Bug 99760 Summary: [modules] ICE qsort checking failed after modulizing a lot of system headers https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99760 What|Removed

  1   2   >