[Bug tree-optimization/116823] phiprop should ignore clobbers

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116823 --- Comment #5 from Andrew Pinski --- Here is a reduced testcase for fold-const.cc case: ``` struct s2 { int i; s2(const int &a) : i (a) {} }; int h(s2 b); int g(int l, int r) { return h(l > r ? l : r); } ``` Which shows up since r6-68

[Bug target/116076] [15 Regression] 4.5% slowdown of 433.milc on AMD Zen4 since r15-2054-g1e3aa9c9278db6

2024-09-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116076 --- Comment #3 from Richard Biener --- While it might be interesting to investigate why making unaligned loads and stores costed faster than aligned ones the fix will be not restoring behavior to before the change. Given it's with LTO and only

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

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #42 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f9dfe8dea31bf5c56aa7798a0905707faf9e7ec4 commit r15-3818-gf9dfe8dea31bf5c56aa7798a0905707faf9e7ec4 Author: Richard Biener Date:

[Bug tree-optimization/116823] phiprop should ignore clobbers

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116823 --- Comment #4 from Andrew Pinski --- And yes this shows up in GCC itself. >From fold-const.cc: ``` if (lr_bitpos.2401_412 < rr_bitpos.2402_413) goto ; [INV] else goto ; [INV] : : # iftmp.2400_515 = PHI <&lr_bitpos(196), &r

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

2024-09-23 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #313 from John Paul Adrian Glaubitz --- (In reply to Kazumoto Kojima from comment #312) > (In reply to John Paul Adrian Glaubitz from comment #298) > > Here is one ICE I have run into while building webkit2gtk with the latest > > patc

[Bug tree-optimization/116819] [15 Regression] ICE in vect_transform_stmt

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116819 --- Comment #3 from Andrew Pinski --- Note this testcase might go latent if we fix PR 116821, PR 116823 and PR 116824. If those get fixed beforehand, then `-fdisable-tree-phiprop1 -fdisable-tree-phiprop2` will be needed to reproduce the bug.

[Bug tree-optimization/116821] phiprop could be improved to handle PHI<&a, ssa_name>

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116821 --- Comment #3 from Andrew Pinski --- Note I will get to this tomorrow as the other 2 issues are easier and don't need a little more thought about what is "cheaply".

[Bug target/116825] aarch64: unnecessary vector perm combination

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116825 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/116825] aarch64: unnecessary vector perm combination

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116825 --- Comment #1 from Andrew Pinski --- This all depends on the context of the tbl and uzp1. If this was inside a loop, then the load might/will be hoisted and GCC code generation of one TBL vs 2 uzp1 might be better.

[Bug target/116825] New: aarch64: unnecessary vector perm combination

2024-09-23 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116825 Bug ID: 116825 Summary: aarch64: unnecessary vector perm combination Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/104957] [nvptx] Use .alias directive (available starting ptx isa version 6.3)

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104957 --- Comment #15 from GCC Commits --- The master branch has been updated by Prathamesh Kulkarni : https://gcc.gnu.org/g:f5ee372b012594830f6d5f7f4b7e01bae810b1da commit r15-3816-gf5ee372b012594830f6d5f7f4b7e01bae810b1da Author: Prathamesh Kulkar

[Bug tree-optimization/116824] phiprop gets confused with vop phi

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

[Bug tree-optimization/116824] New: phiprop gets confused with vop phi

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116824 Bug ID: 116824 Summary: phiprop gets confused with vop phi Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement P

[Bug tree-optimization/116823] phiprop should ignore clobbers

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116823 --- Comment #3 from Andrew Pinski --- Here is a testcase for a well defined case: ``` void f(int *); int g(int i, struct f *ff) { const int t = 10; const int *a; { int b; f(&b); if (t < i) a = &t; else a = &i;

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

2024-09-23 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #312 from Kazumoto Kojima --- (In reply to John Paul Adrian Glaubitz from comment #298) > Here is one ICE I have run into while building webkit2gtk with the latest > patches on top of an older GCC snapshot: Although not tested well,

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

2024-09-23 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #311 from Kazumoto Kojima --- Created attachment 59185 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59185&action=edit a reduced test case for c#298

[Bug c++/116805] -fno-module-lazy breaks thread module when compiled after format module

2024-09-23 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116805 Nathaniel Shead changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/116823] phiprop should ignore clobbers

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116823 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > I have a simple patch which allows for this. > Basically we need to ignore clobbers in 2 places. Even though clobbers have a vdef, they have no effect on aliasi

[Bug c++/99274] [modules] Error compiling some system headers: "wrong number of template arguments (1, should be 2)"

2024-09-23 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99274 Nathaniel Shead changed: What|Removed |Added CC||gcc at richy dot net --- Comment #3 fr

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

2024-09-23 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 116804, which changed state. Bug 116804 Summary: module order dependency with chrono and vector https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116804 What|Removed |Added

[Bug c++/116804] module order dependency with chrono and vector

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

[Bug tree-optimization/116823] phiprop should ignore clobbers

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116823 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/116823] New: phiprop should ignore clobbers

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116823 Bug ID: 116823 Summary: phiprop should ignore clobbers Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Prior

[Bug target/116822] New: [15 regression] RISC-V: ICE in compute_nregs_for_mode, at config/riscv/riscv-vector-costs.cc

2024-09-23 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116822 Bug ID: 116822 Summary: [15 regression] RISC-V: ICE in compute_nregs_for_mode, at config/riscv/riscv-vector-costs.cc Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug tree-optimization/116820] [15 regression] RISC-V: ICE verify_ssa failed for c-c++-common/torture/pr101636.c since r15-3768-g4150bcd205e

2024-09-23 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116820 Edwin Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/116821] phiprop could be improved to handle PHI<&a, ssa_name>

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116821 --- Comment #2 from Andrew Pinski --- We do handle: ``` struct f { int i; }; int g(int i, int c, struct f *ff) { int *t; if (c) t = &i; else t = &ff->i; return *t; } ``` (from PR 21463), just because we have an ADDR_EXPR there.

[Bug tree-optimization/116821] phiprop could be improved to handle PHI<&a, ssa_name>

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116821 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug tree-optimization/116821] New: phiprop could be improved to handle PHI<&a, ssa_name>

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116821 Bug ID: 116821 Summary: phiprop could be improved to handle PHI<&a, ssa_name> Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enha

[Bug tree-optimization/116819] [15 Regression] ICE in vect_transform_stmt

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

[Bug tree-optimization/116819] [15 Regression] ICE in vect_transform_stmt

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116819 --- Comment #1 from Andrew Pinski --- Note this code is undefined: prephitmp_52 = _44 ? _17 : _16(D); This is due to lifetime of the temp being bound for the call to second call of c ends after the variable initialization and NOT extended aft

[Bug tree-optimization/116819] [15 Regression] ICE in vect_transform_stmt

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

[Bug c++/99571] ICE for NTTP with pointer to a field inside anonymous union/struct

2024-09-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99571 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug analyzer/106358] [meta-bug] tracker bug for building the Linux kernel with -fanalyzer

2024-09-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106358 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug tree-optimization/116820] [15 regression] RISC-V: ICE verify_ssa failed for c-c++-common/torture/pr101636.c since r15-3768-g4150bcd205e

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116820 --- Comment #2 from Andrew Pinski --- I tried to reproduce it on aarch64 but it works there even with all extra possible options: That is I tried: `-O1 -ftree-vectorize -fno-vect-cost-model -march=armv9-a+sve --param aarch64-autovec-preference=

[Bug tree-optimization/116820] [15 regression] RISC-V: ICE verify_ssa failed for c-c++-common/torture/pr101636.c since r15-3768-g4150bcd205e

2024-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116820 Andrew Pinski changed: What|Removed |Added Component|target |tree-optimization CC|

[Bug libstdc++/116754] libstdc++ std::ranges::copy performance issue

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116754 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f4fc6d2aa809d0c4b5b1825af17bed4a601a3d7f commit r14-10707-gf4fc6d2aa809d0c4b5b1825af17bed4a601a3d7f Author: Jonathan Wak

[Bug c++/116798] requires expression can have an explicit object parameter

2024-09-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116798 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/116798] requires expression can have an explicit object parameter

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116798 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:4700ad1c78ccd7767f846802fca148b2ea9a1852 commit r15-3812-g4700ad1c78ccd7767f846802fca148b2ea9a1852 Author: Marek Polacek Date: Mo

[Bug libstdc++/116529] Construction of unique_ptr with reference type is rejected because of auto_ptr constructor

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116529 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4d88724c2d804e126d63aed77fa8c2c333e99396 commit r14-10708-g4d88724c2d804e126d63aed77fa8c2c333e99396 Author: Jonathan Wa

[Bug libstdc++/116777] error: 'current_zone' is not a member of 'std::chrono' with -D_GLIBCXX_USE_CXX11_ABI=0

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116777 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:74f67ba3dcfd09209bed6265772d5fd9007ea605 commit r14-10706-g74f67ba3dcfd09209bed6265772d5fd9007ea605 Author: Jonathan Wa

[Bug libstdc++/81967] No overload std::basic_string::erase(__const_iterator, __const_iterator) for old ABI

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81967 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:74f67ba3dcfd09209bed6265772d5fd9007ea605 commit r14-10706-g74f67ba3dcfd09209bed6265772d5fd9007ea605 Author: Jonathan Wake

[Bug libstdc++/108619] Compilation error if the construct method of the allocator isn't implemented and the detructor of value_type is private

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108619 --- Comment #16 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1be3e4e43839d313364ffa99012ada41b4fae8da commit r14-10705-g1be3e4e43839d313364ffa99012ada41b4fae8da Author: Jonathan Wa

[Bug middle-end/116815] Make better use of overflow flags in codegen of min/max(a, add/sub(a, b))

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

[Bug c++/116789] Internal compiler error for non-type template parameter to alias template inside macro

2024-09-23 Thread aslobodkins at mail dot smu.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116789 --- Comment #10 from Slobodkins, Arkadijs --- (In reply to Andrew Pinski from comment #9) > . That's go(In reply to Andrew Pinski from comment #8) > (In reply to Andrew Pinski from comment #7) > > The important part is the type alias ali1. > >

[Bug target/116820] [15 regression] RISC-V: ICE verify_ssa failed for c-c++-common/torture/pr101636.c since r15-3768-g4150bcd205e

2024-09-23 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116820 Edwin Lu changed: What|Removed |Added Summary|[15 regression] RISC-V: ICE |[15 regression] RISC-V: ICE

[Bug target/116686] [15 Regression] RISC-V: gcc.target/riscv/rvv/autovec/pr114734.c failing with zvl1024b lmul2

2024-09-23 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116686 --- Comment #5 from Edwin Lu --- Created attachment 59183 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59183&action=edit tree output Here's the tree output

[Bug target/116686] [15 Regression] RISC-V: gcc.target/riscv/rvv/autovec/pr114734.c failing with zvl1024b lmul2

2024-09-23 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116686 --- Comment #4 from Edwin Lu --- Created attachment 59182 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59182&action=edit verbose output Here's the verbose output

[Bug target/116820] New: [15 regression] RISC-V: ICE verify_ssa failed for c-c++-common/torture/pr101636.c

2024-09-23 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116820 Bug ID: 116820 Summary: [15 regression] RISC-V: ICE verify_ssa failed for c-c++-common/torture/pr101636.c Product: gcc Version: 15.0 Status: UNCONFIRMED Severi

[Bug c++/116798] requires expression can have an explicit object parameter

2024-09-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116798 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/116798] requires expression can have an explicit object parameter

2024-09-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116798 Marek Polacek changed: What|Removed |Added Last reconfirmed||2024-09-23 Status|UNCONFIRM

[Bug target/116076] [15 Regression] 4.5% slowdown of 433.milc on AMD Zen4 since r15-2054-g1e3aa9c9278db6

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116076 Filip Kastl changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug tree-optimization/116819] New: [15 Regression] ICE in vect_transform_stmt

2024-09-23 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116819 Bug ID: 116819 Summary: [15 Regression] ICE in vect_transform_stmt Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug target/116799] [14/15 Regression] Miscompiled code on s390x at -O2 since r14-2675-gef28aadad6e

2024-09-23 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116799 --- Comment #5 from Stefan Schulze Frielinghaus --- It looks like we are increasing pat once too often, i.e., the loop body while (pat[0] == '*' && pat < pat_end - 1) pat++; is executed twice instead of only once. Prior loop2, IL

[Bug tree-optimization/116761] [15 Regression] 4-6% slowdown of 465.tonto on AMD Zen3/4 since r15-3509-gd34cda72098867

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116761 Filip Kastl changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/116760] [15 Regression] 6-11% slowdown of 416.gamess on AMD Zen3 and Zen4 since r15-3509-gd34cda72098867

2024-09-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116760 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-09-23 Assignee|unassign

[Bug target/113954] Finish LRA transition for arc by removing -mlra

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113954 --- Comment #7 from GCC Commits --- The master branch has been updated by Claudiu Zissulescu : https://gcc.gnu.org/g:ffd861c808f307c865659b556dd5a8c922bd6a51 commit r15-3798-gffd861c808f307c865659b556dd5a8c922bd6a51 Author: Claudiu Zissulescu

[Bug tree-optimization/116760] [15 Regression] 6-11% slowdown of 416.gamess on AMD Zen3 and Zen4 since r15-3509-gd34cda72098867

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116760 Filip Kastl changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Sum

[Bug tree-optimization/116817] [15 Regression] ICE on libajantv2-16.2: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250 since r15-3768-g4150bcd205ebb6

2024-09-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116817 --- Comment #5 from Tamar Christina --- Waiting for regression testing to finish and will submit. The condition used before to check for loop invariant is !internal_def. This of course fails when it's a reduction, which is what happened here.

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

2024-09-23 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116571 --- Comment #6 from Andrew Stubbs --- (In reply to Richard Biener from comment #5) > (In reply to Thomas Schwinge from comment #4) > > The GCN target FAILs that I originally had reported here: > > > > > [-PASS:-]{+FAIL:+} gcc.dg/vect/slp-11

[Bug target/111926] RISC-V: Use vsetvl insn replace csrr vlenb insn

2024-09-23 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111926 Jeffrey A. Law changed: What|Removed |Added Keywords||easyhack --- Comment #6 from Jeffrey A

[Bug tree-optimization/116818] gcc.target/aarch64/sve/strided_load_5.c fails since gcc-15-3735-g664e0ce580a8

2024-09-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116818 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/116740] [12/13/14/15 Regression] ICE: in set_identifier_type_value_with_scope, at cp/name-lookup.cc:5098

2024-09-23 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116740 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/101603] [meta-bug] pointer to member functions issues

2024-09-23 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 109790, which changed state. Bug 109790 Summary: [12/13/14/15 Regression] ICE while trying to mangle operators and their ptmf https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109790 What|Removed

[Bug c++/109790] [12/13/14/15 Regression] ICE while trying to mangle operators and their ptmf

2024-09-23 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109790 Simon Martin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/116818] New: gcc.target/aarch64/sve/strided_load_5.c fails since gcc-15-3735-g664e0ce580a8

2024-09-23 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116818 Bug ID: 116818 Summary: gcc.target/aarch64/sve/strided_load_5.c fails since gcc-15-3735-g664e0ce580a8 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug c++/100632] [12/13/14/15 Regression] ICE: Segmentation fault (in write_member_name) since r11-2237

2024-09-23 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100632 Simon Martin changed: What|Removed |Added Target Milestone|12.5|15.0 Status|ASSIGNED

[Bug c++/109790] [12/13/14/15 Regression] ICE while trying to mangle operators and their ptmf

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109790 --- Comment #10 from GCC Commits --- The master branch has been updated by Simon Martin : https://gcc.gnu.org/g:a030fcad4f9f490a08db0a4cad4c22635a0585c1 commit r15-3797-ga030fcad4f9f490a08db0a4cad4c22635a0585c1 Author: Simon Martin Date: Mo

[Bug c++/100632] [12/13/14/15 Regression] ICE: Segmentation fault (in write_member_name) since r11-2237

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100632 --- Comment #7 from GCC Commits --- The master branch has been updated by Simon Martin : https://gcc.gnu.org/g:a030fcad4f9f490a08db0a4cad4c22635a0585c1 commit r15-3797-ga030fcad4f9f490a08db0a4cad4c22635a0585c1 Author: Simon Martin Date: Mon

[Bug c++/116722] [12/13/14/15 Regression] ICE with constexpr template constructor and floating point value

2024-09-23 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116722 Simon Martin changed: What|Removed |Added Target Milestone|12.5|15.0 Resolution|---

[Bug c++/116722] [12/13/14/15 Regression] ICE with constexpr template constructor and floating point value

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116722 --- Comment #4 from GCC Commits --- The master branch has been updated by Simon Martin : https://gcc.gnu.org/g:d7bf5e53887a467b8c5c8439e5aae3ad4e11e62e commit r15-3796-gd7bf5e53887a467b8c5c8439e5aae3ad4e11e62e Author: Simon Martin Date: Wed

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

2024-09-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116571 --- Comment #5 from Richard Biener --- (In reply to Thomas Schwinge from comment #4) > The GCN target FAILs that I originally had reported here: > > > [-PASS:-]{+FAIL:+} gcc.dg/vect/slp-11a.c scan-tree-dump-times vect > > "vectorizing stmt

[Bug tree-optimization/116817] [15 Regression] ICE on libajantv2-16.2: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250 since r15-3768-g4150bcd205ebb6

2024-09-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116817 --- Comment #4 from Tamar Christina --- I see, I haven't checked that the value being compared is actually loop invariant. In this case it's a reduction value and it can't be lifted out of the loop. Basically in GCC 14 and earlier this was a

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

2024-09-23 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116571 --- Comment #4 from Thomas Schwinge --- The GCN target FAILs that I originally had reported here: > [-PASS:-]{+FAIL:+} gcc.dg/vect/slp-11a.c scan-tree-dump-times vect > "vectorizing stmts using SLP" [-0-]{+1+} > [-PASS:-]{+FAIL:+} gcc

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2024-09-23 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 116661, which changed state. Bug 116661 Summary: Undefined behavior when compiling interop-1.f90 gomp test https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116661 What|Removed |Added ---

[Bug fortran/116661] Undefined behavior when compiling interop-1.f90 gomp test

2024-09-23 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116661 Thomas Schwinge changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/115873] New test case gcc.dg/vect/slp-54.c fails

2024-09-23 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115873 Thomas Schwinge changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2024-09-23 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #310 from John Paul Adrian Glaubitz --- Hmm, I just realized I performed the tests without enabling LRA by default. I just noticed that because with LRA enabled, Ada actually fails with: /<>/build/./gcc/xgcc -B/<>/build/./gcc/ -B/usr

[Bug tree-optimization/116810] [15 Regression] tree-vect-slp.cc:3721:18: runtime error: insufficient space for an object of type 'bool'

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116810 --- Comment #3 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:2c04f175de4f3985d783511662375d52f2cf4ad8 commit r15-3794-g2c04f175de4f3985d783511662375d52f2cf4ad8 Author: Richard Biener Date:

[Bug tree-optimization/116810] [15 Regression] tree-vect-slp.cc:3721:18: runtime error: insufficient space for an object of type 'bool'

2024-09-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116810 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2024-09-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 116810, which changed state. Bug 116810 Summary: [15 Regression] tree-vect-slp.cc:3721:18: runtime error: insufficient space for an object of type 'bool' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116810 Wha

[Bug tree-optimization/116817] [15 Regression] ICE on libajantv2-16.2: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250 since r15-3768-g4150bcd205ebb6

2024-09-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116817 Tamar Christina changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug tree-optimization/116796] [15 regression] ICE on valid code at -O3 with "-fno-tree-dominator-opts -fno-tree-vrp -fno-tree-ch" on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-m

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116796 --- Comment #3 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e97c75d668bacd8a2e901b819e00156f6e9f4c6c commit r15-3793-ge97c75d668bacd8a2e901b819e00156f6e9f4c6c Author: Richard Biener Date:

[Bug tree-optimization/116796] [15 regression] ICE on valid code at -O3 with "-fno-tree-dominator-opts -fno-tree-vrp -fno-tree-ch" on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-m

2024-09-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116796 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/116812] [15 Regression] ICE on valid code at -O2 with "-fno-tree-dce -fno-tree-dse" on x86_64-linux-gnu: verify_flow_info failed

2024-09-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116812 Tamar Christina changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/116817] [15 Regression] ICE on libajantv2-16.2: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250

2024-09-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116817 Tamar Christina changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

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

2024-09-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #41 from Aldy Hernandez --- Created attachment 59181 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59181&action=edit unrtested patch sorting threadable paths The performance improvement with this patch is: ** mainline Time v

[Bug tree-optimization/116817] [15 Regression] ICE on libajantv2-16.2: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250

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

[Bug tree-optimization/116812] [15 Regression] ICE on valid code at -O2 with "-fno-tree-dce -fno-tree-dse" on x86_64-linux-gnu: verify_flow_info failed

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116812 --- Comment #4 from GCC Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:09892448ebd8c396a26b2c09ba71f1e5a8dc42d7 commit r15-3792-g09892448ebd8c396a26b2c09ba71f1e5a8dc42d7 Author: Tamar Christina Date:

[Bug tree-optimization/116791] [15 Regression] ICE in operator[], at vec.h:910 since r15-3735-g664e0ce580a8f2

2024-09-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116791 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/116817] [15 Regression] ICE on libajantv2-16.2: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250

2024-09-23 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116817 --- Comment #1 from Sergei Trofimovich --- Bisect landed on r15-3768-g4150bcd205ebb6 "middle-end: lower COND_EXPR into gimple form in vect_recog_bool_pattern"

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

2024-09-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #40 from Aldy Hernandez --- For the record, I still think adjust_paths_after_duplication() isn't giving us much for all the hassle it's causing. I compared the number of threaded paths with and without it and the difference is: * m

[Bug tree-optimization/116813] std::vector index check not optimized out with -O2

2024-09-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116813 --- Comment #2 from Jonathan Wakely --- (In reply to Sam James from comment #0) > Note that the std::vector -D_GLIBCXX_ASSERTIONS > wiring is new in trunk. Yes, since r15-1689-g8fd84bc009b307

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

2024-09-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #39 from Aldy Hernandez --- I'm going to step away from this PR for a few weeks so I'll do a brain dump on where I am, just in case someone wants to poke at it some more. This problem in adjust_paths_after_duplication() boils down t

[Bug tree-optimization/116817] New: [15 Regression] ICE on libajantv2-16.2: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250

2024-09-23 Thread slyfox at gcc dot gnu.org via Gcc-bugs
sanitizer --disable-libstdcxx-pch --enable-languages=c,c++ --disable-libgomp --disable-libquadmath --disable-libvtv CFLAGS='-O1 -g0' CXXFLAGS='-O1 -g0' LDFLAGS='-O1 -g0' Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240923 (experimental) (GCC)

[Bug tree-optimization/116795] [15 regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_ssa failed since r15-3708-g2545a1abb77bd6

2024-09-23 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116795 Li Pan changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #10 from Li Pan --- Thanks

[Bug target/116309] ICE unrecognizable insn while compiling pr111821.c for s390

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116309 --- Comment #1 from Filip Kastl --- This ICE no longer occurs. If no one objects, I'll close this PR.

[Bug tree-optimization/116791] [15 Regression] ICE in operator[], at vec.h:910 since r15-3735-g664e0ce580a8f2

2024-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116791 --- Comment #10 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:723f7b6db841c1a101a2f5b3b6273d8449dae39e commit r15-3791-g723f7b6db841c1a101a2f5b3b6273d8449dae39e Author: Richard Biener Date:

[Bug target/115966] [15 Regression] Miscompilation of 403.gcc with -Ofast -march=native on x86_64

2024-09-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115966 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #6 fr

[Bug target/115966] [15 Regression] Miscompilation of 403.gcc with -Ofast -march=native on x86_64

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115966 --- Comment #5 from Filip Kastl --- This miscompilation no longer happens. If no one objects, I'll close this PR.

[Bug fortran/116669] compiler crash on circular derived type component definition

2024-09-23 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116669 Andre Vehreschild changed: What|Removed |Added CC||vehre at gcc dot gnu.org Last rec

  1   2   >