gcc cc1 seg fault on large file with many function calls

rpalermo rpalermo@winterlogic.com
Tue Sep 10 14:56:00 GMT 2013


I have a generated C code file that contains a very large number of function
calls, all with similar function names (ie ff1, ff2, ff3, ..., ff500000). It
compiles using gcc versions 3.4.6 and 4.1.2.

But using version 4.4.7, it gets      gcc: Internal error: Segmentation
fault (program cc1)

The code file is 786Mb, so it's large, but not that large. But there are a
lot of static functions declared, and a lot of calls to these functions.

Any ideas?




--
View this message in context: http://gcc.1065356.n5.nabble.com/gcc-cc1-seg-fault-on-large-file-with-many-function-calls-tp967294.html
Sent from the gcc - bugs mailing list archive at Nabble.com.



More information about the Gcc-bugs mailing list