Fix alignment info of cdouble, cfloat. They align the same as double, float now.

This commit is contained in:
Christian Kamm
2009-02-28 13:48:49 +01:00
parent 993a624e3e
commit d3ea6fb855

View File

@@ -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;