https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87824
--- Comment #11 from ibuclaw at gcc dot gnu.org ---
Author: ibuclaw
Date: Sat Nov 17 11:01:00 2018
New Revision: 266234

URL: https://gcc.gnu.org/viewcvs?rev=266234&root=gcc&view=rev
Log:
Fix wrong alignment returned by .alignof property.

The D language expects the value to be the minimum alignment required
for the type, not the preferred alignment.

gcc/d/ChangeLog:

2018-11-17  Iain Buclaw  <ibuc...@gdcproject.org>

        PR d/87824
        * d-target.cc (Target::alignsize): Return min_align_of_type.

Modified:
    trunk/gcc/d/ChangeLog
    trunk/gcc/d/d-target.cc

Reply via email to