re PR tree-optimization/17558 (internal compiler error: in merge_alias_info, at tree...
authorAndrew Pinski <pinskia@physics.uc.edu>
Mon, 20 Sep 2004 20:58:23 +0000 (20:58 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Mon, 20 Sep 2004 20:58:23 +0000 (13:58 -0700)
2004-09-20  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/17558
        * gcc.c-torture/compile/pr17558.c: New test.

From-SVN: r87773

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

index 378e98e84e3ba72afa6893d7fe21ee91505ad136..6bfa3e8d9c1ce9a82cb43334d9708af4b25af6ff 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-20  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/17558 
+       * gcc.c-torture/compile/pr17558.c: New test.
+
 2004-09-20  Richard Sandiford  <rsandifo@redhat.com>
 
        * gcc.dg/compat/sdata-section.h (SDATA_SECTION): Don't use an attribute
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr17558.c b/gcc/testsuite/gcc.c-torture/compile/pr17558.c
new file mode 100644 (file)
index 0000000..bc66552
--- /dev/null
@@ -0,0 +1,10 @@
+struct xobject {
+       char type;
+};
+extern struct xobject *t1_Xform ( struct xobject *obj);
+struct xobject *
+t1_Xform(struct xobject *obj)
+{
+  register struct font *F = (struct font *) obj;
+  return((struct xobject*)F);
+}