]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/7370 (ICE in fixup_var_refs_1 on s390x)
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 15 Oct 2002 18:38:25 +0000 (18:38 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Tue, 15 Oct 2002 18:38:25 +0000 (18:38 +0000)
PR target/7370
* gcc.c-torture/compile/20021015-1.c: New test.

PR target/8232
* gcc.c-torture/compile/20021015-2.c: New test.

From-SVN: r58174

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

index 26939268caa48e264f9346d21aad0c5ac4f12d97..dfe2b332d3a2415b5ed4b9fec4cc4bd92dfdc692 100644 (file)
@@ -1,3 +1,11 @@
+2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       PR target/7370
+       * gcc.c-torture/compile/20021015-1.c: New test.
+
+       PR target/8232
+       * gcc.c-torture/compile/20021015-2.c: New test.
+
 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * gcc.c-torture/execute/20021015-1.c: New test.
diff --git a/gcc/testsuite/gcc.c-torture/compile/20021015-1.c b/gcc/testsuite/gcc.c-torture/compile/20021015-1.c
new file mode 100644 (file)
index 0000000..789b8a8
--- /dev/null
@@ -0,0 +1,12 @@
+/* PR target/7370.  */
+
+int g (int *x, int *y);
+
+void f ()
+{
+  int x, y;
+  char a[4000];
+
+  g (&x, &y);
+  x = x/y + x;
+}
diff --git a/gcc/testsuite/gcc.c-torture/compile/20021015-2.c b/gcc/testsuite/gcc.c-torture/compile/20021015-2.c
new file mode 100644 (file)
index 0000000..6b158c5
--- /dev/null
@@ -0,0 +1,7 @@
+/* PR target/8232.  */
+
+int f (char *p, char *q, int i)
+{
+  return bcmp (p, q, i);
+}
+