Commit f7308317 authored by aoliva's avatar aoliva
Browse files

* gcc.c-torture/execute/string-opt-9.c: strcmp returns int.

* gcc.c-torture/execute/string-opt-10.c: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69916 138bc75d-0d04-0410-961f-82ee72b054a4
parent 0d957060
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
......
/* 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 ()
......
/* 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 ()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment