This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/31785] RFE: Possible to avoid emitting ctor sections for simple constructors of static objects ?



------- Comment #2 from pluto at agmk dot net  2007-06-15 21:51 -------
(In reply to comment #1)
> This is not a trivial constructor (or at least what the standard defines as
> trivial :) ).

could you explain this?

as far i can see the MyOtherStruct hasn't virtual functions/base
and its data member has a trivial ctor, so MyOtherStruct() is a trivial ctor.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]