From 2b7482f8139a7641e14d4455ef40b5fd3c016485 Mon Sep 17 00:00:00 2001 From: Vladimir Makarov Date: Mon, 7 Dec 2015 16:26:23 +0000 Subject: [PATCH] pr68349.c (strlen): Rename to my_strlen. 2015-12-07 Vladimir Makarov * gcc.target/i386/pr68349.c (strlen): Rename to my_strlen. From-SVN: r231370 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/i386/pr68349.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2a8fce8903b..a9abef30306 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-12-07 Vladimir Makarov + + * gcc.target/i386/pr68349.c (strlen): Rename to my_strlen. + 2015-12-07 Nathan Sidwell * gcc.target/nvptx/abort.c: New. diff --git a/gcc/testsuite/gcc.target/i386/pr68349.c b/gcc/testsuite/gcc.target/i386/pr68349.c index 4eae0530f62..3c38c3a01f3 100644 --- a/gcc/testsuite/gcc.target/i386/pr68349.c +++ b/gcc/testsuite/gcc.target/i386/pr68349.c @@ -3,7 +3,7 @@ /* { dg-options "-O2" } */ int a, b; -unsigned long strlen(); +unsigned long my_strlen(); typedef struct sHyphenNode { char sepcnts[0]; struct sHyphenNode *Daughters[]; @@ -12,7 +12,7 @@ int GetIndex(); PHyphenNode c; void DoHyphens_Field_1() { char d[300], e[300]; - int z, f, l = strlen(); + int z, f, l = my_strlen(); for (; z;) ; for (; l; z++) { -- 2.30.2