https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67262
Mikhail Maltsev <miyuki at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |miyuki at gcc dot gnu.org --- Comment #1 from Mikhail Maltsev <miyuki at gcc dot gnu.org> --- Please try a more recent version of GCC. Version 4.4 is not supported any more (minimum supported version is 4.9). "Killed" suggests that it is an out-of-memory issue. Current version requires less than 2 GB of RAM to compile this source at -O2 (and only slightly more than 2 GB at -O3), so upgrading is likely to help. Another option is to split this huge function into smaller ones (i.e., handle one or two first characters in a single function and call other functions to handle the rest). This approach can help, because most optimizations process single function at a time.