https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110759

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>:

https://gcc.gnu.org/g:f32518726ee8e836d12d49aec8432679fcc42503

commit r14-2695-gf32518726ee8e836d12d49aec8432679fcc42503
Author: Andrew Pinski <apin...@marvell.com>
Date:   Fri Jul 21 02:26:09 2023 +0000

    libfortran: Fix build for targets that don't have 10byte or 16 byte
floating point

    So the problem here is EXPAND_INTER_MACRO_16 expands to nothing if 16 byte
FP does not
    exist but we still add a comma after it and that causes a build failure.
    The same is true for EXPAND_INTER_MACRO_10 too.

    Committed as obvious after a bootstrap and test on x86_64-linux-gnu and
aarch64-linux-gnu.

    libgfortran/ChangeLog:

            PR libfortran/110759
            * ieee/ieee_arithmetic.F90
            (COMP_INTERFACE): Remove the comma after EXPAND_INTER_MACRO_16
            and EXPAND_INTER_MACRO_10.
            (EXPAND_INTER_MACRO_16): Add comma here if 16 byte fp exist.
            (EXPAND_INTER_MACRO_10): Likewise.

Reply via email to