mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-06 10:38:26 +02:00
Check for nil before doing loopunrolling.
git-svn-id: trunk@33047 -
This commit is contained in:
parent
9e3c7f175f
commit
e20f2111b7
@ -1514,6 +1514,7 @@ implementation
|
|||||||
|
|
||||||
{ loop unrolling }
|
{ loop unrolling }
|
||||||
if (cs_opt_loopunroll in current_settings.optimizerswitches) and
|
if (cs_opt_loopunroll in current_settings.optimizerswitches) and
|
||||||
|
assigned(t2) and
|
||||||
{ statements must be error free }
|
{ statements must be error free }
|
||||||
not(nf_error in t2.flags) then
|
not(nf_error in t2.flags) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user