https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116465
--- Comment #2 from Gabriel Ravier <gabravier at gmail dot com> --- Looked into it a bit more and the root cause seems to be that gcc/tree-eh.cc:lower_eh_constructs_2, when attempting to handle the case where the user partakes in a little tomfoolery with its builtins (i.e. both __builtin_eh_pointer and __builtin_eh_filter), doesn't handle the case where the result of the builtin isn't assigned to anything (which is acceptable for a GIMPLE call, but not a GIMPLE assignment)