cparser
16 years agoempty initializers
Michael Beck [Fri, 14 Mar 2008 16:31:49 +0000 (16:31 +0000)]
empty initializers

[r18945]

16 years agodon't emit enum declarations when printing declaration statements
Matthias Braun [Fri, 14 Mar 2008 16:29:47 +0000 (16:29 +0000)]
don't emit enum declarations when printing declaration statements

[r18944]

16 years agoast printing is wrong
Michael Beck [Fri, 14 Mar 2008 16:26:59 +0000 (16:26 +0000)]
ast printing is wrong

[r18943]

16 years ago- add __declspec restrict and noalias
Michael Beck [Fri, 14 Mar 2008 16:08:42 +0000 (16:08 +0000)]
- add __declspec restrict and noalias
- add an internal_errof_f() as panic replacement
- true_statement is always != NULL

[r18942]

16 years agotest for the ast printer
Michael Beck [Fri, 14 Mar 2008 16:04:14 +0000 (16:04 +0000)]
test for the ast printer

[r18941]

16 years ago- add empty and invalid statements
Michael Beck [Fri, 14 Mar 2008 14:16:09 +0000 (14:16 +0000)]
- add empty and invalid statements
- AST can be printed even with invalid entities in it

[r18940]

16 years agomore anchor sets added
Michael Beck [Fri, 14 Mar 2008 11:19:56 +0000 (11:19 +0000)]
more anchor sets added

[r18939]

16 years agomore cases
Michael Beck [Fri, 14 Mar 2008 11:19:13 +0000 (11:19 +0000)]
more cases

[r18938]

16 years agoadd a test for the new anchor based error recovery
Michael Beck [Fri, 14 Mar 2008 10:14:05 +0000 (10:14 +0000)]
add a test for the new anchor based error recovery

[r18937]

16 years agoadd missing skip_typeref, fixing 255.vortex
Matthias Braun [Thu, 13 Mar 2008 22:13:00 +0000 (22:13 +0000)]
add missing skip_typeref, fixing 255.vortex

[r18936]

16 years agoimprove declaration counting code
Matthias Braun [Thu, 13 Mar 2008 18:45:00 +0000 (18:45 +0000)]
improve declaration counting code

[r18935]

16 years agoimplemented anchor set
Michael Beck [Thu, 13 Mar 2008 16:06:45 +0000 (16:06 +0000)]
implemented anchor set

[r18934]

16 years agotest the build version
Michael Beck [Thu, 13 Mar 2008 16:04:24 +0000 (16:04 +0000)]
test the build version

[r18933]

16 years agomain added
Michael Beck [Thu, 13 Mar 2008 16:03:36 +0000 (16:03 +0000)]
main added

[r18932]

16 years agosome fixes
Michael Beck [Thu, 13 Mar 2008 16:00:36 +0000 (16:00 +0000)]
some fixes

[r18931]

16 years agomain added
Michael Beck [Thu, 13 Mar 2008 15:53:58 +0000 (15:53 +0000)]
main added

[r18930]

16 years agosmall fixes
Matthias Braun [Thu, 13 Mar 2008 14:40:48 +0000 (14:40 +0000)]
small fixes

[r18929]

16 years agoremove invalid shouldfail test
Matthias Braun [Thu, 13 Mar 2008 14:37:57 +0000 (14:37 +0000)]
remove invalid shouldfail test

[r18928]

16 years agoimprove testscript
Matthias Braun [Thu, 13 Mar 2008 14:34:40 +0000 (14:34 +0000)]
improve testscript

[r18927]

16 years agodon't rely on designator side-effect order in test
Matthias Braun [Thu, 13 Mar 2008 14:32:53 +0000 (14:32 +0000)]
don't rely on designator side-effect order in test

[r18926]

16 years agobeginning of a testscript
Matthias Braun [Thu, 13 Mar 2008 14:16:16 +0000 (14:16 +0000)]
beginning of a testscript

[r18925]

16 years agoimplemented deprecated and property __declspec's
Michael Beck [Wed, 12 Mar 2008 15:28:57 +0000 (15:28 +0000)]
implemented deprecated and property __declspec's

[r18924]

16 years agoBugFix: compute the layout of the frame types AFTER the optimizations like
Michael Beck [Mon, 10 Mar 2008 10:47:32 +0000 (10:47 +0000)]
BugFix: compute the layout of the frame types AFTER the optimizations like
inlining are finished: This fixes fehler110.c

[r18923]

16 years ago- add alignment to types and declarations
Michael Beck [Fri, 7 Mar 2008 16:16:25 +0000 (16:16 +0000)]
- add alignment to types and declarations
- parses alignment and copy it to declarations
- add warnings/errors for double/wrong MS modifiers

[r18922]

16 years agomore on MS __declspec
Michael Beck [Fri, 7 Mar 2008 14:50:27 +0000 (14:50 +0000)]
more on MS __declspec

[r18921]

16 years agoremove loop_unrolling opt
Matthias Braun [Thu, 6 Mar 2008 17:20:01 +0000 (17:20 +0000)]
remove loop_unrolling opt

[r18920]

16 years agodon't build in profile mode
Matthias Braun [Thu, 6 Mar 2008 17:12:35 +0000 (17:12 +0000)]
don't build in profile mode

[r18919]

16 years agosome examples for the MS mode
Michael Beck [Thu, 6 Mar 2008 17:05:02 +0000 (17:05 +0000)]
some examples for the MS mode

[r18918]

16 years agopreliminary support for MS __declspec()
Michael Beck [Thu, 6 Mar 2008 17:03:15 +0000 (17:03 +0000)]
preliminary support for MS __declspec()

[r18917]

16 years agoGenerate an error when redeclaring enum entries.
Christoph Mallon [Thu, 6 Mar 2008 15:36:27 +0000 (15:36 +0000)]
Generate an error when redeclaring enum entries.

[r18916]

16 years ago__w64 keyword added in MS mode
Michael Beck [Thu, 6 Mar 2008 14:41:49 +0000 (14:41 +0000)]
__w64 keyword added in MS mode

[r18915]

16 years ago- fixes memory leak
Michael Beck [Thu, 6 Mar 2008 14:01:57 +0000 (14:01 +0000)]
- fixes memory leak
- ast2firm: descent_* must handle NULL top_type

[r18914]

16 years agoMore fixes for initializers:
Michael Beck [Thu, 6 Mar 2008 13:40:53 +0000 (13:40 +0000)]
More fixes for initializers:
- generate warnings/errors for superflous initializers
- do NOT put them into the initializer list or Firm will crash ..,
- allow empty initializers

[r18913]

16 years agoremove expect_void macro, fix scope not being reset correctly when parsing a for...
Matthias Braun [Thu, 6 Mar 2008 08:52:30 +0000 (08:52 +0000)]
remove expect_void macro, fix scope not being reset correctly when parsing a for-statement fails

[r18912]

16 years agoFixed segfault3.c:
Michael Beck [Wed, 5 Mar 2008 13:57:00 +0000 (13:57 +0000)]
Fixed segfault3.c:
- allow a strange extension: en empty struct/union scope ...

[r18911]

16 years agosome commnets added
Michael Beck [Wed, 5 Mar 2008 13:54:59 +0000 (13:54 +0000)]
some commnets added

[r18910]

16 years agoFixing segfault1.c:
Michael Beck [Wed, 5 Mar 2008 13:03:02 +0000 (13:03 +0000)]
Fixing segfault1.c:
- expect macro now jumps to the end_error label
- expression parsers return invalid expression now on error
- has_effect() handles invalid expressions gracefully

[r18909]

16 years agoups it was not unnecessary
Matthias Braun [Tue, 4 Mar 2008 14:59:22 +0000 (14:59 +0000)]
ups it was not unnecessary

[r18908]

16 years agotest (remove an unnecessary line)
Matthias Braun [Tue, 4 Mar 2008 14:58:07 +0000 (14:58 +0000)]
test (remove an unnecessary line)

[r18907]

16 years agoanother segfault
Matthias Braun [Tue, 4 Mar 2008 12:40:48 +0000 (12:40 +0000)]
another segfault

[r18906]

16 years agoanother segfault
Matthias Braun [Tue, 4 Mar 2008 12:37:32 +0000 (12:37 +0000)]
another segfault

[r18905]

16 years agoBugFix:
Michael Beck [Mon, 25 Feb 2008 16:14:20 +0000 (16:14 +0000)]
BugFix:
 - ensure that elem_size has the right mode when doing pointer div
Opt:
 - use new DivRL()

[r18904]

16 years agoremoved set_opt_overflow_unsafe_transform(), not needed anymore
Michael Beck [Wed, 20 Feb 2008 16:52:54 +0000 (16:52 +0000)]
removed set_opt_overflow_unsafe_transform(), not needed anymore

[r18903]

16 years agocommit some files I forgot
Matthias Braun [Wed, 20 Feb 2008 15:03:07 +0000 (15:03 +0000)]
commit some files I forgot

[r18902]

16 years agohandle the new overflow_unsafe_transform option right; synchronize with edgfe
Michael Beck [Wed, 20 Feb 2008 13:24:55 +0000 (13:24 +0000)]
handle the new overflow_unsafe_transform option right; synchronize with edgfe

[r18901]

16 years agosome refactoring in preparation for a preprocessor
Matthias Braun [Tue, 19 Feb 2008 23:16:06 +0000 (23:16 +0000)]
some refactoring in preparation for a preprocessor

[r18900]

16 years agomake sure dirs are constructed in makefile
Matthias Braun [Mon, 18 Feb 2008 18:28:20 +0000 (18:28 +0000)]
make sure dirs are constructed in makefile

[r18899]

16 years agofix bootstrap targets
Matthias Braun [Mon, 18 Feb 2008 15:37:42 +0000 (15:37 +0000)]
fix bootstrap targets

[r18898]

16 years agofix bootstrap target in makefile, make_release.sh script
Matthias Braun [Mon, 18 Feb 2008 15:31:28 +0000 (15:31 +0000)]
fix bootstrap target in makefile, make_release.sh script

[r18897]

16 years agoREADME for release
Matthias Braun [Mon, 18 Feb 2008 15:25:34 +0000 (15:25 +0000)]
README for release

[r18896]

16 years agoadd license comments
Matthias Braun [Mon, 18 Feb 2008 15:09:27 +0000 (15:09 +0000)]
add license comments

[r18895]

16 years agoadd license prefix
Matthias Braun [Mon, 18 Feb 2008 15:08:52 +0000 (15:08 +0000)]
add license prefix

[r18894]

16 years agotextfiles for release
Matthias Braun [Mon, 18 Feb 2008 15:02:27 +0000 (15:02 +0000)]
textfiles for release

[r18893]

16 years agofix is_constant_expression for conditionals
Matthias Braun [Mon, 18 Feb 2008 15:00:22 +0000 (15:00 +0000)]
fix is_constant_expression for conditionals

[r18892]

16 years agoAdd layer 8 semantics to expression_has_effect(), i.e. comment it.
Christoph Mallon [Sun, 17 Feb 2008 11:59:20 +0000 (11:59 +0000)]
Add layer 8 semantics to expression_has_effect(), i.e. comment it.

[r18891]

16 years agoList to be created directory names in a variable.
Christoph Mallon [Sun, 17 Feb 2008 11:57:20 +0000 (11:57 +0000)]
List to be created directory names in a variable.

[r18890]

16 years agowe can do make bootstrap2 now
Matthias Braun [Sun, 17 Feb 2008 11:40:26 +0000 (11:40 +0000)]
we can do make bootstrap2 now

[r18889]

16 years agoonly make implicit cast if array size expression != NULL
Matthias Braun [Sun, 17 Feb 2008 10:49:45 +0000 (10:49 +0000)]
only make implicit cast if array size expression != NULL

[r18888]

16 years agoimplement VLAs (just the Free nodes aren't constructed yet)
Matthias Braun [Sun, 17 Feb 2008 10:45:44 +0000 (10:45 +0000)]
implement VLAs (just the Free nodes aren't constructed yet)

[r18887]

16 years agoit gets even more strange
Matthias Braun [Sat, 16 Feb 2008 17:43:15 +0000 (17:43 +0000)]
it gets even more strange

[r18886]

16 years agoit gets even more strange
Matthias Braun [Sat, 16 Feb 2008 17:42:39 +0000 (17:42 +0000)]
it gets even more strange

[r18885]

16 years agoVLA test
Matthias Braun [Sat, 16 Feb 2008 17:03:38 +0000 (17:03 +0000)]
VLA test

[r18884]

16 years agodisable some optimisations in debug mode
Matthias Braun [Sat, 16 Feb 2008 16:17:34 +0000 (16:17 +0000)]
disable some optimisations in debug mode

[r18883]

16 years agocrude -g implementation
Matthias Braun [Sat, 16 Feb 2008 16:13:23 +0000 (16:13 +0000)]
crude -g implementation

[r18882]

16 years agodon't print trailing 0 in strings
Matthias Braun [Sat, 16 Feb 2008 16:09:32 +0000 (16:09 +0000)]
don't print trailing 0 in strings

[r18881]

16 years agostring literals really have array type, revert_automatic_type_conversion should respe...
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]

16 years agosizeof from string is defect
Matthias Braun [Sat, 16 Feb 2008 15:40:49 +0000 (15:40 +0000)]
sizeof from string is defect

[r18879]

16 years agoimprove bootstrap rule, align long long to 4 bytes
Matthias Braun [Sat, 16 Feb 2008 15:35:08 +0000 (15:35 +0000)]
improve bootstrap rule, align long long to 4 bytes

[r18878]

16 years agolower const_code nodes
Matthias Braun [Sat, 16 Feb 2008 15:33:10 +0000 (15:33 +0000)]
lower const_code nodes

[r18877]

16 years agoerror22
Matthias Braun [Sat, 16 Feb 2008 15:14:18 +0000 (15:14 +0000)]
error22

[r18876]

16 years agoadd missing skip_typerefs
Matthias Braun [Sat, 16 Feb 2008 15:06:17 +0000 (15:06 +0000)]
add missing skip_typerefs

[r18875]

16 years agoget char signedness from lang_features.h
Matthias Braun [Sat, 16 Feb 2008 14:41:05 +0000 (14:41 +0000)]
get char signedness from lang_features.h

[r18874]

16 years agomore testcases I had lying around here
Matthias Braun [Fri, 15 Feb 2008 23:25:35 +0000 (23:25 +0000)]
more testcases I had lying around here

[r18873]

16 years agoconstruct 0/1 instead of mode_b->int convs
Matthias Braun [Fri, 15 Feb 2008 23:24:43 +0000 (23:24 +0000)]
construct 0/1 instead of mode_b->int convs

[r18872]

16 years agoadd bootstrap target, don't set frame_type to fixed layout, lower_compound_calls...
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]

16 years ago- implemented non-constant initializers
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]

16 years agoTODO update
Matthias Braun [Fri, 15 Feb 2008 14:49:30 +0000 (14:49 +0000)]
TODO update

[r18869]

16 years agoarray sizes are determined correctly from initializer again
Matthias Braun [Fri, 15 Feb 2008 14:47:56 +0000 (14:47 +0000)]
array sizes are determined correctly from initializer again

[r18868]

16 years agoanother compound literal test
Matthias Braun [Fri, 15 Feb 2008 14:45:30 +0000 (14:45 +0000)]
another compound literal test

[r18867]

16 years agoanother initializer test
Matthias Braun [Fri, 15 Feb 2008 14:40:19 +0000 (14:40 +0000)]
another initializer test

[r18866]

16 years agomore tricky initialiser tests
Matthias Braun [Fri, 15 Feb 2008 11:15:16 +0000 (11:15 +0000)]
more tricky initialiser tests

[r18865]

16 years agofix string initializers, improve initializer semantic in parser
Matthias Braun [Fri, 15 Feb 2008 10:59:57 +0000 (10:59 +0000)]
fix string initializers, improve initializer semantic in parser

[r18864]

16 years agoimplement -O switch
Matthias Braun [Fri, 15 Feb 2008 10:59:05 +0000 (10:59 +0000)]
implement -O switch

[r18863]

16 years agocorrect is_const test for compound literals
Matthias Braun [Fri, 15 Feb 2008 10:58:49 +0000 (10:58 +0000)]
correct is_const test for compound literals

[r18862]

16 years agomore parsetests
Matthias Braun [Fri, 15 Feb 2008 10:57:36 +0000 (10:57 +0000)]
more parsetests

[r18861]

16 years agofix cp_error020, fix warning
Matthias Braun [Thu, 14 Feb 2008 19:57:07 +0000 (19:57 +0000)]
fix cp_error020, fix warning

[r18860]

16 years agoerror20
Matthias Braun [Thu, 14 Feb 2008 15:57:41 +0000 (15:57 +0000)]
error20

[r18859]

16 years agocast enum expressions to enum type if needed
Matthias Braun [Thu, 14 Feb 2008 15:44:59 +0000 (15:44 +0000)]
cast enum expressions to enum type if needed

[r18858]

16 years agoselfcheck target for the makefile
Matthias Braun [Thu, 14 Feb 2008 15:44:43 +0000 (15:44 +0000)]
selfcheck target for the makefile

[r18857]

16 years agoNUL-terminate strings on obstacks before finishing.
Christoph Mallon [Thu, 14 Feb 2008 15:03:35 +0000 (15:03 +0000)]
NUL-terminate strings on obstacks before finishing.

[r18856]

16 years agoUse "obst.h" instead of <obstack.h>.
Christoph Mallon [Thu, 14 Feb 2008 15:01:01 +0000 (15:01 +0000)]
Use "obst.h" instead of <obstack.h>.

[r18855]

16 years agoadd obstack to cparser sources
Matthias Braun [Thu, 14 Feb 2008 14:57:29 +0000 (14:57 +0000)]
add obstack to cparser sources

[r18854]

16 years agoimplement compound literals (ineficient code at the moment)
Matthias Braun [Thu, 14 Feb 2008 14:06:58 +0000 (14:06 +0000)]
implement compound literals (ineficient code at the moment)

[r18853]

16 years agouse new firm timing facilities
Matthias Braun [Thu, 14 Feb 2008 13:08:23 +0000 (13:08 +0000)]
use new firm timing facilities

[r18852]

16 years ago- first iteration of new initializer code
Matthias Braun [Wed, 13 Feb 2008 18:20:39 +0000 (18:20 +0000)]
- first iteration of new initializer code
- implemented __builtin_offsetof

[r18851]

16 years agoimprove error message when expression is expected
Matthias Braun [Tue, 12 Feb 2008 15:15:08 +0000 (15:15 +0000)]
improve error message when expression is expected

[r18850]

16 years agofix optimized build, add benchmark mode
Matthias Braun [Fri, 8 Feb 2008 14:01:52 +0000 (14:01 +0000)]
fix optimized build, add benchmark mode

[r18849]

16 years agoIndent.
Christoph Mallon [Wed, 23 Jan 2008 14:10:34 +0000 (14:10 +0000)]
Indent.

[r18848]

16 years agocreate invalid expression if reference can't be resolved to avoid crashs
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]

16 years agouse new firm initializer syntax
Matthias Braun [Tue, 22 Jan 2008 22:37:37 +0000 (22:37 +0000)]
use new firm initializer syntax

[r18846]