This is the mail archive of the
mailing list for the GCC project.
[PATCH] RFA C4X just unconditionally sets -ffast-math (nearly)
- From: Marcin Dalecki <martin at dalecki dot de>
- To: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 29 Dec 2006 02:55:01 +0100
- Subject: [PATCH] RFA C4X just unconditionally sets -ffast-math (nearly)
c4x_override_options is just setting set_fast_math_flags(1), which is
to have the same effect as unconditional use of -ffast-math. This is:
1. Quite surprising to the actual user and thus not polite.
2. Missing the twinkle-winkle dance between -fcx-limited-range and
3. Asking for obvious regressions.
4. Adding to the already sufficient "behavioral indeterminism" of the
Is it OK to stop doing this? It's the only architecture doing this
2006-12-29 Marcin Dalecki <email@example.com>
* config/c4x/c4x.c (c4x_override_options): Don't override optoins to
--- gcc/config/c4x/c4x.c (revision 120252)
+++ gcc/config/c4x/c4x.c (working copy)
@@ -296,9 +296,6 @@
- /* Convert foo / 8.0 into foo * 0.125, etc. */
- set_fast_math_flags (1);
/* We should phase out the following at some stage.
This provides compatibility with the old -mno-aliases option. */
if (! TARGET_ALIASES && ! flag_argument_noalias)