diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index c70af57b5f67915e69457f57f7e27e9845d0c82d..e430e4d50edd5f36e20f5c4d698a4066efefec1f 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -90,8 +90,6 @@ extern tree arm_bf16_ptr_type_node;
 
 #undef  CPP_SPEC
 #define CPP_SPEC "%(subtarget_cpp_spec)					\
-%{mfloat-abi=soft:%{mfloat-abi=hard:					\
-	%e-mfloat-abi=soft and -mfloat-abi=hard may not be used together}} \
 %{mbig-endian:%{mlittle-endian:						\
 	%e-mbig-endian and -mlittle-endian may not be used together}}"