]> git.sur5r.net Git - cc65/blob - doc/BUGS
Added explanation for --codesize
[cc65] / doc / BUGS
1 List of known bugs that will not get fixed before any new major release:
2
3   * The compiler does not detect if part of an expression evaluated
4     with && or || is constant. Since the expression evaluation is also
5     used for the preprocessor, this defeats the use of
6
7         #if defined(x) && defined(y)
8
9   * Initialization of local variables with compound data types is not
10     possible.
11
12   * The assembler/linker do not have special handling for the "jump indirect"
13     bug of the NMOS 6502 CPUs. This bug will cause the CPU to behave
14     erratically if the address argument crosses a page.
15
16
17 Introduced with version 2.5:
18
19   * Use of "goto" to jump into or out of blocks that declare local variables
20     will create programs that crash, since the stack is not corrected. The old
21     stack correction code was removed because of the restructuring of the
22     symbol table stuff and was not reintroduced because it was ugly anyway,
23     did not work with the new symbol table code, and should be unnecessary as
24     soon as local variables are allocated in one chunk on function entry.
25
26   * Register variables are currently unavailable. The command line switches
27     and the "register" keyword is still accepted, so this should not harm
28     existing programs.
29