[Bug c++/85114] [6/7 Regression] -fstack-check causes ICE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85114 Martin Liška changed: What|Removed |Added Keywords|needs-reduction | --- Comment #9 from Martin Liška --- Reduced test-case: $ cat Unified_cpp_layout_generic1.ii class c { int *b; }; class B { char d; }; class e { public: virtual B f(); struct h { e *g; e *i; void j() { l = g->f(); } int k; int n; B l; c m; }; struct o : h { bool p; }; }; class G : e { int q(); }; int G::q() { o a; for (;;) a.j(); }
[Bug c++/85114] [6/7 Regression] -fstack-check causes ICE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85114 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code Status|WAITING |NEW Known to work||8.2.0, 9.0 Summary|-fstack-check causes|[6/7 Regression] |internal compiler error |-fstack-check causes ICE Known to fail||6.4.0, 7.3.0 --- Comment #8 from Martin Liška --- (In reply to Eric Botcazou from comment #7) > > Btw. works fine on Linux. > > Maybe with -fstack-check=generic? Yes, that causes ICE also on Linux. Fixed on trunk since r251650. I'll try to come up with a reduced test-case.