From 8d316075569ab9d6aab764626e19eea06e1316fe Mon Sep 17 00:00:00 2001 From: Justin Viiret Date: Mon, 11 Jul 2016 11:44:57 +1000 Subject: [PATCH] rose: only use anch history when there are bounds --- src/rose/rose_build_compile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rose/rose_build_compile.cpp b/src/rose/rose_build_compile.cpp index d59d4d4f..472de156 100644 --- a/src/rose/rose_build_compile.cpp +++ b/src/rose/rose_build_compile.cpp @@ -453,7 +453,8 @@ RoseRoleHistory findHistoryScheme(const RoseBuildImpl &tbi, const RoseEdge &e) { return ROSE_ROLE_HISTORY_NONE; } - if (g[u].fixedOffset()) { + if (g[u].fixedOffset() && + (g[e].minBound || g[e].maxBound != ROSE_BOUND_INF)) { DEBUG_PRINTF("fixed offset -> anch\n"); return ROSE_ROLE_HISTORY_ANCH; }