X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <21733192 DOT 1187555039324 DOT JavaMail DOT root AT elwamui-royal DOT atl DOT sa DOT earthlink DOT net> Subject: RE: Line info causes GCC to bomb? Date: Mon, 20 Aug 2007 09:16:53 +0100 Message-ID: <074c01c7e302$778dcd10$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <21733192.1187555039324.JavaMail.root@elwamui-royal.atl.sa.earthlink.net> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l7K8H8mh022104 On 19 August 2007 21:24, g6522c AT earthlink DOT net wrote: > I haven't seen this problem anywhere in the list archive, so > here it is. > > This preprocessed input causes GCC (3.4.4) to segfault.... > > # 1 "test.c" 1 > > int main () { > return 0; > } > > ... and this doesn't: > > # 1 "test.c" > # 1 "test.c" 1 > > int main () { > return 0; > } > > Am I missing something? Nope, I can reproduce it. Was it you or gcc that generated that preprocessed file? It obviously shouldn't crash, but it's a much higher priority if gcc itself generates invalid preprocessed output than if it gets confused by something you've hand-generated (or post-pre-processed!) yourself. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/