mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 10:49:07 +02:00
* don't internallerror when encountering an "absolute" type conversion to
a differently sized def in LLVM git-svn-id: trunk@32571 -
This commit is contained in:
parent
86b02cf76e
commit
35714e5d50
@ -270,8 +270,9 @@ procedure tllvmtypeconvnode.second_nothing;
|
||||
begin
|
||||
if left.resultdef<>resultdef then
|
||||
begin
|
||||
{ handle sometype(voidptr^) }
|
||||
{ handle sometype(voidptr^) and "absolute" }
|
||||
if not is_void(left.resultdef) and
|
||||
not(nf_absolute in flags) and
|
||||
(left.resultdef.typ<>formaldef) and
|
||||
(left.resultdef.size<>resultdef.size) then
|
||||
internalerror(2014012216);
|
||||
|
Loading…
Reference in New Issue
Block a user