From: Andrew Pinski Date: Mon, 20 Sep 2004 20:58:23 +0000 (+0000) Subject: re PR tree-optimization/17558 (internal compiler error: in merge_alias_info, at tree... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c9d875031bf92c694fbd73839ef1684c739bffb;p=gcc.git re PR tree-optimization/17558 (internal compiler error: in merge_alias_info, at tree-ssa-copy.c:182) 2004-09-20 Andrew Pinski PR tree-opt/17558 * gcc.c-torture/compile/pr17558.c: New test. From-SVN: r87773 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 378e98e84e3..6bfa3e8d9c1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-09-20 Andrew Pinski + + PR tree-opt/17558 + * gcc.c-torture/compile/pr17558.c: New test. + 2004-09-20 Richard Sandiford * 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 index 00000000000..bc66552851c --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr17558.c @@ -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); +}