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

--- 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:17ffb7a562061c54eb6eb9863271524568761cf6

commit r12-4431-g17ffb7a562061c54eb6eb9863271524568761cf6
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Oct 15 08:52:08 2021 +0200

    c/102763 - fix ICE with invalid input to GIMPLE FE

    This fixes an ICE for the failure to verify we're dereferencing a
    pointer before throwing that at build_simple_mem_ref.

    2021-10-15  Richard Biener  <rguent...@suse.de>

            PR c/102763
    gcc/c/
            * gimple-parser.c
            (c_parser_gimple_postfix_expression_after_primary): Check
            for a pointer do be dereferenced by ->.

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

Reply via email to