* gcc.c-torture/compile/990625-1.c: New test.
authorJeffrey A Law <law@cygnus.com>
Fri, 25 Jun 1999 04:29:41 +0000 (04:29 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 25 Jun 1999 04:29:41 +0000 (22:29 -0600)
From-SVN: r27756

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/990625-1.c [new file with mode: 0644]

index 8a149ed8ebf0ac52916665b82ea7a309fc97f44d..83d4015b2e7ca5b2b5f93f3ded917c3b21d897ca 100644 (file)
@@ -1,3 +1,7 @@
+Fri Jun 25 05:28:40 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * gcc.c-torture/compile/990625-1.c: New test.
+
 Thu Jun 17 13:48:16 1999  Jeffrey A Law  (law@cygnus.com)
 
        * gcc.c-torture/compile/990617-1.c: New test.
diff --git a/gcc/testsuite/gcc.c-torture/compile/990625-1.c b/gcc/testsuite/gcc.c-torture/compile/990625-1.c
new file mode 100644 (file)
index 0000000..97a2331
--- /dev/null
@@ -0,0 +1,12 @@
+#define __USE_STRING_INLINES
+#include <string.h>
+
+void test()
+{
+        char *p, *a;
+        const char *s;
+
+        while ( (s = a) )
+          p = strcpy(strcpy(p,"/"), s);
+}
+