From 61760b925ca4732c6eac2e1fe3582185aba826e7 Mon Sep 17 00:00:00 2001 From: Prathamesh Kulkarni Date: Sun, 14 Jan 2018 08:58:58 +0000 Subject: [PATCH] re PR tree-optimization/83501 (strlen(a) not folded after strcpy(a, "...")) 2018-01-14 Prathamesh Kulkarni PR tree-optimization/83501 * gcc.dg/strlenopt-39.c: Restrict to i?86 and x86_64-*-* targets. From-SVN: r256657 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/strlenopt-39.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f2976406a5f..d8263d6ab3a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-01-14 Prathamesh Kulkarni + + PR tree-optimization/83501 + * gcc.dg/strlenopt-39.c: Restrict to i?86 and x86_64-*-* targets. + 2018-01-10 Kelvin Nilsen * gcc.target/powerpc/pr48857.c: Modify dejagnu directives to look diff --git a/gcc/testsuite/gcc.dg/strlenopt-39.c b/gcc/testsuite/gcc.dg/strlenopt-39.c index a4177c918ad..c65b4bfc1a4 100644 --- a/gcc/testsuite/gcc.dg/strlenopt-39.c +++ b/gcc/testsuite/gcc.dg/strlenopt-39.c @@ -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" -- 2.30.2