[llvm-bugs] [Bug 42525] New: clang -m32 is ABI incompatible with GCC >= 7.0
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Jul 6 04:08:54 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42525
Bug ID: 42525
Summary: clang -m32 is ABI incompatible with GCC >= 7.0
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: gonzalobg88 at gmail.com
CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
richard-llvm at metafoo.co.uk
These two snippets
// C++
#include <stddef.h>
size_t square() {
return alignof(max_align_t);
}
// C
#include <stddef.h>
size_t square() {
return _Alignof(max_align_t);
}
return 16 on Linux with all GCC versions >= 7.0 when compiled with -m32, but
clang trunk returns 8.
--
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/20190706/6b979076/attachment.html>
More information about the llvm-bugs
mailing list