* [PATCH] aarch64: Fix build with gcc-4.8
@ 2022-05-31 15:50 Christophe Lyon
0 siblings, 0 replies; only message in thread
From: Christophe Lyon @ 2022-05-31 15:50 UTC (permalink / raw)
To: gcc-patches
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 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
index c1d072fec4c..43bb93db133 100644
--- a/gcc/config/aarch64/aarch64.cc
+++ b/gcc/config/aarch64/aarch64.cc
@@ -19805,15 +19805,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;
--
2.25.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-31 15:50 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:50 [PATCH] 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).