This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][RFC] Prevent implicit FPU usage


> +  if (!TARGET_HITACHI && !flag_implicit_fp)				\
> +    warning (0, "selected ABI may cause unexpected use of floating point" \
> +	     " (use -mhitachi)");                                       \

Hmmm... I wonder if we should support passing negated OPT_* values to
invert the control and have it print the "no-" variant in diagnostics.
Then you could pass either -OPT_mhitachi or -OPT_fimplicit_fp instead
of zero here.

Unless there's a -W option that should control this warning.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]