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:
parent
5f0eabcc4d
commit
f67f773737
@ -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
|
||||
|
@ -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 ()
|
||||
|
@ -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 ()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user