From 759236dd7ce7c78c297ef47a8865b65d8b247ace Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Thu, 27 Jun 2002 18:23:33 +0000 Subject: [PATCH] string-opt-8.c (strncmp): Fix typo in return type. 2002-06-27 Aldy Hernandez * gcc.c-torture/execute/string-opt-8.c (strncmp): Fix typo in return type. From-SVN: r55035 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.c-torture/execute/string-opt-8.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 829d0d50629..55d809bb2d3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-06-27 Aldy Hernandez + + * gcc.c-torture/execute/string-opt-8.c (strncmp): Fix typo in + return type. + Thu Jun 27 15:23:21 2002 J"orn Rennecke * gcc.c-torture/execute/simd-2.c (i, j): Add initializer elements to diff --git a/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c b/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c index bd6f87d7438..0e0e7bb5fb8 100644 --- a/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c +++ b/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c @@ -231,7 +231,7 @@ int main () /* When optimizing, all the above cases should be transformed into something else. So any remaining calls to the original function should abort. */ -static char * +static int strncmp(const char *s1, const char *s2, size_t n) { abort(); -- 2.30.2