[all-commits] [llvm/llvm-project] 9ceb0a: Fix nested block constructs for SELECT CASE

Carlos Eduardo Seo via All-commits all-commits at lists.llvm.org
Thu May 25 09:52:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ceb0a7bc0e73c4aab6cfade225f3ab33c949b83
      https://github.com/llvm/llvm-project/commit/9ceb0a7bc0e73c4aab6cfade225f3ab33c949b83
  Author: Carlos Eduardo Seo <carlos.seo at linaro.org>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/test/Lower/select-case-statement.f90

  Log Message:
  -----------
  Fix nested block constructs for SELECT CASE

In some scenarios, a SELECT CASE could cause an error while lowering to FIR.
This was caused by a spurious extra branch added after the end statement.

Fixes #62726

Differential Revision: https://reviews.llvm.org/D151118




More information about the All-commits mailing list