Is test case with 700k lines of code a valid test case?
Richard Biener
richard.guenther@gmail.com
Mon Mar 14 18:03:00 GMT 2016
On March 14, 2016 4:31:57 PM GMT+01:00, Andrey Tarasevich <tarasevich@cs.uni-saarland.de> wrote:
>Hi,
>
>I have a source file with 700k lines of code 99% of which are printf()
>statements. Compiling this test case crashes GCC 5.3.0 with
>segmentation fault.
>Can such test case be considered valid or source files of size 35 MB
>are too much for a C compiler and it should crash? It crashes on Ubuntu
>14.04 64bit with 16GB of RAM.
It is supposed to compile fine with -O1 at least.
Richard.
>Cheers,
>Andrey
More information about the Gcc
mailing list