This is the mail archive of the
mailing list for the GCC project.
Re: Is test case with 700k lines of code a valid test case?
- From: Andrey Tarasevich <tarasevich at cs dot uni-saarland dot de>
- To: Dennis Luehring <dl dot soluz at gmx dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 14 Mar 2016 16:51:01 +0100
- Subject: Re: Is test case with 700k lines of code a valid test case?
- Authentication-results: sourceware.org; auth=none
- References: <F3880EB7-70F6-475B-A6E6-363B50DD2AD4 at cs dot uni-saarland dot de> <56E6DC50 dot 7040909 at gmx dot net>
I cross-checked with Clang 3.7.1. It eats up 4gb of RAM and compiles it under 40sec
> On 14 Mar 2016, at 16:44, Dennis Luehring <email@example.com> wrote:
> also cross-checked with clang 3.8?
> Am 14.03.2016 um 16:31 schrieb Andrey Tarasevich:
>> 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.