[Bug c++/10558] [3.3 regression] Segfault on illegal use of template without template args

reichelt@gcc.gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 2 10:57:00 GMT 2003


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.



More information about the Gcc-bugs mailing list