Date: Sat, 3 Jan 2004 21:16:29 -0800 (PST) From: Nicolas Hatier <nicolas.hatier@niversoft.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/60883: gcc preprocessor Segmentation Fault when input file is longer than 12288 bytes Message-ID: <200401040516.i045GTex038615@www.freebsd.org> Resent-Message-ID: <200401040520.i045KDXQ060243@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60883 >Category: ports >Synopsis: gcc preprocessor Segmentation Fault when input file is longer than 12288 bytes >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 03 21:20:13 PST 2004 >Closed-Date: >Last-Modified: >Originator: Nicolas Hatier >Release: FreeBSD 5.-RELEASE i386 >Organization: Niversoft >Environment: FreeBSD something.niversoft.com 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: Using gcc 3.3.3 20031103 (prerelease) repro on 3.3 and 3.2.2, not tested below When compiling a file longer than 12288 bytes, the preprocessor stops in a segmentation fault. Not reproduceable on other ports of gcc. >How-To-Repeat: Create a file, test.cpp, that contains exactly 12288 characters. That can be anything parseable, I opt for a long commented block > cpp test.cpp -- this works Add one character to the file > cpp test.cpp [..] internal compiler error, Segmentation fault >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401040516.i045GTex038615>