Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 91494 - g++ gives segmentation fault
g++ gives segmentation fault
Product: Red Hat Linux
Classification: Retired
Component: gcc3 (Show other bugs)
i686 Linux
high Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2003-05-23 05:17 EDT by George M K
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version: gcc-3.3-7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-06-17 17:38:10 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 George M K 2003-05-23 05:17:21 EDT
Description of problem:
internal error: Segmentation fault

Version-Release number of selected component (if applicable):

Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

How reproducible:

Steps to Reproduce:
1. Create the following erroneus .cpp file
---------#include <iostream>
#define TEST    ('c'=='a')

enum TEST {tes1=0,test2};

int main()

2.Compile with g++

Actual results:
Segmentation fault

Expected results:
Should give parse error 

Additional info:
gcc does not give such an error. It reports parse error as expected

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