Check for nil before doing loopunrolling.

git-svn-id: trunk@33047 -
This commit is contained in:
Jeppe Johansen 2016-02-04 15:53:36 +00:00
parent 9e3c7f175f
commit e20f2111b7

View File

@ -1514,6 +1514,7 @@ implementation
{ loop unrolling }
if (cs_opt_loopunroll in current_settings.optimizerswitches) and
assigned(t2) and
{ statements must be error free }
not(nf_error in t2.flags) then
begin