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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:9b95bb52b40c05e630278fe5cd61a79a3c4f620a

commit r11-163-g9b95bb52b40c05e630278fe5cd61a79a3c4f620a
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Thu May 7 14:54:20 2020 +0200

    c-family: Fix error-recovery ICE on __builtin_speculation_safe_value
[PR94968]

    If the second argument of __builtin_speculation_safe_value is
    error_mark_node (or has such a type), we ICE during
    useless_typ_conversion_p.

    202-05-07  Jakub Jelinek  <ja...@redhat.com>

            PR c/94968
            * c-common.c (speculation_safe_value_resolve_params): Return false
if
            error_operand_p (val2).
            (resolve_overloaded_builtin) <case
BUILT_IN_SPECULATION_SAFE_VALUE_N>:
            Remove extraneous semicolon.

            * gcc.dg/pr94968.c: New test.

Reply via email to