* don't check type size equality for conversions to formaldef either

git-svn-id: trunk@33987 -
This commit is contained in:
Jonas Maebe 2016-06-15 18:31:37 +00:00
parent 15c5ea3b9c
commit 8c006f04e2

View File

@ -233,6 +233,7 @@ procedure tllvmtypeconvnode.second_nothing;
if not is_void(left.resultdef) and
not(nf_absolute in flags) and
(left.resultdef.typ<>formaldef) and
(resultdef.typ<>formaldef) and
not is_open_array(resultdef) and
not is_open_array(left.resultdef) and
(left.resultdef.size<>resultdef.size) then