[Bug target/19379] [4.0 Regression] ICE during build of newlib's e_atan2.c when soft-float

rth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 13 01:51:00 GMT 2005


------- Additional Comments From rth at gcc dot gnu dot org  2005-01-13 01:51 -------
(In reply to comment #10)
>    { "hard-float",		 MASK_80387, N_("Use hardware fp") },	      \
> -  { "soft-float",		-MASK_80387, N_("Do not use hardware fp") },  \
> +  { "soft-float",		-(MASK_80387|MASK_FLOAT_RETURNS), \
> +    N_("Do not use hardware fp") },  \

One thing that I notice about this is that -msoft-float and -mhard-float are
no longer inverses.  Perhaps it would be better to modify override_options to
notice when, after all options are processed, that MASK_80387 is off and then
turn off MASK_FLOAT_RETURNS to match.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19379



More information about the Gcc-bugs mailing list