From wollman@hergotha.lcs.mit.edu  Sat Jan 27 08:24:20 2001
Return-Path: <wollman@hergotha.lcs.mit.edu>
Received: from hergotha.lcs.mit.edu (hergotha.lcs.mit.edu [18.23.11.98])
	by hub.freebsd.org (Postfix) with ESMTP id 2A93837B400
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 27 Jan 2001 08:24:19 -0800 (PST)
Received: (from wollman@localhost)
	by hergotha.lcs.mit.edu (8.11.2/8.11.2) id f0RGOHe67361;
	Sat, 27 Jan 2001 11:24:17 -0500 (EST)
	(envelope-from wollman)
Message-Id: <200101271624.f0RGOHe67361@hergotha.lcs.mit.edu>
Date: Sat, 27 Jan 2001 11:24:17 -0500 (EST)
From: Garrett Wollman <wollman@hergotha.lcs.mit.edu>
Reply-To: wollman@hergotha.lcs.mit.edu
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: gcc 2.95.3 cannot compile rince.c from IOCCC-2000
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         24681
>Category:       gnu
>Synopsis:       gcc 2.95.3 cannot compile rince.c from IOCCC-2000
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 27 08:30:01 PST 2001
>Closed-Date:    Thu Apr 10 10:21:22 PDT 2003
>Last-Modified:  Thu Apr 10 10:21:22 PDT 2003
>Originator:     Garrett Wollman
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
MIT Lab for Computer Science
>Environment:
System: FreeBSD hergotha.lcs.mit.edu 5.0-CURRENT FreeBSD 5.0-CURRENT #19: Thu Jan 25 19:37:42 EST 2001 wollman@hergotha.lcs.mit.edu:/usr/src/sys/compile/HERGOTHA i386

wollman@hergotha(224)$ cc -v
Using builtin specs.
gcc version 2.95.3 20010101 (prerelease)

XFree86 header files are from XFree86 3.x from about a year ago.

>Description:
	Get IOCCC 2000 winners from <http://www.ioccc.org/>.
	Try to compile rince.c.
	Notice that the C preprocessor converts a reference to local
	variable `S' into capital `Eth' (interpreting as ISO-8859-1).
	Compile with `cc -save-temps', edit the .i file to fix the erroneous
	character, and recompile.  Program works as intended.

>How-To-Repeat:
	See above.
>Fix:
	Forward report to gcc developers.


>Release-Note:
>Audit-Trail:

From: Kris Kennaway <kris@obsecurity.org>
To: Garrett Wollman <wollman@hergotha.lcs.mit.edu>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: gnu/24681: gcc 2.95.3 cannot compile rince.c from IOCCC-2000
Date: Sat, 27 Jan 2001 20:48:55 -0800

 --T4sUOijqQbZv57TR
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Sat, Jan 27, 2001 at 11:24:17AM -0500, Garrett Wollman wrote:
 > >Fix:
 > 	Forward report to gcc developers.
 
 Couldn't you do this to save David the work?
 
 Kris
 
 --T4sUOijqQbZv57TR
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.4 (FreeBSD)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE6c6S3Wry0BWjoQKURAqJrAJ9m+nMUCa7dnel5KK7Za9bBD1ONkQCg3GGf
 LZzKcwJ7OjrPZd23xXPW3Tg=
 =hOoo
 -----END PGP SIGNATURE-----
 
 --T4sUOijqQbZv57TR--
 
State-Changed-From-To: open->feedback 
State-Changed-By: gerald 
State-Changed-When: Sun Apr 6 13:16:25 PDT 2003 
State-Changed-Why:  
Can you still reproduce this, also with a current version of GCC, that 
is, GCC 3.x?  CPP has been rewritten quite a bit since 2.95. 
(In any case, this doesn't look like a FreeBSD issue, would you mind 
reporting it via http://gcc.gnu.org/bugs.html ?  Unless you confirm this 
as a FreeBSD-specific issue I will close this PR.) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24681 
State-Changed-From-To: feedback->closed 
State-Changed-By: wollman 
State-Changed-When: Thu Apr 10 10:20:35 PDT 2003 
State-Changed-Why:  
No longer reproduceable. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24681 
>Unformatted:
