]> git.sur5r.net Git - cc65/blob - doc/BUGS
One bug fixed
[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. For preprocessor evaluation, special 
5     routines are used, so this is not true for the preprocessor.
6
7   * Initialization of local variables with compound data types is not
8     possible.
9
10   * The assembler/linker do not have special handling for the "jump indirect"
11     bug of the NMOS 6502 CPUs. This bug will cause the CPU to behave
12     erratically if the address argument crosses a page.
13
14
15 Introduced with version 2.5:
16
17   * Use of "goto" to jump into or out of blocks that declare local variables
18     will create programs that crash, since the stack is not corrected. The old
19     stack correction code was removed because of the restructuring of the
20     symbol table stuff and was not reintroduced because it was ugly anyway,
21     did not work with the new symbol table code, and should be unnecessary as
22     soon as local variables are allocated in one chunk on function entry.
23
24   * Register variables are currently unavailable. The command line switches
25     and the "register" keyword is still accepted, so this should not harm
26     existing programs.
27