On 09/07/2016 08:32 PM, Bernd Edlinger wrote:
interesting. I just tried the test case from PR 77330 with _Decimal128.
result: _Decimal128 did *not* trap with gcc4.8.4, but it does trap with
gcc-7.0.0.
Recent GCC versions rely on struct pointer alignment for struct member
access, older versions did less so.
For example, this tcsh bug flew under the radar for about two years:
<https://bugzilla.redhat.com/show_bug.cgi?id=1303323>
(glibc added 16-byte alignment to struct __dirstream as a side effect of
a change to help sparc in 2013, and this did not cause any trouble with
tcsh before.)
Florian