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]

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


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.


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