[all-commits] [llvm/llvm-project] cf637b: [flang][OpenMP] Fix goto within SECTION (#144502)

Tom Eccles via All-commits all-commits at lists.llvm.org
Tue Jun 17 08:57:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf637b7e3554976419a0d672ad4c252137dc34f3
      https://github.com/llvm/llvm-project/commit/cf637b7e3554976419a0d672ad4c252137dc34f3
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2025-06-17 (Tue, 17 Jun 2025)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Semantics/OpenMP/parallel-sections01.f90
    A flang/test/Semantics/OpenMP/sections-goto.f90
    M flang/test/Semantics/OpenMP/sections02.f90

  Log Message:
  -----------
  [flang][OpenMP] Fix goto within SECTION (#144502)

Previously we didn't push any context for SECTION and they are not
modelled with differing scopes and so goto detection couldn't tell that
GOTOs between two SECTIONs were between constructs rather than just
staying inside of the parent SECTIONS construct.

Fixes #143231



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