[Bug c++/85114] [6/7 Regression] -fstack-check causes ICE

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 10 08:09:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85114

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-reduction             |

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
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();
}


More information about the Gcc-bugs mailing list