This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10558] [3.3 regression] Segfault on illegal use of template without template args
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2003 10:57:26 -0000
- Subject: [Bug c++/10558] [3.3 regression] Segfault on illegal use of template without template args
- References: <20030430004601.10558.smueller@umich.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10558
reichelt@gcc.gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|0000-00-00 00:00:00 |2003-06-02 10:57:25
date| |
------- Additional Comments From reichelt@gcc.gnu.org 2003-06-02 10:57 -------
To justify the stamp "regression", here's a testcase that crashes
gcc 3.0 - 3.3, but not gcc 2.95.x and mainline:
--------------------------------------------------------------------
namespace N
{
template <typename> struct A
{
template <typename T> A(A<T>);
};
}
void foo(N::A<int>);
void bar()
{
foo(N::A);
}
--------------------------------------------------------------------
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.