aboutsummaryrefslogtreecommitdiff
path: root/gcc/analyzer/function-set.h
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2020-01-22 11:44:13 -0500
committerMarek Polacek <polacek@redhat.com>2020-01-22 11:44:13 -0500
commit15ed55eabb0cf8a2974b8025a9f46c9e58960811 (patch)
tree4f2efc2b13abc0a38a5ff2385d61e6ef30fd27a0 /gcc/analyzer/function-set.h
parentbf91504dc23f17248df6302f7bad849f3ddedee7 (diff)
downloadgcc-15ed55eabb0cf8a2974b8025a9f46c9e58960811.zip
gcc-15ed55eabb0cf8a2974b8025a9f46c9e58960811.tar.gz
gcc-15ed55eabb0cf8a2974b8025a9f46c9e58960811.tar.bz2
PR c++/93324 - ICE with -Wall on constexpr if.
This is a crash with constexpr if, when trying to see if the call in the if-statement is std::is_constant_evaluated. cp_get_callee_fndecl_nofold can return NULL_TREE and fndecl_built_in_p doesn't expect to get a null tree, so check FNDECL first.
Diffstat (limited to 'gcc/analyzer/function-set.h')
0 files changed, 0 insertions, 0 deletions