[Bug gcov-profile/120332] Line coverage for labels refers to implicit "else" clauses before it

2025-05-27 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120332 --- Comment #1 from Wentao Zhang --- Another example affected by "no code", adapted from https://sources.debian.org/src/procps/2%3A4.0.2-3/src/ps/display.c/#L636 "No code" version: 1:2:int main(void) { 1:3:int i = 1

[Bug target/120442] [avr] fdim is missing from libgcc/avr/libf7

2025-05-27 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120442 Georg-Johann Lay changed: What|Removed |Added Target||avr Priority|P3

[Bug target/120442] New: [avr] fdim is missing from libgcc/avr/libf7

2025-05-27 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120442 Bug ID: 120442 Summary: [avr] fdim is missing from libgcc/avr/libf7 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targ

[Bug target/120441] [avr] exp returns Inf for x>=512 and 0 for x<=-512 in libgcc/libf7

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120441 --- Comment #2 from GCC Commits --- The releases/gcc-13 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:3a7f080596a24af47146fb28a00b28677deebd98 commit r13-9700-g3a7f080596a24af47146fb28a00b28677deebd98 Author: Georg-Johann

[Bug ada/120420] Improving __gnat_decode() gcc/ada/adadecode.c

2025-05-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120420 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libstdc++/120428] [15/16 regression] Suboptimal autovec involving blocked permutation and std::copy

2025-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428 --- Comment #4 from Jonathan Wakely --- The library code should be exactly equivalent, except for being slightly simpler (one level of function call has been inlined into its caller now) and doing: ptr += n; return ptr; instead of: retu

[Bug target/120428] [14/15/16 regression] Suboptimal autovec involving blocked permutation and std::copy

2025-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428 --- Comment #7 from Jonathan Wakely --- This was backported as r14-10608-g27dc1533b6dfc4 and r13-8987-gaea374238cec1a and r12-10682-gb4bc34db3f2948

[Bug target/120428] [14/15/16 regression] Suboptimal autovec involving blocked permutation and std::copy

2025-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428 Jonathan Wakely changed: What|Removed |Added Known to fail||14.3.0, 15.1.0 CC|

[Bug tree-optimization/120428] [15/16 regression] Suboptimal autovec involving blocked permutation and std::copy

2025-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428 Jonathan Wakely changed: What|Removed |Added Component|libstdc++ |tree-optimization --- Comment #5 from

[Bug target/120428] [14/15/16 regression] Suboptimal autovec involving blocked permutation and std::copy

2025-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428 --- Comment #10 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #6) > The regression was caused by > r15-3078-g6ea25c041964bf63014fcf7bb68fb1f5a0a4e123 I bisected to this commit using the code in comment 2. It looks like the

[Bug target/120428] [14/15/16 regression] Suboptimal autovec involving blocked permutation and std::copy

2025-05-27 Thread shawn at shawnxu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428 --- Comment #9 from Shawn Xu --- (In reply to Jonathan Wakely from comment #8) > (In reply to Shawn Xu from comment #0) > > On x86-64 with avx512, PR115444 caused the following code to vectorize > > sub-optimally: > > What made you blame PR1154

[Bug driver/100586] g++: error: unrecognized command-line option ‘-fump-tree-original’; did you mean ‘-fdump-d-original’?

2025-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100586 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/120439] RVV: wrong tail/mask-policy when source and destination overlap with different EEW

2025-05-27 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120439 Andrew Waterman changed: What|Removed |Added CC||andrew at sifive dot com --- Comment

[Bug target/120442] [avr] fdim is missing from libgcc/avr/libf7

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120442 --- Comment #1 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:6045de6596d09f3cf7ae3f552b56d7e5df17a899 commit r16-892-g6045de6596d09f3cf7ae3f552b56d7e5df17a899 Author: Georg-Johann Lay Date

[Bug target/120428] [14/15/16 regression] Suboptimal autovec involving blocked permutation and std::copy

2025-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428 --- Comment #8 from Jonathan Wakely --- (In reply to Shawn Xu from comment #0) > On x86-64 with avx512, PR115444 caused the following code to vectorize > sub-optimally: What made you blame PR115444 for this? Did you actually bisect it?

[Bug target/120439] RVV: wrong tail/mask-policy when source and destination overlap with different EEW

2025-05-27 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120439 --- Comment #3 from JuzheZhong --- (In reply to Andrew Waterman from comment #2) > > You are saying when vd and vs2 is overlaping in vnsrl, we can't allow > > undisturbed policy ? CC RISC-V folks ing. > > No. The instruction is allowed, and i

[Bug target/120439] RVV: wrong tail/mask-policy when source and destination overlap with different EEW

2025-05-27 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120439 --- Comment #6 from Andrew Waterman --- I think so.

[Bug libstdc++/96710] __int128 vs

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96710 --- Comment #5 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:e0c3066c14ad98d130ddd1183be3caaeea19c63b commit r16-894-ge0c3066c14ad98d130ddd1183be3caaeea19c63b Author: Jonathan Wakely Date:

[Bug libstdc++/120367] [15 Regression] C++23 ranges::transform | ranges::to exception catching (segfault)

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120367 --- Comment #7 from GCC Commits --- The releases/gcc-15 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ae1c59c8de43a2cae494ce2212f44be08a629216 commit r15-9735-gae1c59c8de43a2cae494ce2212f44be08a629216 Author: Jonathan Wake

[Bug libstdc++/120367] [15 Regression] C++23 ranges::transform | ranges::to exception catching (segfault)

2025-05-27 Thread lexa.nf at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120367 --- Comment #9 from Arkhipov Alexey (Архипов Алексей) --- (In reply to Jonathan Wakely from comment #8) > Fixed for 15.2, thanks for the report. You're welcome! Thanks for quick fix.

[Bug cobol/119896] Assertion failed: e->type == SymField, function cbl_field_of

2025-05-27 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119896 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from James K. Lowden --- > It seems likely to me that this is a cascading error stemming perhaps from a > big endian host. I will need to see the debug output to addre

[Bug target/120439] RVV: wrong tail/mask-policy when source and destination overlap with different EEW

2025-05-27 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120439 --- Comment #4 from Andrew Waterman --- Yes.

[Bug other/120445] New: False -Wstringop-overread and -Wfree-nonheap-object positives

2025-05-27 Thread christian.morales.vega at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120445 Bug ID: 120445 Summary: False -Wstringop-overread and -Wfree-nonheap-object positives Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: normal

[Bug target/120439] RVV: wrong tail/mask-policy when source and destination overlap with different EEW

2025-05-27 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120439 --- Comment #5 from JuzheZhong --- (In reply to Andrew Waterman from comment #4) > Yes. Thanks. The GCC codegen is correct here. Am I right ?

[Bug ada/120440] [15/16 regression] gnat exception handling miscompiled (`gnat ls` crashes when bootstrapped with -march=znver3)

2025-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120440 Richard Biener changed: What|Removed |Added Target||x86_64-*-* --- Comment #3 from Richard

[Bug tree-optimization/120445] False -Wstringop-overread and -Wfree-nonheap-object positives

2025-05-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120445 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-05-27 Ever confirmed|0

[Bug libstdc++/120367] [15 Regression] C++23 ranges::transform | ranges::to exception catching (segfault)

2025-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120367 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/92826] Impossible to silence warning: non-standard suffix on floating constant [-Wpedantic]

2025-05-27 Thread homar at riseup dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92826 Gábor Németh changed: What|Removed |Added CC||homar at riseup dot net --- Comment #8 fr

[Bug c/92826] Impossible to silence warning: non-standard suffix on floating constant [-Wpedantic]

2025-05-27 Thread homar at riseup dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92826 --- Comment #9 from Gábor Németh --- Created attachment 61525 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61525&action=edit Add option

[Bug c/92826] Impossible to silence warning: non-standard suffix on floating constant [-Wpedantic]

2025-05-27 Thread homar at riseup dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92826 --- Comment #10 from Gábor Németh --- Hi, (In reply to Manuel López-Ibáñez from comment #6) > The first step to fix this is to figure out why the column location is wrong > (it should point to FLT128_MIN): I think I found out why: the warning u

[Bug c++/117785] [C++26] P3068R5 - constexpr exceptions

2025-05-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785 Jakub Jelinek changed: What|Removed |Added Attachment #61521|0 |1 is obsolete|

[Bug libstdc++/99832] std::chrono::system_clock::to_time_t needs ABI tag for 32-bit time_t

2025-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99832 --- Comment #11 from Jonathan Wakely --- My first thought was that -D_TIME_BITS=64 requires _FILE_OFFSET_BITS=64 to be set too, but glibc will give an #error if it's not set. So libstdc++ does not need to worry about users incorrectly using -D_TI

[Bug target/120442] [avr] fdim is missing from libgcc/avr/libf7

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120442 --- Comment #2 from GCC Commits --- The releases/gcc-15 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:a0e365b7361f685655cd45edd424804423bb6931 commit r15-9734-ga0e365b7361f685655cd45edd424804423bb6931 Author: Georg-Johann

[Bug tree-optimization/120445] False -Wstringop-overread and -Wfree-nonheap-object positives

2025-05-27 Thread christian.morales.vega at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120445 --- Comment #2 from Cristian Morales Vega --- Created attachment 61523 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61523&action=edit Preprocessed source "g++ -E -O3 -flto -o test_preprocessed.cpp test.cpp -Iboost_1_88_0" output.

[Bug tree-optimization/120443] [16 regression] wrong code at -O3

2025-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120443 Richard Biener changed: What|Removed |Added Keywords||needs-bisection, wrong-code

[Bug target/120442] [avr] fdim is missing from libgcc/avr/libf7

2025-05-27 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120442 Georg-Johann Lay changed: What|Removed |Added Target Milestone|--- |15.2 Status|UNCONFIRMED

[Bug tree-optimization/120445] False -Wstringop-overread and -Wfree-nonheap-object positives

2025-05-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120445 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

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

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119884 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Philipp Tomsich : https://gcc.gnu.org/g:ec5349c37afe972ee79b777ee749630b1a0a007e commit r16-905-gec5349c37afe972ee79b777ee749630b1a0a007e Author: Konstantinos Eleftheriou

[Bug tree-optimization/117965] phiprop fails in some cases

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117965 --- Comment #16 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:8da568c885dc90ac5c7d9aee34ae78d5cfb8918c commit r16-906-g8da568c885dc90ac5c7d9aee34ae78d5cfb8918c Author: Richard Biener Date:

[Bug tree-optimization/117965] phiprop fails in some cases

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

[Bug target/120441] [avr] exp returns Inf for x>=512 and 0 for x<=-512 in libgcc/libf7

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120441 --- Comment #1 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:672569cee76a1927d14b5eb754a5ff0b9cee1bc8 commit r16-890-g672569cee76a1927d14b5eb754a5ff0b9cee1bc8 Author: Georg-Johann Lay Date

[Bug target/120441] [avr] exp returns Inf for x>=512 and 0 for x<=-512 in libgcc/libf7

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120441 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:b380d260ba56b30cba7681c43e1b699d05152cdc commit r14-11813-gb380d260ba56b30cba7681c43e1b699d05152cdc Author: Georg-Johan

[Bug tree-optimization/120443] New: [16 regression] wrong code at -O3

2025-05-27 Thread chopra.kavya04 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120443 Bug ID: 120443 Summary: [16 regression] wrong code at -O3 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimizat

[Bug target/120441] [avr] exp returns Inf for x>=512 and 0 for x<=-512 in libgcc/libf7

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120441 --- Comment #5 from GCC Commits --- The releases/gcc-12 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:7022266a565cef576c1be6126a58878beb3ac8ba commit r12-2-g7022266a565cef576c1be6126a58878beb3ac8ba Author: Georg-Johan

[Bug target/120441] [avr] exp returns Inf for x>=512 and 0 for x<=-512 in libgcc/libf7

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120441 --- Comment #4 from GCC Commits --- The releases/gcc-15 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:5ef8bbce1446a11e7b13581dcc2528f058b853c5 commit r15-9733-g5ef8bbce1446a11e7b13581dcc2528f058b853c5 Author: Georg-Johann

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

2025-05-27 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #448 from Oleg Endo --- Could be also relevant for SH https://gcc.gnu.org/pipermail/gcc-patches/2025-May/684755.html

[Bug ada/120440] [15/16 regression] gnat exception handling miscompiled (`gnat ls` crashes when bootstrapped with -march=znver3)

2025-05-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120440 Eric Botcazou changed: What|Removed |Added Last reconfirmed||2025-05-27 Status|UNCONFIRM

[Bug ada/120430] Bogus "formal object is not referenced" when a generic parameter is used in a child package

2025-05-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120430 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org

[Bug target/120439] RVV: wrong tail/mask-policy when source and destination overlap with different EEW

2025-05-27 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120439 JuzheZhong changed: What|Removed |Added CC||juzhe.zhong at rivai dot ai --- Comment #1

[Bug target/120441] [avr] exp returns Inf for x>=512 and 0 for x<=-512 in libgcc/libf7

2025-05-27 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120441 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/117947] [14/15/16 Regression] GCC miscompile rvv intrinsics at `-O2` and `-O3`, use `vlenb` after an inappropriate `vsetvli`

2025-05-27 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117947 JuzheZhong changed: What|Removed |Added CC||juzhe.zhong at rivai dot ai --- Comment #2

[Bug libgomp/120444] New: [OpenMP][6.0] Add omp_target_memset/omp_target_memset_async

2025-05-27 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120444 Bug ID: 120444 Summary: [OpenMP][6.0] Add omp_target_memset/omp_target_memset_async Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/117785] [C++26] P3068R5 - constexpr exceptions

2025-05-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785 --- Comment #6 from Jason Merrill --- (In reply to Jakub Jelinek from comment #3) > Jonathan, thoughts on the library side? > E.g. std::uncaught_exceptions is just declared in the header, but if it > needs to be constexpr it needs some inline de

[Bug c++/117785] [C++26] P3068R5 - constexpr exceptions

2025-05-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785 --- Comment #7 from Jakub Jelinek --- (In reply to Jason Merrill from comment #6) > (In reply to Jakub Jelinek from comment #3) > > Jonathan, thoughts on the library side? > > E.g. std::uncaught_exceptions is just declared in the header, but if

[Bug c++/117785] [C++26] P3068R5 - constexpr exceptions

2025-05-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785 --- Comment #8 from Jakub Jelinek --- Note, adding _GLIBCXX26_CONSTEXPR above for the defaulted or inline defined methods is ok and they wouldn't need to be treated like magic builtins (though I guess exception_ptr copy ctor and dtor need specia

[Bug c++/117785] [C++26] P3068R5 - constexpr exceptions

2025-05-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785 --- Comment #9 from Jason Merrill --- I had been thinking thinking that exception_ptr would become compiler magic, since it's unspecified by the standard, while std::exception would not, since it's a standard class that is regularly derived from

[Bug libstdc++/120432] flat_map operator[] is broken for const lvalue keys

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120432 Patrick Palka changed: What|Removed |Added Last reconfirmed||2025-05-27 Status|UNCONFIRM

[Bug c++/117785] [C++26] P3068R5 - constexpr exceptions

2025-05-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785 --- Comment #10 from Jakub Jelinek --- Ok, so do we want some attribute for std::{exception,bad_exception,bad_alloc,bad_cast, bad_typeid,bad_weak_ptr,bad_function_call} and perhaps others which will pretend they have a key function even if they

[Bug c++/117785] [C++26] P3068R5 - constexpr exceptions

2025-05-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785 --- Comment #11 from Jason Merrill --- (In reply to Jakub Jelinek from comment #7) > where making the destructor constexpr and thus effectively inline would have > terrible effects, virtual tables of exception and similar classes now > emitted e

[Bug c++/117785] [C++26] P3068R5 - constexpr exceptions

2025-05-27 Thread hanicka at hanicka dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785 --- Comment #12 from Hana Dusíková --- I'm using [[gnu::used]] to emit constexpr symbol so it can be part of compatible interface.

[Bug c++/115206] ICE: segfault in code involving C++ modules

2025-05-27 Thread sentabel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115206 Abel Sen changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

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

2025-05-27 Thread sentabel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 115206, which changed state. Bug 115206 Summary: ICE: segfault in code involving C++ modules https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115206 What|Removed |Added ---

[Bug c++/120449] New: g++ -Wtype-limits without -P doesn't warn on unsigned compare to zero

2025-05-27 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120449 Bug ID: 120449 Summary: g++ -Wtype-limits without -P doesn't warn on unsigned compare to zero Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 --- Comment #36 from GCC Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:42983ffde6612b7f8a4e7ab3e76fa8b0d136e854 commit r16-915-g42983ffde6612b7f8a4e7ab3e76fa8b0d136e854 Author: Jerry DeLisle Date: M

[Bug fortran/120431] SPREAD does not handle scalar argument and NCOPIES=-1 correctly

2025-05-27 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120431 --- Comment #5 from kargls at comcast dot net --- (In reply to anlauf from comment #4) > (In reply to Jerry DeLisle from comment #3) > > My understanding is they are getting built generated in the build directory > > which is a recent bug someone

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 --- Comment #37 from Jerry DeLisle --- With this now pushed, I plan to backport to 15 in a few days. I also want to revise the langauge of the error messages to be clearer. This will wiggle on several existing test cases so I want it to be a se

[Bug fortran/101735] Type parameter inquiries for substrings are rejected

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101735 --- Comment #6 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:787a8dec1acedf5561c8ee43bed0b3653fca150d commit r16-914-g787a8dec1acedf5561c8ee43bed0b3653fca150d Author: Harald Anlauf Date: Tu

[Bug c++/115358] [13 Regression] template argument deduction/substitution failed in generic lambda function use of static constexpr array type whos initializer defines the size since r13-2540

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115358 --- Comment #11 from GCC Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f7ff1d5923f2c42ac15780b452dd1bc72d94db64 commit r13-9708-gf7ff1d5923f2c42ac15780b452dd1bc72d94db64 Author: Patrick Palka

[Bug c++/119233] [12/13 Regression] templated member function used as a template argument via pointer to member function from inside a template causes an undefined symbol since r12-6075-g2decd2cabe5a4

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119233 --- Comment #12 from GCC Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:e38e851d62c65eb606e61879a72b11d71dac0ce0 commit r13-9706-ge38e851d62c65eb606e61879a72b11d71dac0ce0 Author: Patrick Palka

[Bug c++/116418] [12/13 Regression] statement expressions as initializer for decltype auto breaks in templates with optimization turned on and debug info turned on due to gstatement-frontiers

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116418 --- Comment #12 from GCC Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:6afaab88c36393acf31599a86bab6dcbe5848928 commit r13-9703-g6afaab88c36393acf31599a86bab6dcbe5848928 Author: Patrick Palka

[Bug c++/116320] [12/13 Regression] ICE: Segmentation fault (perform_or_defer_access_check) since r11-1350

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116320 --- Comment #6 from GCC Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:e4dd09be9cefc349961e7a88561bc1640564fc25 commit r13-9701-ge4dd09be9cefc349961e7a88561bc1640564fc25 Author: Patrick Palka

[Bug c++/118060] [13 Regression] ICE (internal compiler error) on requires clause

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 118060, which changed state. Bug 118060 Summary: [13 Regression] ICE (internal compiler error) on requires clause https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 What|Removed |Added

[Bug c++/115656] [12/13 Regression] Templated ctor use rejected in non-deduced context if class template has template template parameter

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115656 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:c7ec472e132a634b9e819e2fcfaac74e07744c26 commit r13-9704-gc7ec472e132a634b9e819e2fcfaac74e07744c26 Author: Patrick Palka

[Bug c++/105848] [12 Regression] undefined reference for default template argument of function type

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105848 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:e38e851d62c65eb606e61879a72b11d71dac0ce0 commit r13-9706-ge38e851d62c65eb606e61879a72b11d71dac0ce0 Author: Patrick Palka

[Bug c++/116320] [12 Regression] ICE: Segmentation fault (perform_or_defer_access_check) since r11-1350

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116320 Patrick Palka changed: What|Removed |Added Summary|[12/13 Regression] ICE: |[12 Regression] ICE:

[Bug c++/116418] [12 Regression] statement expressions as initializer for decltype auto breaks in templates with optimization turned on and debug info turned on due to gstatement-frontiers

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116418 Patrick Palka changed: What|Removed |Added Summary|[12/13 Regression] |[12 Regression] statement

[Bug c++/115656] [12 Regression] Templated ctor use rejected in non-deduced context if class template has template template parameter

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115656 Patrick Palka changed: What|Removed |Added Summary|[12/13 Regression] |[12 Regression] Templated

[Bug c++/106760] [12/13 Regression] ICE: tree check: expected function_decl, have template_decl in get_fndecl_argument_location, at cp/call.cc:7801

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106760 --- Comment #7 from GCC Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:359d5b7edaf7d1c418d2026ba0bc76b52d006364 commit r13-9705-g359d5b7edaf7d1c418d2026ba0bc76b52d006364 Author: Patrick Palka

[Bug c++/117792] [12 Regression] ICE in tsubst_template_args with function template-id and local static arg

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117792 Patrick Palka changed: What|Removed |Added Summary|[12/13 Regression] ICE in |[12 Regression] ICE in

[Bug c++/118060] [13 Regression] ICE (internal compiler error) on requires clause

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:5c79c0992acd2244e51d34f8e5dc33f13527cee3 commit r13-9702-g5c79c0992acd2244e51d34f8e5dc33f13527cee3 Author: Patrick Palka

[Bug c++/117792] [12/13 Regression] ICE in tsubst_template_args with function template-id and local static arg

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117792 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:7fb526a9a16162c61e468ea566e00aa5dcbdb738 commit r13-9707-g7fb526a9a16162c61e468ea566e00aa5dcbdb738 Author: Patrick Palka

[Bug c++/115358] [13 Regression] template argument deduction/substitution failed in generic lambda function use of static constexpr array type whos initializer defines the size since r13-2540

2025-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115358 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/120449] g++ -Wtype-limits without -P doesn't warn on unsigned compare to zero

2025-05-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120449 --- Comment #1 from Andrew Pinski --- -Wsystem-headers .

[Bug c++/117785] [C++26] P3068R5 - constexpr exceptions

2025-05-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785 --- Comment #13 from Jakub Jelinek --- (In reply to Hana Dusíková from comment #12) > I'm using [[gnu::used]] to emit constexpr symbol so it can be part of > compatible interface. I think we don't have a problem with exporting the ABI compatibl

[Bug libstdc++/120446] New: [C++23] Implement P2655R3 common_reference_t of reference_wrapper Should Be a Reference Type

2025-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120446 Bug ID: 120446 Summary: [C++23] Implement P2655R3 common_reference_t of reference_wrapper Should Be a Reference Type Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug c++/120449] g++ -Wtype-limits without -P doesn't warn on unsigned compare to zero

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

[Bug fortran/101735] Type parameter inquiries for substrings are rejected

2025-05-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101735 --- Comment #10 from anlauf at gcc dot gnu.org --- (In reply to Jerry DeLisle from comment #9) > (In reply to anlauf from comment #8) > > (In reply to Jerry DeLisle from comment #7) > > > Ruuning tests right now to see if this has caused some bre

[Bug fortran/101735] Type parameter inquiries for substrings are rejected

2025-05-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101735 --- Comment #11 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #10) > Seems like some last-minute cleanup before submission broke something. > I'll have a look. It was the last-minute cleanup. Duh! This fixes it: diff --gi

[Bug c++/120449] g++ -Wtype-limits without -P doesn't warn on unsigned compare to zero

2025-05-27 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120449 --- Comment #4 from Zartaj Majeed --- Thanks - and what about this? No warning from g++ -c -Wtype-limits -std=c++20 -Wsystem-headers typelimits.cpp

[Bug c/120353] Flex array struct referenced in the middle via type alias of forward declaration is not reported by -Wflex-array-member-not-at-end option

2025-05-27 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120353 --- Comment #1 from qinzhao at gcc dot gnu.org --- in the routine "finish_struct" of c-decl.cc, we have: 9660 if (warn_flex_array_member_not_at_end 9661 && !is_last_field 9662 && RECORD_OR_UNION_TYPE_P (TREE_TYPE (x)

[Bug fortran/101735] Type parameter inquiries for substrings are rejected

2025-05-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101735 --- Comment #12 from anlauf at gcc dot gnu.org --- Created attachment 61529 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61529&action=edit Fix for the breakage by r16-914-g787a8dec1acedf

[Bug fortran/101735] Type parameter inquiries for substrings are rejected

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101735 --- Comment #14 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:74a2281ae18c6dbbc640f0c79f7138a495ef8f0c commit r16-921-g74a2281ae18c6dbbc640f0c79f7138a495ef8f0c Author: Harald Anlauf Date: T

[Bug target/114676] [12/13 Regression] DSE removes assignment that is used later

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114676 --- Comment #21 from GCC Commits --- The releases/gcc-13 branch has been updated by Andreas Krebbel : https://gcc.gnu.org/g:9ca5e3ededa5b852fe4218457a6f10df3f7b7cb5 commit r13-9718-g9ca5e3ededa5b852fe4218457a6f10df3f7b7cb5 Author: Andreas Kreb

[Bug target/114676] [12/13 Regression] DSE removes assignment that is used later

2025-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114676 --- Comment #20 from GCC Commits --- The releases/gcc-12 branch has been updated by Andreas Krebbel : https://gcc.gnu.org/g:9cd936038de231b5541ae150ef2d815fec28015a commit r12-5-g9cd936038de231b5541ae150ef2d815fec28015a Author: Andreas Kre

[Bug ada/120440] [15/16 regression] gnat exception handling miscompiled (`gnat ls` crashes when bootstrapped with -march=znver3) since r15-8901-g7bec4570301c43

2025-05-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120440 Sam James changed: What|Removed |Added Keywords|needs-bisection | Summary|[15/16 regression] gnat

[Bug fortran/109345] [12/13/14 Regression] class(*) variable that is a string array is not handled correctly

2025-05-27 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109345 Paul Thomas changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug libfortran/116400] [15/16 Regression] Regenerated files are no longer written to the source directory

2025-05-27 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116400 --- Comment #8 from kargls at comcast dot net --- On 5/27/25 15:04, iains at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116400 > > --- Comment #6 from Iain Sandoe --- > (In reply to kargls from comment #4) >> FX, Iain

[Bug target/120428] [14/15/16 regression] Suboptimal autovec involving blocked permutation and std::copy

2025-05-27 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428 --- Comment #14 from Hongtao Liu --- (In reply to Hongtao Liu from comment #13) > > > > constexpr std::size_t ProcessChunkSize = BlockSize * OrderSize; > > > > std::array buffer{}; > > > > std::byte* const bytes = reinterpret_cast

[Bug ada/120440] [15/16 regression] gnat exception handling miscompiled (`gnat ls` crashes when bootstrapped with -march=znver3) since r15-8901-g7bec4570301c43

2025-05-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120440 --- Comment #5 from Sam James --- (In reply to Sam James from comment #4) > It bisects to r15-8901-g7bec4570301c43 which I find very surprising. Double > checked with a build of r15-8900-g525d4a10302113 (which works) and > r15-8901-g7bec4570301c

  1   2   >