[PATCH] D91596: [PowerPC] [Clang] Fix alignment of 128-bit floating types
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 28 15:09:48 PST 2020
hubert.reinterpretcast added a comment.
Reverting this patch makes va_arg with the default 128-bit (double-double) long double work again:
#include <stdarg.h>
void abort(void);
void foo(int x, ...) {
va_list ap;
va_start(ap, x);
long double ans = va_arg(ap, long double);
if (ans != 42.L) abort();
}
int main(void) {
foo(0, 42.L);
}
This patch caused the above to abort.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91596/new/
https://reviews.llvm.org/D91596
More information about the cfe-commits
mailing list