[all-commits] [llvm/llvm-project] b4f4af: [flang][OpenMP] Verify that N in -fopenmp-version=...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed Jun 25 09:54:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4f4af7ebb91e7af99dac9cb9f73fbfc1c63b18e
      https://github.com/llvm/llvm-project/commit/b4f4af7ebb91e7af99dac9cb9f73fbfc1c63b18e
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-06-25 (Wed, 25 Jun 2025)

  Changed paths:
    M flang/lib/Frontend/CompilerInvocation.cpp
    A flang/test/Driver/fopenmp-version.F90

  Log Message:
  -----------
  [flang][OpenMP] Verify that N in -fopenmp-version=N is valid (#145725)

For historical versions that are unsupported, emit a warning and assume
the currently default version.
For values of N that are not integers or that don't correspond to any
OpenMP version (old or newer), emit an error.



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