https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123876
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Jakub Jelinek <[email protected]>: https://gcc.gnu.org/g:93e69dfdafd0ef6659cb6d26ea611402c5871549 commit r15-10890-g93e69dfdafd0ef6659cb6d26ea611402c5871549 Author: Jakub Jelinek <[email protected]> Date: Fri Jan 30 11:00:41 2026 +0100 openmp: Handle asm goto in diagnose_sb_2 [PR123876] We weren't handling asm goto in diagnose_sb_2, so could ICE on invalid code instead of diagnosing it as invalid. Note, for C++ the FE already diagnoses that instead of deferring it will omp-low.cc. 2026-01-30 Jakub Jelinek <[email protected]> PR middle-end/123876 * omp-low.cc (diagnose_sb_2): Handle GIMPLE_ASM. * gcc.dg/gomp/pr123876.c: New test. (cherry picked from commit de23c4ad41319525077da03ecbabf41efbf9a3b3)
