public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gaius at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/112920] gm2 hangs in the type resolver Date: Fri, 08 Dec 2023 13:58:14 +0000 [thread overview] Message-ID: <bug-112920-4-q4TjnuKlZn@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-112920-4@http.gcc.gnu.org/bugzilla/> 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.
next prev parent reply other threads:[~2023-12-08 13:58 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-12-08 13:54 [Bug modula2/112920] New: " gaius at gcc dot gnu.org 2023-12-08 13:58 ` gaius at gcc dot gnu.org [this message] 2024-01-08 23:46 ` [Bug modula2/112920] " gaius at gcc dot gnu.org 2024-01-09 13:37 ` cvs-commit at gcc dot gnu.org 2024-01-09 14:01 ` gaius at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-112920-4-q4TjnuKlZn@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).