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: "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: 12 Apr 2005 10:57:30 -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 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).
Apart from that, do you want me to add a testcase to the testsuite?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13744