This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7743: g++-3.2 - Segmentation fault
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gozdal at gazeta dot pl
- Date: Wed, 28 Aug 2002 14:18:49 +0200
- Subject: Re: c++/7743: g++-3.2 - Segmentation fault
Hi,
the bug can be reproduced with the following code snippet:
----------------------------------snip here------------------------
template <typename T> class foo {};
class bar {};
extern foo<bar> bar;
----------------------------------snip here------------------------
(with foo==QMemArray and bar==chats in the original example).
The code snippet crashes gcc 3.2 when compiled with "g++ -c"
(checked on i686-pc-linux-gnu and mips-sgi-irix6.5).
The bug is a regression from 2.95.x/3.0.x/3.1. Therefore, the PR should
probably be marked high priority.
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7743