c++/7743: g++-3.2 - Segmentation fault

Reichelt reichelt@igpm.rwth-aachen.de
Wed Aug 28 04:34:00 GMT 2002


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




More information about the Gcc-bugs mailing list