[Bug target/118945] RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed

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

[Bug tree-optimization/117760] `a != b` implies that a or b is also non-zero

2025-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117760 --- Comment #5 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:5193b9d250a8ecec669a87708a1a98abae94130f commit r16-4219-g5193b9d250a8ecec669a87708a1a98abae94130f Author: Matteo Nicoli Date: Sat Oc

[Bug fortran/122165] New: [PDT] gfortran does catch F2023:R916

2025-10-04 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122165 Bug ID: 122165 Summary: [PDT] gfortran does catch F2023:R916 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug tree-optimization/122166] New: Look into setting PROP_last_full_fold for -Og earlier

2025-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122166 Bug ID: 122166 Summary: Look into setting PROP_last_full_fold for -Og earlier Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enha

[Bug tree-optimization/122083] [15/16 Regression] Bogus -Wnonnull for call to memcmp with length determined using <=> operator

2025-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122083 --- Comment #12 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:14a825d4891f12ae0e2595b6b08a318f5dcb commit r16-4220-g14a825d4891f12ae0e2595b6b08a318f5dcb Author: Andrew Pinski Date: F

[Bug fortran/107968] array slicing gives wrong result for an array pointer defined in a subroutine

2025-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107968 --- Comment #6 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e3431c6fd4691d5a0c48ee78869e5f9a79f217c3 commit r16-4222-ge3431c6fd4691d5a0c48ee78869e5f9a79f217c3 Author: Harald Anlauf Date: F

[Bug c++/122167] Redeclaring class as deprecated produces warning

2025-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122167 --- Comment #1 from Andrew Pinski --- I get a different warning: :3:22: warning: type attributes ignored after type is already defined [-Wattributes] 3 | class [[deprecated]] Foo; | ^~~

[Bug target/121845] [Trunk] RISC-V rv64gcv: miscompile at -O0

2025-10-04 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121845 --- Comment #1 from Robin Dapp --- Quickly looked into this and it appears to be an issue with the "series pattern" recognition. Working on a patch.

[Bug tree-optimization/117760] `a != b` implies that a or b is also non-zero

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

[Bug ada/122159] Ada RM example does not compile

2025-10-04 Thread christ-usch.grein--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122159 --- Comment #4 from Christoph & Ursula Grein --- Eric Excuse me for insisting and wasting your time. But dormant is the same as suspended. Why is this so? Do you think about raising an AI? IMHO it's a bad experience if an RM example does ot

[Bug tree-optimization/122166] Look into setting PROP_last_full_fold for -Og earlier

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

[Bug c/117687] Wzero-as-nullpointer-constant should warn for zeros of type bool, enum, and _BitInt

2025-10-04 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117687 --- Comment #3 from uecker at gcc dot gnu.org --- Examples: https://godbolt.org/z/M5T5GPrrr int *f() { return false; } enum : int { E = 0 }; int *g() { return E; } int *h() { constexpr _BitInt(4) b = 0; return b; }

[Bug target/120782] RISC-V: vector-strict-align not working for spec17 521 ref size

2025-10-04 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120782 --- Comment #9 from Jeffrey A. Law --- In response to c#8, yes the alignment data attached to a MEM should be conservatively correct.

[Bug tree-optimization/122104] [13/14/15/16 Regression] Incorrect range after widening_mul creating MUL_OVERFLOW since r11-6579

2025-10-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122104 --- Comment #4 from Jakub Jelinek --- Created attachment 62497 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62497&action=edit gcc16-pr122104.patch Untested fix.

[Bug ada/122160] New: String concatenation: Ada RM 4.5.3(5) not followed

2025-10-04 Thread christ-usch.grein--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122160 Bug ID: 122160 Summary: String concatenation: Ada RM 4.5.3(5) not followed Product: gcc Version: 15.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug target/122158] New: [16 Regression] PowerPC64LE: Trigger internal error at O2

2025-10-04 Thread xxs_chy at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122158 Bug ID: 122158 Summary: [16 Regression] PowerPC64LE: Trigger internal error at O2 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/122163] New: Lambda use of rvalue ref not considered an lvalue

2025-10-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122163 Bug ID: 122163 Summary: Lambda use of rvalue ref not considered an lvalue Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug libstdc++/122157] Canadian cross build failing with the latest GCC trunk

2025-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122157 --- Comment #1 from Andrew Pinski --- How did you build the cross to the target ? Or you didn't?

[Bug ada/122161] New: Visibility problem

2025-10-04 Thread christ-usch.grein--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122161 Bug ID: 122161 Summary: Visibility problem Product: gcc Version: 15.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: una

[Bug target/118945] RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed

2025-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118945 --- Comment #14 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:4b4d5fc649a2678d539f6ed119ee2a1bb4db9a2e commit r16-4215-g4b4d5fc649a2678d539f6ed119ee2a1bb4db9a2e Author: Zhongyao Chen Date: Sat O

[Bug target/122114] [16 regression] ICE when building libgcrypt-1.11.2 on riscv with -fstack-clash-protection (in to_constant, at poly-int.h:592)

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

[Bug ada/64869] ineffective "use all" clause for type declared in nested package

2025-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64869 --- Comment #8 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:70639fc6067b315b3527e17077eba72b74eb42b4 commit r16-4214-g70639fc6067b315b3527e17077eba72b74eb42b4 Author: Eric Botcazou Date: Sa

[Bug tree-optimization/122104] [13/14/15/16 Regression] Incorrect range after widening_mul creating MUL_OVERFLOW since r11-6579

2025-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122104 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:867f777cee9f44027a3724fbad266c5cfb3a311f commit r16-4218-g867f777cee9f44027a3724fbad266c5cfb3a311f Author: Jakub Jelinek Date: S

[Bug tree-optimization/122153] cselim and cselim-limited should be able to handle `= {}`

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

[Bug c++/112632] [14 Regression] Non-type template parameter created with converting constructor sometimes has original type

2025-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112632 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5ee5a05da06078975a933be849431eee1d4c6989 commit r16-4211-g5ee5a05da06078975a933be849431eee1d4c6989 Author: Jason Merrill Date: Fr

[Bug c++/114457] [C++26] P2795R5 - Erroneous behavior for uninitialized reads

2025-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114457 --- Comment #8 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f256a13f8aed833fe964a2ba541b7b30ad9b4a76 commit r16-4212-gf256a13f8aed833fe964a2ba541b7b30ad9b4a76 Author: Jakub Jelinek Date: S

[Bug libstdc++/122156] [16 regression] qtbase-6.10.0rc tests fail to build

2025-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122156 --- Comment #2 from Andrew Pinski --- https://eel.is/c++draft/sort https://eel.is/c++draft/iterator.concept.random.access#concept:random_access_iterator { j[n] } -> same_as>; This is looking more and more like a QT issue.

[Bug fortran/107968] array slicing gives wrong result for an array pointer defined in a subroutine

2025-10-04 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107968 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu

[Bug ada/122159] Ada RM example does not compile

2025-10-04 Thread christ-usch.grein--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122159 --- Comment #2 from Christoph & Ursula Grein --- By the way: What does mean SUSPENDED? Am 04.10.2025 um 12:02 schrieb ebotcazou at gcc dot gnu.org: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122159 > > Eric Botcazou changed: > >

[Bug c++/110338] Implement C++26 language features

2025-10-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110338 Bug 110338 depends on bug 114457, which changed state. Bug 114457 Summary: [C++26] P2795R5 - Erroneous behavior for uninitialized reads https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114457 What|Removed |Added --

[Bug c/122162] New: constexpr and set but not used

2025-10-04 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122162 Bug ID: 122162 Summary: constexpr and set but not used Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assig

[Bug ada/122160] String concatenation: Ada RM 4.5.3(5) not followed

2025-10-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122160 Eric Botcazou changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/117658] Different ADL behavior between gcc and clang

2025-10-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117658 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/122083] [15/16 Regression] Bogus -Wnonnull for call to memcmp with length determined using <=> operator

2025-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122083 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > The other issue is SRA is Disqualifying due to D.8570 being const but since > it is a local const that does not matter. > > ! Disqualifying D.8570 - Encountered

[Bug c++/122127] [16 Regression] ICE/segfault in mark_use

2025-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122127 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5ee5a05da06078975a933be849431eee1d4c6989 commit r16-4211-g5ee5a05da06078975a933be849431eee1d4c6989 Author: Jason Merrill Date: Fr

[Bug ada/122159] New: Ada RM example does not compile

2025-10-04 Thread christ-usch.grein--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122159 Bug ID: 122159 Summary: Ada RM example does not compile Product: gcc Version: 15.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug ada/122159] Ada RM example does not compile

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

[Bug c++/117658] Different ADL behavior between gcc and clang

2025-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117658 --- Comment #5 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:a8ecf4580442e463c3a023b6724fb27e6b7e0804 commit r16-4210-ga8ecf4580442e463c3a023b6724fb27e6b7e0804 Author: Nathaniel Shead Date:

[Bug ada/64869] ineffective "use all" clause for type declared in nested package

2025-10-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64869 Eric Botcazou changed: What|Removed |Added Target Milestone|--- |16.0 Resolution|---

[Bug ada/122161] Visibility problem

2025-10-04 Thread christ-usch.grein--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122161 --- Comment #2 from Christoph & Ursula Grein --- Understood. This was the way I reported bugs at the time when I was a supported customer, and also when I sent public reports. Am 04.10.2025 um 12:13 schrieb ebotcazou at gcc dot gnu.org: > See

[Bug ada/122159] Ada RM example does not compile

2025-10-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122159 --- Comment #3 from Eric Botcazou --- > By the way: What does mean SUSPENDED? It means that the bug is in a dormant state for now.

[Bug ada/122160] String concatenation: Ada RM 4.5.3(5) not followed

2025-10-04 Thread christ-usch.grein--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122160 --- Comment #2 from Christoph & Ursula Grein --- Dear Eric, in the contrary, I think it might be helpful when there is a hint to something you have already been working on. But OK, I'll refrain from sending cross-report. Have a nice day. Ch

[Bug ada/122161] Visibility problem

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

[Bug c++/101140] [modules] no matching function for call to ‘operator new(sizetype, void*)’

2025-10-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101140 --- Comment #6 from Nathaniel Shead --- The testcase in comment #0 still fails after the fixes for ADL in PR117658, because the 'operator new' declaration in new.hpp has been discarded. This can be worked around by adding a 'using ::operator ne

[Bug c/117652] [14/15/16 regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in tagged_types_tu_compatible_p, at c/c-typeck.cc:1919

2025-10-04 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117652 --- Comment #5 from uecker at gcc dot gnu.org --- I can't reproduce this on 15/16 anymore.

[Bug tree-optimization/122155] New: cond_if_else_store_replacement_1 does not need to create an extra name if the rhs is equal

2025-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122155 Bug ID: 122155 Summary: cond_if_else_store_replacement_1 does not need to create an extra name if the rhs is equal Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug target/122158] [16 Regression] PowerPC64LE: Trigger internal error at O2

2025-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122158 Andrew Pinski changed: What|Removed |Added Target||powerpc64le-linux-gnu Target Mileston

[Bug tree-optimization/122083] [15/16 Regression] Bogus -Wnonnull for call to memcmp with length determined using <=> operator

2025-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122083 --- Comment #13 from Andrew Pinski --- Patch submitted: https://gcc.gnu.org/pipermail/gcc-patches/2025-October/696684.html

[Bug target/122114] [16 regression] ICE when building libgcrypt-1.11.2 on riscv with -fstack-clash-protection (in to_constant, at poly-int.h:592)

2025-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122114 --- Comment #3 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:ab429ea91d50e5ddb8eb5bc2098c6a476860a01b commit r16-4217-gab429ea91d50e5ddb8eb5bc2098c6a476860a01b Author: Raphael Moreira Zinsly Date:

[Bug c++/122164] Type deduction with `auto` does not seem to work through static member variable initialization

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

[Bug target/121933] [16 Regression] gcs-nonlocal-1-track-speculation.c ICEs

2025-10-04 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121933 uecker at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/122165] [PDT] gfortran does not catch F2023:R916

2025-10-04 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122165 Paul Thomas changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/122147] [16 Regression] ICE: maximum number of generated reload insns per insn achieved (90) with -O2 -march=rv64gcv

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