From bf7595376f17fdd6b6a558dbc1f14d30baa69949 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 14 Jun 2018 21:16:14 +0200 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/i386/pr86048.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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); -- 2.30.2