[all-commits] [llvm/llvm-project] c0e52f: [flang] Component references are volatile if their...

Asher Mancinelli via All-commits all-commits at lists.llvm.org
Mon May 5 10:04:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0e52f3ec7f147c2c1414ef0f2a5f08c413a587b
      https://github.com/llvm/llvm-project/commit/c0e52f3ec7f147c2c1414ef0f2a5f08c413a587b
  Author: Asher Mancinelli <ashermancinelli at gmail.com>
  Date:   2025-05-05 (Mon, 05 May 2025)

  Changed paths:
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    A flang/test/Lower/volatile-derived-type.f90

  Log Message:
  -----------
  [flang] Component references are volatile if their parent is (#138339)

Component references inherit volatility from their base derived types.
Moved the base type volatility check before the box type is built, and
merge it (instead of overwrite it) with the volatility of the base type.



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