Crash on incorrect array declaration
Original Reporter info from Mantis: Gorelkin
-
Reporter name: Sergei Gorelkin
Original Reporter info from Mantis: Gorelkin
- Reporter name: Sergei Gorelkin
Description:
The attached source causes compiler to crash after printing the expected error message.
The backtrace is:
#0 0x004f1046 in PTCONST_READ_TYPED_CONST_DATA$TASMLIST$TDEF_PARSE_STRINGDEF$TA
SMLIST$TSTRINGDEF ()
#1 0x004ef577 in PTCONST_READ_TYPED_CONST_DATA$TASMLIST$TDEF ()
#2 0x004f0539 in PTCONST_READ_TYPED_CONST_DATA$TASMLIST$TDEF_PARSE_ARRAYDEF$TAS
MLIST$TARRAYDEF ()
#3 0x004ef589 in PTCONST_READ_TYPED_CONST_DATA$TASMLIST$TDEF ()
#4 0x004f259d in PTCONST_READ_TYPED_CONST$TASMLIST$TSTATICVARSYM ()
#5 0x004e82a5 in PDECL_CONST_DEC ()
#6 0x004d13c9 in PSUB_READ_DECLARATIONS$BOOLEAN ()
#7 0x004ce0b4 in PSUB_BLOCK$BOOLEAN$$TNODE ()
#8 0x004d0775 in PSUB_TCGPROCINFO_$__PARSE_BODY ()
#9 0x004d0c29 in PSUB_READ_PROC_BODY$TPROCINFO$TPROCDEF ()
#10 0x004d1119 in PSUB_READ_PROC ()
#11 0x004d13f1 in PSUB_READ_DECLARATIONS$BOOLEAN ()
#12 0x004ce0b4 in PSUB_BLOCK$BOOLEAN$$TNODE ()
#13 0x004d0775 in PSUB_TCGPROCINFO_$__PARSE_BODY ()
#14 0x004cb539 in PMODULES_PROC_UNIT ()
#15 0x00430783 in PARSER_COMPILE$SHORTSTRING ()
#16 0x00411fe0 in COMPILER_COMPILE$SHORTSTRING$$LONGINT ()
#17 0x004017e6 in main ()
Mantis conversion info:
- Mantis ID: 12329
- Version: 2.3.1
- Fixed in version: 2.4.0
- Fixed in revision: 11875 (#79850c50)