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

2015-07-21 Thread mpolacek at gcc dot gnu.org
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

[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] The gcc 4.9.2 crashes when processing declarations such as: int (( ... (x) ... ))

2015-07-18 Thread pinskia at gcc dot gnu.org
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

[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