public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-866] aarch64: Fix build with gcc-4.8
@ 2022-05-31 15:51 Christophe Lyon
  0 siblings, 0 replies; only message in thread
From: Christophe Lyon @ 2022-05-31 15:51 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:67d399d509c4c802d6dfb197886a5cc62ea62c5c

commit r13-866-g67d399d509c4c802d6dfb197886a5cc62ea62c5c
Author: Christophe Lyon <christophe.lyon@arm.com>
Date:   Tue May 31 16:11:47 2022 +0100

    aarch64: Fix build with gcc-4.8
    
    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_.

Diff:
---
 gcc/config/aarch64/aarch64.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
index d4c575ce976..40fc5e63399 100644
--- a/gcc/config/aarch64/aarch64.cc
+++ b/gcc/config/aarch64/aarch64.cc
@@ -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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-31 15:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-31 15:51 [gcc r13-866] aarch64: Fix build with gcc-4.8 Christophe Lyon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).