[Bug c++/105064] requires crashes gcc

2022-03-27 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105064 --- Comment #9 from Janez Zemva --- Anyway, I've grown bored, so here's the minimal test case: #include class task { friend void suspend_to(auto const tp) noexcept requires(std::is_same_v); }; class loop { friend void suspend_to(auto

[Bug c++/105064] requires crashes gcc

2022-03-27 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105064 --- Comment #8 from Janez Zemva --- I can reproduce the bug in my rpi4b: $ g++ -std=c++20 -Ofast loopdemo.cpp -o l In file included from loopdemo.cpp:3: loop.hpp:169:55: internal compiler error: Segmentation fault 169 | requires(std::is_s

[Bug c++/105064] requires crashes gcc

2022-03-27 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105064 --- Comment #7 from Janez Zemva --- Also, I'd like to add, that you can mount a github repository with FUSE, so providing an URL is almost the same as providing an archive. https://github.com/taterbase/git-mount

[Bug c++/105064] requires crashes gcc

2022-03-27 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105064 --- Comment #6 from Janez Zemva --- Also, there are several workarounds around this bug, but I'll keep my repository in a crashing state, until you find time to produce a minimal test case.

[Bug c++/105064] requires crashes gcc

2022-03-27 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105064 --- Comment #5 from Janez Zemva --- $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --enable-languag

[Bug c++/105064] requires crashes gcc

2022-03-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105064 --- Comment #4 from Jonathan Wakely --- And segfaults are not special, it's a bug like many others.

[Bug c++/105064] requires crashes gcc

2022-03-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105064 --- Comment #3 from Jonathan Wakely --- Read it again, because you've misunderstood. It doesn't say we need a minimal example, that's not essential. But it clearly says to provide the code HERE, not via URL. And to include the output of gcc -v.

[Bug c++/105064] requires crashes gcc

2022-03-27 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105064 --- Comment #2 from Janez Zemva --- Yeah, I tried to make a minimal crash example for you, but it compiled perfectly. Anyway, you know about the crash, you know about my repository and I am no hurry for a fix, as this is my pet-project. And this

[Bug c++/105064] requires crashes gcc

2022-03-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105064 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|