https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81942
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jose.marchesi at oracle dot com --- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> --- It would be nice if somebody with a fully functional ARM toolchain could check whether something like the below at least avoids the ICE without causing any regressions. I hope it does. Index: constexpr.c =================================================================== --- constexpr.c (revision 251553) +++ constexpr.c (working copy) @@ -3679,7 +3679,7 @@ breaks (tree *jump_target) { return *jump_target && ((TREE_CODE (*jump_target) == LABEL_DECL - && LABEL_DECL_BREAK (*jump_target)) + && (LABEL_DECL_BREAK (*jump_target) || DECL_ARTIFICIAL (*jump_target))) || TREE_CODE (*jump_target) == EXIT_EXPR); }