summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/ia64
diff options
context:
space:
mode:
authoramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>2009-03-25 10:04:36 +0000
committeramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>2009-03-25 10:04:36 +0000
commit686d79e0f4dc8ecc9c56e31c196381c50f069e36 (patch)
tree4e23b826cd516cdd433c317a5083c93da83522be /gcc/testsuite/gcc.target/ia64
parent54b921e3372cdba80d01fdb4975d5efb28a77cff (diff)
downloadgcc-686d79e0f4dc8ecc9c56e31c196381c50f069e36.tar.gz
2009-03-25 Andrey Belevantsev <abel@ispras.ru>
Alexander Monakov <amonakov@ispras.ru> * config/ia64/ia64.c (ia64_set_sched_flags): Zero spec_info->mask when neither of haifa/selective schedulers are working. * gcc.target/ia64/20090324-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145055 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/ia64')
-rw-r--r--gcc/testsuite/gcc.target/ia64/20090324-1.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/ia64/20090324-1.c b/gcc/testsuite/gcc.target/ia64/20090324-1.c
new file mode 100644
index 00000000000..d9aff6a18b4
--- /dev/null
+++ b/gcc/testsuite/gcc.target/ia64/20090324-1.c
@@ -0,0 +1,21 @@
+/* { dg-do compile } */
+/* { dg-options "-O3 -fmodulo-sched" } */
+
+static char *place_region_bounds_x, *place_region_bounds_y;
+static void read_place () {
+ char msg[300];
+ update_screen (msg);
+}
+static void alloc_and_load_placement_structs () {
+ int i, j;
+ for (j=0;
+ j<100;
+ j++) {
+ place_region_bounds_x[i] = place_region_bounds_x[i-1];
+ place_region_bounds_y[i] = place_region_bounds_y[i-1];
+ }
+}
+void place_and_route () {
+ read_place ();
+ alloc_and_load_placement_structs ();
+}