d-target.cc
10.8 KB
-
Fix wrong alignment returned by .alignof property. · d7815fc4
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 <ibuclaw@gdcproject.org> PR d/87824 * d-target.cc (Target::alignsize): Return min_align_of_type. From-SVN: r266234
Iain Buclaw committed