The pdom never changes in the for statement. It does look suspicious.
-----Original Message-----
From: owner-pro64-support@xxxxxxxxxxx
[mailto:owner-pro64-support@xxxxxxxxxxx]On Behalf Of Richard Shapiro
Sent: Thursday, April 19, 2001 8:51 AM
To: mcnaught@xxxxxxxxxxxxxx
Cc: pro64-support@xxxxxxxxxxx
Subject: Re: Hyperblock bug?
At be/cg/hb_id_candidates.cxx, ~line 627 (version 0.12):
if (!BB_SET_MemberP(BB_dom_set(pdom), dom)) {
for (dom = Find_Immediate_Dominator(dom);
dom && !BB_SET_MemberP(BB_dom_set(pdom), dom);
dom = Find_Immediate_Dominator(pdom));
}
I think the last call to Find_Immediate_Dominator(pdom) should be
Find_Immediate_Dominator(dom).
Refresh my memory. Why do you think this? Could you send out a larger chunk
of the code (since I don;t have an active development set right now).
--
Richard Shapiro
Ab Initio Software Corporation
rshapiro@xxxxxxxxxxxx
(781) 301-2311
|