http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309
--- Comment #21 from Igor Zamyatin <izamyatin at gmail dot com> 2013-02-15
06:49:53 UTC ---
(In reply to comment #18)
> Following patch is a big hammer approach to the problem, intended only for
> benchmarking
>
> --cut here--
> Index: common/config/i386/i386-common.c
> ===================================================================
> --- common/config/i386/i386-common.c (revision 195988)
> +++ common/config/i386/i386-common.c (working copy)
> @@ -710,6 +710,8 @@
> /* Turn off -fschedule-insns by default. It tends to make the
> problem with not enough registers even worse. */
> { OPT_LEVELS_ALL, OPT_fschedule_insns, NULL, 0 },
> + /* Turn off -ftree-loop-if-convert by default. */
> + { OPT_LEVELS_ALL, OPT_ftree_loop_if_convert, NULL, 0 },
>
> #ifdef SUBTARGET_OPTIMIZATION_OPTIONS
> SUBTARGET_OPTIMIZATION_OPTIONS,
> --cut here--
>
But in this case we are giving up vectorization for some cases, aren't we?