public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/PR98636-fp16-arm)] ARM: reset arm_fp16_format
@ 2021-06-01 14:01 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-06-01 14:01 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1ec8d590195a5ff29353d44826e6fe16c87d4d9b

commit 1ec8d590195a5ff29353d44826e6fe16c87d4d9b
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Jun 1 16:00:02 2021 +0200

    ARM: reset arm_fp16_format
    
    gcc/ChangeLog:
    
            PR target/98636
            * config/arm/arm.c (arm_option_reconfigure_globals): Reset
            the option if isa_bit_fp16 is not set.

Diff:
---
 gcc/config/arm/arm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 7b37e1b602c..4543f3c6b55 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -3765,6 +3765,8 @@ arm_option_reconfigure_globals (void)
 	error ("selected fp16 options are incompatible");
       arm_fp16_format = ARM_FP16_FORMAT_IEEE;
     }
+  else
+    arm_fp16_format = ARM_FP16_FORMAT_NONE;
 
   arm_arch_cde = 0;
   arm_arch_cde_coproc = 0;


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

only message in thread, other threads:[~2021-06-01 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 14:01 [gcc(refs/users/marxin/heads/PR98636-fp16-arm)] ARM: reset arm_fp16_format Martin Liska

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).