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

--- Comment #2 from CVS 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:414fe08a352eac69168f4fb3671246c84a1ac5aa

commit r12-860-g414fe08a352eac69168f4fb3671246c84a1ac5aa
Author: Richard Biener <rguent...@suse.de>
Date:   Tue May 18 08:41:43 2021 +0200

    c/100522 - avoid invalid GIMPLE in GIMPLE parsing

    This plugs a few easy holes avoiding ICEs down the route.

    2021-05-18  Richard Biener  <rguent...@suse.de>

            PR c/100522
    gcc/c/
            * gimple-parser.c
(c_parser_gimple_postfix_expression_after_primary):
            Diagnose calls to non-functions.
            (c_parser_gimple_statement): Diagnose unexpected assignment RHS.

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

Reply via email to