------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-11 23:40 ------- (In reply to comment #3) > (In reply to comment #2) > > This is not a gcc bug, you cannot declare a lablel in an inline-asm that is > going to be exposed. > > Is there a reference of some sort? I was unable to find one with google. No, just a general rule as inline-asms will be copied when inlined or cloned. What is happening here is clonning is happening so we generate two copies of that function.
> Please illuminate me why this is the same situation. I can vaguely understand > how in the latter case the compiler ends up with two labels. But this appears > to be quite different from the original situation where there's only one > object > to destroy. Only one object to destroy but the constructor is cloned which is defined by the C++ abi. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23345