The option -m[no-]apcs-float was never implemented in GCC. Since it referred specifically to the FPA floating point co-processor which is no-longer supported in GCC the option is now irrelevant. This patch cleans up the hunks that were left behind.
* arm.opt (mapcs-float): Delete option * arm.c (arm_option_override): Remove hunk relating to TARGET_APCS_FLOAT. * doc/invoke.texi (arm options): Remove documentation for -mapcs-float. Applied to trunk. R.
Index: gcc/config/arm/arm.c =================================================================== --- gcc/config/arm/arm.c (revision 242668) +++ gcc/config/arm/arm.c (working copy) @@ -3187,9 +3187,6 @@ if (TARGET_APCS_REENT) warning (0, "APCS reentrant code not supported. Ignored"); - if (TARGET_APCS_FLOAT) - warning (0, "passing floating point arguments in fp regs not yet supported"); - /* Initialize boolean versions of the flags, for use in the arm.md file. */ arm_arch3m = ARM_FSET_HAS_CPU1 (insn_flags, FL_ARCH3M); arm_arch4 = ARM_FSET_HAS_CPU1 (insn_flags, FL_ARCH4); Index: gcc/config/arm/arm.opt =================================================================== --- gcc/config/arm/arm.opt (revision 242668) +++ gcc/config/arm/arm.opt (working copy) @@ -61,10 +61,6 @@ mapcs Target RejectNegative Mask(APCS_FRAME) Undocumented -mapcs-float -Target Report Mask(APCS_FLOAT) -Pass FP arguments in FP registers. - mapcs-frame Target Report Mask(APCS_FRAME) Generate APCS conformant stack frames. Index: gcc/doc/invoke.texi =================================================================== --- gcc/doc/invoke.texi (revision 242668) +++ gcc/doc/invoke.texi (working copy) @@ -621,7 +621,6 @@ @gccoptlist{-mapcs-frame -mno-apcs-frame @gol -mabi=@var{name} @gol -mapcs-stack-check -mno-apcs-stack-check @gol --mapcs-float -mno-apcs-float @gol -mapcs-reentrant -mno-apcs-reentrant @gol -msched-prolog -mno-sched-prolog @gol -mlittle-endian -mbig-endian @gol @@ -14892,16 +14891,6 @@ @option{-mno-apcs-stack-check}, since this produces smaller code. @c not currently implemented -@item -mapcs-float -@opindex mapcs-float -Pass floating-point arguments using the floating-point registers. This is -one of the variants of the APCS@. This option is recommended if the -target hardware has a floating-point unit or if a lot of floating-point -arithmetic is going to be performed by the code. The default is -@option{-mno-apcs-float}, since the size of integer-only code is -slightly increased if @option{-mapcs-float} is used. - -@c not currently implemented @item -mapcs-reentrant @opindex mapcs-reentrant Generate reentrant, position-independent code. The default is