[Bug c++/21681] [4.0/4.1 Regression] Internal Compiler Error
dave at boost-consulting dot com
gcc-bugzilla@gcc.gnu.org
Fri May 20 23:12:00 GMT 2005
------- Additional Comments From dave at boost-consulting dot com 2005-05-20 23:12 -------
Subject: Re: [4.0/4.1 Regression] Internal Compiler Error
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-20 19:59 -------
> (In reply to comment #5)
>> The code is definitely invalid; I was just wondering how you decided that so
>> quickly ;-)
>
> I looked into the source and found where it crashing. It was obvious from where the crash was it was
> invalid code as there was a function call as a template argument.
That wasn't a function call; it was a function type.
template <class T> struct x {};
x<int(int, int)> legal;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21681
More information about the Gcc-bugs
mailing list