This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/23589] internal compiler error: in rest_of_handle_final, at toplev.c:2067
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Aug 2005 04:44:33 -0000
- Subject: [Bug target/23589] internal compiler error: in rest_of_handle_final, at toplev.c:2067
- References: <20050827033136.23589.gregc@cgl.ucsf.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dannysmith at users dot sourceforge dot net 2005-08-27 04:44 -------
Thisis a dllimport bug. In this case the template member
template <class pointIterator>
Point::Point(pointIterator ptStart, pointIterator ptStop)
is being marked as dllimport. Later it is instantiated and the definition
conflicts with dllimport semantics
The same bug is on trunk and is fixed by the patch at
http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01543.html
by moving the C++ specific dllimport stuff into a lang-specific target file so
that we can actually test for template instantiations.
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23589