https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109586

            Bug ID: 109586
           Summary: cc1gm2 ICE when compiling large source file
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: gaius at gcc dot gnu.org
          Reporter: gaius at gcc dot gnu.org
  Target Milestone: ---

gm2 -fiso -g squash1_bug3.mod

tree becomes corrupted when compiling large sources (as reported on gm2 mailing
list).

terminate called after throwing an instance of 'unsigned int'
*** WARNING *** there are active plugins, do not report this as a bug unless
you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH                    | m2rte
In function ‘welche_tabelle’:
cc1gm2: internal compiler error: Aborted
0x14ba4df crash_signal
        ../../gcc-read-write/gcc/toplev.cc:314
0x7f4b50033d5f ???
        ./signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x7f4b50033ce1 __GI_raise
        ../sysdeps/unix/sysv/linux/raise.c:51
0x7f4b5001d536 __GI_abort
        ./stdlib/abort.c:79
0xd43eb7 InvokeHandler
        m2/gm2-libs-boot/RTExceptions.c:484
0xd448c6 RTExceptions_Raise
        m2/gm2-libs-boot/RTExceptions.c:946
0xd44386 invalidloc
        m2/gm2-libs-boot/RTExceptions.c:755
0xd49bee sigbusDespatcher
        ../../gcc-read-write/gcc/m2/gm2-libs-ch/SysExceptions.c:125
0x7f4b50033d5f ???
        ./signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xc2c189 contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
        ../../gcc-read-write/gcc/tree.h:3653
0xc5c1a5 m2statement_BuildAssignmentTree
        ../../gcc-read-write/gcc/m2/gm2-gcc/m2statement.cc:169
0xc5c2f8 m2statement_BuildAssignmentStatement
        ../../gcc-read-write/gcc/m2/gm2-gcc/m2statement.cc:187
0xca0d64 CodeBecomes
        m2/gm2-compiler-boot/M2GenGCC.c:4441
0xc9c359 CodeStatement
        m2/gm2-compiler-boot/M2GenGCC.c:1769
0xcaa1f3 M2GenGCC_ConvertQuadsToTree
        m2/gm2-compiler-boot/M2GenGCC.c:8500
0xcd9662 M2Scope_ForeachScopeBlockDo
        m2/gm2-compiler-boot/M2Scope.c:661
0xc8c989 M2Code_CodeBlock
        m2/gm2-compiler-boot/M2Code.c:512
0xc7941c Lists_ForeachItemInListDo
        m2/gm2-compiler-boot/Lists.c:394
0xcf3ced SymbolTable_ForeachProcedureDo
        m2/gm2-compiler-boot/SymbolTable.c:14299
0xc8cab7 M2Code_CodeBlock
        m2/gm2-compiler-boot/M2Code.c:544

Reply via email to