[cfe-dev] [RFC] Should an illegal C++11 memory model in an atomic op be an error?
Tim Northover
tnorthover at apple.com
Mon Feb 2 13:50:20 PST 2015
> I'd be in favor or promoting it to an error. We recently started rejecting this code, for example:
I'm not sure I would. Deciding on the diagnostics for our own intrinsics is one thing, but this would trigger on well-formed programs according to the standard.
That's rather a bigger step to take, and we should probably be comparing it to situations with that similarity (the only one I know of is ARM64 complaining more strongly about functions without prototypes).
Cheers.
Tim.
More information about the cfe-dev
mailing list