Open gogoprog opened 11 months ago
Also segfault with the sample shown bellow see discussion here https://github.com/robertoraggi/cplusplus/issues/311 .
void test()
{
int i;
( ({ long __cpu = ((long) i); }));
}
Any union seems to segfault the compiler. Minimal repro (creduce'd from actual code):
typedef union {
} a;
a b{};
Hello,
I encountered a segmentation fault when compiling code involving
constexpr
andunion
. Here is the minimal reproducible case :If the
union
or theconstexpr
is removed, the compilation becomes functional.