[RFC on discourse](https://discourse.llvm.org/t/rfc-volatile-representation-in-flang/85404/1) Flang currently lacks support for volatile variables. For some cases, the compiler produces TODO error messages and others are ignored. Some of our tests are like the example from _C.4 Clause 8 notes: The VOLATILE attribute (8.5.20)_ and require volatile variables. Prior commits: ```c9ec1bc753[flang] Handle volatility in lowering and codegen (#135311)e42f860985[flang][nfc] Support volatility in Fir ops (#134858)b2711e1526[flang][nfc] Support volatile on ref, box, and class types (#134386) ```
181 KiB
181 KiB