Bug#961011: g++-9: internal compiler error: in asan_expand_mark_ifn, at asan.c:3194
On Tue, 19 May 2020 12:38:57 +0200 "Michael R. Crusoe"
<michael.crusoe@gmail.com> wrote:
> Attached is the reduced example.
Pardon me, that first attachment only fails on gcc-snapshot's g++
Attached is an example that does fail on g++-9, g++-10, and
gcc-snapshot's g++
class a {
public:
long b();
};
class c {
public:
float i;
};
struct d {};
class e {
public:
static d f() {
d g;
return g;
}
};
c h;
void fn1() {
a j;
for (; j.b();)
#pragma omp parallel
{
if (h.i)
goto k;
e::f();
k:;
}
}
Reply to: