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]
Matthias Braun [Tue, 27 Nov 2007 19:36:32 +0000 (19:36 +0000)]
fix duplicate_type, improve a comment
[r18558]
Christoph Mallon [Tue, 27 Nov 2007 19:11:30 +0000 (19:11 +0000)]
s/true/false/, fix a typo: a function definition with () means no parameters, not unspecified.
[r18557]
Christoph Mallon [Tue, 27 Nov 2007 19:02:39 +0000 (19:02 +0000)]
Handle TLS.
[r18556]
Matthias Braun [Tue, 27 Nov 2007 18:28:39 +0000 (18:28 +0000)]
eliminate more casts, () in a function definition means no parameters not unspecified parameters
[r18555]
Matthias Braun [Tue, 27 Nov 2007 18:27:38 +0000 (18:27 +0000)]
test some detail about unspecified parameters
[r18554]
Christoph Mallon [Tue, 27 Nov 2007 15:40:15 +0000 (15:40 +0000)]
A function declaration with unspecified parameter list is compatible to a declaration with a parameter list.
[r18553]
Matthias Braun [Tue, 27 Nov 2007 13:17:15 +0000 (13:17 +0000)]
fix a bunch of icc warnings
[r18552]
Matthias Braun [Tue, 27 Nov 2007 13:17:07 +0000 (13:17 +0000)]
do double compilation with gcc+icc in the Makefile
[r18551]
Matthias Braun [Tue, 27 Nov 2007 11:02:15 +0000 (11:02 +0000)]
implemented struct return
[r18550]
Matthias Braun [Tue, 27 Nov 2007 10:17:38 +0000 (10:17 +0000)]
convert statements and expression to new union style (but didn't remove all casts yet)
[r18549]
Matthias Braun [Mon, 26 Nov 2007 21:39:42 +0000 (21:39 +0000)]
avoid even more casts of type structs
[r18548]
Matthias Braun [Mon, 26 Nov 2007 21:34:02 +0000 (21:34 +0000)]
avoid more casts of type structs
[r18547]
Matthias Braun [Mon, 26 Nov 2007 21:30:24 +0000 (21:30 +0000)]
avoid more casts of type structs
[r18546]
Matthias Braun [Mon, 26 Nov 2007 20:41:18 +0000 (20:41 +0000)]
put Type types into a union again, but so that all the subtype are still available as separate types
[r18545]
Matthias Braun [Mon, 26 Nov 2007 20:03:55 +0000 (20:03 +0000)]
more asserts
[r18544]
Matthias Braun [Mon, 26 Nov 2007 20:00:50 +0000 (20:00 +0000)]
add some assert where typedef/typeof types should not be used, add missing skip_typeref in call semantic
[r18543]
Matthias Braun [Mon, 26 Nov 2007 19:38:54 +0000 (19:38 +0000)]
fix array_access in ast2firm
[r18542]
Matthias Braun [Mon, 26 Nov 2007 19:25:13 +0000 (19:25 +0000)]
build unknown if return value is missing
[r18541]
Matthias Braun [Mon, 26 Nov 2007 18:59:30 +0000 (18:59 +0000)]
handle automatic type conversion of array and function types like described in the C standard
[r18540]
Christoph Mallon [Mon, 26 Nov 2007 17:47:19 +0000 (17:47 +0000)]
Skip typerefs when comparing the pointed-to types of pointers.
[r18539]
Christoph Mallon [Mon, 26 Nov 2007 17:30:01 +0000 (17:30 +0000)]
Respect the signedness of char.
[r18538]
Matthias Braun [Mon, 26 Nov 2007 16:49:22 +0000 (16:49 +0000)]
change back union stuff and expriment with new union mode for initializers
[r18537]
Christoph Mallon [Mon, 26 Nov 2007 15:17:30 +0000 (15:17 +0000)]
Implement enums.
[r18536]
Michael Beck [Mon, 26 Nov 2007 01:41:22 +0000 (01:41 +0000)]
workaround for not allowed construction: [] not on toplevel ...
for now, use [1] and replace the whole thing by a list someday
[r18535]
Michael Beck [Mon, 26 Nov 2007 01:35:06 +0000 (01:35 +0000)]
replaced the different type types by one union type saving a lot of casts (and adding more field specifier :-)
[r18534]
Michael Beck [Mon, 26 Nov 2007 01:32:14 +0000 (01:32 +0000)]
fixed overrun handling
[r18533]
Michael Beck [Mon, 26 Nov 2007 01:05:23 +0000 (01:05 +0000)]
fixed warning: unix strtold expect char*
[r18532]
Michael Beck [Sun, 25 Nov 2007 23:30:14 +0000 (23:30 +0000)]
introduce type_qualifiers_t type and remove a lot of warnings
[r18531]
Michael Beck [Sun, 25 Nov 2007 19:35:27 +0000 (19:35 +0000)]
replaced the different statement types by one union type saving a lot of casts (and adding more field specifier :-)
[r18530]
Michael Beck [Sun, 25 Nov 2007 19:34:41 +0000 (19:34 +0000)]
BugFix: a break from a case label does not leave a loop
[r18529]
Michael Beck [Sun, 25 Nov 2007 18:32:08 +0000 (18:32 +0000)]
replaced the different initializer types by one union type saving a lot of casts
[r18528]
Michael Beck [Sun, 25 Nov 2007 18:26:36 +0000 (18:26 +0000)]
- replaced strtoull() function by own implementation (now available on Win32)
- use isxdigit() instead of own function
- use strtod() instead of now existing strtold() on Win32 for now
[r18527]
Michael Beck [Sun, 25 Nov 2007 18:12:06 +0000 (18:12 +0000)]
use NORETURN macro instead of gcc like __attribute__(noreturn)
[r18526]
Michael Beck [Sun, 25 Nov 2007 18:05:21 +0000 (18:05 +0000)]
fixed some warnings
[r18525]
Matthias Braun [Sat, 24 Nov 2007 14:28:17 +0000 (14:28 +0000)]
implement semantic_assign like the C standard describes it
[r18524]
Matthias Braun [Fri, 23 Nov 2007 15:36:41 +0000 (15:36 +0000)]
string literals as array intiailizers are supported now
[r18523]
Matthias Braun [Fri, 23 Nov 2007 00:38:47 +0000 (00:38 +0000)]
there might be extra commas after } initializer
[r18522]
Matthias Braun [Fri, 23 Nov 2007 00:35:15 +0000 (00:35 +0000)]
more missing skip_typerefs
[r18521]
Matthias Braun [Fri, 23 Nov 2007 00:27:52 +0000 (00:27 +0000)]
support initializers for local variables with struct/array type
[r18520]
Matthias Braun [Thu, 22 Nov 2007 23:59:27 +0000 (23:59 +0000)]
fix some bugs introduces with my last committ
[r18519]
Matthias Braun [Thu, 22 Nov 2007 23:08:30 +0000 (23:08 +0000)]
fix array declarator parsing, fix a memory error in constructing declarator types
[r18518]
Matthias Braun [Thu, 22 Nov 2007 12:49:38 +0000 (12:49 +0000)]
fix printing of array types
[r18517]
Matthias Braun [Thu, 22 Nov 2007 12:35:51 +0000 (12:35 +0000)]
make enum entries use an expression instead of an initializer, set array type size from initializer if it wasn't specified
[r18516]
Matthias Braun [Thu, 22 Nov 2007 01:16:26 +0000 (01:16 +0000)]
implement statement expressions
[r18515]
Matthias Braun [Wed, 21 Nov 2007 18:25:04 +0000 (18:25 +0000)]
support for alloca
[r18514]
Matthias Braun [Wed, 21 Nov 2007 18:05:57 +0000 (18:05 +0000)]
fix my last commit
[r18513]
Matthias Braun [Wed, 21 Nov 2007 17:54:38 +0000 (17:54 +0000)]
support address taken from function parameters
[r18512]
Matthias Braun [Wed, 21 Nov 2007 17:39:49 +0000 (17:39 +0000)]
fix case/default labels with statement, add a dump commandline flag
[r18511]
Matthias Braun [Wed, 21 Nov 2007 16:57:32 +0000 (16:57 +0000)]
implement 5[a] type array references
[r18510]
Matthias Braun [Wed, 21 Nov 2007 16:56:30 +0000 (16:56 +0000)]
add -lz to libs...
[r18509]
Christoph Mallon [Wed, 21 Nov 2007 16:52:30 +0000 (16:52 +0000)]
Divide by the element size in pointer - pointer expressions.
[r18508]
Christoph Mallon [Wed, 21 Nov 2007 16:22:29 +0000 (16:22 +0000)]
Test for U and u instead of two times U in parse_integer_suffix().
[r18507]
Christoph Mallon [Wed, 21 Nov 2007 16:20:33 +0000 (16:20 +0000)]
Parse an integer suffix after a hex number.
[r18506]
Christoph Mallon [Wed, 21 Nov 2007 16:17:36 +0000 (16:17 +0000)]
Hexadecimal is base 16, not 36. (;
[r18505]
Christoph Mallon [Wed, 21 Nov 2007 16:11:15 +0000 (16:11 +0000)]
Use new_tarval_from_double() to create floating point constants.
[r18504]
Matthias Braun [Wed, 21 Nov 2007 00:32:23 +0000 (00:32 +0000)]
improve number lexing even more
[r18503]
Matthias Braun [Wed, 21 Nov 2007 00:13:26 +0000 (00:13 +0000)]
improvements to number lexing
[r18502]
Matthias Braun [Wed, 21 Nov 2007 00:02:49 +0000 (00:02 +0000)]
use strtol/strtod for lexing numbers
[r18501]
Matthias Braun [Tue, 20 Nov 2007 21:25:18 +0000 (21:25 +0000)]
implement array intiailizers
[r18500]
Christoph Mallon [Tue, 20 Nov 2007 19:29:04 +0000 (19:29 +0000)]
Do the "usual arithmetic conversions" for the second and third operand of the conditional operator.
[r18499]
Christoph Mallon [Tue, 20 Nov 2007 18:22:49 +0000 (18:22 +0000)]
Handle void expressions in conditional expressions.
[r18498]
Christoph Mallon [Tue, 20 Nov 2007 17:30:50 +0000 (17:30 +0000)]
Implement __func__, __FUNCTION__ and __PRETTY_FUNCTION__.
[r18497]
Matthias Braun [Tue, 20 Nov 2007 16:14:14 +0000 (16:14 +0000)]
started implementing struct initializers in ast2firm
[r18496]
Christoph Mallon [Tue, 20 Nov 2007 14:19:40 +0000 (14:19 +0000)]
Simplify.
[r18495]
Christoph Mallon [Tue, 20 Nov 2007 14:17:38 +0000 (14:17 +0000)]
Fix warning.
[r18494]
Matthias Braun [Mon, 19 Nov 2007 23:20:11 +0000 (23:20 +0000)]
strange structs
[r18493]
Matthias Braun [Mon, 19 Nov 2007 23:19:13 +0000 (23:19 +0000)]
started working on correct initializer support (still unfinished and buggy!)
[r18492]
Matthias Braun [Mon, 19 Nov 2007 22:48:36 +0000 (22:48 +0000)]
C99 has stupid rules sometimes...
[r18491]
Matthias Braun [Mon, 19 Nov 2007 20:40:43 +0000 (20:40 +0000)]
started collecting some parser tests
[r18490]
Christoph Mallon [Mon, 19 Nov 2007 19:57:10 +0000 (19:57 +0000)]
There is no need to pass -o - to the preprocessor.
[r18489]
Christoph Mallon [Mon, 19 Nov 2007 19:44:52 +0000 (19:44 +0000)]
Initialise the backend only once.
[r18488]
Christoph Mallon [Mon, 19 Nov 2007 19:38:40 +0000 (19:38 +0000)]
s/be_set_debug_retrieve/ir_set_debug_retrieve/.
[r18487]
Christoph Mallon [Mon, 19 Nov 2007 13:57:44 +0000 (13:57 +0000)]
Handle Bad nodes in create_conv().
[r18486]
Christoph Mallon [Sun, 18 Nov 2007 13:56:38 +0000 (13:56 +0000)]
Implement the GCC insani^Wextension __builtin_classify_type.
[r18485]
Christoph Mallon [Sun, 18 Nov 2007 12:24:04 +0000 (12:24 +0000)]
compound type specifiers can have __attribute__, too. Parse it (and ignore it for now).
[r18484]
Christoph Mallon [Sun, 18 Nov 2007 12:07:31 +0000 (12:07 +0000)]
Array as last part of a paramter type is just syntactic sugar. Turn it into a pointer.
[r18483]
Christoph Mallon [Sun, 18 Nov 2007 11:43:06 +0000 (11:43 +0000)]
Add missing skip_typeref() in array_access_to_firm().
[r18482]
Christoph Mallon [Sun, 18 Nov 2007 11:38:07 +0000 (11:38 +0000)]
Replace confusing if (c) return false; else return true; by simple boolean expression.
[r18481]
Christoph Mallon [Sun, 18 Nov 2007 11:37:28 +0000 (11:37 +0000)]
Typo in comment.
[r18480]
Christoph Mallon [Sun, 18 Nov 2007 11:37:02 +0000 (11:37 +0000)]
Also count arrays as local variables, because parameters can be declared in array style.
[r18479]
Christoph Mallon [Sun, 18 Nov 2007 11:28:47 +0000 (11:28 +0000)]
Count local variables for IR generation.
[r18478]