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

--- Comment #5 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:5d85b5d649fff675ff00adcc99371bccf4ef5944

commit r14-587-g5d85b5d649fff675ff00adcc99371bccf4ef5944
Author: Andrew Pinski <apin...@marvell.com>
Date:   Mon May 8 10:58:06 2023 -0700

    Fix pr81192.c for int16 targets

    I had missed when converting this
    testcase to Gimple that there was a define
    for int/unsigned type specifically to get
    an INT32 type. This means when using a
    literal integer constant you need to use the
    `_Literal (type)` to form the types correctly on the
    constants.

    This fixes the issue and has been both tested on
    xstormy16-elf and x86_64-linux-gnu.

    Committed as obvious.

    gcc/testsuite/ChangeLog:

            PR testsuite/109776
            * gcc.dg/pr81192.c: Fix integer constants for int16 targets.

Reply via email to