Bug 112836 - Missing semicolon causes a crash
Missing semicolon causes a crash
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
1
i686 Linux
medium Severity high
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-01-03 11:50 EST by Ricardo Fernández Pascual
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-04 04:20:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
The source that causes the crash (197.51 KB, application/gzip)
2004-01-03 12:25 EST, Ricardo Fernández Pascual
no flags Details
With this patch there is no crash (335 bytes, text/plain)
2004-01-03 12:29 EST, Ricardo Fernández Pascual
no flags Details
unpreprocessed test case (60.42 KB, application/octet-stream)
2004-10-04 04:18 EDT, Richard Henderson
no flags Details

  None (edit)
Description Ricardo Fernández Pascual 2004-01-03 11:50:25 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5)
Gecko/20031202 Galeon/1.3.11a

Description of problem:
"g++ -c -o Server_impl.o -Wall bug.cpp" crashes. Applying the
nobug.diff patch fixes the problem.

Version-Release number of selected component (if applicable):
gcc-c++-3.3.2-1

How reproducible:
Always

Steps to Reproduce:
compile bug.cpp

Actual Results:  crash

Expected Results:  an error report telling me to add a semicolon at
line 72621

Additional info:
Comment 1 Ricardo Fernández Pascual 2004-01-03 12:25:32 EST
Created attachment 96750 [details]
The source that causes the crash

had to compress it to be able to send
Comment 2 Ricardo Fernández Pascual 2004-01-03 12:29:16 EST
Created attachment 96751 [details]
With this patch there is no crash
Comment 3 Richard Henderson 2004-10-04 04:18:02 EDT
Created attachment 104708 [details]
unpreprocessed test case

Uninclude system headers so that I can try building with gcc 3.4.
Comment 4 Richard Henderson 2004-10-04 04:20:12 EDT
gcc 3.4 does not ICE and generates

z.cc:36383: error: new types may not be defined in a return type
z.cc:36383: error: return type specification for constructor invalid

which is indeed exactly where your semicolon belongs.

Note You need to log in before you can comment on or make changes to this bug.