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 52799 - The following program crashes gcc 2.96-97
The following program crashes gcc 2.96-97
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-08-29 07:47 EDT by Peter Klotz
Modified: 2007-04-18 12:36 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-12-15 12:41:07 EST
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 Peter Klotz 2001-08-29 07:47:20 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (Windows NT 5.0; U)

Description of problem:
The C++ program found under "Additional Information" crashes the newest gcc snapshot 2.96-97.

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

How reproducible:

Steps to Reproduce:
1.gcc main.cpp

Actual Results:  [peter@localhost bad]$ gcc main.cpp
main.cpp:12: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
[peter@localhost bad]$

Expected Results:  Should compile.

Additional info:

    template <class T, void (T::*FOO)()>
 class info

 class toto
   public :
     virtual void foo();
     info<toto, &toto::foo> inf;

 int main(void)
  return 0;

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