[PATCH] Two new testsuite tests
Jakub Jelinek
jakub@redhat.com
Wed Apr 5 01:37:00 GMT 2000
Hi!
Ok to commit attached tests?
The first test is still not fixed in the tree (I've fixed it by
http://gcc.gnu.org/ml/gcc-patches/2000-03/msg01038.html (DECL_OFFSET_ALIGN)
in my tree), the latter has been just fixed but I thought it would be better
to make sure it does not pop up again.
BTW: Besides the patch mentioned above I need the following patches to
bootstrap on sparc64-linux and build glibc:
http://gcc.gnu.org/ml/gcc-patches/2000-03/msg00971.html (Makefile fix for multilibs)
http://gcc.gnu.org/ml/gcc-patches/2000-01/msg01029.html (reload fix, otherwise glibc build dies)
(and http://gcc.gnu.org/ml/gcc-patches/2000-03/msg01009.html - SUBREG_BYTE,
just for completeness).
Can anyone look at the above three short patches and decide whether they can
be commited or what's wrong with them?
Thanks.
2000-04-05 Jakub Jelinek <jakub@redhat.com>
* compile/20000405-1.c: New test.
* compile/20000405-2.c: New test.
--- gcc/testsuite/gcc.c-torture/compile/20000405-1.c.jj Wed Apr 5 10:16:56 2000
+++ gcc/testsuite/gcc.c-torture/compile/20000405-1.c Wed Apr 5 10:17:20 2000
@@ -0,0 +1,9 @@
+struct foo {
+ void *entry[40];
+} __attribute__ ((aligned(32)));
+
+int foo (struct foo *ptr, int idx, void *pointer)
+{
+ ptr->entry[idx] = pointer;
+ return 0;
+}
--- gcc/testsuite/gcc.c-torture/compile/20000405-2.c.jj Wed Apr 5 10:17:00 2000
+++ gcc/testsuite/gcc.c-torture/compile/20000405-2.c Wed Apr 5 10:15:52 2000
@@ -0,0 +1,6 @@
+extern void foo (int);
+
+void bar (unsigned long l)
+{
+ foo(l == 0);
+}
Jakub
More information about the Gcc-patches
mailing list