public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10722: [3.3 regression] ICE (segfault) when specializing with an invalid type
@ 2003-05-14 23:26 Giovanni Bajo
0 siblings, 0 replies; 2+ messages in thread
From: Giovanni Bajo @ 2003-05-14 23:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/10722; it has been noted by GNATS.
From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-prs@gcc.gnu.org>,
<gcc-bugs@gcc.gnu.org>,
<gcc-gnats@gcc.gnu.org>,
<bangerth@dealii.org>,
<nobody@gcc.gnu.org>
Cc:
Subject: Re: c++/10722: [3.3 regression] ICE (segfault) when specializing with an invalid type
Date: Thu, 15 May 2003 01:19:58 +0200
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10722
Let's split this PR. I will shortly open a new PR to track the 3.4 issue, we
keep this one only for the 3.3 reduced snippet. In other words, the bug we
track here is:
---------------------------------------------
template <class P, class Q>
struct pair {};
template <typename T>
struct pair<T, INVALID> {
typedef T first_type;
};
---------------------------------------------
pr10722.cpp:5: error: type/value mismatch at argument 2 in template
parameter list for `template<class P, class Q> struct pair'
pr10722.cpp:5: error: expected a type, got `INVALID'
pr10722.cpp:6: internal compiler error: Segmentation fault
Please submit a full bug report,
This is an ice-on-illegal, 3.3 regression with respect to 2.95 where the
code was not ICE-ing the compiler.
Giovanni Bajo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/10722: [3.3 regression] ICE (segfault) when specializing with an invalid type
@ 2003-05-17 8:06 Giovanni Bajo
0 siblings, 0 replies; 2+ messages in thread
From: Giovanni Bajo @ 2003-05-17 8:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/10722; it has been noted by GNATS.
From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-prs@gcc.gnu.org>,
<gcc-bugs@gcc.gnu.org>,
<gcc-gnats@gcc.gnu.org>,
<bangerth@dealii.org>,
<nobody@gcc.gnu.org>
Cc:
Subject: Re: c++/10722: [3.3 regression] ICE (segfault) when specializing with an invalid type
Date: Sat, 17 May 2003 10:03:01 +0200
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10722
Another snippet which I assume to show the same bug is:
-----------------------------------------
template <typename DT, typename AT>
struct Foo;
template <>
struct Foo<int>
{
long h;
};
-----------------------------------------
pr10832.cpp:6: error: wrong number of template arguments (1, should be 2)
pr10832.cpp:2: error: provided for `template<class DT, class AT> struct Foo'
pr10832.cpp:7: internal compiler error: Segmentation fault
Please submit a full bug report,
Giovanni Bajo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-17 8:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-14 23:26 c++/10722: [3.3 regression] ICE (segfault) when specializing with an invalid type Giovanni Bajo
2003-05-17 8:06 Giovanni Bajo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).