[flang-commits] [flang] [flang] Fix volatile attribute propagation on allocatables (PR #139183)

Asher Mancinelli via flang-commits flang-commits at lists.llvm.org
Fri May 9 06:38:10 PDT 2025


ashermancinelli wrote:

> Thanks, LGTM.
> 
> If you need special handling in the SELECT TYPE, do you also need something for SELECT RANK?

I see the SELECT RANK cases and statements using only simple reference types, which I handled in earlier patches. I had not propagated volatile on CLASSes in SELECT TYPE because I had not yet enabled the propagation of the VOLATILE attribute to class entities when creating designators. This patch brings SELECT TYPE in line with what is already in SELECT RANK, but I'll reread those cases in the bridge to see if I'm missing anything. Thanks!

https://github.com/llvm/llvm-project/pull/139183


More information about the flang-commits mailing list