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 libstdc++/37455] Code bloat for ostream.widen('\n')



------- Comment #6 from M dot Froehlich at science-computing dot de  2008-09-10 15:38 -------
(In reply to comment #5)
> Yes, but frankly it's unlikely that in 4.4.0 timeframe, also given the ABI
> constraints, we can change the libstdc++ implementation, which admittedly has
> too much code inline in this area, enough to solve this problem. We are just
> unlucky that 4.3.x was less aggressive at -O3, nothing changed lately (and also
> less recently) on the library side...

Ok, one idea I have while reading your comment:
Gcc has that per function optimization attributes - may be an
__attribute__((optimize ('Os'))) or something similar helps for some selected
functions in this area?

Greetings

Mathias


-- 


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


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