[Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 18 10:01:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Reduced test-case:
typedef int a;
enum b : a;
class c {
public:
enum { d };
virtual b e(int *, int, const int *) = 0;
};
class f : c {
b e(int *, int, const int *);
b g();
};
b f::e(int *h, int i, const int *j) {
if (i == d)
return g();
for (;;)
e(h, i, j);
}
int k;
c *l;
void m() { l->e(&k, c::d, nullptr); }
More information about the Gcc-bugs
mailing list