Matthias Braun [Fri, 28 Nov 2008 11:48:50 +0000 (11:48 +0000)]
I give up with modulo shift - doing the right thing is not compatible with firm at the moment :-(
[r24105]
Christoph Mallon [Fri, 28 Nov 2008 10:32:47 +0000 (10:32 +0000)]
Escape ;, too. Sort.
[r24102]
Matthias Braun [Fri, 28 Nov 2008 10:21:43 +0000 (10:21 +0000)]
more gcc compatibility flags
[r24101]
Matthias Braun [Fri, 28 Nov 2008 09:58:35 +0000 (09:58 +0000)]
implement -print-file-name
[r24100]
Matthias Braun [Fri, 28 Nov 2008 09:43:56 +0000 (09:43 +0000)]
more escaping needed
[r24099]
Matthias Braun [Fri, 28 Nov 2008 09:40:47 +0000 (09:40 +0000)]
crude implementation of -Wp
[r24098]
Christoph Mallon [Fri, 28 Nov 2008 07:31:30 +0000 (07:31 +0000)]
Use fputs/fputc where appropriate.
[r24096]
Christoph Mallon [Fri, 28 Nov 2008 07:23:07 +0000 (07:23 +0000)]
Fix typo.
[r24095]
Christoph Mallon [Fri, 28 Nov 2008 07:01:51 +0000 (07:01 +0000)]
Fix typo in comment, correct other comment.
[r24094]
Michael Beck [Fri, 28 Nov 2008 06:20:10 +0000 (06:20 +0000)]
-some doxygen docu added
[r24091]
Moritz Kroll [Thu, 27 Nov 2008 20:50:12 +0000 (20:50 +0000)]
Adjusted code to mode-less Const and Const_type constructors
[r24089]
Christoph Mallon [Thu, 27 Nov 2008 14:43:50 +0000 (14:43 +0000)]
Handle another GCC perversion: Global arrays without explicit storage class and unspecified length are assumed to have length 1.
[r24061]
Christoph Mallon [Thu, 27 Nov 2008 12:11:38 +0000 (12:11 +0000)]
Update NEWS.
[r24049]
Matthias Braun [Thu, 27 Nov 2008 11:44:47 +0000 (11:44 +0000)]
+TODO
[r24048]
Christoph Mallon [Thu, 27 Nov 2008 11:17:24 +0000 (11:17 +0000)]
Simplify code a bit.
[r24046]
Matthias Braun [Thu, 27 Nov 2008 10:01:14 +0000 (10:01 +0000)]
don't abort if symbol is NULL in record_declaration
[r24039]
Matthias Braun [Thu, 27 Nov 2008 09:43:04 +0000 (09:43 +0000)]
fix builting expect handling and implement taking address of builtin functions (produces warning + NULL pointer)
[r24037]
Christoph Mallon [Thu, 27 Nov 2008 09:08:37 +0000 (09:08 +0000)]
Small cleanup.
[r24034]
Christoph Mallon [Wed, 26 Nov 2008 10:21:12 +0000 (10:21 +0000)]
Resolve redundant declaration warning when parsing the declaration list of k&r functions.
[r24010]
Christoph Mallon [Wed, 26 Nov 2008 10:05:19 +0000 (10:05 +0000)]
Improve error recovery when parsing the declaration list of k&r functions.
[r24008]
Christoph Mallon [Wed, 26 Nov 2008 06:15:08 +0000 (06:15 +0000)]
Let make clean delete builtins.h, too.
[r24007]
Christoph Mallon [Wed, 26 Nov 2008 06:09:45 +0000 (06:09 +0000)]
Update version number.
[r24006]
Christoph Mallon [Tue, 25 Nov 2008 22:22:22 +0000 (22:22 +0000)]
Remove \n, which do not belong into a error message.
[r24005]
Matthias Braun [Tue, 25 Nov 2008 13:38:34 +0000 (13:38 +0000)]
fix transparent unions
[r23987]
Matthias Braun [Tue, 25 Nov 2008 13:35:11 +0000 (13:35 +0000)]
print transparent union modifiers for types
[r23986]
Matthias Braun [Tue, 25 Nov 2008 13:28:17 +0000 (13:28 +0000)]
I should at least compile before commiting
[r23985]
Matthias Braun [Tue, 25 Nov 2008 13:27:40 +0000 (13:27 +0000)]
fix one more problematic omitted conditional case
[r23984]
Matthias Braun [Tue, 25 Nov 2008 13:16:07 +0000 (13:16 +0000)]
fix
[r23983]
Matthias Braun [Tue, 25 Nov 2008 13:11:06 +0000 (13:11 +0000)]
- Introduce ENTITY_PARAMETER
- functions aren't lvalues
[r23981]
Christoph Mallon [Mon, 24 Nov 2008 13:01:35 +0000 (13:01 +0000)]
Improve error recovery, when parsing case statements.
[r23933]
Christoph Mallon [Mon, 24 Nov 2008 13:00:52 +0000 (13:00 +0000)]
Improve warning message, when there are too few format specifiers.
[r23932]
Christoph Mallon [Mon, 24 Nov 2008 10:38:41 +0000 (10:38 +0000)]
'*' and '&' can start declarations with implicit int.
[r23930]
Christoph Mallon [Mon, 24 Nov 2008 10:02:25 +0000 (10:02 +0000)]
Add '' around several %K and %T in error and warning messages.
[r23927]
Christoph Mallon [Fri, 21 Nov 2008 14:18:59 +0000 (14:18 +0000)]
Fix error in last commit.
[r23893]
Christoph Mallon [Fri, 21 Nov 2008 14:16:49 +0000 (14:16 +0000)]
s/bash/sh/ and use tar -C instead of pushd.
[r23892]
Christoph Mallon [Fri, 21 Nov 2008 13:18:05 +0000 (13:18 +0000)]
Not Bourne Again.
[r23885]
Matthias Braun [Fri, 21 Nov 2008 10:17:16 +0000 (10:17 +0000)]
reduce not supported error to a warning
[r23876]
Christoph Mallon [Fri, 21 Nov 2008 10:00:19 +0000 (10:00 +0000)]
k&r style parameters need array/function type to pointer type degeneration, too.
[r23875]
Matthias Braun [Fri, 21 Nov 2008 09:45:04 +0000 (09:45 +0000)]
get rid of scope->parent
[r23874]
Christoph Mallon [Thu, 20 Nov 2008 11:05:43 +0000 (11:05 +0000)]
Remove unreachable statements.
[r23845]
Christoph Mallon [Thu, 20 Nov 2008 10:56:55 +0000 (10:56 +0000)]
Only warn about unreachable declaration statements, if at least one declarator has an initializer.
[r23844]
Christoph Mallon [Thu, 20 Nov 2008 10:48:41 +0000 (10:48 +0000)]
Fix r23842 for for statements without condition.
[r23843]
Christoph Mallon [Thu, 20 Nov 2008 10:46:07 +0000 (10:46 +0000)]
Check for (un)reachable code in statement expressions and initializers.
[r23842]
Christoph Mallon [Thu, 20 Nov 2008 07:29:14 +0000 (07:29 +0000)]
Do not print quotes around __func__ etc., because it is wrong.
[r23841]
Christoph Mallon [Thu, 20 Nov 2008 06:38:02 +0000 (06:38 +0000)]
Whitespace and stuff.
[r23840]
Christoph Mallon [Thu, 20 Nov 2008 06:27:03 +0000 (06:27 +0000)]
Correct precedence for printing ?: in C++ mode.
[r23839]
Christoph Mallon [Wed, 19 Nov 2008 22:25:52 +0000 (22:25 +0000)]
Correct precedence of postfix ++ and -- in the AST-printer.
[r23837]
Christoph Mallon [Wed, 19 Nov 2008 22:11:28 +0000 (22:11 +0000)]
Simplify printing suffix of constants.
[r23836]
Christoph Mallon [Wed, 19 Nov 2008 22:09:01 +0000 (22:09 +0000)]
Fix printing of necessary () in the AST-printer.
[r23835]
Christoph Mallon [Wed, 19 Nov 2008 18:00:34 +0000 (18:00 +0000)]
Handle static __thread local variables in ast2firm.
[r23825]
Christoph Mallon [Wed, 19 Nov 2008 17:18:37 +0000 (17:18 +0000)]
Improve storage class handling:
- __thread is now a flag instead of three extra storage classes
- Add semantic checks for wrong storage classes (and inline) in declarations.
[r23820]
Michael Beck [Wed, 19 Nov 2008 12:45:52 +0000 (12:45 +0000)]
- handle const and volatile qualifiers right, ignore others
[r23815]
Christoph Mallon [Wed, 19 Nov 2008 12:24:55 +0000 (12:24 +0000)]
Counter-fix add_flag().
[r23811]
Michael Beck [Wed, 19 Nov 2008 12:23:29 +0000 (12:23 +0000)]
- add missing default
[r23810]
Michael Beck [Wed, 19 Nov 2008 12:20:02 +0000 (12:20 +0000)]
add unsigned char type
[r23808]
Michael Beck [Wed, 19 Nov 2008 12:05:36 +0000 (12:05 +0000)]
- add '['
- fix 's', 'S'
[r23805]
Michael Beck [Wed, 19 Nov 2008 11:43:30 +0000 (11:43 +0000)]
- first version of scanf parameter check
[r23803]
Christoph Mallon [Wed, 19 Nov 2008 10:59:14 +0000 (10:59 +0000)]
extern reference variables may be uninitialized.
[r23802]
Michael Beck [Wed, 19 Nov 2008 10:54:53 +0000 (10:54 +0000)]
- fixed Win32 version of add_flag again
[r23801]
Christoph Mallon [Wed, 19 Nov 2008 10:52:21 +0000 (10:52 +0000)]
Expressions with reference type are lvalues.
[r23800]
Christoph Mallon [Wed, 19 Nov 2008 09:37:04 +0000 (09:37 +0000)]
Function types as parameters work again.
[r23796]
Christoph Mallon [Wed, 19 Nov 2008 09:02:39 +0000 (09:02 +0000)]
skip_typeref().
[r23795]
Christoph Mallon [Wed, 19 Nov 2008 08:46:59 +0000 (08:46 +0000)]
Turn the two bool parameters of parse_declarator() into an enum.
[r23794]
Christoph Mallon [Wed, 19 Nov 2008 07:41:23 +0000 (07:41 +0000)]
Improve error message.
[r23793]
Christoph Mallon [Wed, 19 Nov 2008 07:39:18 +0000 (07:39 +0000)]
Ensure that references are initialised.
[r23792]
Christoph Mallon [Wed, 19 Nov 2008 07:07:51 +0000 (07:07 +0000)]
Put warning under warning.other flag.
[r23791]
Christoph Mallon [Tue, 18 Nov 2008 22:11:24 +0000 (22:11 +0000)]
Really call ourselves as promised, otherwise this leads to spurious warnings.
[r23787]
Christoph Mallon [Tue, 18 Nov 2008 22:06:39 +0000 (22:06 +0000)]
Factorise macro.
[r23786]
Christoph Mallon [Tue, 18 Nov 2008 22:04:32 +0000 (22:04 +0000)]
Be more consistent, when talking about types in error messages.
[r23785]
Christoph Mallon [Tue, 18 Nov 2008 21:59:49 +0000 (21:59 +0000)]
Cite the standard and adhere it a bit more.
[r23783]
Christoph Mallon [Tue, 18 Nov 2008 21:29:18 +0000 (21:29 +0000)]
- Factorise code to check the semantic of conditions
- Always set the result type of && and ||
- Do semantic check for the condition of if-statements.
[r23781]
Christoph Mallon [Tue, 18 Nov 2008 19:29:37 +0000 (19:29 +0000)]
Fix last commit.
[r23779]
Christoph Mallon [Tue, 18 Nov 2008 19:26:58 +0000 (19:26 +0000)]
Add semantic check: §6.8.5:2 The controlling expression of an iteration statement shall have scalar type.
[r23778]
Christoph Mallon [Tue, 18 Nov 2008 19:10:33 +0000 (19:10 +0000)]
Simplify if-cascade.
[r23775]
Christoph Mallon [Tue, 18 Nov 2008 18:56:47 +0000 (18:56 +0000)]
Fix r23726.
[r23774]
Michael Beck [Tue, 18 Nov 2008 16:13:45 +0000 (16:13 +0000)]
- better (and hopefully correct) implementation of __based pointer
[r23767]
Christoph Mallon [Tue, 18 Nov 2008 14:54:54 +0000 (14:54 +0000)]
One more fix for r23739: extern declarations may be incomplete.
[r23762]
Christoph Mallon [Tue, 18 Nov 2008 14:47:04 +0000 (14:47 +0000)]
Fix r23739 (rejecting declarations of incomplete type) for arrays with unknown size, but with initializer.
[r23760]
Christoph Mallon [Tue, 18 Nov 2008 14:39:59 +0000 (14:39 +0000)]
Parse C++ references.
[r23759]
Christoph Mallon [Tue, 18 Nov 2008 07:51:07 +0000 (07:51 +0000)]
Put error for goto over VLA onto the TODO list.
[r23741]
Christoph Mallon [Mon, 17 Nov 2008 18:32:07 +0000 (18:32 +0000)]
Reject variable declarations of incomplete type.
[r23739]
Christoph Mallon [Mon, 17 Nov 2008 14:31:23 +0000 (14:31 +0000)]
Do not mangle restrict qualifiers.
[r23731]
Christoph Mallon [Mon, 17 Nov 2008 12:06:25 +0000 (12:06 +0000)]
Handle mangling of anonymous types, which only have a typedef name.
[r23726]
Christoph Mallon [Mon, 17 Nov 2008 11:04:20 +0000 (11:04 +0000)]
Fix off-by-one error in error message.
[r23725]
Christoph Mallon [Mon, 17 Nov 2008 11:01:55 +0000 (11:01 +0000)]
Remove pointless assert().
[r23724]
Christoph Mallon [Mon, 17 Nov 2008 10:59:41 +0000 (10:59 +0000)]
Indentation and stuff.
[r23723]
Christoph Mallon [Mon, 17 Nov 2008 10:53:01 +0000 (10:53 +0000)]
Merge semantic_compound() into parse_compound_declarators().
[r23722]
Christoph Mallon [Mon, 17 Nov 2008 10:34:26 +0000 (10:34 +0000)]
Compound types are incomplete until the }.
[r23721]
Christoph Mallon [Mon, 17 Nov 2008 10:22:34 +0000 (10:22 +0000)]
s/puts("")/putchar(n)/.
[r23720]
Christoph Mallon [Mon, 17 Nov 2008 09:08:27 +0000 (09:08 +0000)]
Improve r23717, because it broke non-WIN32 (cpp is unhappy about -DNAME= and DEFN as separate parameters) and further there are more add_flag() which may contain spaces.
[r23719]
Michael Beck [Mon, 17 Nov 2008 01:14:41 +0000 (01:14 +0000)]
- parsing of __based implemented (more semantic in assignment might be needed)
[r23718]
Michael Beck [Mon, 17 Nov 2008 00:52:48 +0000 (00:52 +0000)]
- windows does not handle \_, use quotes
- fixed if( style
[r23717]
Matthias Braun [Sun, 16 Nov 2008 23:16:20 +0000 (23:16 +0000)]
keep it simple and stupid: cast to unsigned instead of messing around with SIZET_FMT define
[r23715]
Michael Beck [Sun, 16 Nov 2008 22:35:01 +0000 (22:35 +0000)]
- %zu is not supported on windows
- kicked some obstack_printf()
[r23714]
Christoph Mallon [Sun, 16 Nov 2008 15:47:06 +0000 (15:47 +0000)]
Implement mangling of complex and imaginary types.
[r23713]
Christoph Mallon [Sun, 16 Nov 2008 15:39:27 +0000 (15:39 +0000)]
Partially implement mangling of array types.
[r23712]
Christoph Mallon [Sun, 16 Nov 2008 14:43:26 +0000 (14:43 +0000)]
Partially implement mangling of enum types.
[r23711]
Christoph Mallon [Sun, 16 Nov 2008 14:30:09 +0000 (14:30 +0000)]
Partially implement mangling of compound types.
[r23710]
Christoph Mallon [Sun, 16 Nov 2008 12:07:09 +0000 (12:07 +0000)]
Process calling convention attributes again.
[r23709]
Christoph Mallon [Sun, 16 Nov 2008 11:45:53 +0000 (11:45 +0000)]
Remove wrong \n.
[r23708]