https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123876
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <[email protected]>: https://gcc.gnu.org/g:de23c4ad41319525077da03ecbabf41efbf9a3b3 commit r16-7174-gde23c4ad41319525077da03ecbabf41efbf9a3b3 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.
