Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libc++/dist/libcxxrt/src Inline storage size in...
details: https://anonhg.NetBSD.org/src/rev/623c4763eca4
branches: trunk
changeset: 355534:623c4763eca4
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Aug 01 18:08:48 2017 +0000
description:
Inline storage size in one place to avoid depending on DCE for removing
the USE_FORT=yes warning.
diffstat:
external/bsd/libc++/dist/libcxxrt/src/libelftc_dem_gnu3.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 724f64aee7cf -r 623c4763eca4 external/bsd/libc++/dist/libcxxrt/src/libelftc_dem_gnu3.c
--- a/external/bsd/libc++/dist/libcxxrt/src/libelftc_dem_gnu3.c Tue Aug 01 17:04:06 2017 +0000
+++ b/external/bsd/libc++/dist/libcxxrt/src/libelftc_dem_gnu3.c Tue Aug 01 18:08:48 2017 +0000
@@ -3624,7 +3624,7 @@
#endif /* ELFTC_BYTE_ORDER == ELFTC_BYTE_ORDER_LITTLE_ENDIAN */
}
- memset(&f, 0, FLOAT_QUADRUPLE_BYTES);
+ memset(&f, 0, sizeof(f));
#if ELFTC_BYTE_ORDER == ELFTC_BYTE_ORDER_LITTLE_ENDIAN
memcpy(&f, buf, FLOAT_EXTENED_BYTES);
Home |
Main Index |
Thread Index |
Old Index