[Bug c/85704] [8/9 Regression] cc1 run out of memory when it compile
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 23 12:16:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85704
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|needs-bisection, |
|needs-reduction |
CC| |dave.pagan at oracle dot com,
| |jsm28 at gcc dot gnu.org
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase for -Os:
struct C { struct {} c; };
struct D { int d; struct C e; int f; };
void
foo (struct D *x)
{
*x = (struct D) { .e = (struct C) { .c = {} } };
}
More information about the Gcc-bugs
mailing list