[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
Wed Aug 1 09:36:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85704
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Aug 1 09:35:34 2018
New Revision: 263199
URL: https://gcc.gnu.org/viewcvs?rev=263199&root=gcc&view=rev
Log:
PR c/85704
* c-typeck.c (init_field_decl_cmp): New function.
(output_pending_init_elements): Use it for field comparisons
instead of pure bit_position comparisons.
* gcc.c-torture/compile/pr85704.c: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/compile/pr85704.c
Modified:
branches/gcc-8-branch/gcc/c/ChangeLog
branches/gcc-8-branch/gcc/c/c-typeck.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list