nikic wrote: Looks like this makes https://github.com/fujitsu/compiler-test-suite/blob/main/C/0094/0094_0065.c fail. I believe that code is UB because it accesses a volatile qualified object through a non-volatile qualified type (6.7.4.1p7). If volatile is not cast away, it works fine.
https://github.com/llvm/llvm-project/pull/201316 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
