bug#12459: Strange issue with circular dependancies

2012-09-17 Thread rixed
While the compiler does manage most circular dependancies, some cases still cannot be compiled. For instance, with the attached circ-{a,b,c}.scm the compilation of b fails with: % GUILE_LOAD_PATH=. guile-tools compile -Warity-mismatch -Wformat -Wunused-variable -Wduplicate-case-datum -Wbad-case-

bug#12459: Strange issue with circular dependancies

2012-11-26 Thread rixed
> Won???t fix? :-) Fine with me. I couldn't name a single compiler that can handle circular dependancies.

bug#13102: Crash compiling big cond expression (2)

2012-12-06 Thread rixed
A minimal big or expression that triggers another error from compiler: ;;; ERROR: Value out of range: 0 #!/usr/bin/env guile ; vim:expandtab !# (lambda (proto server-port client-zone server-zone signature-id) (let* ((cs-0 (eqv? server-zone 22)) (cs

bug#13102: Crash compiling big cond expression (2)

2012-12-07 Thread rixed
-[ Fri, Dec 07, 2012 at 12:29:18PM +0100, Stefan Israelsson Tampe ] > I can compile bug4.scm, It's possible that this is because of a recent > bugfix > In cse.scm, Can you try it with 2.0.7 ? I will, but not until monday. Sorry I missed this bugfix.

bug#13102: Crash compiling big cond expression (2)

2012-12-07 Thread rixed
-[ Fri, Dec 07, 2012 at 12:29:18PM +0100, Stefan Israelsson Tampe ] > I can compile bug4.scm, It's possible that this is because of a recent > bugfix > In cse.scm, Can you try it with 2.0.7 ? Ok, I just tried with 2.0.7 and it works. Please close this erroneous bug. The other two are still va

bug#13088: stack overflow while compiling

2012-12-10 Thread rixed
-[ Sat, Dec 08, 2012 at 10:44:15PM +0100, Stefan Israelsson Tampe ] > The whole macro-expansion to tree-il in psyntax is not done in a tail call > manner which limits the sizes > of code tree's that we can compile. Although it would be interesting to > know how to code the > psyntax expand algo

bug#13088: stack overflow while compiling

2012-12-12 Thread rixed
-[ Tue, Dec 11, 2012 at 11:29:31PM +0100, Stefan Israelsson Tampe ] > Anyway in vm.c I changed the > #define VM_DEFAULT_STACK_SIZE (64 * 1024) > > to > #define VM_DEFAULT_STACK_SIZE (64 * 1024 * 64) > > and recompiled! Oh, I hadn't realized you were speaking about the VM's stack. It all make

bug#13088: stack overflow while compiling

2012-12-14 Thread rixed
> I added a patch to suggest a new environment variable. I applied your patch locally and am satisfied so far. I let you know is I run into troubles.

bug#9664: (format #t "~3tX") fails in the REPL

2011-10-04 Thread rixed
The ~t formater is not working according to spec in the REPL. Try this for instance: (format #t "~10tA~20tB~30tC~40tD") will print: AB C D Although it works from a script or when outputing to a sting. Also, it works after a newline.

bug#10093: Problem compiling related to block-growth-factor fluid

2011-11-21 Thread rixed
Here is a minimal example reproducing the problem. Note that it only fails the first time (when scheme.scm is compiled). Note: I put bug-guile on CC, hoping it will not trash the attachments, because with this example I'm starting to believe there is something wrong going on. CFLAGS += $(shell gu

bug#10651: compiling pattern matching for (or ...) takes forever

2012-01-30 Thread rixed
Not really a bug per se (although the manual states that "When Guile hangs or takes forever to complete a task, it is a bug."), but the time complexity behind the compilation of (or ...) patterns in (ice-9 match) module is so high that anything more than 8 sub-patterns takes forever for me. Here i