re PR tree-optimization/83501 (strlen(a) not folded after strcpy(a, "..."))
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Sun, 14 Jan 2018 08:58:58 +0000 (08:58 +0000)
committerPrathamesh Kulkarni <prathamesh3492@gcc.gnu.org>
Sun, 14 Jan 2018 08:58:58 +0000 (08:58 +0000)
2018-01-14  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

PR tree-optimization/83501
* gcc.dg/strlenopt-39.c: Restrict to i?86 and x86_64-*-* targets.

From-SVN: r256657

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/strlenopt-39.c

index f2976406a5f9dea63747b1640feb5843e9677d6b..d8263d6ab3a52805d28d0c4bb5d3ef6a05328c1b 100644 (file)
@@ -1,3 +1,8 @@
+2018-01-14  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
+
+       PR tree-optimization/83501
+       * gcc.dg/strlenopt-39.c: Restrict to i?86 and x86_64-*-* targets.
+
 2018-01-10  Kelvin Nilsen  <kelvin@gcc.gnu.org>
 
        * gcc.target/powerpc/pr48857.c: Modify dejagnu directives to look
index a4177c918ad0dcd91aa9661e240c449f1becd70d..c65b4bfc1a4c87d73cb253e106a1759a2777cdb5 100644 (file)
@@ -1,5 +1,5 @@
 /* PR tree-optimization/83444
-   { dg-do compile }
+   { dg-do compile { target i?86-*-* x86_64-*-* } }
    { dg-options "-O2 -fdump-tree-optimized" } */
 
 #include "strlenopt.h"