From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 72EAA39A0C50; Tue, 1 Jun 2021 14:01:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 72EAA39A0C50 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/PR98636-fp16-arm)] ARM: reset arm_fp16_format X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/users/marxin/heads/PR98636-fp16-arm X-Git-Oldrev: b195d84561a5c31108c7bbbd7c5b63fe3cebe35f X-Git-Newrev: 1ec8d590195a5ff29353d44826e6fe16c87d4d9b Message-Id: <20210601140103.72EAA39A0C50@sourceware.org> Date: Tue, 1 Jun 2021 14:01:03 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2021 14:01:03 -0000 https://gcc.gnu.org/g:1ec8d590195a5ff29353d44826e6fe16c87d4d9b commit 1ec8d590195a5ff29353d44826e6fe16c87d4d9b Author: Martin Liska 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;