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
This commit is contained in:
Alexandre Oliva 2003-07-29 06:25:53 +00:00 committed by Alexandre Oliva
parent 5f0eabcc4d
commit f67f773737
3 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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 ()

View File

@ -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 ()
{