This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51364] C++ interoperability with ISO-C extension DFP types requires explicit typedefs.
- From: "janis at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Dec 2011 20:36:52 +0000
- Subject: [Bug c++/51364] C++ interoperability with ISO-C extension DFP types requires explicit typedefs.
- Auto-submitted: auto-generated
- References: <bug-51364-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51364
--- Comment #11 from Janis Johnson <janis at gcc dot gnu.org> 2011-12-19 20:36:52 UTC ---
The large code size isn't from the generated code, it's from the runtime
support in static libraries; compile main.c with -c and look at the size of
main.o. You might compare it to similar code using double and long double
compiled with and without -msoft-float.
With limited exceptions (I know of only one) decimal floating-point arithmetic
must be supported through software emulation. GCC does this with libraries
that were written to be fast and accurate rather than small.