This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60493] g++ throws segmentation fault on simple code
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Mar 2014 11:54:28 +0000
- Subject: [Bug c++/60493] g++ throws segmentation fault on simple code
- Auto-submitted: auto-generated
- References: <bug-60493-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60493
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
template <class T, class U>
struct foo
{
};
template <class T>
struct baz
{
class bar;
};
template <class T, class D>
struct baz<T>::bar : foo<int, D>
{
};
baz<int>::bar it;
Fails even with r90000, or g++ 3.2, so probably not a regression.