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

16 years agofix for last commit
Matthias Braun [Fri, 30 May 2008 12:00:45 +0000 (12:00 +0000)]
fix for last commit

[r19835]

16 years agounion init test (copied from firm)
Matthias Braun [Fri, 30 May 2008 11:37:15 +0000 (11:37 +0000)]
union init test (copied from firm)

[r19834]

16 years agoreorganized some test programs
Matthias Braun [Fri, 30 May 2008 11:17:34 +0000 (11:17 +0000)]
reorganized some test programs

[r19832]

16 years agobetter approach towards the parsing problems
Matthias Braun [Fri, 30 May 2008 10:36:59 +0000 (10:36 +0000)]
better approach towards the parsing problems

[r19831]

16 years agomake parser more robust against invalid declarations
Matthias Braun [Fri, 30 May 2008 08:57:45 +0000 (08:57 +0000)]
make parser more robust against invalid declarations

[r19830]

16 years agomake parser more robust against invalid declarations
Matthias Braun [Fri, 30 May 2008 08:57:39 +0000 (08:57 +0000)]
make parser more robust against invalid declarations

[r19829]

16 years ago- Moved cp_errot030.c to shouldfail/wrongtype.c, as it should fail
Michael Beck [Thu, 29 May 2008 09:09:04 +0000 (09:09 +0000)]
- Moved cp_errot030.c to shouldfail/wrongtype.c, as it should fail
- now really crashes cparser

[r19826]

16 years agocparser crashes...
Michael Beck [Wed, 28 May 2008 13:24:15 +0000 (13:24 +0000)]
cparser crashes...

[r19811]

16 years agofixed handling of -b
Michael Beck [Wed, 28 May 2008 12:59:20 +0000 (12:59 +0000)]
fixed handling of -b

[r19809]

16 years agofixed warning for 64bit build
Michael Beck [Wed, 28 May 2008 12:53:43 +0000 (12:53 +0000)]
fixed warning for 64bit build

[r19808]

16 years agonon-existing entities must have peculiarity_description
Michael Beck [Tue, 27 May 2008 13:41:15 +0000 (13:41 +0000)]
non-existing entities must have peculiarity_description

[r19795]

16 years agofix bug with big octal sequences
Matthias Braun [Tue, 27 May 2008 12:50:28 +0000 (12:50 +0000)]
fix bug with big octal sequences

[r19793]

16 years agoone more
Matthias Braun [Tue, 27 May 2008 12:43:09 +0000 (12:43 +0000)]
one more

[r19792]

16 years agomake extensions starting with __ available for all configurations
Matthias Braun [Tue, 27 May 2008 12:36:21 +0000 (12:36 +0000)]
make extensions starting with __ available for all configurations

[r19791]

16 years agomake extensions starting with __ available for all configurations
Matthias Braun [Tue, 27 May 2008 12:31:30 +0000 (12:31 +0000)]
make extensions starting with __ available for all configurations

[r19790]

16 years agorework struct/union type creation, fix error 26
Matthias Braun [Tue, 27 May 2008 12:22:29 +0000 (12:22 +0000)]
rework struct/union type creation, fix error 26

[r19789]

16 years agomore errors
Matthias Braun [Tue, 27 May 2008 12:21:57 +0000 (12:21 +0000)]
more errors

[r19788]

16 years agowe have to skip the expected type as well in some cases
Matthias Braun [Tue, 27 May 2008 11:57:12 +0000 (11:57 +0000)]
we have to skip the expected type as well in some cases

[r19787]

16 years agonew error
Matthias Braun [Tue, 27 May 2008 11:33:15 +0000 (11:33 +0000)]
new error

[r19785]

16 years agoadd a panic for unimplemented initializer creation
Matthias Braun [Mon, 26 May 2008 08:19:03 +0000 (08:19 +0000)]
add a panic for unimplemented initializer creation

[r19767]

16 years agoimprove mode attribute parsing/skipping
Matthias Braun [Mon, 26 May 2008 08:18:47 +0000 (08:18 +0000)]
improve mode attribute parsing/skipping

[r19766]

16 years agoimplement null initializers for types on the stack
Matthias Braun [Sun, 25 May 2008 11:30:53 +0000 (11:30 +0000)]
implement null initializers for types on the stack

[r19763]

16 years agoadd mode attribute parsing
Matthias Braun [Sun, 25 May 2008 11:30:19 +0000 (11:30 +0000)]
add mode attribute parsing

[r19762]

16 years agoadd mode attribute parsing
Matthias Braun [Sun, 25 May 2008 11:30:08 +0000 (11:30 +0000)]
add mode attribute parsing

[r19761]

16 years agoadd -mcpu option
Michael Beck [Mon, 12 May 2008 16:29:03 +0000 (16:29 +0000)]
add -mcpu option

[r19587]

16 years agochanged for new inline I/F
Michael Beck [Mon, 5 May 2008 11:13:21 +0000 (11:13 +0000)]
changed for new inline I/F

[r19514]

16 years agoset the floating point model for the firm graph
Michael Beck [Sat, 3 May 2008 17:38:04 +0000 (17:38 +0000)]
set the floating point model for the firm graph

[r19498]

16 years agoadded -march, -mtune, -mfpu
Michael Beck [Sat, 3 May 2008 16:45:15 +0000 (16:45 +0000)]
added -march, -mtune, -mfpu

[r19497]

16 years agoadd -pg support, globals removed
Michael Beck [Mon, 14 Apr 2008 11:17:31 +0000 (11:17 +0000)]
add -pg support, globals removed

[r19277]

16 years agosynchronized with edgfe, using new inline heuristic
Michael Beck [Fri, 11 Apr 2008 14:20:19 +0000 (14:20 +0000)]
synchronized with edgfe, using new inline heuristic

[r19246]

16 years ago__attribute__((sentinel)) is first available in GCC 4.
Christoph Mallon [Fri, 4 Apr 2008 11:43:18 +0000 (11:43 +0000)]
__attribute__((sentinel)) is first available in GCC 4.

[r19118]

16 years agowe can safely enable set_opt_sel_based_null_check_elim() because we use Sel's only...
Michael Beck [Thu, 3 Apr 2008 13:17:40 +0000 (13:17 +0000)]
we can safely enable set_opt_sel_based_null_check_elim() because we use Sel's only for compound member access

[r19091]

16 years ago- fixed ld_name for Win32 and Mach-O
Michael Beck [Wed, 2 Apr 2008 23:22:55 +0000 (23:22 +0000)]
- fixed ld_name for Win32 and Mach-O
- add options -f mac, -f linux
- set the default mode depending on the host OS

[r19082]

16 years agouse new id_unique
Matthias Braun [Wed, 2 Apr 2008 22:05:05 +0000 (22:05 +0000)]
use new id_unique

[r19080]

16 years agoswitch off usage of global_pointer again: globals are only SymConsts. -fpic will...
Michael Beck [Wed, 2 Apr 2008 18:34:23 +0000 (18:34 +0000)]
switch off usage of global_pointer again: globals are only SymConsts. -fpic will be completely handled by the beabi

[r19074]

16 years ago-fpic implemented
Michael Beck [Wed, 2 Apr 2008 14:25:36 +0000 (14:25 +0000)]
-fpic implemented

[r19070]

16 years agofix wrong usage of idx_fmt (detected by a compiler warning)
Matthias Braun [Tue, 25 Mar 2008 09:28:18 +0000 (09:28 +0000)]
fix wrong usage of idx_fmt (detected by a compiler warning)

[r19023]

16 years agoimproved is_type_arithmetic()
Michael Beck [Sat, 22 Mar 2008 23:13:04 +0000 (23:13 +0000)]
improved is_type_arithmetic()

[r19022]

16 years agointroduce distinct complex and imaginary types
Michael Beck [Sat, 22 Mar 2008 22:54:50 +0000 (22:54 +0000)]
introduce distinct complex and imaginary types

[r19021]

16 years agofixed indentation
Michael Beck [Sat, 22 Mar 2008 19:46:36 +0000 (19:46 +0000)]
fixed indentation

[r19020]

16 years ago- removed useless symbol from reference expression
Michael Beck [Sat, 22 Mar 2008 19:44:18 +0000 (19:44 +0000)]
- removed useless symbol from reference expression
- improved format checker

[r19019]

16 years ago- renamed modifier to decl_modifier
Michael Beck [Sat, 22 Mar 2008 18:02:30 +0000 (18:02 +0000)]
- renamed modifier to decl_modifier
- fixed ld_name for win32 build

[r19018]

16 years agoanother test
Matthias Braun [Sat, 22 Mar 2008 12:57:20 +0000 (12:57 +0000)]
another test

[r19017]

16 years agoanother test
Matthias Braun [Sat, 22 Mar 2008 12:56:38 +0000 (12:56 +0000)]
another test

[r19016]

16 years agoanother test
Matthias Braun [Sat, 22 Mar 2008 12:48:35 +0000 (12:48 +0000)]
another test

[r19015]

16 years agoanother test
Matthias Braun [Sat, 22 Mar 2008 12:45:28 +0000 (12:45 +0000)]
another test

[r19014]

16 years agoanother test
Matthias Braun [Sat, 22 Mar 2008 12:44:35 +0000 (12:44 +0000)]
another test

[r19013]

16 years agotest commit
Matthias Braun [Sat, 22 Mar 2008 12:40:26 +0000 (12:40 +0000)]
test commit

[r19012]

16 years agotestcommit
Matthias Braun [Sat, 22 Mar 2008 12:22:57 +0000 (12:22 +0000)]
testcommit

[r19011]

16 years agotest commit
Matthias Braun [Sat, 22 Mar 2008 12:17:59 +0000 (12:17 +0000)]
test commit

[r19010]

16 years agoTODO update
Matthias Braun [Sat, 22 Mar 2008 12:16:05 +0000 (12:16 +0000)]
TODO update

[r19009]

16 years agofloat type alignment will be set later
Matthias Braun [Sat, 22 Mar 2008 11:49:04 +0000 (11:49 +0000)]
float type alignment will be set later

[r19008]

16 years ago- make use of new atomic_type_properties in ast2firm
Matthias Braun [Sat, 22 Mar 2008 11:42:19 +0000 (11:42 +0000)]
- make use of new atomic_type_properties in ast2firm
- rename base struct member from type to base in all types
- code cleanup

[r19007]

16 years agoavoid warning
Matthias Braun [Sat, 22 Mar 2008 10:33:07 +0000 (10:33 +0000)]
avoid warning

[r19006]