In /usr/lib/gcc/x86_64-linux-gnu/7.3.0/include/stdatomic.h, before the definition of the atomic_store_explicit macro:
Note that these macros require __typeof__ and __auto_type to remove _Atomic qualifiers (and const qualifiers, if those are valid on macro operands). It looks like the regression might be that __auto_type doesn't remove the _Atomic qualifier any longer? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780747 Title: Use of atomic_int now fails with address argument to atomic operation must be a pointer to a trivially-copyable type To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-6.0/+bug/1780747/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs