Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 121861 - g++ chrashes when when parsing a badly-formed file
g++ chrashes when when parsing a badly-formed file
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Jakub Jelinek
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2004-04-28 14:25 EDT by Bojan Nikolic
Modified: 2007-04-18 13:06 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-05-25 11:25:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bojan Nikolic 2004-04-28 14:25:37 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

Description of problem:
compilation of the following

namespace B {
  namespace C {

    void g(void);

void B::C:g(void) {


will cause g++ to request a bug report is filed.

Version-Release number of selected component (if applicable):
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

How reproducible:

Steps to Reproduce:
1.g++ -c <a file with above code>

Actual Results:  t.cxx:10: `B::C' as declarator
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

Expected Results:  Just a syntax error

Additional info:
Comment 1 Jakub Jelinek 2004-05-25 11:25:41 EDT
RHL9 is EOL and gcc-3.3.3-7 certainly doesn't ICE on this.

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