GCC viciously beaten by ICC in trig test!

Paolo Carlini pcarlini@suse.de
Mon Mar 15 16:56:00 GMT 2004


Ian Lance Taylor wrote:

>The C++ library relies on the details of the C++ compiler
>far more than the C library relies on the details of the C compiler.
>Even today libstdc++-v3 uses at least one g++ extension--
>attribute((strong)).
>
All in all I'm not sure to fully agree...

Actually, attribute((strong)) is a *recent* entry, only to support debug
mode, which I find really great! but not part of the core functionalities,
those mandated by the standard.

Otherwise, a bunch of builtin_expect (glibc also uses that, right?... and we
don't even agree that they are always so beneficial in our case), a bunch of
builtin_alloca, quite useful I admit, what else?

Paolo.



More information about the Gcc mailing list