[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 111944, which changed state. Bug 111944 Summary: Spurious '' is used uninitialized in Boost.Variant2 (-Wuninitialized -Og) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111944 What|Removed

[Bug c++/121800] ICE on invalid call operator

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121800 --- Comment #1 from Andrew Pinski --- Created attachment 62311 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62311&action=edit C++98 testcase

[Bug c++/121800] New: ICE on invalid call operator

2025-09-04 Thread stevenxia990430 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121800 Bug ID: 121800 Summary: ICE on invalid call operator Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assig

[Bug tree-optimization/108466] inconsistent -Wmaybe-uninitialized warning location

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108466 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/121290] [16 regression] Regressions in TSVC s119, s3113, s312, s313, s314, s315, s316 since r16-2159-g3bf2aa834e1270

2025-09-04 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121290 --- Comment #21 from Dhruv Chawla --- Created attachment 62314 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62314&action=edit asm after

[Bug fortran/82173] [meta-bug] [PDT] Parameterized derived type errors

2025-09-04 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173 Bug 82173 depends on bug 84432, which changed state. Bug 84432 Summary: [F08] Detect illegal component initialization in pdt_27.f03 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84432 What|Removed |Added

[Bug tree-optimization/111944] Spurious '' is used uninitialized in Boost.Variant2 (-Wuninitialized -Og)

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

[Bug debug/82738] [meta-bug] issues with the -Og optimization level

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82738 Bug 82738 depends on bug 111944, which changed state. Bug 111944 Summary: Spurious '' is used uninitialized in Boost.Variant2 (-Wuninitialized -Og) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111944 What|Removed

[Bug target/121290] [16 regression] Regressions in TSVC s119, s3113, s312, s313, s314, s315, s316 since r16-2159-g3bf2aa834e1270

2025-09-04 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121290 Dhruv Chawla changed: What|Removed |Added CC||dhruvc at nvidia dot com --- Comment #18

[Bug fortran/114815] [PDT] internal compiler error: Segmentation fault - on creating type with len parameter and dependent on it character array

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

[Bug target/121290] [16 regression] Regressions in TSVC s119, s3113, s312, s313, s314, s315, s316 since r16-2159-g3bf2aa834e1270

2025-09-04 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121290 --- Comment #19 from Dhruv Chawla --- Created attachment 62312 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62312&action=edit kernel source

[Bug fortran/84094] several correctness issues in gfortran.dg

2025-09-04 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84094 Bug 84094 depends on bug 84432, which changed state. Bug 84432 Summary: [F08] Detect illegal component initialization in pdt_27.f03 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84432 What|Removed |Added

[Bug fortran/84432] [F08] Detect illegal component initialization in pdt_27.f03

2025-09-04 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84432 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Resolutio

[Bug target/121290] [16 regression] Regressions in TSVC s119, s3113, s312, s313, s314, s315, s316 since r16-2159-g3bf2aa834e1270

2025-09-04 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121290 --- Comment #20 from Dhruv Chawla --- Created attachment 62313 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62313&action=edit asm before

[Bug fortran/114815] [PDT] internal compiler error: Segmentation fault - on creating type with len parameter and dependent on it character array

2025-09-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114815 --- Comment #4 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:6b6a2d461bfd3c81cc35c9989b225845681357cb commit r16-3590-g6b6a2d461bfd3c81cc35c9989b225845681357cb Author: Paul Thomas Date: Fri S

[Bug fortran/82173] [meta-bug] [PDT] Parameterized derived type errors

2025-09-04 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173 Bug 82173 depends on bug 114815, which changed state. Bug 114815 Summary: [PDT] internal compiler error: Segmentation fault - on creating type with len parameter and dependent on it character array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114

[Bug tree-optimization/108466] inconsistent -Wmaybe-uninitialized warning location

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108466 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/105423] Bogus -Werror=maybe-uninitialized with definitely initialized variable

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

[Bug fortran/102457] [PDT] ICE in fold_convert_const_int_from_real, at fold-const.c:2034

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

[Bug fortran/82173] [meta-bug] [PDT] Parameterized derived type errors

2025-09-04 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173 Bug 82173 depends on bug 102457, which changed state. Bug 102457 Summary: [PDT] ICE in fold_convert_const_int_from_real, at fold-const.c:2034 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102457 What|Removed |Ad

[Bug fortran/84432] [F08] Detect illegal component initialization in pdt_27.f03

2025-09-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84432 --- Comment #7 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:6b6a2d461bfd3c81cc35c9989b225845681357cb commit r16-3590-g6b6a2d461bfd3c81cc35c9989b225845681357cb Author: Paul Thomas Date: Fri Se

[Bug c++/121800] [13/14/15/16 Regression] ICE on invalid call operator

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121800 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.5 Status|UNCONFIRMED

[Bug tree-optimization/61677] False positive with -Wmaybe-uninitialized (predicate analysis, VRP)

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61677 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/102631] -Wmaybe-uninitialized cannot see through a series of PHIs

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102631 --- Comment #6 from Andrew Pinski --- (In reply to Richard Biener from comment #5) > We run into > > MAX_CHAIN_LEN exceeded: 6 This has increased to 12 recently for PR 120924. > > and when I up that also into > > cycle detected > > and the

[Bug tree-optimization/73550] Another wrong -Wmaybe-uninitialized warning in switch statement

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73550 --- Comment #14 from Andrew Pinski --- Seems like if we have: ((code_9(D) == 2)) OR ((code_9(D) >= 3)) this could be simplified down to ((code_9(D) >= 2)) But I don't know if that will help this case.

[Bug tree-optimization/61677] False positive with -Wmaybe-uninitialized (predicate analysis, VRP)

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61677 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to fail|13.0

[Bug target/121290] [16 regression] Regressions in TSVC s119, s3113, s312, s313, s314, s315, s316 since r16-2159-g3bf2aa834e1270

2025-09-04 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121290 --- Comment #17 from Ramana Radhakrishnan --- (In reply to Tamar Christina from comment #16) > (In reply to Soumya AR from comment #13) > > Hi Tamar, > > > > Thanks for the fix. > > > > This has now brought back performance for the mentione

[Bug target/32187] Complex __float128 is rejected

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32187 Andrew Pinski changed: What|Removed |Added CC||de34 at live dot cn --- Comment #14 from

[Bug c++/121799] GCC fails to parse `typedef _Complex __float128 T; ` (in C++ mode?)

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121799 --- Comment #1 from Andrew Pinski --- Seems better to use _Float128 instead.

[Bug c++/121799] New: GCC fails to parse `typedef _Complex __float128 T;` (in C++ mode?)

2025-09-04 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121799 Bug ID: 121799 Summary: GCC fails to parse `typedef _Complex __float128 T;` (in C++ mode?) Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug debug/121157] -gcodeview does not work with Ada

2025-09-04 Thread maharmstone at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #26 from Mark Harmstone --- (In reply to Tom Kacvinsky from comment #25) > I have a Visual Studio subscription through my employer. Alas, MS has yet > to release a preview of Visual Studio 2025, so I can't test it. But from > what

[Bug c++/92194] [9/10 Regression] maybe-uninitialized false positive with c++2a since r9-84-gcdc184174ce56df1

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

[Bug target/121784] error: cannot tail-call: argument must be passed by copying

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121784 Andrew Pinski changed: What|Removed |Added Attachment #62309|0 |1 is obsolete|

[Bug target/121784] error: cannot tail-call: argument must be passed by copying

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121784 Andrew Pinski changed: What|Removed |Added Keywords|missed-optimization,| |needs-reduction

[Bug target/121784] error: cannot tail-call: argument must be passed by copying

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121784 --- Comment #1 from Andrew Pinski --- Created attachment 62309 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62309&action=edit Kinda of reduced I am suspecting there are just too many arguments.

[Bug tree-optimization/105749] Bogus maybe-uninitialized when using std::optional, regex and sstream

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105749 --- Comment #8 from Andrew Pinski --- (In reply to Richard Biener from comment #4) > Confirmed on the GCC 12 branch but on master the diagnostic only shows with > -O1 now ... This is due to the fix for PR 80635 which fixed it with VRP. my patch

[Bug tree-optimization/86465] [10/11/12/13 Regression] C++17 triggers: ‘’ may be used uninitialized in this function

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86465 --- Comment #22 from Andrew Pinski --- (In reply to Geoff from comment #16) > This appears to still be an issue in gcc 11.2 minimal reproduced example > using std::optional https://godbolt.org/z/ebbMe3Wva. This was fixed by the fix for PR 107206

[Bug target/121785] [16 Regression] inconsistent result after matching bcaxqdi4 instruction since r16-2203

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121785 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target Summary|[aarch64] inc

[Bug tree-optimization/116090] Another -Wmaybe-uninitialized false positive with std::optional

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116090 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > I have a fix for -O1 (but not at -O2). The -O2 warning needs a change in the uninitialized warning code. I have an idea on how to handle it. basically follows a

[Bug c++/92700] wrong "unintialized" warning with std::optional

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92700 Andrew Pinski changed: What|Removed |Added CC||gnu at kosak dot com --- Comment #7 from

[Bug c++/92092] Spurious warning: '' may be used uninitialized in this function

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92092 --- Comment #2 from Andrew Pinski --- Same issue as PR 92700. *** This bug has been marked as a duplicate of bug 92700 ***

[Bug c++/92700] wrong "unintialized" warning with std::optional

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92700 Andrew Pinski changed: What|Removed |Added Resolution|DUPLICATE |FIXED Target Milestone|---

[Bug c++/121793] New: Invalid -Wrestrict warning in memory overlap situation, gcc 14.2.1, c++20, -O3

2025-09-04 Thread abreeding at perforce dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121793 Bug ID: 121793 Summary: Invalid -Wrestrict warning in memory overlap situation, gcc 14.2.1, c++20, -O3 Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severit

[Bug c++/92194] [9/10 Regression] maybe-uninitialized false positive with c++2a since r9-84-gcdc184174ce56df1

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92194 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 --- Comment #6 from Andrew Pinski

[Bug c++/92011] '' may be used uninitialized in this function with std::optional()

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92011 Andrew Pinski changed: What|Removed |Added Resolution|DUPLICATE |FIXED Keywords|

[Bug tree-optimization/57650] Suboptimal code after TRUTH_AND_EXPR is changed into BIT_AND_EXPR

2025-09-04 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57650 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #5 f

[Bug tree-optimization/80635] [10 regression] std::optional and bogus -Wmaybe-uninitialized warning

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

[Bug fortran/96255] [F2018] Implement optional type spec for index in DO CONCURRENT

2025-09-04 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96255 --- Comment #14 from Jerry DeLisle --- Created attachment 62308 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62308&action=edit Preliminary patch cleaned up for current trunk Attached is Steves patch from comments within diffed to current

[Bug tree-optimization/99536] unexplained warning on "uninitialized value" in std::normal_distribution

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

[Bug fortran/96255] [F2018] Implement optional type spec for index in DO CONCURRENT

2025-09-04 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96255 --- Comment #13 from Jerry DeLisle --- (In reply to kargls from comment #11) > (In reply to Scott Boyce from comment #10) > > Just wanted to see if there was any change on this. I just was about to post > > the same issue (and found this one) for

[Bug c++/121798] ICE on self-referential constraint

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121798 --- Comment #2 from Andrew Pinski --- Backtrace: ``` internal compiler error: error reporting routines re-entered. 0x28b01e0 diagnostics::context::report_diagnostic(diagnostics::diagnostic_info*) ???:0 0x28b03f8 diagnostics::context::di

[Bug c++/121798] ICE on self-referential constraint

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121798 --- Comment #1 from Andrew Pinski --- Created attachment 62307 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62307&action=edit Simplified testcase

[Bug fortran/121796] DO CONCURRENT with typespec does not compile

2025-09-04 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121796 Jerry DeLisle changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/96255] [F2018] Implement optional type spec for index in DO CONCURRENT

2025-09-04 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96255 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Comment

[Bug c++/121798] New: ICE on self-referential constraint

2025-09-04 Thread stevenxia990430 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121798 Bug ID: 121798 Summary: ICE on self-referential constraint Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/121796] DO CONCURRENT with typespec does not compile

2025-09-04 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121796 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING --- Comment #3 from

[Bug fortran/121796] DO CONCURRENT with typespec does not compile

2025-09-04 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121796 --- Comment #2 from Jerry DeLisle --- In match_forall_iterator, which is used when we are matching and parsing a DO CONCURRENT, we are not even trying to match a typespec. I am going to review the standard before I proceed further. I do see wher

[Bug c++/121797] New: ICE on lambda-expression with invalid type

2025-09-04 Thread stevenxia990430 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121797 Bug ID: 121797 Summary: ICE on lambda-expression with invalid type Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/121796] DO CONCURRENT with typespec does not compile

2025-09-04 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121796 Jerry DeLisle changed: What|Removed |Added Last reconfirmed||2025-09-04 Assignee|unassigne

[Bug fortran/121796] New: DO CONCURRENT with typespec does not compile

2025-09-04 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121796 Bug ID: 121796 Summary: DO CONCURRENT with typespec does not compile Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: for

[Bug target/121794] New: [avr] Use zero_reg less

2025-09-04 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121794 Bug ID: 121794 Summary: [avr] Use zero_reg less Product: gcc Version: 15.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assig

[Bug tree-optimization/121793] Invalid -Wrestrict warning in memory overlap situation, gcc 14.2.1, c++20, -O3

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121793 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 from

[Bug c++/121795] New: ICE for type pack indexing

2025-09-04 Thread geza.herman at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121795 Bug ID: 121795 Summary: ICE for type pack indexing Product: gcc Version: 15.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assig

[Bug target/121510] internal compiler error: in emit_vec_extract, at config/riscv/riscv-v.cc:5651

2025-09-04 Thread vhaudiquet343 at hotmail dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121510 Valentin HAUDIQUET changed: What|Removed |Added CC||vhaudiquet343 at hotmail dot fr --

[Bug libstdc++/121097] hypot uses __promoted_t even when __cpp_fold_expressions is not defined

2025-09-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121097 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.5 Resolution|---

[Bug libstdc++/121745] The return of get(pair<_Up, _Tp>&& __p) may be ill-formed

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

[Bug libstdc++/110853] [13 Regression] Bad interaction between deduction guide with decay and constraints (CTAD, std::pair and function lvalue)

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

[Bug libstdc++/121745] The return of get(pair<_Up, _Tp>&& __p) may be ill-formed

2025-09-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121745 --- Comment #6 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:314490946370821584ce5a01c42a278f57885541 commit r13-9866-g314490946370821584ce5a01c42a278f57885541 Author: Jonathan Wake

[Bug libstdc++/110853] [13 Regression] Bad interaction between deduction guide with decay and constraints (CTAD, std::pair and function lvalue)

2025-09-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110853 --- Comment #12 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ac28c9730c14e7e6868c18420a803aed0d3935f1 commit r13-9867-gac28c9730c14e7e6868c18420a803aed0d3935f1 Author: Jonathan Wak

[Bug libstdc++/121097] hypot uses __promoted_t even when __cpp_fold_expressions is not defined

2025-09-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121097 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:877592a62e9568db7a91f1ac0d71310cb19835b2 commit r13-9865-g877592a62e9568db7a91f1ac0d71310cb19835b2 Author: Jonathan Wak

[Bug tree-optimization/105749] Bogus maybe-uninitialized when using std::optional, regex and sstream

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105749 --- Comment #7 from Andrew Pinski --- Created attachment 62304 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62304&action=edit Patch which I am testing

[Bug tree-optimization/121792] New: missing PRE due to exceptions

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121792 Bug ID: 121792 Summary: missing PRE due to exceptions Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priori

[Bug tree-optimization/114253] [13/14 regression] False positive maybe-uninitialized with std::optional and ternary

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114253 Andrew Pinski changed: What|Removed |Added Summary|[13/14/15/16 regression]|[13/14 regression] False

[Bug tree-optimization/114253] [13/14/15/16 regression] False positive maybe-uninitialized with std::optional and ternary

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114253 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #9) > This looks fixed in GCC 15+. Most likely by r15-6052-g12de1942a0a673 and > r15-9400-ge7bccec33beece . GCC now zeros out the full std::optional in > this case. T

[Bug tree-optimization/106786] [13/14/15/16 Regression] SRA regression causes extra instructions sometimes since r12-1529-gd7deee423f993bee

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106786 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/116090] Another -Wmaybe-uninitialized false positive with std::optional

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116090 --- Comment #4 from Andrew Pinski --- I have a fix for -O1 (but not at -O2).

[Bug tree-optimization/105749] Bogus maybe-uninitialized when using std::optional, regex and sstream

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

[Bug tree-optimization/121740] missed load fre/pre with std::optional

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121740 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |16.0

[Bug target/119590] macOS 15.4 SDK is not GCC compatible

2025-09-04 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119590 Iain Sandoe changed: What|Removed |Added Status|SUSPENDED |RESOLVED Resolution|---

[Bug bootstrap/121791] compiling simplify-rtx.cc fails in stageprofile of profiledbootstrap build

2025-09-04 Thread defsyn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121791 --- Comment #4 from Henry A. Garcia --- Here's the part that breaks. On Thu, Sep 4, 2025 at 11:52 AM pinskia at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121791 > > --- Comment #3 from An

[Bug c++/119060] [C++26] P1494R5/P3641R0 - Partial program correctness

2025-09-04 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119060 Iain Sandoe changed: What|Removed |Added Summary|[C++26] P1494R5 - Partial |[C++26] P1494R5/P3641R0 -

[Bug testsuite/121732] [16 Regression] g++.target/aarch64/spaceship_1.C needs to be updated after recent libstdc++ and spaceship opt changes

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

[Bug target/117013] aarch64 should define spaceship4 optab

2025-09-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117013 --- Comment #8 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e2e01a893c1770e23ec1a573403688198c321b0e commit r16-3583-ge2e01a893c1770e23ec1a573403688198c321b0e Author: Jakub Jelinek Date: T

[Bug testsuite/121732] [16 Regression] g++.target/aarch64/spaceship_1.C needs to be updated after recent libstdc++ and spaceship opt changes

2025-09-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121732 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e2e01a893c1770e23ec1a573403688198c321b0e commit r16-3583-ge2e01a893c1770e23ec1a573403688198c321b0e Author: Jakub Jelinek Date: T

[Bug bootstrap/121791] compiling simplify-rtx.cc fails in stageprofile of profiledbootstrap build

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121791 --- Comment #3 from Andrew Pinski --- if (is_a (outermode, &int_outermode) && is_a (innermode, &int_innermode) && known_eq (byte, subreg_lowpart_offset (int_outermode, int_innermode))) This is definitely initialized. This looks

[Bug bootstrap/121791] compiling simplify-rtx.cc fails in stageprofile of profiledbootstrap build

2025-09-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121791 --- Comment #2 from Sam James --- ``` make[3]: Entering directory '/mnt/ramdisk/bld/gcc-15to16/gcc' /mnt/ramdisk/bld/gcc-15to16/./prev-gcc/xg++ -B/mnt/ramdisk/bld/gcc-15to16/./prev-gcc/ -B/opt/gcc-16/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/mnt/r

[Bug bootstrap/121791] compiling simplify-rtx.cc fails in stageprofile of profiledbootstrap build

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121791 Andrew Pinski changed: What|Removed |Added Component|c++ |bootstrap Keywords|

[Bug target/93738] [13/14/15/16 regression] test case gcc.target/powerpc/20050603-3.c fails

2025-09-04 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93738 --- Comment #17 from Segher Boessenkool --- (In reply to Kishan Parmar from comment #16) > Apart from this, i notice that other arch like ia64, aarch64, etc.. lowers > zero_extract to respective bit-field extract insns.. should we do the same > f

[Bug c++/121791] New: compiling simplify-rtx.cc fails in stageprofile of profiledbootstrap build

2025-09-04 Thread defsyn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121791 Bug ID: 121791 Summary: compiling simplify-rtx.cc fails in stageprofile of profiledbootstrap build Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: nor

[Bug tree-optimization/105749] Bogus maybe-uninitialized when using std::optional, regex and sstream

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105749 --- Comment #5 from Andrew Pinski --- ``` _20 = MEM[(const struct basic_string *)i_8(D)]._M_string_length; if (_20 != 0) goto ; [33.00%] else goto ; [67.00%] ... [local count: 719407024]: goto ; [100.00%] ... # port_42 = PH

[Bug libstdc++/94960] extern template prevents inlining of standard library objects

2025-09-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960 --- Comment #21 from Jonathan Wakely --- Very few things are explicitly instantiated. It's really only std::string, and iostreams. Do we need to aggressively inline iostreams? They make use of virtual functions and opaque APIs (like std::locale)

[Bug libstdc++/121789] std:uninitialized_move_n() and friends don't optimize to memcpy

2025-09-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121789 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/121790] [C++23] Implement P3235R3, std::print more types faster with less memory

2025-09-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121790 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gc

[Bug libstdc++/121790] New: [C++23] Implement P3235R3, std::print more types faster with less memory

2025-09-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121790 Bug ID: 121790 Summary: [C++23] Implement P3235R3, std::print more types faster with less memory Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: norma

[Bug tree-optimization/116090] Another -Wmaybe-uninitialized false positive with std::optional

2025-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116090 --- Comment #3 from Andrew Pinski --- The problem here is: 9 -> 10: one_pred = _21 != 0 ((NOT (_10 != _15)) AND (_21 != 0)) After normalization [USE]: UseValue (opt_20); is conditional on: ((_24 != 0) AND (n_12 != 0) AN

[Bug tree-optimization/121660] [16 Regression] RISC-V: internal compiler error: in apply_scale, at profile-count.h:1187

2025-09-04 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121660 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug libstdc++/121789] std:uninitialized_move_n() and friends don't optimize to memcpy

2025-09-04 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121789 --- Comment #8 from Avi Kivity --- (In reply to Jonathan Wakely from comment #4) > > Or not comparing and calling memcpy() > > directly (which I see first compares against a bunch of small values before > > detecting zero, I can't make up my mi

[Bug libstdc++/121789] std:uninitialized_move_n() and friends don't optimize to memcpy

2025-09-04 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121789 --- Comment #7 from Avi Kivity --- > Or phrased differently, the choices are > the assume the bug never happens and let > users suffer with the consequences, or > trap/abort on the bug, or silently defuse > the bug and make this function a no-op

[Bug target/120763] [meta-bug] Tracker for bugs to visit during weekly RISC-V meeting

2025-09-04 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120763 Bug 120763 depends on bug 121660, which changed state. Bug 121660 Summary: [16 Regression] RISC-V: internal compiler error: in apply_scale, at profile-count.h:1187 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121660 What|Removed

[Bug tree-optimization/121523] [16 Regression] RISC-V: ICE in apply_scale, at profile-count.h:1187 since r16-3065-geee51f9a4b6

2025-09-04 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121523 Jeffrey A. Law changed: What|Removed |Added CC||skothadiya at whileone dot in --- Comm

  1   2   >