From: Andrew Pinski Date: Sat, 6 Nov 2004 18:30:57 +0000 (+0000) Subject: re PR rtl-optimization/17933 (ICE: in schedule_insns, at /sched-rgn.c:2555) X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=629bf5f9a465caebd2ce90897fb662e5d06003ca;p=platform%2Fupstream%2Fgcc.git re PR rtl-optimization/17933 (ICE: in schedule_insns, at /sched-rgn.c:2555) PR rtl-optimization/17933 * gcc.dg/torture/pr17933-1.c: New test. From-SVN: r90182 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 66fb099..83ef0c7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-11-06 Andrew Pinski + + PR rtl-optimization/17933 + * gcc.dg/torture/pr17933-1.c: New test. + 2004-11-06 Aaron W. LaFramboise PR target/18106 diff --git a/gcc/testsuite/gcc.dg/torture/pr17933-1.c b/gcc/testsuite/gcc.dg/torture/pr17933-1.c new file mode 100644 index 0000000..02c597b --- /dev/null +++ b/gcc/testsuite/gcc.dg/torture/pr17933-1.c @@ -0,0 +1,14 @@ +/* PR rtl-optimization/17933. + Test-case from the ObjC test-suite, execute/class_self-2.m, + translated to C from and reduced by Andrew Pinski. */ + +struct d +{ int a; }; +void abort(void); +typedef struct d (*f) (int i); +f ff(void); +void test1() +{ + f t = ff(); + t(0); +}