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

Gaius Mulley <gaius at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-12-08
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1

--- Comment #1 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Confirmed - in directory 191:

$ gm2 -fiso -fsoft-check-all squash1.mod Ctv2.o unix.o -o squash1 -lc -lcrypt
-lm -wrapper gdb,--args
(gdb) run
^C
(gdb) where
#0  __udivmodti4 (rp=0x0, d=<optimized out>, n=<optimized out>) at
../../../libgcc/libgcc2.c:1203
#1  __divti3 (u=704, v=<optimized out>) at ../../../libgcc/libgcc2.c:1225
#2  0x0000000000ac3683 in findPos (pb=0xa1ba320, i=719) at
../../gcc/m2/gm2-compiler/Sets.mod:145
#3  0x0000000000ac2e25 in Sets_IsElementInSet (s=0x3362d30, i=719) at
../../gcc/m2/gm2-compiler/Sets.mod:254
#4  0x0000000000a2fc3b in TraverseDependantsInner (sym=719) at
../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2087
#5  0x0000000000a3bd99 in WalkArrayDependants (sym=7430, p=0x7fffffffd8e0) at
../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:5981
#6  0x0000000000a2fb07 in WalkDependants (sym=7430, p=0x7fffffffd920) at
../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2055
#7  0x0000000000a2fca4 in TraverseDependantsInner (sym=7430) at
../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2095
#8  0x0000000000a2f300 in WalkConst (sym=14448, p=0x7fffffffd960) at
../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:1690
#9  0x0000000000a2fbcc in WalkDependants (sym=14448, p=0x7fffffffd990) at
../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2070
#10 0x0000000000a2fca4 in TraverseDependantsInner (sym=14448) at
../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2095
#11 0x0000000000a2fcef in TraverseDependants (sym=14448) at
../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2111
#12 0x0000000000a2bcf5 in M2GCCDeclare_TryDeclareConstant (tokenno=8668,
sym=14448) at ../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:1738
#13 0x0000000000a42961 in FoldBecomes (tokenno=8668, p=0x7fffffffda30,
quad=1125, op1=7458, op3=14448) at ../../gcc/m2/gm2-compiler/M2GenGCC.mod:2667
#14 0x0000000000a3cb7c in M2GenGCC_ResolveConstantExpressions
(p=0x7fffffffda88, start=700, end=1129) at
../../gcc/m2/gm2-compiler/M2GenGCC.mod:600
#15 0x0000000000a30a17 in DeclareTypesConstantsProceduresInRange (scope=178,
start=700, end=1129) at ../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2573
#16 0x0000000000a9f2ba in M2Scope_ForeachScopeBlockDo (sb=0xa1b9df0,
p=0x7fffffffdb10) at ../../gcc/m2/gm2-compiler/M2Scope.mod:431
#17 0x0000000000a30bb9 in DeclareTypesConstantsProcedures (scope=178) at
../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2649
#18 0x0000000000a30df3 in StartDeclareModuleScopeSeparate (scope=178) at
../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2734
#19 0x0000000000a30fcc in StartDeclareModuleScope (scope=178) at
../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2806
#20 0x0000000000a2baaa in M2GCCDeclare_StartDeclareScope (scope=178) at
../../gcc/m2/gm2-compiler/M2GCCDeclare.mod:2863



type resolver is spinning in an infinite loop.

Reply via email to