This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
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.