[Bug libstdc++/119282] views::transform producing ranges piped to views::join | ranges::to() fails to compile in constant evaluation.

2025-03-14 Thread email at miropalmu dot cc via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119282 --- Comment #1 from Miro Palmu --- Following will compile on gcc 14.2 but not on 15.0.1 20250314. It compiles on Clang using either libc++ or libstdc++. https://godbolt.org/z/GsneqbaWe ``` #include #include #include namespace rv = std

[Bug cobol/119283] New: cobol FE uses memrchr unconditionally.

2025-03-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119283 Bug ID: 119283 Summary: cobol FE uses memrchr unconditionally. Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3

[Bug middle-end/119279] Specifying frame pointer dependency in inline asm

2025-03-14 Thread torvalds--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119279 --- Comment #6 from Linus Torvalds --- (In reply to Jakub Jelinek from comment #5) > Call instructions are normally valid anywhere in the function, including > prologue and epilogue, even with frame pointers. Sure, the call instruction actually

[Bug c++/119284] New: Overload resolution selects wrong overload with `std::invocable` concept and `auto &` in lambda parameter

2025-03-14 Thread liss.heidrich--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119284 Bug ID: 119284 Summary: Overload resolution selects wrong overload with `std::invocable` concept and `auto &` in lambda parameter Product: gcc Version: 14.2.1

[Bug tree-optimization/119274] [15 Regression] False positive array-bounds warning

2025-03-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119274 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug cobol/119241] cobol Front end uses host floating point (128b) support

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119241 --- Comment #4 from Jakub Jelinek --- Iain mentioned the COBOL FE using fmodf128, that can perhaps be done using fold_const_call (CFN_BUILT_IN_FMODF128, float128_type_node, real_cst1, real_cst2) Note, all of this is assuming you want to do const

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #10 from Jakub Jelinek --- So, I've made an experiment --- gcc/combine.cc.jj 2025-03-04 09:45:50.620584561 +0100 +++ gcc/combine.cc 2025-03-14 10:57:29.164681115 +0100 @@ -4204,7 +4204,8 @@ try_combine (rtx_insn *i3, rtx_insn

[Bug tree-optimization/119287] [15 regression] ICE when building linux-6.12.19 (error: type mismatch in binary expression)

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119287 --- Comment #1 from Sam James --- `gcc xhci-hub.i -O2 -c -fno-strict-overflow`` ``` unsigned a; int b; char c, d; void e() { c = a >> 14 & 1; for (; d;) c = 1; b = c << 14; } ```

[Bug tree-optimization/119287] [15 regression] ICE when building linux-6.12.19 (error: type mismatch in binary expression) since r15-8025

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119287 Jakub Jelinek changed: What|Removed |Added Summary|[15 regression] ICE when|[15 regression] ICE when

[Bug tree-optimization/119287] [15 regression] ICE when building linux-6.12.19 (error: type mismatch in binary expression) since r15-8025

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119287 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2025-03-14 Status|UNCONFIRM

[Bug target/114978] [14/15 regression] 548.exchange2_r 14%-28% regressions on Loongarch64 after gcc 14 snapshot 20240317

2025-03-14 Thread chz0808 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978 --- Comment #27 from Chen Chen --- I am a bit confused with your statement. For AOSC gcc 13.2 I got 8.52 with parameters "-g -Ofast -march=la464 -flto", and 8.76 with parameters "-g -Ofast -march=la464". These results are similar to yours. For

[Bug tree-optimization/119287] [15 regression] ICE when building linux-6.12.19 (error: type mismatch in binary expression) since r15-8025

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119287 --- Comment #3 from Jakub Jelinek --- tree_nop_conversion_p certainly doesn't imply the two types are compatible types. So, I think we should go with --- gcc/match.pd.jj 2025-03-13 14:05:09.689017389 +0100 +++ gcc/match.pd2025-03-14

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #12 from rguenther at suse dot de --- On Fri, 14 Mar 2025, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 > > --- Comment #10 from Jakub Jelinek --- > So, I've made an experiment > --- gcc/co

[Bug tree-optimization/119287] [15 regression] ICE when building linux-6.12.19 (error: type mismatch in binary expression) since r15-8025

2025-03-14 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119287 --- Comment #4 from Richard Sandiford --- (In reply to Jakub Jelinek from comment #3) > tree_nop_conversion_p certainly doesn't imply the two types are compatible > types. > So, I think we should go with > --- gcc/match.pd.jj 2025-03-13 14:05:

[Bug target/119269] [15 Regression] 6-22% slowdown of 433.milc on Aarch64

2025-03-14 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119269 Filip Kastl changed: What|Removed |Added Status|SUSPENDED |RESOLVED Resolution|---

[Bug libstdc++/119282] views::transform producing ranges piped to views::join | ranges::to() fails to compile in constant evaluation.

2025-03-14 Thread email at miropalmu dot cc via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119282 --- Comment #2 from Miro Palmu --- Adding rn::to() between rv::transform and rv::join makes it compile. (I forgot --version flag to gcc trunk in above Compiler Explorer link.)

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2025-03-14 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 119269, which changed state. Bug 119269 Summary: [15 Regression] 6-22% slowdown of 433.milc on Aarch64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119269 What|Removed |Added ---

[Bug tree-optimization/119274] [15 Regression] False positive array-bounds warning

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119274 --- Comment #8 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:6470b4d749a0b9896b985858ee6eae095cd8a37a commit r15-8050-g6470b4d749a0b9896b985858ee6eae095cd8a37a Author: Richard Biener Date:

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2025-03-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 119274, which changed state. Bug 119274 Summary: [15 Regression] False positive array-bounds warning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119274 What|Removed |Added -

[Bug tree-optimization/119274] [15 Regression] False positive array-bounds warning

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

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #11 from Jakub Jelinek --- Looking at df-scan.cc (df_recompute_luids), it uses INSN_P to determine what should have luid assigned and so includes DEBUG_INSNs. So DF_INSN_LUID difference can't be used for code generation, we'd need to

[Bug tree-optimization/119287] [15 regression] ICE when building linux-6.12.19 (error: type mismatch in binary expression) since r15-8025

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119287 --- Comment #5 from Jakub Jelinek --- Yes, I'll test it now together with the testcase.

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #13 from rguenther at suse dot de --- On Fri, 14 Mar 2025, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 > > --- Comment #11 from Jakub Jelinek --- > Looking at df-scan.cc (df_recompute_luid

[Bug middle-end/119279] Specifying frame pointer dependency in inline asm

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119279 --- Comment #5 from Jakub Jelinek --- Call instructions are normally valid anywhere in the function, including prologue and epilogue, even with frame pointers. E.g. for void bar (char *); void foo (void) { char a[1024]; bar (a); bar (a); }

[Bug middle-end/119279] Specifying frame pointer dependency in inline asm

2025-03-14 Thread torvalds--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119279 --- Comment #4 from Linus Torvalds --- (In reply to Richard Biener from comment #3) > I think > > asm ("" : : "g" (__builtin_frame_address_(0))) > > and using that input as frame pointer looks spot-on semantically, is that > what you are actua

[Bug middle-end/119279] Specifying frame pointer dependency in inline asm

2025-03-14 Thread peterz at infradead dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119279 --- Comment #8 from peterz at infradead dot org --- On Fri, Mar 14, 2025 at 08:44:19AM +, torva...@linux-foundation.org wrote: > Now, I agree that the kernel could likely solve issues by just "don't check so > much, then". But our build-time

[Bug middle-end/119279] Specifying frame pointer dependency in inline asm

2025-03-14 Thread peterz at infradead dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119279 --- Comment #10 from peterz at infradead dot org --- On Fri, Mar 14, 2025 at 09:41:07AM +, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119279 > > --- Comment #9 from Jakub Jelinek --- > (In reply to peterz

[Bug cobol/119241] cobol Front end uses host floating point (128b) support

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119241 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug middle-end/119279] Specifying frame pointer dependency in inline asm

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119279 --- Comment #9 from Jakub Jelinek --- (In reply to peterz from comment #8) > There is the additional constraint that as long as the frame pointer > unwinder does not have to guess, it is assumed to be 100% correct. > > By having calls before fr

[Bug middle-end/119279] Specifying frame pointer dependency in inline asm

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119279 --- Comment #7 from Jakub Jelinek --- In any case, I agree with Richi that __builtin_frame_address_(0) is the right thing, even when the inline asm doesn't use itself %rbp, the dependency on %rbp is what is needed in the compiler so that post-pr

[Bug cobol/119283] cobol FE uses memrchr unconditionally.

2025-03-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119283 Iain Sandoe changed: What|Removed |Added Last reconfirmed||2025-03-14 Status|UNCONFIRMED

[Bug rtl-optimization/119285] New: [15 Regression] 5% slowdown of 519.lbm_r on Zen2 and Zen4 since r15-7932-ge355fe414aa3aa

2025-03-14 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119285 Bug ID: 119285 Summary: [15 Regression] 5% slowdown of 519.lbm_r on Zen2 and Zen4 since r15-7932-ge355fe414aa3aa Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug rtl-optimization/119285] [15 Regression] 5% slowdown of 519.lbm_r on Zen2 and Zen4 since r15-7932-ge355fe414aa3aa

2025-03-14 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119285 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/119155] Aligned vector element accesses emitted for packed struct access

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119155 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:adb14c7625178b501389c2d7d7c2feec37da7a19 commit r15-8047-gadb14c7625178b501389c2d7d7c2feec37da7a19 Author: Richard Biener Date:

[Bug tree-optimization/119155] [12/13/14 Regression] Aligned vector element accesses emitted for packed struct access

2025-03-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119155 Richard Biener changed: What|Removed |Added Summary|Aligned vector element |[12/13/14 Regression]

[Bug cobol/119214] debug volatile asm breaks assembling

2025-03-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214 --- Comment #15 from Richard Biener --- (In reply to Robert Dubner from comment #14) > (In reply to Richard Biener from comment #13) > > (In reply to Robert Dubner from comment #7) > > > > Yes. IMO the least invasive way is to instead use labe

[Bug analyzer/119278] [15 Regression] ICE on gnutls-3.8.9: in cmp_csts_same_type, at analyzer/svalue.cc:466 since r15-8016-g8015a72ae49640

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

[Bug cobol/119281] New: libgcobol install fails when --enable-version-specific-runtime-libs

2025-03-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119281 Bug ID: 119281 Summary: libgcobol install fails when --enable-version-specific-runtime-libs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug cobol/119281] libgcobol install fails when --enable-version-specific-runtime-libs

2025-03-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119281 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-03-14 Ever confirmed|0

[Bug fortran/119288] New: [OpenMP] declare variant - adjust_args only detects invalid use when invoked

2025-03-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119288 Bug ID: 119288 Summary: [OpenMP] declare variant - adjust_args only detects invalid use when invoked Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: a

[Bug target/118959] [15 Regression] 5-14% slowdown of 400.perlbench since r15-7400-gd3ff498c478ace

2025-03-14 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118959 --- Comment #10 from Filip Kastl --- Ok, so these two benchmark configurations are back to their original speed: https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=465.10.0 https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=993.10.0

[Bug analyzer/119278] [15 Regression] ICE on gnutls-3.8.9: in cmp_csts_same_type, at analyzer/svalue.cc:466 since r15-8016-g8015a72ae49640

2025-03-14 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119278 --- Comment #5 from Sergei Trofimovich --- The proposed change fixes gnutls-3.8.9 build for me. Thank you!

[Bug analyzer/119278] [15 Regression] ICE on gnutls-3.8.9: in cmp_csts_same_type, at analyzer/svalue.cc:466 since r15-8016-g8015a72ae49640

2025-03-14 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119278 --- Comment #4 from Sergei Trofimovich --- The proposed change fixes gnutls-3.8.9 build for me. Thank you!

[Bug target/118959] [15 Regression] 5-14% slowdown of 400.perlbench since r15-7400-gd3ff498c478ace

2025-03-14 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118959 --- Comment #11 from Filip Kastl --- And btw there is also this slowdown https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=1101.10.0 which is 20%! But I didn't manage to replicate this on another Zen4 machine. So it probably doesn't m

[Bug target/92713] ICE in libsupc++ building an offload compiler targeting amdgcn-unknown-amdhsa

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92713 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:c650b557cb01f97bebb894aa68e5e74c2147c395 commit r15-8053-gc650b557cb01f97bebb894aa68e5e74c2147c395 Author: Thomas Schwinge Date:

[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544 --- Comment #20 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:c650b557cb01f97bebb894aa68e5e74c2147c395 commit r15-8053-gc650b557cb01f97bebb894aa68e5e74c2147c395 Author: Thomas Schwinge Date:

[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544 --- Comment #19 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:1268924a2eed4e4f4cf1f43cc996b2f0eedeb07e commit r15-8052-g1268924a2eed4e4f4cf1f43cc996b2f0eedeb07e Author: Thomas Schwinge Date:

[Bug cobol/119214] debug volatile asm breaks assembling

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214 --- Comment #17 from Jakub Jelinek --- Note, * gengen.cc: applies if( !optimize ) test is not properly formatted ChangeLog entry, unfortunately it got through pre-commit hooks. For next time, I think Richard provided what should have bee

[Bug analyzer/119278] [15 Regression] ICE on gnutls-3.8.9: in cmp_csts_same_type, at analyzer/svalue.cc:466 since r15-8016-g8015a72ae49640

2025-03-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119278 --- Comment #6 from David Malcolm --- Thanks Jakub, the attachment looks good to me. Sorry about the breakage.

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #16 from Jakub Jelinek --- Tamar's explanation why #c0 gcc 14 code is better than gcc 15: "the mov is a zero latency instruction. sxtw, asr and sbfx themselves are aliases to the same thing"

[Bug target/92713] ICE in libsupc++ building an offload compiler targeting amdgcn-unknown-amdhsa

2025-03-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92713 Thomas Schwinge changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

2025-03-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544 Bug 101544 depends on bug 92713, which changed state. Bug 92713 Summary: ICE in libsupc++ building an offload compiler targeting amdgcn-unknown-amdhsa https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92713 What|Removed

[Bug analyzer/119278] [15 Regression] ICE on gnutls-3.8.9: in cmp_csts_same_type, at analyzer/svalue.cc:466 since r15-8016-g8015a72ae49640

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119278 --- Comment #7 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7f476ee30bab3976eefc3226481e617add83401a commit r15-8058-g7f476ee30bab3976eefc3226481e617add83401a Author: Jakub Jelinek Date: F

[Bug tree-optimization/119287] [15 regression] ICE when building linux-6.12.19 (error: type mismatch in binary expression) since r15-8025

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119287 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ab0133cdba5dbcc29655593377e80586f7080472 commit r15-8060-gab0133cdba5dbcc29655593377e80586f7080472 Author: Jakub Jelinek Date: F

[Bug tree-optimization/119287] [15 regression] ICE when building linux-6.12.19 (error: type mismatch in binary expression) since r15-8025

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119287 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug analyzer/119278] [15 Regression] ICE on gnutls-3.8.9: in cmp_csts_same_type, at analyzer/svalue.cc:466 since r15-8016-g8015a72ae49640

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119278 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug web/119227] Does the generated HTML for cobol get installed to the website?

2025-03-14 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119227 --- Comment #7 from Mark Wielaard --- (In reply to David Malcolm from comment #6) > Sorry if this comes across as blunt, but pushing changes and waiting for a > cronjob to run (in production) seems very 1990s. > > Is there some automated way to

[Bug c++/119284] Overload resolution selects wrong overload with `std::invocable` concept and `auto &` in lambda parameter

2025-03-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119284 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug cobol/119211] [15 Regression] Cobol GCC 15 release checklist

2025-03-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119211 Bug 119211 depends on bug 119281, which changed state. Bug 119281 Summary: libgcobol install fails when --enable-version-specific-runtime-libs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119281 What|Removed |

[Bug libstdc++/119289] New: Incorrect behavior of std::filesystem::copy() with none options and the destination link to non-existent file

2025-03-14 Thread parkjuny at kaist dot ac.kr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119289 Bug ID: 119289 Summary: Incorrect behavior of std::filesystem::copy() with none options and the destination link to non-existent file Product: gcc Version: 14.2.

[Bug cobol/119290] cobol testsuite should disable non-64-bit multilibs

2025-03-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119290 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

2025-03-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544 --- Comment #21 from Thomas Schwinge --- (Note that wiring GCN, nvptx libstdc++ up for OpenACC, OpenMP offloading use is still to be done.)

[Bug libstdc++/119289] Incorrect behavior of std::filesystem::copy() with none options and the destination link to non-existent file

2025-03-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119289 --- Comment #1 from Jonathan Wakely --- Your test would be a lot simpler if you just use filesystem::copy_file and skip all the filesystem::copy logic that ends up with a call to copy_file. #include #include int main() { std::ofstream("sr

[Bug cobol/119214] debug volatile asm breaks assembling

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214 --- Comment #19 from Sam James --- (In reply to Robert Dubner from comment #18) > I don't understand why the "The creation of assembler labels..." is going to > become part of the ChangeLog. That text is above the line with the > gcc/cobol: des

[Bug libstdc++/111138] views::zip_transform is underconstrained for empty range pack

2025-03-14 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38 Tomasz KamiƄski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/119291] [13/14/15 regression] wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu

2025-03-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119291 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug tree-optimization/105616] Using regex_replace throws "maybe-uninitialized" warnings with -fsanitize=address

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105616 --- Comment #7 from Sam James --- Note that we don't recommend use of -Werror with sanitizers in the documentation.

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #18 from Richard Sandiford --- Created attachment 60754 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60754&action=edit Proof of concept patch with hard-coded limit I'd been reluctant to get involved in this for fear of creat

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #21 from Jakub Jelinek --- Created attachment 60755 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60755&action=edit gcc15-pr116398.patch My version of the patch (with punting only when the real uid distance is larger or equal

[Bug cobol/119290] cobol testsuite should disable non-64-bit multilibs

2025-03-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119290 Rainer Orth changed: What|Removed |Added Target Milestone|--- |15.0

[Bug c++/119284] Overload resolution selects wrong overload with `std::invocable` concept and `auto &` in lambda parameter

2025-03-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119284 --- Comment #1 from Jonathan Wakely --- GCC is correct to reject this code. In order to test whether the lambda is invocable it needs to be instantiated, which triggers an error in the lambda body. That is outside the immediate context of the c

[Bug cobol/119281] libgcobol install fails when --enable-version-specific-runtime-libs

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

[Bug c++/119284] Overload resolution selects wrong overload with `std::invocable` concept and `auto &` in lambda parameter

2025-03-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119284 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > N.B. the error didn't happen because the wrong overload was selection, Oops, that should say "was selected"

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #18 from Sam James --- (In reply to Levi Zim from comment #17) > (In reply to Sam James from comment #16) > > (In reply to Levi Zim from comment #15) > > > > As long as the flag is passed correctly and applied to both the stage2 + >

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #15 from Jakub Jelinek --- In this particular case it is a combination of one insn into another one which produces a combined latter insn which doesn't need the former and the former only needed because it has another use. And, if th

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 Robin Dapp changed: What|Removed |Added CC||rdapp at gcc dot gnu.org --- Comment #17 f

[Bug target/114978] [14/15 regression] 548.exchange2_r 14%-28% regressions on Loongarch64 after gcc 14 snapshot 20240317

2025-03-14 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978 --- Comment #29 from Xi Ruoyao --- For 15 r15-7525 is intended for this issue. But I don't know if it's a good idea to backport it, as it's only a workaround, not a proper fix. Could someone try the diff in PR 115842 comment 6 (one time just o

[Bug target/119286] New: [15 Regression] GCN vs. "middle-end: delay checking for alignment to load [PR118464]"

2025-03-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119286 Bug ID: 119286 Summary: [15 Regression] GCN vs. "middle-end: delay checking for alignment to load [PR118464]" Product: gcc Version: 15.0 Status: UNCONFIRMED Ke

[Bug analyzer/119278] [15 Regression] ICE on gnutls-3.8.9: in cmp_csts_same_type, at analyzer/svalue.cc:466 since r15-8016-g8015a72ae49640

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119278 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug target/119286] [15 Regression] GCN vs. "middle-end: delay checking for alignment to load [PR118464]"

2025-03-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119286 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug cobol/119283] cobol FE uses memrchr unconditionally.

2025-03-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119283 --- Comment #1 from Richard Biener --- I wonder if it could just use strrchr as fallback?

[Bug libstdc++/119282] [15 Regression] views::transform producing ranges piped to views::join | ranges::to() fails to compile in constant evaluation.

2025-03-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119282 Richard Biener changed: What|Removed |Added Summary|views::transform producing |[15 Regression] |ran

[Bug tree-optimization/119294] Could improve vector formation when generated using a loop (vector char)

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119294 --- Comment #6 from Andrew Pinski --- so we have `memset(&vector_char, x, sizeof(vector_char))` A simple patch to gimple_fold_builtin_memset: if (TREE_CODE (etype) == VECTOR_TYPE) And that will fix it.

[Bug ipa/119292] code deduplication in case of throw (improvement)

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119292 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-03-14 Component|c++

[Bug c++/119292] code deduplication in case of throw (improvement)

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119292 --- Comment #1 from Andrew Pinski --- Created attachment 60761 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60761&action=edit better example For x86_64 since -freorder-blocks-and-partition is turned on by default, the throw part will go

[Bug rtl-optimization/119285] [15 Regression] 5% slowdown of 519.lbm_r on Zen2 and Zen4 since r15-7932-ge355fe414aa3aa

2025-03-14 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119285 --- Comment #1 from Vladimir Makarov --- I can not reproduce it on Intel (13600K). GCC with patch and without the patch has the same score for lbm_s (11.4). But I see big lbm_s code increase with the patch (+0.87%). And this is suspenseful.

[Bug libstdc++/119289] Incorrect behavior of std::filesystem::copy() with none options and the destination link to non-existent file

2025-03-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119289 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/119266] libstdc++.modules.json has wrong path

2025-03-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119266 --- Comment #12 from Jason Merrill --- So if toolexeclibdir is /usr/lib64, how is modules.json ending up in /usr/lib/gcc/x86_64-pc-linux-gnu/15/? It's supposed to be in toolexeclibdir.

[Bug libstdc++/119266] libstdc++.modules.json has wrong path

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119266 --- Comment #13 from Sam James --- I'll investigate over the weekend.

[Bug libstdc++/119266] libstdc++.modules.json has wrong path

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119266 --- Comment #14 from Jakub Jelinek --- (In reply to Sam James from comment #1) > As pointed out in the CMake bug, Fedora is doing > https://src.fedoraproject.org/rpms/gcc/c/ > 46a6d807645871b4d243ef2be35f9677bd4d68cb?branch=rawhide but I don't k

[Bug target/114978] [14/15 regression] 548.exchange2_r 14%-28% regressions on Loongarch64 after gcc 14 snapshot 20240317

2025-03-14 Thread tianyang.chou at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978 --- Comment #30 from Tianyang Chou --- (In reply to Chen Chen from comment #27) > I am a bit confused with your statement. For AOSC gcc 13.2 I got 8.52 with > parameters "-g -Ofast -march=la464 -flto", and 8.76 with parameters "-g > -Ofast -marc

<    1   2