* remove check for expectloc<>location.loc, it doesn't work anymore for

temprefn,blockn causing too much warnings in extdebug

git-svn-id: trunk@1542 -
This commit is contained in:
peter 2005-10-20 06:51:40 +00:00
parent a478052057
commit a0b9dd48c9

View File

@ -179,9 +179,7 @@ implementation
if (not codegenerror) then
begin
if (p.location.loc=LOC_INVALID) then
Comment(V_Warning,'Location not set in secondpass: '+nodetype2str[p.nodetype])
else if (p.location.loc<>p.expectloc) then
Comment(V_Warning,'Location is different in secondpass: '+nodetype2str[p.nodetype]);
Comment(V_Warning,'Location not set in secondpass: '+nodetype2str[p.nodetype]);
end;
{$endif EXTDEBUG}
if codegenerror then