This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Make max_align_t respect _Float128 [version 2]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]