[Bug c++/120385] [14/15/16 Regression] GCC 14 incorrectly accepts array prvalues with certain operators

2025-05-21 Thread language.lawyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120385 --- Comment #2 from Language Lawyer --- (In reply to Andrew Pinski from comment #1) > Is this still valid? > ``` > int main() > { > using IA = int[]; > using IP = int*; > void(+IP{IA{ 1, 2, 3 }}); > } > ``` Prolly, the wording is (was) a

[Bug c++/120385] New: Incorrectly accepts array prvalues with certain operators

2025-05-21 Thread language.lawyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120385 Bug ID: 120385 Summary: Incorrectly accepts array prvalues with certain operators Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/111113] Cannot define friend function of a local class in namespace scope

2023-08-23 Thread language.lawyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13 Language Lawyer changed: What|Removed |Added CC||language.lawyer at gmail dot com ---

[Bug c++/69701] "v.operator T()" incorrectly parsed if "v.T()" present.

2022-01-07 Thread language.lawyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69701 Language Lawyer changed: What|Removed |Added CC||language.lawyer at gmail dot com ---

[Bug c++/51757] friend defined inside class and declared inside main linker error

2021-01-18 Thread language.lawyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51757 Language Lawyer changed: What|Removed |Added CC||language.lawyer at gmail dot com ---