[all-commits] [llvm/llvm-project] d892d7: [flang] Fix common block size extension mistake in...

jeanPerier via All-commits all-commits at lists.llvm.org
Thu Sep 9 00:13:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d892d7323e451777ccf206a1e5b1c81ae34b8bfb
      https://github.com/llvm/llvm-project/commit/d892d7323e451777ccf206a1e5b1c81ae34b8bfb
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2021-09-09 (Thu, 09 Sep 2021)

  Changed paths:
    M flang/lib/Semantics/compute-offsets.cpp
    M flang/test/Semantics/offsets03.f90

  Log Message:
  -----------
  [flang] Fix common block size extension mistake in D109156

https://reviews.llvm.org/D109156 did not properly update the case where
the equivalence symbol appearing in the common statement is the
"base symbol of an equivalence group" (this was the only case that previously
worked ok, and the patch broke it).

Fix this and add a test that actually uses this code path.

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




More information about the All-commits mailing list