From f26ed10ba187ee9144ea5048a9bc097d32f3e9b8 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Fri, 2 Dec 2016 17:45:09 +0000 Subject: [PATCH] * same as r27223 for hlcgobj (fixes webtbs/tw25895 for llvm) git-svn-id: trunk@35043 - --- compiler/hlcgobj.pas | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/hlcgobj.pas b/compiler/hlcgobj.pas index 6927d8fe87..f216107f3e 100644 --- a/compiler/hlcgobj.pas +++ b/compiler/hlcgobj.pas @@ -5073,6 +5073,10 @@ implementation var tmploc: tlocation; begin + { skip e.g. empty records } + if (cgpara.location^.loc = LOC_VOID) then + exit; + { Handle Floating point types differently This doesn't depend on emulator settings, emulator settings should