[Bug preprocessor/56540] New: No __SIZEOF__XXX__ macro for __float128

john at johnmaddock dot co.uk gcc-bugzilla@gcc.gnu.org
Tue Mar 5 16:29:00 GMT 2013


             Bug #: 56540
           Summary: No __SIZEOF__XXX__ macro for __float128
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: john@johnmaddock.co.uk

I'm not sure I have the component set right for this... this is possibly a C
and C++ compiler driver issue..?

As far as I can tell every builtin type has it's own __SIZEOF__XXX__ macro
defined in the preprocessor, which for example makes detecting __int128 support
easy via __SIZEOF_INT128__.  However there are no corresponding macros for
__float80 and __float128.  I'd like to see __SIZEOF_FLOAT80__ and
__SIZEOF_FLOAT128__ defined when these types are supported by the compiler.

More information about the Gcc-bugs mailing list