From: Segher Boessenkool Date: Thu, 7 Jul 2016 17:08:00 +0000 (+0200) Subject: rs6000: Fix gcc.target/powerpc/ti_math1.c on GCC 5 (PR69019) X-Git-Tag: releases/gcc-5.5.0~983 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ada9ca29df71a3e1663f9fbf5f30c8cd5aabd88f;p=thirdparty%2Fgcc.git rs6000: Fix gcc.target/powerpc/ti_math1.c on GCC 5 (PR69019) This testcase currently fails on GCC 5, for LE only. Since it is fixed for 6 and later, and backporting the relevant code is rather invasive, let's just weaken the testcase for GCC 5 instead. PR target/69019 * gcc.target/powerpc/ti_math1.c: Allow addze as well as adde. From-SVN: r238121 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index acfc20d68da6..2162b5448adb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-07-07 Segher Boessenkool + + PR target/69019 + * gcc.target/powerpc/ti_math1.c: Allow addze as well as adde. + 2016-07-07 Jakub Jelinek Backported from mainline diff --git a/gcc/testsuite/gcc.target/powerpc/ti_math1.c b/gcc/testsuite/gcc.target/powerpc/ti_math1.c index cdf925100484..6f4ae64d870c 100644 --- a/gcc/testsuite/gcc.target/powerpc/ti_math1.c +++ b/gcc/testsuite/gcc.target/powerpc/ti_math1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-options "-O2" } */ /* { dg-final { scan-assembler-times "addc" 1 } } */ -/* { dg-final { scan-assembler-times "adde" 1 } } */ +/* { dg-final { scan-assembler-times "addz?e" 1 } } */ /* { dg-final { scan-assembler-times "subfc" 1 } } */ /* { dg-final { scan-assembler-times "subfe" 1 } } */ /* { dg-final { scan-assembler-not "subf " } } */