🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6386

(none)

#6386
From: Deputy News Master
Date: Sat, 09 Dec 1995 00:00
33 lines
1412 bytes
Newsgroups: gnu.gcc.bug
Path: usenet
From: Denis Altudov <den@iisnw.iis.nsk.su>
Subject: GCC's '+' bug?
Content-Type: text/plain; charset=us-ascii
To: bug-gcc@prep.ai.mit.edu
Sender: usenet@itfs.nsk.su
Content-Transfer-Encoding: 7bit
Organization: Institute of Informatics Systems. xTech Ltd.
Message-ID: <DJAyBw.8LB@itfs.nsk.su>
X-Url: news:gnu.gcc.bug
X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.05 9000/715)
Mime-Version: 1.0
X-Nntp-Posting-Host: andy.iis.nsk.su
Date: Sat, 9 Dec 1995 04:40:44 GMT
Lines: 17

Hi there,
i don't know wheither this is a bug or not, but the following
-----------------
main(){
  int i=0xbe+1;
}
-----------------
can not be compiled with many GCC's versions, particulary Linux' 2.7.0 and
HP-UX's 2.6.3. GCC says 'garbage at the end of number' and stops woking.
This is because of interpretation of 'e+1' as an exponent for '0xb', i believe.
And i think that '0xb' is not a valid value for mantiss of real number.

Waiting for replay, it really does matter!

--
 Denis.
Technical Details
Message-ID: <kFEDHomavh@news.itfs.nsk.su>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,c59df7386ba9e9ec
X-Google-Attributes: gid113d02,public
From: usenet@itfs.nsk.SU (Deputy News Master)
Subject: (none)
Date: 1995/12/09
Message-ID: <kFEDHomavh@news.itfs.nsk.su>
X-Deja-AN: 121389198
distribution: gnu
sender: daemon@cis.ohio-state.edu
organization: Infoteka Ltd.
newsgroups: gnu.gcc.bug