[PATCH, i386]: Fix PR72867, incorrect optimization of VMINPS/VMAXPS at compile time
Jakub Jelinek
jakub@redhat.com
Tue Aug 16 16:25:00 GMT 2016
On Mon, Aug 15, 2016 at 08:53:35PM +0200, Uros Bizjak wrote:
> 2016-08-15 Uros Bizjak <ubizjak@gmail.com>
>
> PR target/72867
> * gcc.target/i386/pr72867.c: New test.
The testcase fails on i686-linux, because -msse isn't provided.
Fixed thusly, tested on i686-linux, committed as obvious to trunk:
2016-08-16 Jakub Jelinek <jakub@redhat.com>
PR target/72867
* gcc.target/i386/pr72867.c: Add -msse to dg-options.
--- gcc/testsuite/gcc.target/i386/pr72867.c.jj 2016-08-16 15:50:33.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/pr72867.c 2016-08-16 17:52:30.000000000 +0200
@@ -1,6 +1,6 @@
/* PR target/72867 */
/* { dg-do run } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -msse" } */
/* { dg-require-effective-target sse } */
#include "sse-check.h"
Jakub
More information about the Gcc-patches
mailing list