Matthias Braun [Sat, 16 Feb 2008 16:17:34 +0000 (16:17 +0000)]
disable some optimisations in debug mode
[r18883]
Matthias Braun [Sat, 16 Feb 2008 16:13:23 +0000 (16:13 +0000)]
crude -g implementation
[r18882]
Matthias Braun [Sat, 16 Feb 2008 16:09:32 +0000 (16:09 +0000)]
don't print trailing 0 in strings
[r18881]
Matthias Braun [Sat, 16 Feb 2008 16:04:34 +0000 (16:04 +0000)]
string literals really have array type, revert_automatic_type_conversion should respect that
[r18880]
Matthias Braun [Sat, 16 Feb 2008 15:40:49 +0000 (15:40 +0000)]
sizeof from string is defect
[r18879]
Matthias Braun [Sat, 16 Feb 2008 15:35:08 +0000 (15:35 +0000)]
improve bootstrap rule, align long long to 4 bytes
[r18878]
Matthias Braun [Sat, 16 Feb 2008 15:33:10 +0000 (15:33 +0000)]
lower const_code nodes
[r18877]
Matthias Braun [Sat, 16 Feb 2008 15:14:18 +0000 (15:14 +0000)]
error22
[r18876]
Matthias Braun [Sat, 16 Feb 2008 15:06:17 +0000 (15:06 +0000)]
add missing skip_typerefs
[r18875]
Matthias Braun [Sat, 16 Feb 2008 14:41:05 +0000 (14:41 +0000)]
get char signedness from lang_features.h
[r18874]
Matthias Braun [Fri, 15 Feb 2008 23:25:35 +0000 (23:25 +0000)]
more testcases I had lying around here
[r18873]
Matthias Braun [Fri, 15 Feb 2008 23:24:43 +0000 (23:24 +0000)]
construct 0/1 instead of mode_b->int convs
[r18872]
Matthias Braun [Fri, 15 Feb 2008 22:30:46 +0000 (22:30 +0000)]
add bootstrap target, don't set frame_type to fixed layout, lower_compound_calls is modifying it
[r18871]
Matthias Braun [Fri, 15 Feb 2008 20:17:01 +0000 (20:17 +0000)]
- implemented non-constant initializers
- differentiate between specified and effective storage_class
- improve constness checks (esp. for constant initializers)
=> make selfcheck works
[r18870]
Matthias Braun [Fri, 15 Feb 2008 14:49:30 +0000 (14:49 +0000)]
TODO update
[r18869]
Matthias Braun [Fri, 15 Feb 2008 14:47:56 +0000 (14:47 +0000)]
array sizes are determined correctly from initializer again
[r18868]
Matthias Braun [Fri, 15 Feb 2008 14:45:30 +0000 (14:45 +0000)]
another compound literal test
[r18867]
Matthias Braun [Fri, 15 Feb 2008 14:40:19 +0000 (14:40 +0000)]
another initializer test
[r18866]
Matthias Braun [Fri, 15 Feb 2008 11:15:16 +0000 (11:15 +0000)]
more tricky initialiser tests
[r18865]
Matthias Braun [Fri, 15 Feb 2008 10:59:57 +0000 (10:59 +0000)]
fix string initializers, improve initializer semantic in parser
[r18864]
Matthias Braun [Fri, 15 Feb 2008 10:59:05 +0000 (10:59 +0000)]
implement -O switch
[r18863]
Matthias Braun [Fri, 15 Feb 2008 10:58:49 +0000 (10:58 +0000)]
correct is_const test for compound literals
[r18862]
Matthias Braun [Fri, 15 Feb 2008 10:57:36 +0000 (10:57 +0000)]
more parsetests
[r18861]
Matthias Braun [Thu, 14 Feb 2008 19:57:07 +0000 (19:57 +0000)]
fix cp_error020, fix warning
[r18860]
Matthias Braun [Thu, 14 Feb 2008 15:57:41 +0000 (15:57 +0000)]
error20
[r18859]
Matthias Braun [Thu, 14 Feb 2008 15:44:59 +0000 (15:44 +0000)]
cast enum expressions to enum type if needed
[r18858]
Matthias Braun [Thu, 14 Feb 2008 15:44:43 +0000 (15:44 +0000)]
selfcheck target for the makefile
[r18857]
Christoph Mallon [Thu, 14 Feb 2008 15:03:35 +0000 (15:03 +0000)]
NUL-terminate strings on obstacks before finishing.
[r18856]
Christoph Mallon [Thu, 14 Feb 2008 15:01:01 +0000 (15:01 +0000)]
Use "obst.h" instead of <obstack.h>.
[r18855]
Matthias Braun [Thu, 14 Feb 2008 14:57:29 +0000 (14:57 +0000)]
add obstack to cparser sources
[r18854]
Matthias Braun [Thu, 14 Feb 2008 14:06:58 +0000 (14:06 +0000)]
implement compound literals (ineficient code at the moment)
[r18853]
Matthias Braun [Thu, 14 Feb 2008 13:08:23 +0000 (13:08 +0000)]
use new firm timing facilities
[r18852]
Matthias Braun [Wed, 13 Feb 2008 18:20:39 +0000 (18:20 +0000)]
- first iteration of new initializer code
- implemented __builtin_offsetof
[r18851]
Matthias Braun [Tue, 12 Feb 2008 15:15:08 +0000 (15:15 +0000)]
improve error message when expression is expected
[r18850]
Matthias Braun [Fri, 8 Feb 2008 14:01:52 +0000 (14:01 +0000)]
fix optimized build, add benchmark mode
[r18849]
Christoph Mallon [Wed, 23 Jan 2008 14:10:34 +0000 (14:10 +0000)]
Indent.
[r18848]
Matthias Braun [Tue, 22 Jan 2008 23:08:50 +0000 (23:08 +0000)]
create invalid expression if reference can't be resolved to avoid crashs
[r18847]
Matthias Braun [Tue, 22 Jan 2008 22:37:37 +0000 (22:37 +0000)]
use new firm initializer syntax
[r18846]
Matthias Braun [Tue, 22 Jan 2008 22:37:36 +0000 (22:37 +0000)]
rename to avoid name clashes with libfirm changes
[r18845]
Matthias Braun [Tue, 22 Jan 2008 22:26:00 +0000 (22:26 +0000)]
signed char and unsigned char can be initialized with string constants too
[r18844]
Matthias Braun [Wed, 9 Jan 2008 10:03:45 +0000 (10:03 +0000)]
use inline instead of INLINE ;-)
[r18843]
Michael Beck [Tue, 8 Jan 2008 22:12:09 +0000 (22:12 +0000)]
use INLINE instead of inline
[r18842]
Michael Beck [Sun, 6 Jan 2008 16:36:54 +0000 (16:36 +0000)]
opt_funccall() now takes an additional parameter
[r18841]
Michael Beck [Sun, 30 Dec 2007 16:52:48 +0000 (16:52 +0000)]
synchronize with edgfe:
- add missing CHECK_ALL()
- FIXME added
[r18840]
Michael Beck [Sun, 30 Dec 2007 01:40:45 +0000 (01:40 +0000)]
Fixed broken merge of r846 and added back deleted wide string concatenate functions.
[r18839]
Michael Beck [Sat, 29 Dec 2007 19:15:34 +0000 (19:15 +0000)]
add preprocessor tokens for STDC pragma and vararg macro
[r18838]
Michael Beck [Sat, 29 Dec 2007 19:13:59 +0000 (19:13 +0000)]
- more doxygen info added
- more portable handling of char to int
- parse STDC pragma's
[r18837]
Matthias Braun [Sat, 29 Dec 2007 15:13:06 +0000 (15:13 +0000)]
another parse error
[r18836]
Matthias Braun [Sat, 29 Dec 2007 14:57:00 +0000 (14:57 +0000)]
add missing skip_typeref
[r18835]
Matthias Braun [Sat, 29 Dec 2007 14:40:44 +0000 (14:40 +0000)]
add implicit casts to conditional preds
[r18834]
Matthias Braun [Sat, 29 Dec 2007 14:36:57 +0000 (14:36 +0000)]
more tricky error18
[r18833]
Matthias Braun [Sat, 29 Dec 2007 14:27:34 +0000 (14:27 +0000)]
improve trinary operator semantics
[r18832]
Matthias Braun [Sat, 29 Dec 2007 14:19:29 +0000 (14:19 +0000)]
one more parse error
[r18831]
Matthias Braun [Sat, 29 Dec 2007 14:07:49 +0000 (14:07 +0000)]
declaration may be NULL for abstract declarators
[r18830]
Matthias Braun [Sat, 29 Dec 2007 14:01:23 +0000 (14:01 +0000)]
old declaration may be NULL
[r18829]
Christoph Mallon [Sat, 29 Dec 2007 13:56:52 +0000 (13:56 +0000)]
Remember the correct old declaration in stack_push(). This fixes cp_error016.c
[r18828]
Matthias Braun [Fri, 28 Dec 2007 23:12:13 +0000 (23:12 +0000)]
another parser problen
[r18827]
Matthias Braun [Fri, 28 Dec 2007 22:08:04 +0000 (22:08 +0000)]
also support extern variable declarations in local scope
[r18826]
Matthias Braun [Fri, 28 Dec 2007 22:02:07 +0000 (22:02 +0000)]
support functions declared in local scope
[r18825]
Matthias Braun [Fri, 28 Dec 2007 21:44:58 +0000 (21:44 +0000)]
try working around/fixing cp_error015
[r18824]
Matthias Braun [Fri, 28 Dec 2007 19:55:01 +0000 (19:55 +0000)]
another parse error
[r18823]
Matthias Braun [Fri, 28 Dec 2007 19:22:20 +0000 (19:22 +0000)]
improve declaration counter
[r18822]
Matthias Braun [Fri, 28 Dec 2007 19:14:25 +0000 (19:14 +0000)]
fix default labels missing their statements
[r18821]
Matthias Braun [Fri, 28 Dec 2007 19:06:41 +0000 (19:06 +0000)]
implement anonymous struct/union members gcc extension
[r18820]
Matthias Braun [Fri, 28 Dec 2007 15:46:25 +0000 (15:46 +0000)]
fix some wrong tokens
[r18819]
Matthias Braun [Tue, 25 Dec 2007 13:55:29 +0000 (13:55 +0000)]
test for last bug
[r18818]
Matthias Braun [Tue, 25 Dec 2007 13:54:21 +0000 (13:54 +0000)]
Merry Christmas Everyone (well and I fixed parsing of initializer list entries that start with {)
[r18817]
Christoph Mallon [Tue, 25 Dec 2007 13:41:01 +0000 (13:41 +0000)]
Warn, when the initialisation or step expression of a for-statement has no effect.
[r18816]
Christoph Mallon [Thu, 20 Dec 2007 16:16:37 +0000 (16:16 +0000)]
Add missing skip_typeref() when printing constants.
[r18815]
Christoph Mallon [Thu, 20 Dec 2007 16:04:08 +0000 (16:04 +0000)]
Implement wide string literal concatenation (with normal string literals, too).
[r18814]
Christoph Mallon [Thu, 20 Dec 2007 12:36:09 +0000 (12:36 +0000)]
Always set the alignment and set the layout_fixed flag for array types, even if they are flexible array members.
[r18813]
Christoph Mallon [Thu, 20 Dec 2007 10:01:10 +0000 (10:01 +0000)]
Decide whether to use pn_Cmp_Ne or pn_Cmp_Lg for inequality comparisons depending on whether floats get compared.
[r18812]
Christoph Mallon [Thu, 20 Dec 2007 06:19:13 +0000 (06:19 +0000)]
Really avoid constructing two struct types for the same struct in FIRM.
[r18811]
Michael Beck [Wed, 19 Dec 2007 17:02:39 +0000 (17:02 +0000)]
- -Wmultichar implemented
[r18810]
Michael Beck [Wed, 19 Dec 2007 16:59:55 +0000 (16:59 +0000)]
Multi-line character constants implemented
[r18809]
Matthias Braun [Wed, 19 Dec 2007 15:54:13 +0000 (15:54 +0000)]
fix cp_error012
[r18808]
Matthias Braun [Wed, 19 Dec 2007 15:54:12 +0000 (15:54 +0000)]
another error
[r18807]
Matthias Braun [Wed, 19 Dec 2007 15:35:59 +0000 (15:35 +0000)]
avoid construct 2 struct types for the same struct in firm
[r18806]
Matthias Braun [Wed, 19 Dec 2007 15:31:16 +0000 (15:31 +0000)]
only print a warning for asm statements for now...
[r18805]
Michael Beck [Wed, 19 Dec 2007 15:08:14 +0000 (15:08 +0000)]
Add debug info for types
[r18804]
Christoph Mallon [Wed, 19 Dec 2007 13:53:52 +0000 (13:53 +0000)]
Strange ast2firm error for initializers.
[r18803]
Michael Beck [Wed, 19 Dec 2007 13:38:25 +0000 (13:38 +0000)]
some doxygen docu added
[r18802]
Michael Beck [Wed, 19 Dec 2007 13:37:56 +0000 (13:37 +0000)]
- GCC case A ... E: extention implemented
[r18801]
Michael Beck [Wed, 19 Dec 2007 13:10:27 +0000 (13:10 +0000)]
more doxygen docu added
[r18800]
Michael Beck [Wed, 19 Dec 2007 12:47:49 +0000 (12:47 +0000)]
- restored last missing checkin: fixed precedence and associativity
- renamed --no-implicit-casts to --print-implicit-casts (with reverse logic)
- implement --print-parenthesis to explicit print parenthesis to show operator precedence
[r18799]
Michael Beck [Tue, 18 Dec 2007 16:39:59 +0000 (16:39 +0000)]
- add option --no-implicit-cast to supres printing of implicit casts
- only print parenthesis if requiered by the precedence of the operator
- fixed output of case labels
[r18798]
Matthias Braun [Tue, 18 Dec 2007 15:25:33 +0000 (15:25 +0000)]
fix last commit
[r18797]
Matthias Braun [Tue, 18 Dec 2007 14:35:20 +0000 (14:35 +0000)]
string initializers might be surrounded by {}
[r18796]
Matthias Braun [Tue, 18 Dec 2007 14:04:04 +0000 (14:04 +0000)]
mark implicit array sizes and don't always print them
[r18795]
Matthias Braun [Tue, 18 Dec 2007 13:19:04 +0000 (13:19 +0000)]
another compiler crash
[r18794]
Matthias Braun [Tue, 18 Dec 2007 00:49:55 +0000 (00:49 +0000)]
fix problems with local anonymous declarations
[r18793]
Matthias Braun [Tue, 18 Dec 2007 00:44:20 +0000 (00:44 +0000)]
don't set new scopes when parsing struct fields, fix explicit struct conv
[r18792]
Matthias Braun [Tue, 18 Dec 2007 00:44:20 +0000 (00:44 +0000)]
more testcases
[r18791]
Matthias Braun [Mon, 17 Dec 2007 23:21:11 +0000 (23:21 +0000)]
parser namespace problem
[r18790]
Matthias Braun [Mon, 17 Dec 2007 23:16:51 +0000 (23:16 +0000)]
fix implicit struct casts
[r18789]
Christoph Mallon [Mon, 17 Dec 2007 18:38:49 +0000 (18:38 +0000)]
Only warn when pointer types are incompatible in assignment and do not generate an error.
[r18788]
Christoph Mallon [Mon, 17 Dec 2007 18:22:26 +0000 (18:22 +0000)]
Fix explicit dereferencing of function pointers.
[r18787]
Christoph Mallon [Mon, 17 Dec 2007 18:01:54 +0000 (18:01 +0000)]
When parsing a union declaration, build a union type, not a struct type.
[r18786]
Christoph Mallon [Mon, 17 Dec 2007 17:56:23 +0000 (17:56 +0000)]
Accept __builtin_nan and __builtin_nand.
[r18785]
Matthias Braun [Mon, 17 Dec 2007 16:07:50 +0000 (16:07 +0000)]
always prefere complete over incomplete types when mergin declarations
[r18784]