cparser
16 years agoalways transmit const source_position_t * instead of source_position_t
Michael Beck [Wed, 19 Mar 2008 23:19:04 +0000 (23:19 +0000)]
always transmit const source_position_t * instead of source_position_t

[r18996]

16 years agosmall changes
Michael Beck [Wed, 19 Mar 2008 23:17:49 +0000 (23:17 +0000)]
small changes

[r18995]

16 years agocollect GNU attributes in list, not used yet ...
Michael Beck [Wed, 19 Mar 2008 22:33:21 +0000 (22:33 +0000)]
collect GNU attributes in list, not used yet ...

[r18994]

16 years agofixed ICC warning
Michael Beck [Wed, 19 Mar 2008 21:06:07 +0000 (21:06 +0000)]
fixed ICC warning

[r18993]

16 years agomark entities as volatile where needed
Matthias Braun [Wed, 19 Mar 2008 17:48:24 +0000 (17:48 +0000)]
mark entities as volatile where needed

[r18992]

16 years agomore function and type attributes
Michael Beck [Wed, 19 Mar 2008 16:16:12 +0000 (16:16 +0000)]
more function and type attributes

[r18991]

16 years agoadded a lot of attributes
Michael Beck [Wed, 19 Mar 2008 14:43:18 +0000 (14:43 +0000)]
added a lot of attributes

[r18990]

16 years agoadd a few more keyword synonmys found in gcc source
Matthias Braun [Wed, 19 Mar 2008 12:40:46 +0000 (12:40 +0000)]
add a few more keyword synonmys found in gcc source

[r18989]

16 years ago__signed is a synonym for signed
Matthias Braun [Wed, 19 Mar 2008 12:34:21 +0000 (12:34 +0000)]
__signed is a synonym for signed

[r18988]

16 years agorespect volatile type uqlaifiers in ast2firm
Matthias Braun [Wed, 19 Mar 2008 12:20:04 +0000 (12:20 +0000)]
respect volatile type uqlaifiers in ast2firm

[r18987]

16 years agoadded nothrow,weakref,nonnull attributes
Michael Beck [Wed, 19 Mar 2008 11:23:49 +0000 (11:23 +0000)]
added nothrow,weakref,nonnull attributes

[r18986]

16 years agorenamed format option, added nonnull option
Michael Beck [Wed, 19 Mar 2008 11:16:17 +0000 (11:16 +0000)]
renamed format option, added nonnull option

[r18985]

16 years agono more multi-line errors/warnings
Michael Beck [Tue, 18 Mar 2008 16:52:48 +0000 (16:52 +0000)]
no more multi-line errors/warnings

[r18984]

16 years agobetter error handling for attributes
Michael Beck [Tue, 18 Mar 2008 16:06:01 +0000 (16:06 +0000)]
better error handling for attributes

[r18983]

16 years agorelax assignment semantics
Matthias Braun [Tue, 18 Mar 2008 15:45:11 +0000 (15:45 +0000)]
relax assignment semantics

[r18982]

16 years agoMostly finished parsing of GNU attributes.
Michael Beck [Tue, 18 Mar 2008 15:35:04 +0000 (15:35 +0000)]
Mostly finished parsing of GNU attributes.

[r18981]

16 years agoimprove conditional_expression semantics (and don't error out in a pointer/integer...
Matthias Braun [Tue, 18 Mar 2008 15:30:08 +0000 (15:30 +0000)]
improve conditional_expression semantics (and don't error out in a pointer/integer combination)

[r18980]

16 years agobetter GNU attribute parser
Michael Beck [Tue, 18 Mar 2008 14:39:37 +0000 (14:39 +0000)]
better GNU attribute parser

[r18979]

16 years agosuppress "statement has no effect" warning for ms __noop operations
Michael Beck [Tue, 18 Mar 2008 13:52:54 +0000 (13:52 +0000)]
suppress "statement has no effect" warning for ms __noop operations

[r18978]

16 years agoadded GNU complex keywords
Michael Beck [Tue, 18 Mar 2008 13:42:29 +0000 (13:42 +0000)]
added GNU complex keywords
implemented MS __noop

[r18977]

16 years agoupdated
Michael Beck [Tue, 18 Mar 2008 12:45:19 +0000 (12:45 +0000)]
updated

[r18976]

16 years agoadd option -std=, supporting c99, c89, gnu99, microsoft
Michael Beck [Tue, 18 Mar 2008 12:42:37 +0000 (12:42 +0000)]
add option -std=, supporting c99, c89, gnu99, microsoft

[r18975]

16 years agoremoved all EXPR_FUNCTION-alikes and replaced by EXPR_FUNCNAME
Michael Beck [Tue, 18 Mar 2008 11:20:55 +0000 (11:20 +0000)]
removed all EXPR_FUNCTION-alikes and replaced by EXPR_FUNCNAME

[r18974]

16 years agotests for __func__ and friends
Michael Beck [Tue, 18 Mar 2008 11:19:25 +0000 (11:19 +0000)]
tests for __func__ and friends

[r18973]

16 years agochanged printf format for size_t printing
Sebastian Hack [Tue, 18 Mar 2008 09:59:05 +0000 (09:59 +0000)]
changed printf format for size_t printing

[r18972]

16 years ago- completed __FUNCSIG__ and __FUNCDNAME__
Michael Beck [Tue, 18 Mar 2008 01:59:07 +0000 (01:59 +0000)]
- completed __FUNCSIG__ and __FUNCDNAME__
- fixed some gcc warnings

[r18971]

16 years agoadded __FUNCSIG__ and __FUNCDNAME__
Michael Beck [Tue, 18 Mar 2008 01:46:01 +0000 (01:46 +0000)]
added __FUNCSIG__ and __FUNCDNAME__

[r18970]

16 years agoadded __FUNCSIG__ and __FUNCDNAME__
Michael Beck [Tue, 18 Mar 2008 01:44:21 +0000 (01:44 +0000)]
added __FUNCSIG__ and __FUNCDNAME__

[r18969]

16 years ago- made an extra field for the deprecated attribute, so it can be used in GNU and...
Michael Beck [Tue, 18 Mar 2008 01:28:54 +0000 (01:28 +0000)]
- made an extra field for the deprecated attribute, so it can be used in GNU and MS mode
- preliminary MS type modifier parsing

[r18968]

16 years ago- fixed names of MS keywords
Michael Beck [Tue, 18 Mar 2008 00:50:51 +0000 (00:50 +0000)]
- fixed names of MS keywords
- more ms keywords added

[r18967]

16 years agomicrosoft types are just synonyms for default types
Michael Beck [Tue, 18 Mar 2008 00:37:15 +0000 (00:37 +0000)]
microsoft types are just synonyms for default types

[r18966]

16 years agofix tests
Michael Beck [Mon, 17 Mar 2008 15:29:34 +0000 (15:29 +0000)]
fix tests

[r18965]

16 years agofix test
Michael Beck [Mon, 17 Mar 2008 15:28:26 +0000 (15:28 +0000)]
fix test

[r18964]

16 years agoimplement MS type extension types
Michael Beck [Mon, 17 Mar 2008 15:26:37 +0000 (15:26 +0000)]
implement MS type extension types

[r18963]

16 years agoimprove tests, new ms types test
Michael Beck [Mon, 17 Mar 2008 15:26:05 +0000 (15:26 +0000)]
improve tests, new ms types test

[r18962]

16 years agomake do_tests check MS extension tests
Michael Beck [Mon, 17 Mar 2008 15:25:46 +0000 (15:25 +0000)]
make do_tests check MS extension tests

[r18961]

16 years ago- more test cases
Michael Beck [Mon, 17 Mar 2008 14:21:04 +0000 (14:21 +0000)]
- more test cases

[r18960]

16 years agoBugFix:
Michael Beck [Mon, 17 Mar 2008 14:20:36 +0000 (14:20 +0000)]
BugFix:
- is_constant_address(): dereferencing function is a NOP

[r18959]

16 years ago- T_declspec may start a declaration
Michael Beck [Mon, 17 Mar 2008 14:19:47 +0000 (14:19 +0000)]
- T_declspec may start a declaration
- check deprecated flag on reference expression and for non-functions

[r18958]

16 years agoshould be a const expression
Michael Beck [Mon, 17 Mar 2008 13:50:58 +0000 (13:50 +0000)]
should be a const expression

[r18957]

16 years agoset the source position of an call expression
Michael Beck [Sun, 16 Mar 2008 16:14:46 +0000 (16:14 +0000)]
set the source position of an call expression

[r18956]

16 years agocheck the deprecated modifier
Michael Beck [Sun, 16 Mar 2008 16:09:28 +0000 (16:09 +0000)]
check the deprecated modifier

[r18955]

16 years agouseless block removed
Michael Beck [Sun, 16 Mar 2008 15:47:31 +0000 (15:47 +0000)]
useless block removed

[r18954]

16 years agorecognize microsoft format specifiers in MS mode
Michael Beck [Sun, 16 Mar 2008 15:45:47 +0000 (15:45 +0000)]
recognize microsoft format specifiers in MS mode

[r18953]

16 years agotypo fixed
Michael Beck [Sun, 16 Mar 2008 15:42:05 +0000 (15:42 +0000)]
typo fixed

[r18952]

16 years agomicrosoft explicit types added
Michael Beck [Sun, 16 Mar 2008 15:41:38 +0000 (15:41 +0000)]
microsoft explicit types added

[r18951]

16 years agoformat checker can now handle normal and wide strings
Michael Beck [Fri, 14 Mar 2008 17:43:03 +0000 (17:43 +0000)]
format checker can now handle normal and wide strings

[r18950]

16 years agoempty initializers should be INITIALIZER_LIST with 0 entries
Matthias Braun [Fri, 14 Mar 2008 16:54:30 +0000 (16:54 +0000)]
empty initializers should be INITIALIZER_LIST with 0 entries

[r18949]

16 years agoavoid endless recursion when printing anonymous enums with init expressions
Matthias Braun [Fri, 14 Mar 2008 16:43:53 +0000 (16:43 +0000)]
avoid endless recursion when printing anonymous enums with init expressions

[r18948]

16 years agomore ...
Michael Beck [Fri, 14 Mar 2008 16:33:35 +0000 (16:33 +0000)]
more ...

[r18947]

16 years agofixed empty initializers printingast.c
Michael Beck [Fri, 14 Mar 2008 16:33:16 +0000 (16:33 +0000)]
fixed empty initializers printingast.c

[r18946]

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]