: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: curdeius at gmail dot com
Target Milestone: ---
Related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100070
It's related to the above bug report, but it con
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
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.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105577
--- Comment #17 from Curdeius Curdeius ---
Thanks a lot for fixing this quickly!
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.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105577
Curdeius Curdeius changed:
What|Removed |Added
CC||curdeius at gmail dot com
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
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
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
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
: 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
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
14 matches
Mail list logo