mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 02:49:32 +01:00
* don't internalerror when converting to an open array and passing as
var/out parameter (these conversions are replaced by another
construct on non-JVM targets, so didn't cause a problem there)
git-svn-id: branches/jvmbackend@18555 -
This commit is contained in:
parent
704753d3e8
commit
60f8254d63
@ -3347,6 +3347,8 @@ implementation
|
||||
{ the same goes for changing the sign of equal-sized values which
|
||||
are smaller than an entire register }
|
||||
if result and
|
||||
{ don't try to check the size of an open array }
|
||||
is_open_array(resultdef) or
|
||||
(resultdef.size<left.resultdef.size) or
|
||||
((resultdef.size=left.resultdef.size) and
|
||||
(left.resultdef.size<sizeof(aint)) and
|
||||
|
||||
Loading…
Reference in New Issue
Block a user