http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58580
Bug ID: 58580 Summary: preprocessor goes OOM with warning for zero literals Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Created attachment 30940 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30940&action=edit testcase > g++-4.8 -E test.cpp # 1 "test.cpp" # 1 "<command-line>" # 1 "test.cpp" test.cpp:1:1: warning: null character(s) preserved in literal [enabled by default] """"" ^ test.cpp:2:1: warning: null character(s) preserved in literal [enabled by default] "" test.cpp:3:1: warning: null character(s) preserved in literal [enabled by default] "" test.cpp:4:1: warning: null character(s) preserved in literal [enabled by default] "" cc1plus: out of memory allocating 1677721600 bytes after a total of 405504 bytes use a suitable ulimit -v to force the error.