correctly fix calling convention problems from bug #42
[cparser] / TODO
1 Refactoring:
2 - eliminate target_architecture.h and replace with stuff in lang_features.h
3
4 Lexer:
5 - Add preprocessor code.
6 - proper handling of different file encodings, parsing non-ascii strings
7 - We could save some space by holding source positions in a separate (somehow
8   compressed table) and only storing pointers to it on the AST.
9
10 Parser:
11 - disallow storage class specifiers in struct/union members
12 - add constant folding code (optional, ast2firm already does it)
13 - Refactor code, so code to handle number values (and strings?) is an own
14   module and replacable
15 - Add columns to source positions
16 - SourcePositions could be stored selectively on expressions that really need
17   them.
18 - check semantic for functions declared/defined in global scope and declared
19   again in a local scope
20 - for errors relating to function argument, print number of argument
21 - print initialisation type_path for initializer errors
22
23 ast2firm:
24 - output source file positions for panics.
25
26 Missing Errors:
27 - goto over VLA declarations
28
29 Missing Warnings:
30 - dead assignments (int x = 5; x = bla(); -> dead assignment at x = 5;)
31 - warn when folding shift constants with too large shift amounts
32
33 main/driver:
34 - delete output file if we had an error
35 - go through gcc manual and emulate all the gcc flags...