[Bug c++/102194] Incorrect explicit instantiation of constexpr variable accepted

2025-03-10 Thread michael.kenzel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102194 Michael Kenzel changed: What|Removed |Added CC||michael.kenzel at gmail dot com

[Bug c++/116872] gcc accepts unnormalized identifiers

2024-09-27 Thread michael.kenzel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116872 --- Comment #7 from Michael Kenzel --- Oh. Looks like I was looking at the wrong table… Sorry about that 😅

[Bug c++/116872] gcc accepts unnormalized identifiers

2024-09-27 Thread michael.kenzel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116872 --- Comment #4 from Michael Kenzel --- Quoting [lex.name]/1 (https://eel.is/c++draft/lex.name#1.sentence-2): The program is ill-formed if an identifier does not conform to Normalization Form C as specified in the Unicode Standard. According to

[Bug c++/116872] New: gcc accepts unnormalized identifiers

2024-09-27 Thread michael.kenzel at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: michael.kenzel at gmail dot com Target Milestone: --- According to [lex.name]/1, a program that contains an identifier that's not in Unicode Normalization Form C is ill-formed. gcc does not seem to correctly diagnose this

[Bug c++/115626] New: relax -Wsign-conversion when initializing from a literal

2024-06-24 Thread michael.kenzel at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: michael.kenzel at gmail dot com Target Milestone: --- Initializing an unsigned integer like unsigned int mask = -1; or unsigned int mask = ~0; is common practice, guaranteed

[Bug c++/115351] New: [14 regression] pointless movs when passing by value on x86-64

2024-06-04 Thread michael.kenzel at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: michael.kenzel at gmail dot com Target Milestone: --- When passing structs of certain shape by value on x86-64 (seems to be specific to this target), gcc 14 emits (fails to optimize

[Bug libstdc++/114298] std::lazy_split_view constructor is currently not explicit

2024-03-10 Thread michael.kenzel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114298 --- Comment #1 from Michael Kenzel --- I just learned that this was apparently only added in C++23 (P2711 [1]), so I was likely a bit too quick to open this issue… [1]: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2711r1.html

[Bug c++/114298] New: std::lazy_split_view constructor is currently not explicit

2024-03-10 Thread michael.kenzel at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: michael.kenzel at gmail dot com Target Milestone: --- [range.lazy.split.view][1] specifies the following constructor constexpr explicit lazy_split_view(V base, Pattern pattern

[Bug c++/114275] New: using std::thread within a templated function in a module fails to compile

2024-03-07 Thread michael.kenzel at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: michael.kenzel at gmail dot com Target Milestone: --- The following example will reproduce the issue: // A.ixx module; #include export

[Bug c++/113580] New: -Wunused-parameter in template imported from module causes segmentation fault

2024-01-24 Thread michael.kenzel at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: michael.kenzel at gmail dot com Target Milestone: --- The following example will reproduce the issue: // A.ixx export module A; export void fun

[Bug c++/113153] New: suboptimal error message when using reserved identifier

2023-12-26 Thread michael.kenzel at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: michael.kenzel at gmail dot com Target Milestone: --- When using a keyword as the name of an enum, gcc will issue a diagnostic about the enum being "unnamed". This can be very

[Bug c++/112899] New: odr-using constexpr static data member of class exported from module results in linker error

2023-12-07 Thread michael.kenzel at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: michael.kenzel at gmail dot com Target Milestone: --- The following example will reproduce the issue: // A.ixx export module A; export struct

[Bug c++/112820] New: vtable not emitted correctly from module when compiling with -g

2023-12-01 Thread michael.kenzel at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: michael.kenzel at gmail dot com Target Milestone: --- When compiling a class with virtual member functions declared in a module interface unit and defined in a module implementation

[Bug c++/112631] New: gcc rejects block-scope declaration of function in a module unit even if the function is attached to the global module fragment

2023-11-19 Thread michael.kenzel at gmail dot com via Gcc-bugs
Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: michael.kenzel at gmail dot com Target Milestone: --- repro: https://godbolt.org/z/h5f798eEY

[Bug c++/101463] New: Using a constexpr variable template specialization as default argument for non-type template parameter of reference type leads gcc to reject function call

2021-07-15 Thread michael.kenzel at gmail dot com via Gcc-bugs
Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: michael.kenzel at gmail dot com Target Milestone: --- The following code

[Bug c++/92579] New: compiler rejects list initialization of character array member from string literal in return statement

2019-11-19 Thread michael.kenzel at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: michael.kenzel at gmail dot com Target Milestone: --- The following code will reproduce the issue (seems to affect all versions of gcc that support