Christoph Mallon [Mon, 10 Dec 2007 19:18:03 +0000 (19:18 +0000)]
Parse floating point numbers, which start with a decimal point.
[r18659]
Christoph Mallon [Mon, 10 Dec 2007 19:09:27 +0000 (19:09 +0000)]
Handle pointer types correctly in the format checker and print the length modifier in the warning.
[r18658]
Christoph Mallon [Mon, 10 Dec 2007 19:07:50 +0000 (19:07 +0000)]
Repair the order of tokens.
[r18657]
Christoph Mallon [Mon, 10 Dec 2007 19:07:24 +0000 (19:07 +0000)]
Assert that tokens are initialized in a somewhat correct order.
[r18656]
Christoph Mallon [Mon, 10 Dec 2007 18:46:22 +0000 (18:46 +0000)]
Count all local _scalar_ declarations for the local variable limit.
[r18655]
Christoph Mallon [Mon, 10 Dec 2007 18:45:00 +0000 (18:45 +0000)]
Fix test reference data.
[r18654]
Christoph Mallon [Mon, 10 Dec 2007 18:44:30 +0000 (18:44 +0000)]
Add missing skip_typeref()s.
[r18653]
Matthias Braun [Mon, 10 Dec 2007 12:49:40 +0000 (12:49 +0000)]
remove debug printfs
[r18652]
Matthias Braun [Mon, 10 Dec 2007 12:47:51 +0000 (12:47 +0000)]
align doubles to 4 bytes, improve bitfield handling
[r18651]
Christoph Mallon [Sat, 8 Dec 2007 17:57:06 +0000 (17:57 +0000)]
Select parameters from the correct frame.
[r18650]
Matthias Braun [Sat, 8 Dec 2007 13:33:28 +0000 (13:33 +0000)]
add %Y diagnostic modifier for symbols and make use of it
[r18649]
Matthias Braun [Sat, 8 Dec 2007 13:21:26 +0000 (13:21 +0000)]
started working on bitfields
[r18648]
Michael Beck [Sat, 8 Dec 2007 08:44:13 +0000 (08:44 +0000)]
add -U option
[r18647]
Michael Beck [Sat, 8 Dec 2007 08:42:10 +0000 (08:42 +0000)]
add --strict option (replacing STRICT_C99 define)
[r18646]
Michael Beck [Sat, 8 Dec 2007 08:33:14 +0000 (08:33 +0000)]
- some doxygen comments added
- added an error and warning count
- renamed allocate_initializer() to allocate_initializer_zero() like other allocators
- implemented has_const_fields()
- fixed some typos
[r18645]
Christoph Mallon [Fri, 7 Dec 2007 17:41:52 +0000 (17:41 +0000)]
Fix parsing of function-like syntax elements.
[r18644]
Michael Beck [Fri, 7 Dec 2007 17:32:16 +0000 (17:32 +0000)]
__builtin_prefetch implemented
[r18643]
Matthias Braun [Fri, 7 Dec 2007 17:08:57 +0000 (17:08 +0000)]
fixed a bunch of icc warnings
[r18642]
Michael Beck [Fri, 7 Dec 2007 15:47:56 +0000 (15:47 +0000)]
__builtin_constant_p() implemented
[r18641]
Christoph Mallon [Fri, 7 Dec 2007 15:27:39 +0000 (15:27 +0000)]
New diagnostic functions diagnosticf(), errorf() and warningf() replacing the ad-hoc method.
[r18640]
Michael Beck [Fri, 7 Dec 2007 15:18:41 +0000 (15:18 +0000)]
renamed declaration_type_t to declaration_kind_t
[r18639]
Michael Beck [Fri, 7 Dec 2007 15:01:41 +0000 (15:01 +0000)]
implemented EXPR_BINARY_BUILTIN_EXPECT to firm
[r18638]
Michael Beck [Fri, 7 Dec 2007 13:43:28 +0000 (13:43 +0000)]
add missing EXPR_ALIGNOF case, its always constant
[r18637]
Michael Beck [Fri, 7 Dec 2007 00:32:34 +0000 (00:32 +0000)]
- implement __alignof__
- use SymConsts of sizeof, alignof
- use new SymConst constructors
[r18636]
Michael Beck [Thu, 6 Dec 2007 23:37:02 +0000 (23:37 +0000)]
add print_offset_expression(), print_statement_expression()
[r18635]
Michael Beck [Thu, 6 Dec 2007 23:36:36 +0000 (23:36 +0000)]
typo fixed
[r18634]
Michael Beck [Thu, 6 Dec 2007 22:46:21 +0000 (22:46 +0000)]
more const's added
[r18633]
Michael Beck [Thu, 6 Dec 2007 22:40:31 +0000 (22:40 +0000)]
- fixed some typos
- small code shaping
[r18632]
Michael Beck [Thu, 6 Dec 2007 21:46:00 +0000 (21:46 +0000)]
renamed initializer_type_t enums to initializer_kind_t
[r18631]
Michael Beck [Thu, 6 Dec 2007 18:21:38 +0000 (18:21 +0000)]
renamed *_type_t enums to *_kind_t
[r18630]
Michael Beck [Thu, 6 Dec 2007 17:21:23 +0000 (17:21 +0000)]
remove some unneccessary casts
[r18629]
Michael Beck [Thu, 6 Dec 2007 17:11:09 +0000 (17:11 +0000)]
handle __assume only on Confirms are NOT disabled
[r18628]
Michael Beck [Thu, 6 Dec 2007 17:05:18 +0000 (17:05 +0000)]
Fully implemented __assume()
[r18627]
Michael Beck [Thu, 6 Dec 2007 15:24:44 +0000 (15:24 +0000)]
add preliminary support for __assume()
[r18626]
Christoph Mallon [Thu, 6 Dec 2007 08:25:59 +0000 (08:25 +0000)]
Fix signed/unsigned warning.
[r18625]
Michael Beck [Wed, 5 Dec 2007 22:07:03 +0000 (22:07 +0000)]
collect the known runtime functions for the rts optimizer
[r18623]
Michael Beck [Wed, 5 Dec 2007 21:34:19 +0000 (21:34 +0000)]
fixed icc warnings
[r18622]
Michael Beck [Wed, 5 Dec 2007 21:33:42 +0000 (21:33 +0000)]
include config.h for __attribute__()
[r18621]
Christoph Mallon [Wed, 5 Dec 2007 20:32:38 +0000 (20:32 +0000)]
Add a (partial) format string checker for wide string functions (currently wprintf() and swprintf()).
[r18620]
Christoph Mallon [Wed, 5 Dec 2007 20:30:16 +0000 (20:30 +0000)]
Put some diagnostic functions into a separate file.
[r18619]
Christoph Mallon [Wed, 5 Dec 2007 20:26:34 +0000 (20:26 +0000)]
Missing files.
[r18618]
Christoph Mallon [Wed, 5 Dec 2007 20:23:35 +0000 (20:23 +0000)]
Make types globally visible, add more type(def)s.
[r18617]
Christoph Mallon [Wed, 5 Dec 2007 19:11:57 +0000 (19:11 +0000)]
const.
[r18616]
Matthias Braun [Wed, 5 Dec 2007 17:19:05 +0000 (17:19 +0000)]
a bug
[r18615]
Matthias Braun [Wed, 5 Dec 2007 17:16:37 +0000 (17:16 +0000)]
constant folding for && and ||
[r18614]
Matthias Braun [Wed, 5 Dec 2007 17:09:15 +0000 (17:09 +0000)]
more cases where we have to count declarations
[r18613]
Matthias Braun [Wed, 5 Dec 2007 17:04:42 +0000 (17:04 +0000)]
implement __builtin_expect, fix _Bool in ast2firm, improve declaration counting (still buggy)
[r18612]
Matthias Braun [Wed, 5 Dec 2007 16:30:24 +0000 (16:30 +0000)]
enum entries are constant, transform -fomit-frame-pointer to -bomitfp
[r18611]
Matthias Braun [Wed, 5 Dec 2007 16:21:14 +0000 (16:21 +0000)]
add an is_constant_expression, only try to fold expressions that are really constant and have no side effects
[r18610]
Michael Beck [Wed, 5 Dec 2007 16:00:21 +0000 (16:00 +0000)]
BugFix: expression may be NULL in count_decls_in_expr()
[r18609]
Michael Beck [Wed, 5 Dec 2007 15:41:41 +0000 (15:41 +0000)]
fixed output of function types
[r18608]
Michael Beck [Wed, 5 Dec 2007 15:09:23 +0000 (15:09 +0000)]
revision seems to work now
[r18607]
Christoph Mallon [Wed, 5 Dec 2007 14:42:22 +0000 (14:42 +0000)]
Better revision handling.
[r18606]
Michael Beck [Wed, 5 Dec 2007 14:25:23 +0000 (14:25 +0000)]
add --version
[r18605]
Michael Beck [Wed, 5 Dec 2007 13:16:31 +0000 (13:16 +0000)]
Add options:
- --signed_chars/--unsigned_chars
- -m16/-m32/-m64 switching the frontend to 16/32/64 bit (only 32bit is supported in the BE yet)
[r18604]
Michael Beck [Wed, 5 Dec 2007 02:05:06 +0000 (02:05 +0000)]
fixed calculation of local variables number
[r18603]
Michael Beck [Wed, 5 Dec 2007 01:38:19 +0000 (01:38 +0000)]
- add debug info to entities
- some more const's
[r18602]
Michael Beck [Wed, 5 Dec 2007 01:22:54 +0000 (01:22 +0000)]
- WIN32 compile fixes
- removed old (wrong) lowering of highlevel structs
- removed dumping, now done by firm_opt (using -f options)
[r18601]
Michael Beck [Tue, 4 Dec 2007 16:56:56 +0000 (16:56 +0000)]
- BugFix: initialize the parser after command line was parsed, else dialect specific token does not work
- preliminary support for MS decl modifier
- add support for __forceinline
- set inline property right
[r18600]
Michael Beck [Tue, 4 Dec 2007 15:16:55 +0000 (15:16 +0000)]
finished implementation of __func__ and _PRETTY_FUNC__
[r18599]
Michael Beck [Tue, 4 Dec 2007 15:05:49 +0000 (15:05 +0000)]
- add mostly all GCC/MSVC keywords
- add c_mode: contains current dialect/C-mode
- add command line switches to set the C mode
[r18598]
Matthias Braun [Tue, 4 Dec 2007 14:26:26 +0000 (14:26 +0000)]
fix print ast and print fluffy
[r18597]
Matthias Braun [Tue, 4 Dec 2007 14:25:51 +0000 (14:25 +0000)]
fix type generation for flexible arrays in structs
[r18596]
Matthias Braun [Tue, 4 Dec 2007 13:55:24 +0000 (13:55 +0000)]
only get mode if needed
[r18595]
Matthias Braun [Tue, 4 Dec 2007 13:46:41 +0000 (13:46 +0000)]
long double alignment is 4, implement wide character constant parsing, add another hack to have ? : constant folding
[r18594]
Matthias Braun [Tue, 4 Dec 2007 11:01:17 +0000 (11:01 +0000)]
improve error messages in commandline parsing
[r18593]
Matthias Braun [Tue, 4 Dec 2007 10:56:18 +0000 (10:56 +0000)]
add list of warnings to TODO
[r18592]
Matthias Braun [Tue, 4 Dec 2007 09:46:25 +0000 (09:46 +0000)]
initialize backend after parsing arguments
[r18591]
Matthias Braun [Tue, 4 Dec 2007 09:17:09 +0000 (09:17 +0000)]
accept -ofilename instead of just -o filename
[r18590]
Michael Beck [Mon, 3 Dec 2007 18:02:48 +0000 (18:02 +0000)]
BugFix: entity allocation set for global/tls vars
Uses now the same optimizer loop as the edgfe compiler
[r18589]
Matthias Braun [Sun, 2 Dec 2007 22:13:56 +0000 (22:13 +0000)]
fix a few segfaults
[r18588]
Matthias Braun [Sun, 2 Dec 2007 19:17:50 +0000 (19:17 +0000)]
add a mode that compiles and dumps 1 irg as result
[r18587]
Matthias Braun [Sun, 2 Dec 2007 17:57:58 +0000 (17:57 +0000)]
updated TODO, improved driver stuff a bit to use more pipes and allow input/output from stdin/stdout
[r18586]
Matthias Braun [Fri, 30 Nov 2007 23:09:55 +0000 (23:09 +0000)]
implement builtin_isgreater and friends
[r18585]
Matthias Braun [Fri, 30 Nov 2007 22:35:15 +0000 (22:35 +0000)]
merge UNEXPR and BINEXPR enums with EXPR enum
[r18584]
Christoph Mallon [Fri, 30 Nov 2007 21:51:24 +0000 (21:51 +0000)]
Be more permissvive in what is accepted syntactically as second argument of va_start().
[r18583]
Christoph Mallon [Fri, 30 Nov 2007 18:35:37 +0000 (18:35 +0000)]
Add support for variadic arguments.
[r18582]
Matthias Braun [Fri, 30 Nov 2007 16:31:21 +0000 (16:31 +0000)]
updated Makefiles
[r18581]
Christoph Mallon [Fri, 30 Nov 2007 14:49:17 +0000 (14:49 +0000)]
Next wchar_t step: Initialization with wide string literals.
[r18580]
Matthias Braun [Fri, 30 Nov 2007 13:55:20 +0000 (13:55 +0000)]
further improve initializers
[r18579]
Matthias Braun [Fri, 30 Nov 2007 13:15:39 +0000 (13:15 +0000)]
fix deref address again
[r18578]
Matthias Braun [Fri, 30 Nov 2007 13:04:28 +0000 (13:04 +0000)]
fix dereferncing of pointer+compound types
[r18577]
Matthias Braun [Fri, 30 Nov 2007 13:04:12 +0000 (13:04 +0000)]
ignore some more options
[r18576]
Matthias Braun [Fri, 30 Nov 2007 12:28:59 +0000 (12:28 +0000)]
add a bunch of missing skip_typerefs...
[r18575]
Matthias Braun [Fri, 30 Nov 2007 11:22:25 +0000 (11:22 +0000)]
implemented several type compatibility rules, renamed function_type->result_type to return_type
[r18574]
Matthias Braun [Thu, 29 Nov 2007 21:51:49 +0000 (21:51 +0000)]
fix character literals in initializer hierarchies
[r18573]
Matthias Braun [Thu, 29 Nov 2007 21:35:03 +0000 (21:35 +0000)]
related fix about unspecified parameters -> () on function defintion means no parameters
[r18572]
Matthias Braun [Thu, 29 Nov 2007 21:26:41 +0000 (21:26 +0000)]
declaration with unspecified parameters can follow declaration with specified parameters
[r18571]
Christoph Mallon [Thu, 29 Nov 2007 16:37:28 +0000 (16:37 +0000)]
Missing file.
[r18570]
Christoph Mallon [Thu, 29 Nov 2007 16:36:36 +0000 (16:36 +0000)]
First iteration in adding wide string literal support. No input encoding handling or string concatenation, yet.
[r18569]
Matthias Braun [Thu, 29 Nov 2007 15:01:34 +0000 (15:01 +0000)]
kr tests
[r18568]
Matthias Braun [Thu, 29 Nov 2007 15:00:53 +0000 (15:00 +0000)]
implement K&R style function definitions, code cleanup here and there
[r18567]
Matthias Braun [Wed, 28 Nov 2007 16:41:26 +0000 (16:41 +0000)]
introduce some builtin types
[r18566]
Matthias Braun [Wed, 28 Nov 2007 15:30:59 +0000 (15:30 +0000)]
fix my last commit
[r18565]
Matthias Braun [Wed, 28 Nov 2007 15:19:09 +0000 (15:19 +0000)]
implemented builtin_nan, nand
[r18564]
Matthias Braun [Wed, 28 Nov 2007 10:58:14 +0000 (10:58 +0000)]
add some tests/stuff that was lying around here
[r18563]
Matthias Braun [Wed, 28 Nov 2007 10:56:41 +0000 (10:56 +0000)]
add missing file
[r18562]
Matthias Braun [Wed, 28 Nov 2007 10:56:28 +0000 (10:56 +0000)]
- create strict convs where necessary
- implement __builtin_nanf (enough so bits/nan.h works)
- avoid more casts
- fix determination of integer constant type
[r18561]
Matthias Braun [Tue, 27 Nov 2007 23:20:36 +0000 (23:20 +0000)]
add parsing of asm statements, avoid some statement casts
[r18560]
Matthias Braun [Tue, 27 Nov 2007 22:14:28 +0000 (22:14 +0000)]
fix compound returning functions
[r18559]