git-svn-id: branches/z80@45044 -
@@ -4206,7 +4206,10 @@ implementation
(ld.typ=procvardef) and
equal_defs(rd,ld) then
begin
- expectloc:=LOC_FLAGS;
+ if tprocvardef(ld).size>sizeof(aint) then
+ expectloc:=LOC_JUMP
+ else
+ expectloc:=LOC_FLAGS;
end
else if (ld.typ=enumdef) then