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++/3187] gcc lays down two copies of constructors



------- Comment #32 from alexandre dot nunes at gmail dot com  2008-10-21 18:37 -------
I was considering using C++ for an arm-elf target, but I'm dropping that in
favour of plain C because of this silly thing. This sucks, because other than
that g++ does a pretty decent job when generating small, optimized code: I've
got no abstraction penalty at all, but a few duplicated constructors here and
there lead to about 23% code increase, and that wasn't acceptable.

The other funny thing is that if this is fixed, it'll be by 4.4 or something,
and so far I can't consider using gcc versions newer than 4.2.x, at least
because of PR31849.


-- 


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


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