https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66903
Marek Polacek mpolacek at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66903
--- Comment #4 from Salva Peiró speirofr at gmail dot com ---
Confirmed, the cause of the crash is the parser
_cpp_lex_direct() consuming the default 8 MB Linux stack.
Indeed, ulimit -s shows the stack size limit is set to 8192 KB,
After
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66903
--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org ---
You are most likely overflowing the stack. That is the stack is growing and
hitting the stack size. The default stack size for Linux is 8MB, try using
ulimit -s unlimited before
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66903
--- Comment #1 from Salva Peiró speirofr at gmail dot com ---
Created attachment 36001
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36001action=edit
parens.i: Preprocesed sourced with gcc -v -save-temps
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66903
--- Comment #2 from Salva Peiró speirofr at gmail dot com ---
$ gcc parens.c
gcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See