aarch64: Fix build with gcc-4.8
authorChristophe Lyon <christophe.lyon@arm.com>
Tue, 31 May 2022 15:11:47 +0000 (16:11 +0100)
committerChristophe Lyon <christophe.lyon@arm.com>
Tue, 31 May 2022 15:51:36 +0000 (17:51 +0200)
My r13-680-g0dc8e1e7026d9b commit to add support for Decimal Floating
Point introduced:
      case SDmode:
      case DDmode:
      case TDmode:
which are rejected by gcc-4.8 as build compiler.

This patch replaces them with E_SDmode, E_DDmode and E_TD_mode.

Committed as obvious.

* config/aarch64/aarch64.cc (aarch64_gimplify_va_arg_expr):
Prefix mode names with E_.

gcc/config/aarch64/aarch64.cc

index d4c575c..40fc5e6 100644 (file)
@@ -19748,15 +19748,15 @@ aarch64_gimplify_va_arg_expr (tree valist, tree type, gimple_seq *pre_p,
          field_t = long_double_type_node;
          field_ptr_t = long_double_ptr_type_node;
          break;
-       case SDmode:
+       case E_SDmode:
          field_t = dfloat32_type_node;
          field_ptr_t = build_pointer_type (dfloat32_type_node);
          break;
-       case DDmode:
+       case E_DDmode:
          field_t = dfloat64_type_node;
          field_ptr_t = build_pointer_type (dfloat64_type_node);
          break;
-       case TDmode:
+       case E_TDmode:
          field_t = dfloat128_type_node;
          field_ptr_t = build_pointer_type (dfloat128_type_node);
          break;