mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-14 03:43:13 +01:00
Fix alignment info of cdouble, cfloat. They align the same as double, float now.
This commit is contained in:
@@ -1023,12 +1023,17 @@ unsigned TypeBasic::alignsize()
|
||||
case Tuns64:
|
||||
case Tfloat64:
|
||||
case Timaginary64:
|
||||
case Tcomplex64:
|
||||
if (global.params.cpu == ARCHx86_64)
|
||||
sz = 8;
|
||||
else
|
||||
sz = 4;
|
||||
break;
|
||||
|
||||
case Tcomplex32:
|
||||
sz = 4;
|
||||
break;
|
||||
|
||||
default:
|
||||
sz = size(0);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user