Custom Query (1630 matches)
Results (103 - 105 of 1630)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#1668 | fixed | No .egg file for agrep | ||
Description |
egg-location has an entry for agrep, but it is not installable in C5, as its repository contains no .egg file. |
|||
#1666 | wontfix | Separate library into safe and unsafe parts | ||
Description |
Many internal primitives in library.scm are compiled in safe mode, but are not strictly required to be safe. For normal primitives we want argument-count checking, etc., but since safeness declarations can only be scoped globally, all low-level interal procedures are compiled in safe mode as well, preventing possible optimizations by the compiler. I suggest having two files, library.scm and library-u.scm (for example), one compiled safe, the other unsafe. It should be possible to easily move definitions from one to the other, so that it can be done on a case-by-case basis. |
|||
#1665 | fixed | Inlining issue | ||
Description |
Same issue with C4. :::::::::::::: mod.scm :::::::::::::: (module mod (bar) (import scheme) (define (bar x y) (display x y)) ) :::::::::::::: main.scm :::::::::::::: (module main () (import scheme mod) (define foo (lambda [x] (lambda (a) (if a (bar x 'xxx) (if x (bar x 'yyy) (bar x 'zzz))) 1))) (foo 'yo) (foo 'yo2) ) :::::::::::::: run.sh :::::::::::::: #!/usr/bin/env bash set -euo pipefail rm -f *.o *.c *.inline *.import.* csc -c mod.scm -J -unit mod -oi mod.inline csc -inline-global main.scm -uses mod mod.o # $ ./run.sh # main.c: In function ‘f_251’: # main.c:261:1: warning: implicit declaration of function ‘f_230’; did you mean ‘f_238’? [-Wimplicit-function-declaration] # f_230(4,av2);}}}} # ^~~~~ # f_238 # main.c:261:1: warning: ‘noreturn’ function does return # f_230(4,av2);}}}} # ^~~~~ # main.o: In function `f_251': # main.c:(.text+0x8ee): undefined reference to `f_230' # collect2: error: ld returned 1 exit status |