summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beverify.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2012-11-27 18:02:33 +0100
committerMatthias Braun <matze@braunis.de>2012-11-28 11:27:13 +0100
commit36a630b5428b1de399dd0adb8a0131b79d2bb892 (patch)
tree322640317d3f3da2429450d093033ff3e3156380 /ir/be/beverify.c
parent9a1c04e0bdc66d8fce339bc81408728b9459d033 (diff)
verify sched_not_scheduled flag
Diffstat (limited to 'ir/be/beverify.c')
-rw-r--r--ir/be/beverify.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ir/be/beverify.c b/ir/be/beverify.c
index fc8e3c4..71f1e20 100644
--- a/ir/be/beverify.c
+++ b/ir/be/beverify.c
@@ -179,6 +179,11 @@ static void verify_schedule_walker(ir_node *block, void *data)
}
last_timestep = timestep;
+ if (arch_get_irn_flags(node) & arch_irn_flags_not_scheduled) {
+ ir_fprintf(stderr, "Verify warning: flags_not_scheduled node %+F scheduled anyway\n", node);
+ env->problem_found = true;
+ }
+
/* Check that phis come before any other node */
if (is_Phi(node)) {
if (non_phi_found != NULL) {