[llvm-bugs] [Bug 50221] should warn on ignored extended alignment in new-expression
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue May 4 14:17:43 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50221
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|clang does not respect |should warn on ignored
|alignas |extended alignment in
| |new-expression
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Passing `-faligned-new` also causes Clang (and GCC) to produce a
properly-aligned allocation even in older standard modes.
We should warn on this; GCC warns under -Waligned-new (which is in -Wall).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210504/665fc4ad/attachment.html>
More information about the llvm-bugs
mailing list