mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 13:09:32 +02:00
add basic constant handling to subscript nodes, avoid ie20060521 when building rgobj.pas with -O3/-O4
git-svn-id: trunk@26532 -
This commit is contained in:
parent
a57df5f0dd
commit
5e15e4b07d
@ -404,6 +404,7 @@ implementation
|
||||
LOC_REFERENCE,
|
||||
LOC_CREFERENCE:
|
||||
;
|
||||
LOC_CONSTANT,
|
||||
LOC_REGISTER,
|
||||
LOC_CREGISTER,
|
||||
LOC_MMREGISTER,
|
||||
|
@ -800,6 +800,7 @@ implementation
|
||||
else
|
||||
begin
|
||||
case left.expectloc of
|
||||
LOC_CONSTANT,
|
||||
LOC_REGISTER,
|
||||
LOC_SUBSETREG:
|
||||
// can happen for function results on win32 and darwin/x86
|
||||
|
Loading…
Reference in New Issue
Block a user