aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-parloops.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2020-05-07 14:54:20 +0200
committerJakub Jelinek <jakub@redhat.com>2020-05-07 14:54:20 +0200
commit9b95bb52b40c05e630278fe5cd61a79a3c4f620a (patch)
tree29849696b5aaca2bd9d1d0f79263c4f4cd62d6ba /gcc/tree-parloops.c
parent9cd70f3f0fa45cbe899da5ecd0b0c6da0657fd62 (diff)
downloadgcc-9b95bb52b40c05e630278fe5cd61a79a3c4f620a.zip
gcc-9b95bb52b40c05e630278fe5cd61a79a3c4f620a.tar.gz
gcc-9b95bb52b40c05e630278fe5cd61a79a3c4f620a.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-parloops.c')
0 files changed, 0 insertions, 0 deletions