re PR middle-end/19920 (build broken on several targets due to recent 'DC' type updat...
authorRichard Henderson <rth@redhat.com>
Wed, 16 Feb 2005 22:55:33 +0000 (14:55 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 16 Feb 2005 22:55:33 +0000 (14:55 -0800)
commit4f2e0d5eccb106b4183ec00195dcf7a65d416692
tree2c8f7da1df0ca3c8c4ec10b9017f84b06b17368b
parent9f7bf991d001ab714d0b04b1ed6bdc103ff97dbc
re PR middle-end/19920 (build broken on several targets due to recent 'DC' type update to libgcc2)

        PR 19920
        * libgcc2.c (WORD_SIZE): Remove all definitions; replace uses
        with W_TYPE_SIZE.
        (HIGH_WORD_COEFF, HIGH_HALFWORD_COEFF): Remove all definitions;
        replace uses with Wtype_MAXp1_F.
        (L_fixunstfdi, L_fixtfdi, L_floatditf, L_fixunsxfdi, L_fixxfdi,
        L_floatdixf, L_fixunsxfsi, L_fixunsdfdi, L_floatdidf, L_fixunsdfsi,
        L_powidf2, L_powixf2, L_powitf2, L_muldc3, L_divdc3, L_mulxc3,
        L_divxc3, L_multc3, L_divtc3): Protect with HAVE_DFMODE, HAVE_XFMODE,
        and HAVE_TFMODE as appropriate.
        (__fixunssfDI): Provide an implementation that doesn't need DFmode.
        (__floatdisf): Likewise.
        * libgcc2.h (LIBGCC2_DOUBLE_TYPE_SIZE): New.
        (HAVE_DFMODE, HAVE_XFMODE, HAVE_TFMODE): New.
        (Wtype_MAXp1_F): New.
        (DFtype, DCtype, __fixdfdi, __floatdidf, __fixunsdfSI, __fixunsdfDI,
        __powidf2, __divdc3, __muldc3): Protect with HAVE_DFMODE.

From-SVN: r95121
gcc/ChangeLog
gcc/libgcc2.c
gcc/libgcc2.h