summaryrefslogtreecommitdiff
path: root/gcc/ipa-devirt.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2018-11-17 11:01:00 +0000
committerIain Buclaw <ibuclaw@gcc.gnu.org>2018-11-17 11:01:00 +0000
commitd7815fc4509e0caf04c4b43de89b20ac57504307 (patch)
tree6238646e5b35ec5f3c92eb2b116ecec4b45877b3 /gcc/ipa-devirt.c
parent95c0a21042ec73315ccd6f216f07b4361b02b7e9 (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