[all-commits] [llvm/llvm-project] 08d6b8: [flang] Round derived type byte sizes up to alignm...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Oct 17 09:20:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08d6b8745430e133cc9d257cded623229e58fddd
      https://github.com/llvm/llvm-project/commit/08d6b8745430e133cc9d257cded623229e58fddd
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

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

  Log Message:
  -----------
  [flang] Round derived type byte sizes up to alignment multiple (#67571)

When calculating sizes and offsets of types and components, be sure to
round the size of a derived type up to a multiple of its alignment.




More information about the All-commits mailing list