]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/rs6000/aix.h
aix: align double complex
[thirdparty/gcc.git] / gcc / config / rs6000 / aix.h
index 5e8743ab7829bc1606085822a419185bfac08a47..2db50c8007f112ef89b6a0e43124b0947cdd94f6 100644 (file)
 /* AIX word-aligns FP doubles but doubleword-aligns 64-bit ints.  */
 #define ADJUST_FIELD_ALIGN(FIELD, TYPE, COMPUTED) \
   ((TARGET_ALIGN_NATURAL == 0                                          \
-    && TYPE_MODE (strip_array_types (TYPE)) == DFmode)                 \
+    && (TYPE_MODE (strip_array_types (TYPE)) == DFmode                 \
+       || TYPE_MODE (strip_array_types (TYPE)) == DCmode))             \
    ? MIN ((COMPUTED), 32)                                              \
    : (COMPUTED))