GNU bug report logs -
#38486
Compiler does not terminate
Previous Next
Reported by: Zack Marvel <zpmarvel <at> gmail.com>
Date: Wed, 4 Dec 2019 06:21:02 UTC
Severity: normal
Done: Matt Wette <matt.wette <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 38486 <at> debbugs.gnu.org (full text, mbox):
So I hacked modules/cps/optimize.scm to display the optimization phases.
Here is what I got up to the point where guile hangs.
It looks like it's hanging in specialize-numbers.
running eliminate-dead-code
running prune-top-level-scopes
running simplify
running contify
running inline-constructors
running elide-values
running prune-bailouts
running peel-loops
running eliminate-common-subexpressions
running type-fold
running resolve-self-references
running eliminate-dead-code
running simplify
running specialize-numbers
The patch:
--- module/language/cps/optimize.scm-orig 2020-03-21
14:16:17.313452995 -0700
+++ module/language/cps/optimize.scm 2020-03-21 14:18:32.264770889 -0700
@@ -73,7 +73,10 @@
(maybe-verify program)
(set! program
(if (kw-arg-ref opts kw default)
- (maybe-verify (pass program))
+ (begin
+ (display "running ") (display (quote pass)) (newline)
+ (force-output (current-output-port))
+ (maybe-verify (pass program)))
program))
...
(maybe-verify program)))
This bug report was last modified 5 years and 61 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.