regression in 4.0.0, with code using templates and multiple inheritance
Neil Peterson
neilp@opendesign.com
Fri Jul 1 15:22:00 GMT 2005
Dear sir/madam,
I'm having a runtime problem with the executable generated by GCC 4.0.0.
This problem has been tested on Mac OS/X 10.4 running GCC 4.0.0, and
Linux (Redhat 9) also running GCC 4.0.0 (and confirmed on Linux using
4.0.1 pre-release dated 6-16-2005).
Linux Configuration:
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ./../gcc-4.0.0/configure -prefix=/usr/gcc-4.0.0
Thread model: posix
gcc version 4.0.0
Build command: g++ -g -save-temps -O0
No compiler warnings or errors are generated, but when run, the
executable gives "Segmentation fault" on Linux, and "Bus Error" on the
mac. This code works fine in gcc 3.4.3, as well as Sun's C++ compiler,
HP aC++, IBM's C++ compiler, Borland C++, and MSVC.
The generated ii file is attached (it was too large to include in the
bugzilla database).
Best regards,
Neil Peterson (neilp@opendesign.com)
Open Design Alliance
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.ii.gz
Type: application/x-gzip
Size: 67026 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20050701/04f51743/attachment.bin>
More information about the Gcc-bugs
mailing list