From: Jakub Jelinek Date: Thu, 14 Jun 2018 19:16:14 +0000 (+0200) Subject: re PR target/86048 (.seh_savexmm offset is negative error when compiling libpng) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf7595376f17fdd6b6a558dbc1f14d30baa69949;p=gcc.git re PR target/86048 (.seh_savexmm offset is negative error when compiling libpng) PR target/86048 * gcc.target/i386/pr86048.c: Require sse2 effective target. Add -msse2 to dg-options. From-SVN: r261608 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9c15279f09b..f060c6eb927 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2018-06-14 Jakub Jelinek + 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. diff --git a/gcc/testsuite/gcc.target/i386/pr86048.c b/gcc/testsuite/gcc.target/i386/pr86048.c index cd735793926..afd8fb226b6 100644 --- a/gcc/testsuite/gcc.target/i386/pr86048.c +++ b/gcc/testsuite/gcc.target/i386/pr86048.c @@ -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);