[all-commits] [llvm/llvm-project] 882200: [flang][OpenMP] Prescanning bug with !$ fixed form...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Apr 14 09:00:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 882200684bf1a0edcd3a8edd31c3fd601a2298df
      https://github.com/llvm/llvm-project/commit/882200684bf1a0edcd3a8edd31c3fd601a2298df
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-04-14 (Mon, 14 Apr 2025)

  Changed paths:
    M flang/lib/Parser/prescan.cpp
    A flang/test/Parser/OpenMP/bug518.f

  Log Message:
  -----------
  [flang][OpenMP] Prescanning bug with !$ fixed form line continuation (#135416)

The logic for fixed form compiler directive line continuation has a hole
that can apply continuation for !$ even if the next line does not begin
with a fixed form comment character. Rearrange the nested if statements
to enforce that requirement for all compiler directives.



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