cparser
16 years agoAdded 'outdefined' call to switch lowering.
Moritz Kroll [Fri, 1 Aug 2008 02:07:14 +0000 (02:07 +0000)]
Added 'outdefined' call to switch lowering.

[r20873]

16 years agotestcase: __inline__ declaration without implementation aborts cparser
Moritz Kroll [Thu, 31 Jul 2008 19:27:28 +0000 (19:27 +0000)]
testcase: __inline__ declaration without implementation aborts cparser

[r20858]

16 years agoAdded VC8/9 project with ICC. No config.h in SVN, but Makefile will copy default...
Moritz Kroll [Thu, 31 Jul 2008 18:45:44 +0000 (18:45 +0000)]
Added VC8/9 project with ICC. No config.h in SVN, but Makefile will copy default (special version for win32 in win32 folder)

[r20852]

16 years agofix parser crash
Matthias Braun [Thu, 31 Jul 2008 13:07:32 +0000 (13:07 +0000)]
fix parser crash

[r20835]

16 years agodo something with some of the gnu attributes
Matthias Braun [Thu, 31 Jul 2008 09:18:06 +0000 (09:18 +0000)]
do something with some of the gnu attributes

[r20829]

16 years agomore obscure constant expressions
Matthias Braun [Wed, 30 Jul 2008 19:37:22 +0000 (19:37 +0000)]
more obscure constant expressions

[r20826]

16 years agomore constant expression fun
Matthias Braun [Wed, 30 Jul 2008 19:10:38 +0000 (19:10 +0000)]
more constant expression fun

[r20825]

16 years agocorrectly escape cpp and ldflags
Matthias Braun [Wed, 30 Jul 2008 19:06:25 +0000 (19:06 +0000)]
correctly escape cpp and ldflags

[r20824]

16 years agoadd support for -M dependency creation modes
Matthias Braun [Wed, 30 Jul 2008 18:49:53 +0000 (18:49 +0000)]
add support for -M dependency creation modes

[r20823]

16 years agoconst with typeref from an array needs special treatment
Matthias Braun [Wed, 30 Jul 2008 18:49:37 +0000 (18:49 +0000)]
const with typeref from an array needs special treatment

[r20822]

16 years agoanother error
Matthias Braun [Wed, 30 Jul 2008 18:43:41 +0000 (18:43 +0000)]
another error

[r20821]

16 years agodon't forget to skip typerefs
Matthias Braun [Wed, 30 Jul 2008 14:49:51 +0000 (14:49 +0000)]
don't forget to skip typerefs

[r20816]

16 years agodon't forget to skip typerefs
Matthias Braun [Wed, 30 Jul 2008 14:48:33 +0000 (14:48 +0000)]
don't forget to skip typerefs

[r20815]

16 years agodo correct semantic check for pointer arithmetic, support gcc void* arithmetic extension
Matthias Braun [Wed, 30 Jul 2008 14:46:32 +0000 (14:46 +0000)]
do correct semantic check for pointer arithmetic, support gcc void* arithmetic extension

[r20814]

16 years agoignore some gcc options
Matthias Braun [Wed, 30 Jul 2008 14:45:51 +0000 (14:45 +0000)]
ignore some gcc options

[r20813]

16 years agoreorganized tests
Matthias Braun [Wed, 30 Jul 2008 14:44:59 +0000 (14:44 +0000)]
reorganized tests

[r20812]

16 years agomore pointer arith tests
Matthias Braun [Wed, 30 Jul 2008 14:39:42 +0000 (14:39 +0000)]
more pointer arith tests

[r20811]

16 years agopointer arithmetic only allowed with object types
Matthias Braun [Wed, 30 Jul 2008 13:51:50 +0000 (13:51 +0000)]
pointer arithmetic only allowed with object types

[r20809]

16 years agoSynchronized with edgfe:
Michael Beck [Wed, 30 Jul 2008 01:11:08 +0000 (01:11 +0000)]
Synchronized with edgfe:
 - add -f combo option
 - fixed cgana timing
 - moved tail-rec before call optimization (fixed fak.c)

[r20780]

16 years agoimprovements/fixes for asm statement
Matthias Braun [Tue, 29 Jul 2008 09:10:32 +0000 (09:10 +0000)]
improvements/fixes for asm statement

[r20750]

16 years agoimplement asm nodes
Matthias Braun [Tue, 29 Jul 2008 07:08:34 +0000 (07:08 +0000)]
implement asm nodes

[r20747]

16 years agocorrect fix
Matthias Braun [Mon, 28 Jul 2008 07:29:10 +0000 (07:29 +0000)]
correct fix

[r20722]

16 years agoavoid SIZE_TYPE redefined warning
Matthias Braun [Mon, 28 Jul 2008 07:26:36 +0000 (07:26 +0000)]
avoid SIZE_TYPE redefined warning

[r20721]

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

[r20689]

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

[r20685]

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

[r20682]

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

[r20681]

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

[r20680]

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

[r20646]

16 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]

16 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]

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

[r20452]

16 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]

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

[r20450]

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

[r20449]

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

[r20448]

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

[r20446]

16 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]

16 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]

16 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]