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

Bogdan Graur via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 25 00:40:47 PDT 2023


bgraur added a comment.

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.


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