Bug 130529 - g++ failure
Summary: g++ failure
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: gcc
Version: 3.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2004-08-21 03:01 UTC by Jay Stanley Benedict
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2007-10-19 19:19:49 UTC

Attachments (Terms of Use)
tar file which contains source which causes the failure (150.00 KB, text/plain)
2004-08-21 03:08 UTC, Jay Stanley Benedict
no flags Details
preprocessed test case (97.99 KB, application/x-gzip)
2004-10-05 21:16 UTC, Richard Henderson
no flags Details

Description Jay Stanley Benedict 2004-08-21 03:01:32 UTC
Description of problem:
> /usr/bin/g++ -ansi -static  -Wreorder -Wnon-virtual-dtor -Wabi
-Wold-style-cast -Woverloaded-virtual -Wsynth  -g -o test.o -I.
-I/home/stanb/src/common -I .. -I ../gsort -c test.cc
test.cc: In function `int main(int, char**)':
test.cc:57: Internal compiler error in convert_from_eh_region_ranges_1, at
Please submit a full bug report,
with preprocessed source if appropriate.

Version-Release number of selected component (if applicable):
> g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-39)

How reproducible:

Steps to Reproduce:
1. try to compile with command above
Actual results:

Expected results:

Additional info:

Comment 1 Jay Stanley Benedict 2004-08-21 03:08:21 UTC
Created attachment 102952 [details]
tar file which contains source which causes the failure

untar the source code. run make at:


Comment 2 Richard Henderson 2004-10-05 21:13:37 UTC
Verified crash with 3.2; no crash with 3.3 or 3.4.

Comment 3 Richard Henderson 2004-10-05 21:16:17 UTC
Created attachment 104806 [details]
preprocessed test case

Comment 4 Jakub Jelinek 2005-01-03 18:45:17 UTC
Simplified testcase:

typedef __SIZE_TYPE__ size_t;
inline void *operator new (size_t, void *p) throw() { return p; }
inline void operator delete (void *, void *) throw() {};
struct A { A (); ~A (); int i; };
struct B { B () {}; ~B () {}; };
void *bar (A);

foo ()
  A a;
  new (bar (a)) B ();

Comment 6 RHEL Product and Program Management 2007-10-19 19:19:49 UTC
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
For more information of the RHEL errata support policy, please visit:
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.

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