[Bug c++/27650] internal compiler error while compiling Gecode
dannysmith at users dot sourceforge dot net
gcc-bugzilla@gcc.gnu.org
Mon May 22 21:19:00 GMT 2006
------- Comment #5 from dannysmith at users dot sourceforge dot net 2006-05-22 21:19 -------
This is a dllimport bug. Dllimports do not have constant address. Hence class
vtable cannot contain a method with dllimport attribute
I am working on a patch.
Here is reduced testcase:
// dllimport_virtual.C
struct base
{
virtual void key_method();
__attribute__((dllimport)) virtual ~base(); // Does not have a const address
};
// Definition of key_method forces emmission of vtable
void base::key_method() {};
--
dannysmith at users dot sourceforge dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dannysmith at users dot
| |sourceforge dot net
AssignedTo|unassigned at gcc dot gnu |dannysmith at users dot
|dot org |sourceforge dot net
Status|WAITING |UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650
More information about the Gcc-bugs
mailing list