[all-commits] [llvm/llvm-project] 3abd77: [clang][OpenMP] Treat "workshare" as unknown OpenM...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed May 14 05:06:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3abd77ac157f87f2fa0c8083b9f27c1dd2896a25
      https://github.com/llvm/llvm-project/commit/3abd77ac157f87f2fa0c8083b9f27c1dd2896a25
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-05-14 (Wed, 14 May 2025)

  Changed paths:
    M clang/lib/Parse/ParseOpenMP.cpp
    A clang/test/OpenMP/openmp_workshare.c

  Log Message:
  -----------
  [clang][OpenMP] Treat "workshare" as unknown OpenMP directive (#139793)

The "workshare" construct is only present in Fortran. The common OpenMP
code does treat it as any other directive, but in clang we need to
reject it, and do so gracefully before it encounters an internal
assertion.

Fixes https://github.com/llvm/llvm-project/issues/139424



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list