ia64.c (ia64_set_sched_flags): Zero spec_info->mask when neither of haifa/selective schedulers are working.
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. From-SVN: r145055
This commit is contained in:
parent
7369c1d0bf
commit
cd510f15b8
4 changed files with 32 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-03-25 Andrey Belevantsev <abel@ispras.ru>
|
||||
|
||||
* config/ia64/ia64.c (ia64_set_sched_flags): Zero spec_info->mask when
|
||||
neither of haifa/selective schedulers are working.
|
||||
|
||||
2009-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* doc/invoke.texi (Debugging Options): Fix description of
|
||||
|
|
|
@ -7274,6 +7274,8 @@ ia64_set_sched_flags (spec_info_t spec_info)
|
|||
spec_info->flags |= COUNT_SPEC_IN_CRITICAL_PATH;
|
||||
}
|
||||
}
|
||||
else
|
||||
spec_info->mask = 0;
|
||||
}
|
||||
|
||||
/* If INSN is an appropriate load return its mode.
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2009-03-25 Alexander Monakov <amonakov@ispras.ru>
|
||||
|
||||
* gcc.target/ia64/20090324-1.c: New test.
|
||||
|
||||
2009-03-25 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c/27898
|
||||
|
|
21
gcc/testsuite/gcc.target/ia64/20090324-1.c
Normal file
21
gcc/testsuite/gcc.target/ia64/20090324-1.c
Normal file
|
@ -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 ();
|
||||
}
|
Loading…
Add table
Reference in a new issue