https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101233
--- Comment #4 from 欢乐的0403 <475647575 at qq dot com> ---
Good, looking forward to it being fixed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101233
--- Comment #2 from 欢乐的0403 <475647575 at qq dot com> ---
This stumps me. I don't know if the code is valid or not.
But these code compiles:
v | ::ranges::v3::to;
v | ::ranges::v3::to_vector;
So I guess the code is more likely to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101233
Bug ID: 101233
Summary: ICE when using ::ranges::v3::to
Product: gcc
Version: 11.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98413
--- Comment #1 from 欢乐的0403 <475647575 at qq dot com> ---
// A smaller example:
#include
struct A{
int m;
};
A a;
void f(int A::*member_pointer)
{
new (&(a.*member_pointer)) int;
}
//https://godbolt.org/z/KhPq9e
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98413
Bug ID: 98413
Summary: ICE with placement new
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: una