This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13744] ICE when using implicit copy constructor for struct defined in template function
- From: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Apr 2005 18:08:06 -0000
- Subject: [Bug c++/13744] ICE when using implicit copy constructor for struct defined in template function
- References: <20040119173852.13744.thomharp@charter.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mark at codesourcery dot com 2005-04-12 18:08 -------
Subject: Re: ICE when using implicit copy constructor for
struct defined in template function
reichelt at gcc dot gnu dot org wrote:
> ------- Additional Comments From reichelt at gcc dot gnu dot org 2005-04-12 10:57 -------
> This was fixed on mainline by Kazu's cleanup:
> http://gcc.gnu.org/ml/gcc-cvs/2005-04/msg00458.html
>
> Mark, although this is not a regression, do you think this would
> be appropriate for gcc 4.0.1? It's an ICE on valid code and the patch
> is fairly trivial. It just removes an unnecessary computation (where
> we used to ICE in this particular case).
I think this is above my risk threshold. Thanks for asking though.
> Apart from that, do you want me to add a testcase to the testsuite?
That would be great, thanks!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13744