https://bugs.llvm.org/show_bug.cgi?id=50221

Richard Smith <[email protected]> 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 <[email protected]> ---
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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to