diff options
Diffstat (limited to 'avx512-0037785/compiler/ncon.pas')
-rw-r--r-- | avx512-0037785/compiler/ncon.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avx512-0037785/compiler/ncon.pas b/avx512-0037785/compiler/ncon.pas index dabb8fac44..048624d664 100644 --- a/avx512-0037785/compiler/ncon.pas +++ b/avx512-0037785/compiler/ncon.pas @@ -655,7 +655,7 @@ implementation resultdef:=typedef; { only do range checking when explicitly asked for it and if the type can be range checked, see tests/tbs/tb0539.pp } - if (resultdef.typ in [orddef,enumdef]) then + if (resultdef.typ in [orddef,enumdef]) and not(nf_generic_para in flags) then adaptrange(resultdef,value,nf_internal in flags,not rangecheck,rangecheck) end; |