aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-11-06 18:30:57 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2004-11-06 18:30:57 +0000
commit629bf5f9a465caebd2ce90897fb662e5d06003ca (patch)
treea64fe59e445f1ae43443d94f0f87dd7ab53065e2 /gcc
parent6c56bdc2faced04b598b5d2a88e11bed6d67bd0c (diff)
downloadgcc-629bf5f9a465caebd2ce90897fb662e5d06003ca.zip
gcc-629bf5f9a465caebd2ce90897fb662e5d06003ca.tar.gz
gcc-629bf5f9a465caebd2ce90897fb662e5d06003ca.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr17933-1.c14
2 files changed, 19 insertions, 0 deletions
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 <pinskia@physics.uc.edu>
+
+ PR rtl-optimization/17933
+ * gcc.dg/torture/pr17933-1.c: New test.
+
2004-11-06 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
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);
+}