aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2020-05-07 14:54:20 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 12:57:49 -0300
commit153fe04389a9d92c73f644788126cea62931e344 (patch)
tree29849696b5aaca2bd9d1d0f79263c4f4cd62d6ba /gcc/tree-inline.c
parent492f045950819a7267cdfb5ebe93f3e7c2fbf1ad (diff)
downloadgcc-153fe04389a9d92c73f644788126cea62931e344.zip
gcc-153fe04389a9d92c73f644788126cea62931e344.tar.gz
gcc-153fe04389a9d92c73f644788126cea62931e344.tar.bz2
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 <jakub@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.
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions