https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123876

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Jakub Jelinek
<[email protected]>:

https://gcc.gnu.org/g:667e46f73a1df0f8c691f28513bb92ff4320d608

commit r14-12399-g667e46f73a1df0f8c691f28513bb92ff4320d608
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)

Reply via email to