diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2018-11-17 11:01:00 +0000 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gcc.gnu.org> | 2018-11-17 11:01:00 +0000 |
commit | d7815fc4509e0caf04c4b43de89b20ac57504307 (patch) | |
tree | 6238646e5b35ec5f3c92eb2b116ecec4b45877b3 /gcc/ipa-devirt.c | |
parent | 95c0a21042ec73315ccd6f216f07b4361b02b7e9 (diff) |
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 <ibuclaw@gdcproject.org>
PR d/87824
* d-target.cc (Target::alignsize): Return min_align_of_type.
From-SVN: r266234
Diffstat (limited to 'gcc/ipa-devirt.c')
0 files changed, 0 insertions, 0 deletions