🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1339

Unwanted sign extension in diagnostic

#1339
From: Francois Pinard
Date: Tue, 10 Nov 1992 21:49
22 lines
1280 bytes
The following problem, reported against GNU C 1.40 on 25 Jan 92, still
exists here with GNU C 1.41, itself compiled with GNU C 1.40 under
COFF encapsulation on this 386/ix 2.0.2 system (waiting for Hurd :-).

If I erroneously use accented characters, writing a C identifier, GNU
C complains:

   510) gcc bug1.c
   bug1.c:1: parse error before character 037777777752

The diagnostic should avoid extending the sign of the character.  File
bug1.c is uuencoded because many mailers destroy the 8-th bit:

begin 640 bug1.c
,ZG1R92`H*2![('T*
`
end

-- 
Franc,ois Pinard        ``Vivement GNU!''       pinard@iro.umontreal.ca
(514) 588-4656                                   ...!uunet!iros1!pinard
About the League for Programming Freedom?  Email me or lpf@uunet.uu.net
Technical Details
Message-ID: <9211102149.AA04954@icule.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!icule.UUCP!pinard

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!icule.UUCP!pinard
From: pinard@icule.UUCP (Francois Pinard)
Subject: Unwanted sign extension in diagnostic
Message-ID: <9211102149.AA04954@icule.UUCP>
Sender: gnulists@ai.mit.edu
Reply-To: pinard@iro.umontreal.ca
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 10 Nov 1992 21:49:52 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 23