[Bug c/66903] The gcc 4.9.2 crashes when processing declarations such as: int (( ... (x) ... ))

2015-07-19 Thread speirofr at gmail dot com
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

[Bug c/66903] New: The gcc 4.9.2 crashes when processing declarations such as: int (( ... (x) ... ))

2015-07-17 Thread speirofr at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: speirofr at gmail dot com Target Milestone: --- The gcc 4.9.2 crashes when processing declarations such as: int (( ... (x) ... )), with the number of parens 400.

[Bug c/66903] The gcc 4.9.2 crashes when processing declarations such as: int (( ... (x) ... ))

2015-07-17 Thread speirofr at gmail dot com
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

[Bug c/66903] The gcc 4.9.2 crashes when processing declarations such as: int (( ... (x) ... ))

2015-07-17 Thread speirofr at gmail dot com
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 file:///usr/share/doc/gcc