re PR target/86048 (.seh_savexmm offset is negative error when compiling libpng)
authorJakub Jelinek <jakub@redhat.com>
Thu, 14 Jun 2018 19:16:14 +0000 (21:16 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 14 Jun 2018 19:16:14 +0000 (21:16 +0200)
PR target/86048
* gcc.target/i386/pr86048.c: Require sse2 effective target.  Add
-msse2 to dg-options.

From-SVN: r261608

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr86048.c

index 9c15279f09bc68c4dc4c5bcca988363fb1f0bbc6..f060c6eb927e842e7543a4f7e73a94eba7cf0222 100644 (file)
@@ -1,5 +1,9 @@
 2018-06-14  Jakub Jelinek  <jakub@redhat.com>
 
+       PR target/86048
+       * gcc.target/i386/pr86048.c: Require sse2 effective target.  Add
+       -msse2 to dg-options.
+
        PR middle-end/86122
        * gcc.c-torture/compile/pr86122.c: New test.
 
index cd735793926bdbcb6026814e74734fe359e2db75..afd8fb226b6b87ff662b8a22a29a1956b7aca1cb 100644 (file)
@@ -1,6 +1,6 @@
 /* PR target/86048 */
-/* { dg-do assemble } */
-/* { dg-options "-O2" } */
+/* { dg-do assemble { target sse2 } } */
+/* { dg-options "-O2 -msse2" } */
 /* { dg-require-effective-target return_address } */
 
 extern void abort (void);