[PATCH] D148730: [C11] Allow initialization of an atomic-qualified pointer from a null pointer constant

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 25 08:38:25 PDT 2023


aaron.ballman added a comment.

In D148730#4294781 <https://reviews.llvm.org/D148730#4294781>, @bgraur wrote:

> We see the same compilation error as the one reported by @sbc100 in several other C libraries.
>
> Here's a short reproducer: https://godbolt.org/z/Y8eds47na
>
> The tests imply that this should work. Please revert.

Thank you (both) for reporting this issue so quickly! I believe I've addressed it with 1395cde24b3641e284bb1daae7d56c189a2635e3 <https://reviews.llvm.org/rG1395cde24b3641e284bb1daae7d56c189a2635e3>, but if you're still having problems after that commit, let me know and I'll revert both changes to investigate further.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148730/new/

https://reviews.llvm.org/D148730



More information about the cfe-commits mailing list