[all-commits] [llvm/llvm-project] 41d5fe: [flang][Semantics] set scope even for module subro...

Tom Eccles via All-commits all-commits at lists.llvm.org
Wed Sep 18 02:41:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41d5fed09e7d31922e7869c72116a4c3adc11a4a
      https://github.com/llvm/llvm-project/commit/41d5fed09e7d31922e7869c72116a4c3adc11a4a
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-09-18 (Wed, 18 Sep 2024)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/OpenMP/bad_module_subroutine.f90

  Log Message:
  -----------
  [flang][Semantics] set scope even for module subroutines outside modules (#109009)

The missing scope information led to a crash in OpenMP semantic checks
run before printing the error that was already discovered in the code.

The following block has to be skipped for this invalid code so that we
don't emit a second spurious error.

Fixes #82913



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