This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]