[Bug target/70465] [5/6 Regression] Poor code for x87 asm
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 21 16:01:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465
--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Uroš Bizjak from comment #19)
> (In reply to Jakub Jelinek from comment #18)
> > Created attachment 40808 [details]
> > gcc7-pr70465-2.patch
> >
> > Now actually working patch for this testcase.
>
> +/* { dg-do compile { target ia32 } } */
> +/* { dg-options "-Ofast -mfpmath=387 -fomit-frame-pointer" } */
>
> Is there a reason that this test (and the previous one) is limited to ia32
> only? -mfpmath=387 should give the same result on x86_64, too.
Indeed, no reason. Consider { target ia32 } dropped from this one.
The pr70465.c tests needs it though, because there are intervening stores.
More information about the Gcc-bugs
mailing list