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

--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Running it again using gm2 to build the compiler yields the same ICE but using
the m2 sources:

$ gm2 -fiso squash1.mod 
the gm2 front end poisoned this symbol (schnur)
In function ‘GetGPMString’:
cc1gm2: internal compiler error: attempting to use a gcc symbol which is no
longer in scope
0x3901bfd internal_error(char const*, ...)
        ../../gcc/diagnostic-global-context.cc:534
0xf46bc6 m2linemap_internal_error
        ../../gcc/m2/gm2-gcc/m2linemap.cc:257
0x10c9d17 M2Emit_InternalError
        ../../gcc/m2/gm2-compiler/M2Emit.mod:56
0xf98446 M2Error_InternalError
        ../../gcc/m2/gm2-compiler/M2Error.mod:168
0x1044ae6 SymbolConversion_Mod2Gcc
        ../../gcc/m2/gm2-compiler/SymbolConversion.mod:81
0xfb3437 M2GenGCC_GetHighFromUnbounded
        ../../gcc/m2/gm2-compiler/M2GenGCC.mod:1432
0xfc1a64 ResolveHigh
        ../../gcc/m2/gm2-compiler/M2GenGCC.mod:6431
0xfc1b89 FoldHigh
        ../../gcc/m2/gm2-compiler/M2GenGCC.mod:6473
0xfb2ee2 M2GenGCC_ResolveConstantExpressions
        ../../gcc/m2/gm2-compiler/M2GenGCC.mod:790
0xf9e0b2 M2GCCDeclare_FoldConstants
        ../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2683
0xf84374 M2BasicBlock_ForeachBasicBlockDo
        ../../gcc/m2/gm2-compiler/M2BasicBlock.mod:282
0xfa5128 DeclareTypesConstantsProceduresInRange
        ../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2755
0x101d836 M2Scope_ForeachScopeBlockDo3
        ../../gcc/m2/gm2-compiler/M2Scope.mod:465
0xfa53e9 DeclareTypesConstantsProcedures
        ../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2847
0xfa5580 StartDeclareProcedureScope
        ../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2908
0xf9e0ec M2GCCDeclare_StartDeclareScope
        ../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:3015
0xfb7971 CodeProcedureScope
        ../../gcc/m2/gm2-compiler/M2GenGCC.mod:2036
0xfb45f7 CodeStatement
        ../../gcc/m2/gm2-compiler/M2GenGCC.mod:642
0xfb29c3 M2GenGCC_ConvertQuadsToTree
        ../../gcc/m2/gm2-compiler/M2GenGCC.mod:444
0x101d763 M2Scope_ForeachScopeBlockDo2
        ../../gcc/m2/gm2-compiler/M2Scope.mod:432
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to