fixed empty initializers printingast.c
[cparser] / TODO
1 Refactoring:
2 - eliminate target_architecture.h and replace with stuff in lang_features.h
3 - redo storage classes: so we can separate real from declared storage class
4
5 Lexer:
6 - Add preprocessor code
7 - proper handling of different file encodings, parsing non-ascii strings
8 - We could save some space by holding source positions in a separate (somehow
9   compressed table) and only storing pointers to it on the AST.
10
11 Parser:
12 - disallow storage class specifiers in struct/union members
13 - label: declaration; is no valid C99 but we parse it anyway
14 - add constant folding code (optional, ast2firm already does it)
15 - Refactor code, so code to handle number values (and strings?) is an own
16   module and replacable
17 - Support some attributes. noreturn, unused, printf, scanf, packed would be
18   interesting candidates
19 - Add columns to source positions
20 - SourcePositions could be stored selectively on expressions that really need
21   them.
22 - check semantic for functions declared/defined in global scope and declared
23   again in a local scope
24 - print initialisation type_path for initializer errors
25 - add format checker for normal strings
26 - fix --print-implicit-casts for enums
27
28 ast2firm:
29 - handle non-constant initializers
30 - output source file positions for panics...
31 - handle bitfield members with 0 correctly (standard says they finish the
32   current unit)
33
34 Missing Warnings:
35 * dead assignments (int x = 5; x = bla(); -> dead assignment at x = 5;)
36 * unused label
37
38
39 Spec-Status:
40 (only test datasets tried yet)
41 164.gzip:    works
42 175.vpr:     works
43 176.gcc:     not ok
44 181.mcf:     works
45 186.crafty:  works (~though an asm is replaced with a stub)
46 253.perlbmk: not ok
47 254.gap:     not ok
48 255.vortex:  works
49 256.bzip2:   works
50 300.twolf:   works