[Bug target/23589] internal compiler error: in rest_of_handle_final, at toplev.c:2067
dannysmith at users dot sourceforge dot net
gcc-bugzilla@gcc.gnu.org
Sat Aug 27 05:44:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list