string-opt-1.c: Make stub functions static.
authorRichard Henderson <rth@redhat.com>
Thu, 9 Nov 2000 23:21:39 +0000 (15:21 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 9 Nov 2000 23:21:39 +0000 (15:21 -0800)
        * gcc.c-torture/execute/string-opt-1.c: Make stub functions static.
        * gcc.c-torture/execute/string-opt-2.c: Likewise.
        * gcc.c-torture/execute/string-opt-3.c: Likewise.
        * gcc.c-torture/execute/string-opt-4.c: Likewise.

From-SVN: r37349

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/string-opt-1.c
gcc/testsuite/gcc.c-torture/execute/string-opt-2.c
gcc/testsuite/gcc.c-torture/execute/string-opt-3.c
gcc/testsuite/gcc.c-torture/execute/string-opt-4.c

index 4a45c4f977149d0375a824731ae015008139c9a9..e7c7978e09b83d4721825d17b18af95256f4b543 100644 (file)
@@ -1,3 +1,10 @@
+2000-11-09  Richard Henderson  <rth@redhat.com>
+
+       * gcc.c-torture/execute/string-opt-1.c: Make stub functions static.
+       * gcc.c-torture/execute/string-opt-2.c: Likewise.
+       * gcc.c-torture/execute/string-opt-3.c: Likewise.
+       * gcc.c-torture/execute/string-opt-4.c: Likewise.
+
 2000-11-09  Geoffrey Keating  <geoffk@redhat.com>
 
        * gcc.c-torture/compile/20001109-1.c: New test.
index 3bbc471f850865b05fedc4b5ebd3cd4607aa6c63..058d5943f584e15418ea97f443e29464143e236a 100644 (file)
@@ -32,7 +32,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.  */
-char *
+static char *
 strstr(const char *s1, const char *s2)
 {
   abort();
index 87144ded67cbc6a224f53f2d0080507dafb3b6d7..29e9af07d917b005a8238630614bc0e5a3aab003 100644 (file)
@@ -40,7 +40,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.  */
-char *
+static char *
 strpbrk(const char *s1, const char *s2)
 {
   abort();
index b2b9e1fe7d938455a0c8ae0cf6509350bbc9ca5f..132127137cd483156dbdbc3c680f7e124914ccac 100644 (file)
@@ -63,19 +63,19 @@ int main()
 /* When optimizing, all the above cases should be transformed into
    something else.  So any remaining calls to the original function
    should abort.  */
-__SIZE_TYPE__
+static __SIZE_TYPE__
 strlen (const char *s)
 {
   abort ();
 }
 
-int
+static int
 strcmp (const char *s1, const char *s2)
 {
   abort ();
 }
 
-char *
+static char *
 strrchr (const char *s, int c)
 {
   abort ();
index a4c70cfda6bd857ef6aabe957ea30388956e5c44..f07ab12dfb7985b7714ca859e1c89774f1d7f781 100644 (file)
@@ -28,7 +28,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.  */
-char *
+static char *
 strchr (const char *s, int c)
 {
   abort ();