[Bug libstdc++/119506] New: : \cA matches wrong byte

2025-03-27 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119506 Bug ID: 119506 Summary: : \cA matches wrong byte Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug libstdc++/119505] New: : Undefined backreferences should match empty string

2025-03-27 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119505 Bug ID: 119505 Summary: : Undefined backreferences should match empty string Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Prior

[Bug modula2/119504] ICE when attempting to access an element of a constant string

2025-03-27 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119504 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug modula2/119504] New: ICE when attempting to access an element of a constant string

2025-03-27 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119504 Bug ID: 119504 Summary: ICE when attempting to access an element of a constant string Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104255] parsing function signature fails when it uses a function parameter outside of an unevaluated context

2025-03-27 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104255 --- Comment #11 from qingzhe huang --- https://www.doubao.com/thread/a21ec011ef239 获取Outlook for Android From: pinskia at gcc dot gnu.org Sent: Friday, March 28, 2025 8:36:46 AM To: nick

[Bug c++/119503] Error on decltype of lambda expression in variadic NTTP

2025-03-27 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119503 eczbek.void at gmail dot com changed: What|Removed |Added Resolution|--- |INVALID Statu

[Bug libfortran/119502] Runtime segfault when closing invalid unit

2025-03-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119502 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Commen

[Bug tree-optimization/119493] [12/13/14/15 Regression] missing tail call to self with struct in some cases

2025-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119493 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > (In reply to Andrew Pinski from comment #7) > > Created attachment 60904 [details] > > the musttail patch for GCC 15 > > This one didn't work for LTO. Back to t

[Bug testsuite/116163] RFE: add a linting tool for DejaGnu tests

2025-03-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116163 David Malcolm changed: What|Removed |Added Status|WAITING |NEW --- Comment #19 from David Malcolm

[Bug c++/108080] ICE: in module.cc:core_vals with -fmodule-header and #pragma GCC target / optimize (shows up in fmt)

2025-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108080 Andrew Pinski changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #1

[Bug c++/119499] [15 Regression] g++.dg/modules/gmf-xtreme.C fails on aarch64 and arm

2025-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119499 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > (In reply to Jason Merrill from comment #1) > > I'm not seeing this failure on cfarm426 at r15-8989-g2af32814cf2ba3 > > > > PASS: g++.dg/modules/gmf-xtreme.C -s

[Bug c++/119499] [15 Regression] g++.dg/modules/gmf-xtreme.C fails on aarch64 and arm

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

[Bug c++/119499] [15 Regression] g++.dg/modules/gmf-xtreme.C fails on aarch64 and arm

2025-03-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119499 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #1

[Bug libgcc/119151] [13/14 Regression] unwind-dw2-btree maintains separators wrong

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119151 --- Comment #16 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7fc02fc0150e6b1ddbac68d42db809522124a48b commit r14-11465-g7fc02fc0150e6b1ddbac68d42db809522124a48b Author: Jakub Jelinek

[Bug testsuite/116163] RFE: add a linting tool for DejaGnu tests

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116163 --- Comment #18 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:8d6de758cca6d16eb930ac1a7008ee54ec5489d9 commit r15-8992-g8d6de758cca6d16eb930ac1a7008ee54ec5489d9 Author: David Malcolm Date:

[Bug c++/119150] [14 Regression] Optimization causes function call arguments to consteval functions to not be manifestly constant-evaluated since r14-4140

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119150 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:13fd7c971fb573b2f1721c3684b34a65133b7085 commit r14-11469-g13fd7c971fb573b2f1721c3684b34a65133b7085 Author: Jakub Jelinek

[Bug target/119450] [14 Regression] Crash at -O3: during RTL pass: peephole2 since r14-4928

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119450 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4b364531057c973795dc15d75132fb6c2ea6219b commit r14-11471-g4b364531057c973795dc15d75132fb6c2ea6219b Author: Jakub Jelinek

[Bug middle-end/119204] Internal Compiler Error (“verify_gimple” failed) when compiling code with the wrong return type on strcspn

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119204 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4164c2542952d82e7cdb06d28c8707ac131b5644 commit r14-11468-g4164c2542952d82e7cdb06d28c8707ac131b5644 Author: Jakub Jelinek

[Bug middle-end/119219] [15 Regression] ICE on c-c++-common/attr-nonstring-14.c

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119219 --- Comment #11 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4164c2542952d82e7cdb06d28c8707ac131b5644 commit r14-11468-g4164c2542952d82e7cdb06d28c8707ac131b5644 Author: Jakub Jelinek

[Bug tree-optimization/118953] [14 regression] Miscompile at -O2 since r14-2473-g602e824eec30a7

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118953 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:375cc5fb9192c433c0f516c9e99786b92d2e9f95 commit r14-11463-g375cc5fb9192c433c0f516c9e99786b92d2e9f95 Author: Jakub Jelinek

[Bug tree-optimization/119417] [14 Regression] wrong code with `-O2`, uses uxtw instead of uxth causing different result on ADD instruction since r14-8680-g2f14c0dbb78985

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119417 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6c7c25c282642565b23da21cab7e313e78744ab5 commit r14-11472-g6c7c25c282642565b23da21cab7e313e78744ab5 Author: Jakub Jelinek

[Bug c/119183] [12/13/14 Regression] Compilation takes a long time on semi big inner expression

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119183 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c6b38a75fc811f87b1beae1d95b86f613352e3da commit r14-11466-gc6b38a75fc811f87b1beae1d95b86f613352e3da Author: Jakub Jelinek

[Bug middle-end/119204] Internal Compiler Error (“verify_gimple” failed) when compiling code with the wrong return type on strcspn

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119204 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:01f20dec2d9ef22b2744a059c75b962d14de4303 commit r14-11467-g01f20dec2d9ef22b2744a059c75b962d14de4303 Author: Richard Biener

[Bug c++/119123] [12/13/14/15 Regression] ICE when building llvm-20.1.0 with -g

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119123 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5bb53795e8706c5e229042acdd16d14ebab1bb11 commit r14-11464-g5bb53795e8706c5e229042acdd16d14ebab1bb11 Author: Jakub Jelinek

[Bug c/114870] [13/14 Regression] stddef.h problem with -Wsystem-headers and -std=gnu23 (which is the default since GCC 15)

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114870 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a266e7354bdae713f73c9f356bb15a387fd4d1b4 commit r14-11460-ga266e7354bdae713f73c9f356bb15a387fd4d1b4 Author: Jakub Jelinek

[Bug c++/98533] [12/13/14 Regression] ICE when building actiona with -g ('verify_type' failed) with lambda as default (method) argument in a template member function

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98533 --- Comment #20 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5bb53795e8706c5e229042acdd16d14ebab1bb11 commit r14-11464-g5bb53795e8706c5e229042acdd16d14ebab1bb11 Author: Jakub Jelinek

[Bug c++/119045] ICE when using _Complex accessors, in cxx_eval_store_expression, at cp/constexpr.cc:6418

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119045 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ab908fdb911d6a337cd02b6018bc74b3a2f99acf commit r14-11461-gab908fdb911d6a337cd02b6018bc74b3a2f99acf Author: Jakub Jelinek

[Bug middle-end/115871] [14 Regression] ICE with declare simd since r14-5057

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115871 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:fc39a29f75cb181dcefaebf4489303847ae4fe9d commit r14-11462-gfc39a29f75cb181dcefaebf4489303847ae4fe9d Author: Jakub Jelinek

[Bug c/119000] [OpenMP] Function parameter incorrectly reported as set but not used.

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119000 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f14094177725948569e54026b57d5f6dd371e80a commit r14-11459-gf14094177725948569e54026b57d5f6dd371e80a Author: Jakub Jelinek

[Bug tree-optimization/118915] [12/13/14 Regression] Miscompile at -O2 since r5-4218-g73049af5fa62c7

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118915 --- Comment #11 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0a3a15cd1c00746f1d4154ea1567f0fd33a2d961 commit r14-11458-g0a3a15cd1c00746f1d4154ea1567f0fd33a2d961 Author: Jakub Jelinek

[Bug target/117642] [12/13/14 Regression] __sync_lock_release() on 128bit integer does not behave according to documentation

2025-03-27 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117642 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org --

[Bug tree-optimization/119493] [12/13/14/15 Regression] missing tail call to self with struct in some cases

2025-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119493 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > Created attachment 60904 [details] > the musttail patch for GCC 15 This one didn't work for LTO. Back to the board.

[Bug target/118518] gcc 14.2.1 nvptx cross compiler complains about alias definitions in a struct with two constructors that are not aliases

2025-03-27 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118518 --- Comment #14 from Benjamin Schulz --- By the way, the numbers are for simple tests and are correct, as for that segfault in the last test, this may have been an error owned by me. But I don't know yet, I guess I must look at my old code agai

[Bug target/118518] gcc 14.2.1 nvptx cross compiler complains about alias definitions in a struct with two constructors that are not aliases

2025-03-27 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118518 --- Comment #13 from Benjamin Schulz --- Hi many thanks for the effort. Sorry for the late reply. In desperation, by now I have tried to switch my code to openmp entirely and compile it with clang... But openacc has more parallelization levels (

[Bug c++/119503] New: Error on decltype of lambda expression in variadic NTTP

2025-03-27 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119503 Bug ID: 119503 Summary: Error on decltype of lambda expression in variadic NTTP Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prior

[Bug libfortran/119502] New: Runtime segfault when closing invalid unit

2025-03-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119502 Bug ID: 119502 Summary: Runtime segfault when closing invalid unit Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfo

[Bug c++/119499] [15 Regression] g++.dg/modules/gmf-xtreme.C fails on aarch64 and arm

2025-03-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119499 Patrick Palka changed: What|Removed |Added Keywords||testsuite-fail Target Milestone|---

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

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 110242, which changed state. Bug 110242 Summary: ICE on valid (decltype with lambda) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110242 What|Removed |Added ---

[Bug c++/110242] ICE on valid (decltype with lambda)

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110242 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug libstdc++/119501] New: std::ranges::copy_n advances InputIterator one more time than necessary

2025-03-27 Thread felip_assis at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119501 Bug ID: 119501 Summary: std::ranges::copy_n advances InputIterator one more time than necessary Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: norm

[Bug c++/116960] ICE: Error reporting routines re-entered

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

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

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 118672, which changed state. Bug 118672 Summary: ICE on template lambda expression return a lambda type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118672 What|Removed |Added

[Bug c++/116960] ICE: Error reporting routines re-entered

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960 Marek Polacek changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comment

[Bug c++/118672] ICE on template lambda expression return a lambda type

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118672 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNED

[Bug c++/116960] ICE: Error reporting routines re-entered

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960 Marek Polacek changed: What|Removed |Added CC||stevenxia990430 at gmail dot com --- C

[Bug c++/118672] ICE on template lambda expression return a lambda type

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118672 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/118167] Loop invariant is not deduced in C++-iterator-style loop over pointers

2025-03-27 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118167 --- Comment #6 from Andrew Macleod --- (In reply to Sam James from comment #5) > I suppose it's a job for prange? I don't think so. I think it related to integral values being bumped by 1, and pointer values being bumped by 4. It seems the iv

[Bug c++/64500] push_to_top_level() shows up high during build of modern C++ code

2025-03-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64500 Jason Merrill changed: What|Removed |Added Attachment #60867|0 |1 is obsolete|

[Bug testsuite/119489] g++.dg/strub-internal-pr112938.C test fails once fixed to actually run

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119489 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug testsuite/119489] g++.dg/strub-internal-pr112938.C test fails once fixed to actually run

2025-03-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119489 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3

[Bug middle-end/112938] ice with -fstrub=internal

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112938 --- Comment #15 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:50f8148a2754a1552704c6852c336ad008695388 commit r15-8988-g50f8148a2754a1552704c6852c336ad008695388 Author: Jakub Jelinek Date:

[Bug target/119425] [15 Regression] ICE: in extract_constrain_insn, at recog.cc:2783 insn does not satisfy its constraints: {avx2_pblenddv8si} since r15-1679

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

[Bug c++/119490] g++.dg/template/explicit-args6.C fails test for warnings once directive fixed

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119490 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/117287] [13 Regression] assume attribute related miscompilation

2025-03-27 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117287 --- Comment #11 from Andrew Macleod --- Created attachment 60905 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60905&action=edit potential patch (In reply to Sam James from comment #10) > The testcase from https://gcc.gnu.org/bugzilla/sh

[Bug tree-optimization/119493] [12/13/14/15 Regression] missing tail call to self with struct in some cases

2025-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119493 --- Comment #7 from Andrew Pinski --- Created attachment 60904 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60904&action=edit the musttail patch for GCC 15

[Bug c/118765] c23 tag matching broken for multiple redeclarations of typedefs

2025-03-27 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118765 uecker at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/119490] g++.dg/template/explicit-args6.C fails test for warnings once directive fixed

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119490 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/119490] g++.dg/template/explicit-args6.C fails test for warnings once directive fixed

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119490 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug target/118734] RISC-V: Vector broadcast via strided load.

2025-03-27 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118734 Vineet Gupta changed: What|Removed |Added CC||gkm at rivosinc dot com,

[Bug tree-optimization/119492] missing tail call due to address of the argument taken but NOT escaping

2025-03-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119492 --- Comment #2 from Jakub Jelinek --- I mean the https://gcc.gnu.org/pipermail/gcc-patches/2025-March/679182.html one.

[Bug tree-optimization/119492] missing tail call due to address of the argument taken but NOT escaping

2025-03-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119492 --- Comment #1 from Jakub Jelinek --- The PR119376 patch ought to handle this (for musttail only of course, otherwise unless we can prove it escaped but isn't observable by the potential tail call callee, we can't do a tail call).

[Bug tree-optimization/119493] [12/13/14/15 Regression] missing tail call to self with struct in some cases

2025-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119493 --- Comment #5 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #4) > Why for GCC 16? Can't it be simply only done at least for now for musttail > calls? > With [[clang::musttail]] being recognized we can regress on compiling > re

[Bug c++/119500] New: False positive "unused variable" warning on static variable templates with custom section placement

2025-03-27 Thread palchak at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119500 Bug ID: 119500 Summary: False positive "unused variable" warning on static variable templates with custom section placement Product: gcc Version: 15.0 Status: UNCONFIRME

[Bug tree-optimization/119493] [12/13/14/15 Regression] missing tail call to self with struct in some cases

2025-03-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119493 --- Comment #6 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #4) > Why for GCC 16? Can't it be simply only done at least for now for musttail > calls? For GCC 15 and musttail, we could just don't do recusive inlining. testcas

[Bug tree-optimization/119492] missing tail call due to address of the argument taken but NOT escaping

2025-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119492 Sam James changed: What|Removed |Added Last reconfirmed||2025-03-27 Status|UNCONFIRMED

[Bug c++/119497] Improve diagnostic for failed assert(expr) in constexpr context

2025-03-27 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119497 --- Comment #7 from Arthur O'Dwyer --- > @jwakely is correct that on OSX/Darwin the macro is named `__assert_rtn`. ...er, sorry, the *non-constexpr function called by the `assert` macro* is named `__assert_rtn`.

[Bug tree-optimization/119491] missed tail call due to exceptions which is empty

2025-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119491 Sam James changed: What|Removed |Added Last reconfirmed||2025-03-27 Status|UNCONFIRMED

[Bug c++/119497] Improve diagnostic for failed assert(expr) in constexpr context

2025-03-27 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119497 Arthur O'Dwyer changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com ---

[Bug tree-optimization/119491] missed tail call due to exceptions which is empty

2025-03-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119491 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug libstdc++/101587] ranges::uninitialized_copy/move incorrectly uses std::min

2025-03-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587 --- Comment #9 from 康桓瑋 --- (In reply to GCC Commits from comment #8) > The master branch has been updated by Jonathan Wakely : > > https://gcc.gnu.org/g:f4b6acfc36fb1f72fdd5bf4da208515e6495a062 > > commit r15-8980-gf4b6acfc36fb1f72fdd5bf4da20

[Bug libgcc/119151] [13/14 Regression] unwind-dw2-btree maintains separators wrong

2025-03-27 Thread michael at slashhome dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119151 --- Comment #15 from Michael Leuchtenburg --- I've been running this backported to 14.2.0 for a bit now with good results. Found some other incompatibilities with our own code related to the changed malloc pattern relative to pre-btree code (ins

[Bug c++/119499] New: g++.dg/modules/gmf-xtreme.C fails on aarch64 and arm

2025-03-27 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119499 Bug ID: 119499 Summary: g++.dg/modules/gmf-xtreme.C fails on aarch64 and arm Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/119497] Improve diagnostic for failed assert(expr) in constexpr context

2025-03-27 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119497 Thiago Macieira changed: What|Removed |Added CC||thiago at kde dot org --- Comment #4

[Bug c++/119497] Improve diagnostic for failed assert(expr) in constexpr context

2025-03-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119497 --- Comment #5 from Jonathan Wakely --- I guess calling any noreturn function inside the expansion of a macro called 'assert' is probably a good enough heuristic.

[Bug c++/119437] [12/13/14/15 regression] ICE in build_base_path, at cp/class.cc:302

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

[Bug target/117596] avr support for BitInt

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

[Bug c++/119498] New: Incompatible FMV functions not diagnosed

2025-03-27 Thread alfierichards at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119498 Bug ID: 119498 Summary: Incompatible FMV functions not diagnosed Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/101587] ranges::uninitialized_copy/move incorrectly uses std::min

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587 --- Comment #8 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f4b6acfc36fb1f72fdd5bf4da208515e6495a062 commit r15-8980-gf4b6acfc36fb1f72fdd5bf4da208515e6495a062 Author: Jonathan Wakely Date:

[Bug tree-optimization/119483] musttail vs noreturn discovery

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

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-03-27 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 --- Comment #5 from ak at gcc dot gnu.org --- Also I should add that the Ladybird developers report a 40% performance improvement from adding flatten to clang.

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-03-27 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 --- Comment #4 from ak at gcc dot gnu.org --- Created attachment 60902 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60902&action=edit input file for clang testing

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-03-27 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 --- Comment #3 from ak at gcc dot gnu.org --- I ran a full comparison now. There is actually a significant regression between g++-13 and g++-14, but -15 is roughly the same as -14. All are significantly slower than clang: clang++-19 -std=gnu++20

[Bug target/119474] GCN 'libgomp.oacc-c++/pr96835-1.C' ICE 'during GIMPLE pass: ivopts'

2025-03-27 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119474 --- Comment #7 from rguenther at suse dot de --- On Thu, 27 Mar 2025, ams at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119474 > > --- Comment #6 from Andrew Stubbs --- > The address space has to be introduced "late

[Bug libstdc++/119488] 25_algorithms/stable_sort/constexpr.cc test fails (error: non-constant condition for static assertion)

2025-03-27 Thread peppe at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119488 Giuseppe D'Angelo changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |peppe at gcc dot gnu.org

[Bug libstdc++/119488] 25_algorithms/stable_sort/constexpr.cc test fails (error: non-constant condition for static assertion)

2025-03-27 Thread peppe at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119488 --- Comment #7 from Giuseppe D'Angelo --- (In reply to Sam James from comment #5) > (In reply to Giuseppe D'Angelo from comment #4) > > Hi, > > > > Apologies for the testsuite regression; I think this is fixed now in trunk > > by r15-8971-g6acf

[Bug target/119474] GCN 'libgomp.oacc-c++/pr96835-1.C' ICE 'during GIMPLE pass: ivopts'

2025-03-27 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119474 --- Comment #6 from Andrew Stubbs --- The address space has to be introduced "late" because it's done in the accelerator compiler, so post-IPA. The pass is "oaccdevlow" (currently no.103). The address space is selected via the TARGET_GOACC_ADJ

[Bug target/117596] avr support for BitInt

2025-03-27 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117596 --- Comment #2 from Georg-Johann Lay --- ...what I currently have for trying is this addition to avr.cc: static bool avr_c_bitint_type_info (int n, struct bitint_info *info) { info->abi_limb_mode = QImode; info->limb_mode = QImode; info->

[Bug target/119474] GCN 'libgomp.oacc-c++/pr96835-1.C' ICE 'during GIMPLE pass: ivopts'

2025-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119474 --- Comment #5 from Richard Biener --- Created attachment 60901 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60901&action=edit verifier This verifier patch shows pr96835-1.C: In function ‘main._omp_fn.0’: pr96835-1.C:36:11: error: inco

[Bug target/117596] avr support for BitInt

2025-03-27 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117596 --- Comment #1 from Georg-Johann Lay --- All I can find is TARGET_C_BITINT_TYPE_INFO. * Where to specify that addition should be implemented by a libgcc function like addbitint3? * There are libgcc modules like _mulbitint3.o but they are empty

[Bug libstdc++/119486] CTAD for std::pair from function lvalue results in hard error since C++20

2025-03-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119486 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Resol

[Bug libstdc++/110853] [c++-concepts] Bad interaction between deduction guide with decay and constraints

2025-03-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110853 Patrick Palka changed: What|Removed |Added CC||de34 at live dot cn --- Comment #2 from

[Bug target/119474] GCN 'libgomp.oacc-c++/pr96835-1.C' ICE 'during GIMPLE pass: ivopts'

2025-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119474 --- Comment #4 from Richard Biener --- Btw, I'm sure there's issues in IVOPTs, but fixing garbage-in-garbage-out issues is wrong. We have to first get the input into IVOPTs correct.

[Bug target/119474] GCN 'libgomp.oacc-c++/pr96835-1.C' ICE 'during GIMPLE pass: ivopts'

2025-03-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119474 --- Comment #3 from Richard Biener --- So one reason is TYPE_ADDR_SPACE isn't prevalent where it should be - ARRAY_REF results are one common issue (and we lack verification here, IIRC): unit-size align:32 warn_if_not_align:0

[Bug middle-end/110773] [Aarch64] crash (SIGBUS) due to atomic instructions on under-aligned memory

2025-03-27 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110773 Wilco changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/116399] C++26 text_encoding​::​aliases_view is not default-constructible

2025-03-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116399 --- Comment #20 from 康桓瑋 --- (In reply to Jonathan Wakely from comment #19) > We could do this, and rely on the fact that the number of aliases is always > small so that we can claim it's O(1): > > --- a/libstdc++-v3/include/std/text_encoding >

[Bug target/119340] [14 regression] ICE when building gegl-0.4.52 on ppc64

2025-03-27 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119340 --- Comment #8 from Xi Ruoyao --- https://gcc.gnu.org/pipermail/gcc-patches/2025-March/679454.html

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

2025-03-27 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 119055, which changed state. Bug 119055 Summary: [15 Regression] 5-8% slowdown of 456.hmmer since r15-7605-gc5752c1f01316a https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119055 What|Removed

[Bug target/119055] [15 Regression] 5-8% slowdown of 456.hmmer since r15-7605-gc5752c1f01316a

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

[Bug c/118765] c23 tag matching broken for multiple redeclarations of typedefs

2025-03-27 Thread himehaieto at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118765 --- Comment #21 from Hime Haieto --- Sorry to leave you hanging this long, but I was actually testing this rather extensively since your last update, both for dummy test cases and my real (generic containers) application for it. I've thus far b

[Bug target/119010] [15 Regression] 444.namd shows a huge compile-time regression with -mtune=znver5

2025-03-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119010 --- Comment #12 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:365c82dbf3319e5adb5cced2dae0c4a9aa48f5bc commit r15-8976-g365c82dbf3319e5adb5cced2dae0c4a9aa48f5bc Author: Richard Biener Date:

  1   2   >