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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:4c8c9c9ee22bdb306439020a5a8fc5b4ee935f5b

commit r15-7352-g4c8c9c9ee22bdb306439020a5a8fc5b4ee935f5b
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Feb 4 10:54:48 2025 +0100

    c/118742 - gimple FE parsing of unary operators of C promoted args

    The GIMPLE FE currently invokes parser_build_unary_op to build
    unary GENERIC which has the operand subject to C promotion rules
    which does not match GIMPLE.  The following adds a wrapper around
    the build_unary_op worker which conveniently has an argument to
    indicate whether to skip such promotion.

            PR c/118742
    gcc/c/
            * gimple-parser.cc (gimple_parser_build_unary_op): New
            wrapper around build_unary_op.
            (c_parser_gimple_unary_expression): Use it.

    gcc/testsuite/
            * gcc.dg/gimplefe-56.c: New testcase.

Reply via email to