[Bug c++/41091] Using section attribute in c and c++ function causes section type conflict

mark at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 14 07:48:00 GMT 2009



------- Comment #2 from mark at gcc dot gnu dot org  2009-10-14 07:48 -------
(In reply to comment #1)
> Actually, they have to have two different section types.
> 
> c::m()::TWO has to be in the comdat section for C::m().
> While c()::ONE does not and can be in a normal section.

INVALID? How is the user supposed to know (or care) about comdat? All they want
is make sure the constants get put in the same section. So how can one specify
that behavior for both ONE and TWO?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41091



More information about the Gcc-bugs mailing list