[Bug libstdc++/84671] New: Chrono literals don't accept apostrophe as separator

2018-03-02 Thread curdeius at gmail dot com
y: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: curdeius at gmail dot com Target Milestone: --- Created attachment 43547 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43547&action=edit bug-chrono-literals-apostrophe-repro Concerned GCC ve

[Bug c++/67762] [C++1z] 'not a constant expression" errors only with -fsanitize=undefined

2021-11-10 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67762 --- Comment #8 from Curdeius Curdeius --- A different (rather small) reproduce. https://godbolt.org/z/bz9sTd34o It fails with all the versions of gcc from at least 7 (the above code needs `auto` in template non-type parameter) to trunk from 2021

[Bug c++/102740] New: [11.2/12 Regression] Data member not found in struct inside an unnamed union

2021-10-14 Thread curdeius at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: curdeius at gmail dot com Target Milestone: --- Reproduce on godbolt: https://godbolt.org/z/3frPbPj35. This snippet of code works ok on gcc 11.1, but fails to compile on

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2021-10-14 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 --- Comment #1 from Curdeius Curdeius --- Also, the bug doesn't appear (or TBH, it's a different bug), when the unnamed union contains a `content` data member. But it seems to be a bug then as well, because it's not what is intended to be initia

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2021-10-14 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 --- Comment #3 from Curdeius Curdeius --- For other users with this problem, a workaround is to use a named struct. So here, it would look like: ``` typedef struct { const void* content; } put_t; typedef struct { union { put_t p

[Bug c++/105577] New: [12 Regression] ICE in delete_unmarked_insns, at dce.cc:653

2022-05-12 Thread curdeius at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: curdeius at gmail dot com Target Milestone: --- Similar to bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90082. GCC 12.1.0 ICEs when compiling this code with: ``` g

[Bug c++/105577] [12 Regression] ICE in delete_unmarked_insns, at dce.cc:653

2022-05-12 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105577 Curdeius Curdeius changed: What|Removed |Added CC||curdeius at gmail dot com

[Bug c++/105577] [12 Regression] ICE in delete_unmarked_insns, at dce.cc:653

2022-05-12 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105577 --- Comment #2 from Curdeius Curdeius --- Created attachment 52966 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52966&action=edit Preprocessed source of the minimal reproducer

[Bug rtl-optimization/105577] [12/13 Regression] ICE in delete_unmarked_insns, at dce.cc:653

2022-05-12 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105577 --- Comment #4 from Curdeius Curdeius --- Created attachment 52967 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52967&action=edit A slightly reduced case A bit more reduced reproducer. Not sure it helps.

[Bug rtl-optimization/105577] [12 Regression] ICE in delete_unmarked_insns, at dce.cc:653 since r12-248-gb58dc0b803057c0e

2022-06-01 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105577 --- Comment #17 from Curdeius Curdeius --- Thanks a lot for fixing this quickly!

[Bug c++/116052] New: [15 Regression] ICE in diagnostic_context::diagnostic_impl

2024-07-23 Thread curdeius at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: curdeius at gmail dot com Target Milestone: --- An ICE occurs on current trunk (as of 2024-07-23). It works fine with GCC 14.1. Godbolt: https://godbolt.org/z/rq67Mnsrr The code is the

[Bug c++/116052] [15 Regression] ICE in diagnostic_context::diagnostic_impl

2024-07-25 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116052 --- Comment #5 from Curdeius Curdeius --- FWIW, there's another similar case where an ICE occurs on gcc trunk but works fine on gcc 14 and clang: https://godbolt.org/z/T8srhKvje. P.S. Thank you Andrew for attaching the preprocessed code.

[Bug c++/116052] [15 Regression] ICE in diagnostic_context::diagnostic_impl

2024-07-25 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116052 --- Comment #6 from Curdeius Curdeius --- A smaller reproduce: https://godbolt.org/z/YGbdbPqh7: ``` #include stdexec::sender auto f() { return stdexec::just() | stdexec::then([](auto... args) { }); // Removing then makes it com