[Bug c++/23345] Assembler message: symbol is already defined
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 11 22:06:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-11 22:06 -------
This is not a gcc bug, you cannot declare a lablel in an inline-asm that is going to be exposed.
You can see the issue on any target by:
struct cl_module_destroyer {
inline cl_module_destroyer ()
{
__asm__("\nthis_symbol_is_defined_once_or_twice:");
}
};
cl_module_destroyer a;
void g(void)
{
cl_module_destroyer a1;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23345
More information about the Gcc-bugs
mailing list