cparser
15 years agorevert accidental commit
Matthias Braun [Fri, 25 Jul 2008 11:06:06 +0000 (11:06 +0000)]
revert accidental commit

[r20689]

15 years agoFix builtin implementations.
Christoph Mallon [Fri, 25 Jul 2008 10:25:40 +0000 (10:25 +0000)]
Fix builtin implementations.

[r20685]

15 years agomakefile fix
Matthias Braun [Fri, 25 Jul 2008 09:07:23 +0000 (09:07 +0000)]
makefile fix

[r20682]

15 years agomore builtins
Matthias Braun [Fri, 25 Jul 2008 09:04:50 +0000 (09:04 +0000)]
more builtins

[r20681]

15 years agosupport for libc builtins
Matthias Braun [Fri, 25 Jul 2008 08:59:48 +0000 (08:59 +0000)]
support for libc builtins

[r20680]

15 years agofix warning
Matthias Braun [Thu, 24 Jul 2008 07:15:52 +0000 (07:15 +0000)]
fix warning

[r20646]

15 years agotestcase for gc too aggressive
Matthias Braun [Wed, 23 Jul 2008 17:36:24 +0000 (17:36 +0000)]
testcase for gc too aggressive

[r20633]

15 years agoprepareations for 0.9.5 release
Matthias Braun [Mon, 14 Jul 2008 14:28:55 +0000 (14:28 +0000)]
prepareations for 0.9.5 release

[r20453]

15 years agomore tests
Matthias Braun [Mon, 14 Jul 2008 14:27:08 +0000 (14:27 +0000)]
more tests

[r20452]

15 years agosome more testcases I had lying around here
Matthias Braun [Mon, 14 Jul 2008 14:26:30 +0000 (14:26 +0000)]
some more testcases I had lying around here

[r20451]

15 years agoreally fix cp_error035
Matthias Braun [Mon, 14 Jul 2008 14:14:09 +0000 (14:14 +0000)]
really fix cp_error035

[r20450]

15 years agofix cp_error035
Matthias Braun [Mon, 14 Jul 2008 14:09:58 +0000 (14:09 +0000)]
fix cp_error035

[r20449]

15 years agosync driver with edgfe
Matthias Braun [Mon, 14 Jul 2008 14:04:53 +0000 (14:04 +0000)]
sync driver with edgfe

[r20448]

15 years agosync driver with firm
Matthias Braun [Mon, 14 Jul 2008 14:01:02 +0000 (14:01 +0000)]
sync driver with firm

[r20446]

15 years agofix warnings, fix gasmode selection on linux
Matthias Braun [Mon, 14 Jul 2008 13:58:26 +0000 (13:58 +0000)]
fix warnings, fix gasmode selection on linux

[r20445]

15 years agoerror biting us with 'make bootstrap2'
Matthias Braun [Mon, 14 Jul 2008 13:54:47 +0000 (13:54 +0000)]
error biting us with 'make bootstrap2'

[r20444]

15 years agofix input from stdin
Matthias Braun [Fri, 11 Jul 2008 08:24:14 +0000 (08:24 +0000)]
fix input from stdin

[r20422]

16 years agofix do_while
Matthias Braun [Wed, 25 Jun 2008 08:32:01 +0000 (08:32 +0000)]
fix do_while

[r20253]

16 years agoadd space after if, improve while_statement_to_firm
Matthias Braun [Wed, 25 Jun 2008 08:26:49 +0000 (08:26 +0000)]
add space after if, improve while_statement_to_firm

[r20252]

16 years agodon't fail on missing erturn value
Matthias Braun [Wed, 25 Jun 2008 08:26:30 +0000 (08:26 +0000)]
don't fail on missing erturn value

[r20251]

16 years agofix linking mode
Matthias Braun [Wed, 25 Jun 2008 08:26:10 +0000 (08:26 +0000)]
fix linking mode

[r20250]

16 years agoBugFix: return invalid statement for invalid goto
Michael Beck [Mon, 23 Jun 2008 12:58:04 +0000 (12:58 +0000)]
BugFix: return invalid statement for invalid goto

[r20219]

16 years agosynchronized with eccp
Michael Beck [Fri, 20 Jun 2008 13:00:52 +0000 (13:00 +0000)]
synchronized with eccp

[r20193]

16 years agoFixed uninitialized empty array descriptor
Moritz Kroll [Thu, 12 Jun 2008 20:27:15 +0000 (20:27 +0000)]
Fixed uninitialized empty array descriptor

[r20082]

16 years agowarns as it should, but crashes than
Michael Beck [Thu, 12 Jun 2008 11:26:09 +0000 (11:26 +0000)]
warns as it should, but crashes than

[r20077]

16 years agoavoid enum constant folding problems in ast2firm
Matthias Braun [Fri, 6 Jun 2008 17:29:37 +0000 (17:29 +0000)]
avoid enum constant folding problems in ast2firm

[r20016]

16 years agoupdate TODO, fox error33
Matthias Braun [Fri, 6 Jun 2008 17:28:49 +0000 (17:28 +0000)]
update TODO, fox error33

[r20015]

16 years agofix error34
Matthias Braun [Fri, 6 Jun 2008 17:28:28 +0000 (17:28 +0000)]
fix error34

[r20014]

16 years agoerror 34
Matthias Braun [Fri, 6 Jun 2008 16:59:53 +0000 (16:59 +0000)]
error 34

[r20013]

16 years agosynchronize with eccp
Michael Beck [Fri, 6 Jun 2008 13:50:14 +0000 (13:50 +0000)]
synchronize with eccp

[r20005]

16 years agowe're compiling 32bit, use -m32 for cpp
Matthias Braun [Wed, 4 Jun 2008 17:03:44 +0000 (17:03 +0000)]
we're compiling 32bit, use -m32 for cpp

[r19982]

16 years agofix entities
Matthias Braun [Wed, 4 Jun 2008 16:43:05 +0000 (16:43 +0000)]
fix entities

[r19981]

16 years agobuild assign from left to right
Matthias Braun [Wed, 4 Jun 2008 14:51:05 +0000 (14:51 +0000)]
build assign from left to right

[r19979]

16 years agoeven simpler
Matthias Braun [Wed, 4 Jun 2008 13:39:47 +0000 (13:39 +0000)]
even simpler

[r19976]

16 years agosimpler testcase
Matthias Braun [Wed, 4 Jun 2008 13:24:37 +0000 (13:24 +0000)]
simpler testcase

[r19974]

16 years agosimpler testcase
Matthias Braun [Wed, 4 Jun 2008 13:24:12 +0000 (13:24 +0000)]
simpler testcase

[r19973]

16 years agotestcase
Matthias Braun [Wed, 4 Jun 2008 13:23:02 +0000 (13:23 +0000)]
testcase

[r19972]

16 years agoadd missing files
Matthias Braun [Wed, 4 Jun 2008 13:16:24 +0000 (13:16 +0000)]
add missing files

[r19971]

16 years agoupdate hashset, try to identify all global function entities
Matthias Braun [Wed, 4 Jun 2008 12:34:29 +0000 (12:34 +0000)]
update hashset, try to identify all global function entities

[r19969]

16 years agocomma is a passthrough and might produce mode_b
Matthias Braun [Tue, 3 Jun 2008 22:14:51 +0000 (22:14 +0000)]
comma is a passthrough and might produce mode_b

[r19959]

16 years agoprototypes should override non-prototypes
Matthias Braun [Tue, 3 Jun 2008 15:11:21 +0000 (15:11 +0000)]
prototypes should override non-prototypes

[r19958]

16 years agovery simplistic linking mode
Matthias Braun [Tue, 3 Jun 2008 13:43:41 +0000 (13:43 +0000)]
very simplistic linking mode

[r19952]

16 years agofix double transformation of expressions in var_arg_expression
Matthias Braun [Mon, 2 Jun 2008 21:29:34 +0000 (21:29 +0000)]
fix double transformation of expressions in var_arg_expression

[r19949]

16 years agocleanup code
Matthias Braun [Mon, 2 Jun 2008 21:14:27 +0000 (21:14 +0000)]
cleanup code

[r19948]

16 years agofix kr2.c
Matthias Braun [Mon, 2 Jun 2008 20:25:34 +0000 (20:25 +0000)]
fix kr2.c

[r19947]

16 years agoprecedence of shift was wrong
Matthias Braun [Mon, 2 Jun 2008 15:17:03 +0000 (15:17 +0000)]
precedence of shift was wrong

[r19944]

16 years agoFix incorrect format check warnings.
Christoph Mallon [Mon, 2 Jun 2008 15:07:02 +0000 (15:07 +0000)]
Fix incorrect format check warnings.

[r19943]

16 years agobuiltin_nanf is const
Matthias Braun [Mon, 2 Jun 2008 15:00:19 +0000 (15:00 +0000)]
builtin_nanf is const

[r19941]

16 years agouse size_t or ssize_t for array offsets
Matthias Braun [Mon, 2 Jun 2008 14:44:04 +0000 (14:44 +0000)]
use size_t or ssize_t for array offsets

[r19940]

16 years agomore tricky kr things
Matthias Braun [Mon, 2 Jun 2008 14:09:50 +0000 (14:09 +0000)]
more tricky kr things

[r19934]

16 years agofix shouldfail part of testscript
Matthias Braun [Mon, 2 Jun 2008 13:53:20 +0000 (13:53 +0000)]
fix shouldfail part of testscript

[r19933]

16 years agofix handling of kr style functions
Matthias Braun [Mon, 2 Jun 2008 13:45:39 +0000 (13:45 +0000)]
fix handling of kr style functions

[r19932]

16 years agoadded option -momit-leaf-frame-pointer
Michael Beck [Mon, 2 Jun 2008 13:42:26 +0000 (13:42 +0000)]
added option -momit-leaf-frame-pointer

[r19931]

16 years agofix parsing of some struct initializers
Matthias Braun [Mon, 2 Jun 2008 11:41:53 +0000 (11:41 +0000)]
fix parsing of some struct initializers

[r19924]

16 years agoadd option -Wreturn-type
Michael Beck [Mon, 2 Jun 2008 11:32:06 +0000 (11:32 +0000)]
add option -Wreturn-type

[r19923]

16 years agoonly build switch fallthrough block when needed
Matthias Braun [Mon, 2 Jun 2008 11:14:26 +0000 (11:14 +0000)]
only build switch fallthrough block when needed

[r19922]

16 years agowarn if missing return
Michael Beck [Mon, 2 Jun 2008 11:13:50 +0000 (11:13 +0000)]
warn if missing return

[r19921]

16 years agoadd test for missing returns
Michael Beck [Mon, 2 Jun 2008 11:09:58 +0000 (11:09 +0000)]
add test for missing returns

[r19920]

16 years agochecks for missing return are done in ast2firm yet
Michael Beck [Mon, 2 Jun 2008 11:08:37 +0000 (11:08 +0000)]
checks for missing return are done in ast2firm yet

[r19919]

16 years agoonly construct fallthrough block if needed for an if
Matthias Braun [Mon, 2 Jun 2008 10:57:03 +0000 (10:57 +0000)]
only construct fallthrough block if needed for an if

[r19918]

16 years agoadd checks for missing return statement
Michael Beck [Mon, 2 Jun 2008 10:32:32 +0000 (10:32 +0000)]
add checks for missing return statement

[r19916]

16 years ago- make sure no expression is built twice
Matthias Braun [Mon, 2 Jun 2008 10:31:42 +0000 (10:31 +0000)]
- make sure no expression is built twice
- rework creation of arithmetic assign statements
- rework handling of bitfields

[r19915]

16 years ago- Add missing skip_typeref()
Christoph Mallon [Mon, 2 Jun 2008 08:52:21 +0000 (08:52 +0000)]
- Add missing skip_typeref()
- Check for lvalue/const/incomplete type for assignments

[r19913]

16 years agomore fixes for bitfield type
Matthias Braun [Sun, 1 Jun 2008 22:44:06 +0000 (22:44 +0000)]
more fixes for bitfield type

[r19912]

16 years agobitfield is a complete type
Matthias Braun [Sun, 1 Jun 2008 22:28:08 +0000 (22:28 +0000)]
bitfield is a complete type

[r19911]

16 years ago- add option -version (in contrast to --version)
Michael Beck [Sun, 1 Jun 2008 19:55:45 +0000 (19:55 +0000)]
- add option -version (in contrast to --version)
- add option -m32
- add option -mprefered-stack-boundary
- renamed -mfpu to right -mfpmath option

[r19909]

16 years ago- fixed typos
Michael Beck [Sun, 1 Jun 2008 19:01:41 +0000 (19:01 +0000)]
- fixed typos
- fixed a warning
- added some doxygen comments

[r19908]

16 years agotestcase for sideeffects problems
Matthias Braun [Sun, 1 Jun 2008 14:28:35 +0000 (14:28 +0000)]
testcase for sideeffects problems

[r19905]

16 years agoRecord the source position of alignof and sizeof. Disallow incomplete, function desig...
Christoph Mallon [Sun, 1 Jun 2008 14:28:04 +0000 (14:28 +0000)]
Record the source position of alignof and sizeof. Disallow incomplete, function designator and bitfield types as operands.

[r19904]

16 years agoBugFix: add erronously deleted break
Michael Beck [Sun, 1 Jun 2008 14:26:39 +0000 (14:26 +0000)]
BugFix: add erronously deleted break

[r19903]

16 years agoFix typo in parse_alignof(): s/EXPR_SIZEOF/EXPR_ALIGNOF/.
Christoph Mallon [Sun, 1 Jun 2008 13:47:30 +0000 (13:47 +0000)]
Fix typo in parse_alignof(): s/EXPR_SIZEOF/EXPR_ALIGNOF/.

[r19901]

16 years agosizeof(function_designator) is not allowed.
Christoph Mallon [Sun, 1 Jun 2008 13:44:44 +0000 (13:44 +0000)]
sizeof(function_designator) is not allowed.

[r19900]

16 years ago- used MINGW instead of Win32 again
Michael Beck [Sun, 1 Jun 2008 13:00:30 +0000 (13:00 +0000)]
- used MINGW instead of Win32 again
- alloca must be catched in ALL modes
- alloca must be immediate converted into a Alloc node

[r19899]

16 years agosynchronize with eccp
Michael Beck [Sun, 1 Jun 2008 12:57:42 +0000 (12:57 +0000)]
synchronize with eccp

[r19898]

16 years agoreturn the status code of the preprocessor on -E
Michael Beck [Sun, 1 Jun 2008 11:33:59 +0000 (11:33 +0000)]
return the status code of the preprocessor on -E

[r19896]

16 years agoadd option -E
Michael Beck [Sun, 1 Jun 2008 11:32:25 +0000 (11:32 +0000)]
add option -E

[r19895]

16 years agofix for handling of for scope handling
Matthias Braun [Sat, 31 May 2008 12:44:21 +0000 (12:44 +0000)]
fix for handling of for scope handling

[r19890]

16 years agorework local variable handling:
Matthias Braun [Sat, 31 May 2008 12:28:18 +0000 (12:28 +0000)]
rework local variable handling:
- they're now created when we are at the beginning of the compound statement
   (maybe we should move that scope thing up to the function level...)
- they're still initialized when we are at the declaration_statement
- rework handling of implicitely defined functions. They're now created in the local
  scope

[r19889]

16 years agoimprove/cleanup some tests
Matthias Braun [Sat, 31 May 2008 12:26:16 +0000 (12:26 +0000)]
improve/cleanup some tests

[r19888]

16 years agoremove debug printfs
Matthias Braun [Sat, 31 May 2008 10:40:54 +0000 (10:40 +0000)]
remove debug printfs

[r19886]

16 years agofix rts_mapping code, add alloca mapping
Matthias Braun [Sat, 31 May 2008 10:39:13 +0000 (10:39 +0000)]
fix rts_mapping code, add alloca mapping

[r19883]

16 years agoset alignment for long double
Matthias Braun [Sat, 31 May 2008 09:09:20 +0000 (09:09 +0000)]
set alignment for long double

[r19880]

16 years agofix cp_error032
Matthias Braun [Sat, 31 May 2008 09:02:25 +0000 (09:02 +0000)]
fix cp_error032

[r19879]

16 years agoadd bunch of testapps
Matthias Braun [Sat, 31 May 2008 09:02:11 +0000 (09:02 +0000)]
add bunch of testapps

[r19878]

16 years agoshouldfail tests for prototype checking
Matthias Braun [Sat, 31 May 2008 07:55:33 +0000 (07:55 +0000)]
shouldfail tests for prototype checking

[r19877]

16 years agodo not print uninitialized stuff
Matthias Braun [Sat, 31 May 2008 07:53:25 +0000 (07:53 +0000)]
do not print uninitialized stuff

[r19876]

16 years agoadd shouldpass directory to testscript
Matthias Braun [Sat, 31 May 2008 07:52:22 +0000 (07:52 +0000)]
add shouldpass directory to testscript

[r19875]

16 years agoK&R style parameter lists are not a prototype...
Matthias Braun [Sat, 31 May 2008 07:49:41 +0000 (07:49 +0000)]
K&R style parameter lists are not a prototype...

[r19874]

16 years agofix for firm changes, bugfix: reset saw_default_label
Matthias Braun [Sat, 31 May 2008 06:23:42 +0000 (06:23 +0000)]
fix for firm changes, bugfix: reset saw_default_label

[r19873]

16 years agofix extern inline handling, implement __builtin_huge_val
Matthias Braun [Fri, 30 May 2008 18:11:00 +0000 (18:11 +0000)]
fix extern inline handling, implement __builtin_huge_val

[r19862]

16 years agohugeval test
Matthias Braun [Fri, 30 May 2008 18:10:50 +0000 (18:10 +0000)]
hugeval test

[r19861]

16 years agovalues can be bad, local static vars must have unique names
Matthias Braun [Fri, 30 May 2008 17:35:30 +0000 (17:35 +0000)]
values can be bad, local static vars must have unique names

[r19860]

16 years agoimprove creation of call nodes
Matthias Braun [Fri, 30 May 2008 16:27:03 +0000 (16:27 +0000)]
improve creation of call nodes

[r19858]

16 years agofix crash
Matthias Braun [Fri, 30 May 2008 16:26:34 +0000 (16:26 +0000)]
fix crash

[r19857]

16 years agosynchronized with eccp
Michael Beck [Fri, 30 May 2008 14:58:05 +0000 (14:58 +0000)]
synchronized with eccp

[r19854]

16 years agoadeclar printf
Matthias Braun [Fri, 30 May 2008 14:46:33 +0000 (14:46 +0000)]
adeclar printf

[r19851]

16 years agoadd new shouldpass category
Matthias Braun [Fri, 30 May 2008 14:30:36 +0000 (14:30 +0000)]
add new shouldpass category

[r19850]

16 years agowe dont have an lvalue test, oops
Matthias Braun [Fri, 30 May 2008 14:11:31 +0000 (14:11 +0000)]
we dont have an lvalue test, oops

[r19847]

16 years agoC can do such stupid things...
Matthias Braun [Fri, 30 May 2008 13:52:50 +0000 (13:52 +0000)]
C can do such stupid things...

[r19845]

16 years agoadd missing strict conv for variable initialisation
Matthias Braun [Fri, 30 May 2008 12:01:08 +0000 (12:01 +0000)]
add missing strict conv for variable initialisation

[r19836]