diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-07-29 06:25:53 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2003-07-29 06:25:53 +0000 |
commit | f67f773737339ad6acfe7b02d5f6721f2b283515 (patch) | |
tree | 442b30c22db0fefc0c4ed8982462efe0ecf408a3 /gcc | |
parent | 5f0eabcc4df9bfda5ea33cc8e12826b41b95d50b (diff) | |
download | gcc-f67f773737339ad6acfe7b02d5f6721f2b283515.zip gcc-f67f773737339ad6acfe7b02d5f6721f2b283515.tar.gz gcc-f67f773737339ad6acfe7b02d5f6721f2b283515.tar.bz2 |
string-opt-9.c: strcmp returns int.
* gcc.c-torture/execute/string-opt-9.c: strcmp returns int.
* gcc.c-torture/execute/string-opt-10.c: Likewise.
From-SVN: r69916
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/string-opt-10.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/string-opt-9.c | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6b59e6a..b17dee5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-07-29 Alexandre Oliva <aoliva@redhat.com> + + * gcc.c-torture/execute/string-opt-9.c: strcmp returns int. + * gcc.c-torture/execute/string-opt-10.c: Likewise. + 2003-07-28 Jan Hubicka <jh@suse.cz> PR c++/11530 diff --git a/gcc/testsuite/gcc.c-torture/execute/string-opt-10.c b/gcc/testsuite/gcc.c-torture/execute/string-opt-10.c index dc31dc5..b883dd6 100644 --- a/gcc/testsuite/gcc.c-torture/execute/string-opt-10.c +++ b/gcc/testsuite/gcc.c-torture/execute/string-opt-10.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000 Free Software Foundation. +/* Copyright (C) 2000, 2003 Free Software Foundation. Ensure all expected transformations of builtin strncat occur and perform correctly. @@ -9,7 +9,7 @@ extern void abort (void); typedef __SIZE_TYPE__ size_t; extern char *strncat (char *, const char *, size_t); extern char *strcpy (char *, const char *); -extern char *strcmp (const char *, const char *); +extern int strcmp (const char *, const char *); int x = 123; int main () diff --git a/gcc/testsuite/gcc.c-torture/execute/string-opt-9.c b/gcc/testsuite/gcc.c-torture/execute/string-opt-9.c index 0a3edbe..889425d 100644 --- a/gcc/testsuite/gcc.c-torture/execute/string-opt-9.c +++ b/gcc/testsuite/gcc.c-torture/execute/string-opt-9.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000 Free Software Foundation. +/* Copyright (C) 2000, 2003 Free Software Foundation. Ensure all expected transformations of builtin strcat occur and perform correctly. @@ -9,7 +9,7 @@ extern void abort (void); typedef __SIZE_TYPE__ size_t; extern char *strcat (char *, const char *); extern char *strcpy (char *, const char *); -extern char *strcmp (const char *, const char *); +extern int strcmp (const char *, const char *); int main () { |