Quick Search:

View detailed chart Line History

line history graph

View Mode

Logical Physical

Show Arbitrary Diff

From to

Supports revisions and tags.

Watches and RSS

History

MAIN 1.393 1.1 BSD_44 1.1.1.1

latest revision download Branch MAIN

1.393 annotated / raw | Diffs: previous, other | Lines: 3512 ( +4, -1 )

Created: 2014-10-11 12:53:14 +0200 (20 days ago) | Author: ragge | Changeset: MAIN:ragge:20141011105314

gcc seems to expect alignment of void to be 1, so we conform to that too.

Branch point for: r-1-1-0

Tags: r-1-1-0$BP

1.392 annotated / raw | Diffs: previous, other | Lines: 3509 ( +2, -2 )

Created: 2014-09-23 16:24:00 +0200 (38 days ago) | Author: ragge | Changeset: MAIN:ragge:20140923142400

Do not special-case openbsd and ssp. We need libpcc for openbsd so use
our ssp implementation.

1.391 annotated / raw | Diffs: previous, other | Lines: 3509 ( +2, -2 )

Created: 2014-09-19 19:44:46 +0200 (42 days ago) | Author: plunky | Changeset: MAIN:plunky:20140919174445

no need to pass NULL to warner(), Wunreachable_code and Wpointer_sign
don't actually have any format strings

1.390 annotated / raw | Diffs: previous, other | Lines: 3509 ( +4, -2 )

Created: 2014-09-18 20:24:06 +0200 (43 days ago) | Author: ragge | Changeset: MAIN:ragge:20140918182406

Re-fix PCC-221 (got lost with PCC-426).

1.389 annotated / raw | Diffs: previous, other | Lines: 3507 ( +3, -1 )

Created: 2014-09-15 21:46:50 +0200 (46 days ago) | Author: ragge | Changeset: MAIN:ragge:20140915194650

Accept complex in ?: expressions.  Fixes Jira#PCC-490 by Fred J. Tydeman.

1.388 annotated / raw | Diffs: previous, other | Lines: 3505 ( +4, -4 )

Created: 2014-09-15 16:36:08 +0200 (46 days ago) | Author: ragge | Changeset: MAIN:ragge:20140915143608

Allow implicit cast of complex number to integral type in return.
Fixes Jira#PCC-489 by Fred J. Tydeman.

1.387 annotated / raw | Diffs: previous, other | Lines: 3505 ( +3, -2 )

Created: 2014-09-05 09:46:13 +0200 (56 days ago) | Author: ragge | Changeset: MAIN:ragge:20140905074613

Missed to add a check when doing casts of complex numbers, causing
spurious segfaults.  Reported on pcc-list by Iain Hibbert.

1.386 annotated / raw | Diffs: previous, other | Lines: 3504 ( +28, -1 )

Created: 2014-09-04 21:36:00 +0200 (57 days ago) | Author: ragge | Changeset: MAIN:ragge:20140904193600

Fix implicit casts in prototypes for real<->complex<->imaginary.
Fixes Jira#PCC-492 by Fred J. Tydeman.

1.385 annotated / raw | Diffs: previous, other | Lines: 3477 ( +19, -7 )

Created: 2014-09-03 13:23:44 +0200 (58 days ago) | Author: ragge | Changeset: MAIN:ragge:20140903112344

Handle pointer type checking for complex number conversions.
Convert pointers to INTPTR before assigning to complex number.
Fixes Jira#PCC-493 by Fred J. Tydeman.

1.384 annotated / raw | Diffs: previous, other | Lines: 3465 ( +1, -3 )

Created: 2014-08-26 20:00:04 +0200 (2 months 5 days ago) | Author: ragge | Changeset: MAIN:ragge:20140826180004

Remove unneccary bit-field ops.

1.383 annotated / raw | Diffs: previous, other | Lines: 3467 ( +30, -31 )

Created: 2014-08-22 15:13:29 +0200 (2 months 9 days ago) | Author: plunky | Changeset: MAIN:plunky:20140822131329

rework string handling, changing back to the method where strings are
internalized and held with non-ascii values escaped.

There is some revert of the unicode patch for this (which changed
the compiler to use a fully binary string internally), but I believe
all the utf8 functionality has been preserved.

This fixes PCC-466 by Volkmar Klatt (also noted by Rune, on pcc-list)

1.382 annotated / raw | Diffs: previous, other | Lines: 3468 ( +3, -1 )

Created: 2014-08-19 18:27:32 +0200 (2 months 12 days ago) | Author: ragge | Changeset: MAIN:ragge:20140819162732

Do integer promotion early on bitfield with width < SZINT.
Fixes Jira#PCC-476 by Volkmar Klatt.

1.381 annotated / raw | Diffs: previous, other | Lines: 3466 ( +2, -2 )

Created: 2014-08-16 18:11:52 +0200 (2 months 15 days ago) | Author: ragge | Changeset: MAIN:ragge:20140816161152

Wrong type used in cast of complex numbers, causing random errors.
Fixes Jira#PCC-469 by Volkmar Klatt.

1.380 annotated / raw | Diffs: previous, other | Lines: 3466 ( +3, -1 )

Created: 2014-07-28 21:03:09 +0200 (3 months 3 days ago) | Author: ragge | Changeset: MAIN:ragge:20140728190309

Reset offset in union before adding a bitfield member.
Fixes Jira#PCC-456 by Volkmar Klatt.

1.379 annotated / raw | Diffs: previous, other | Lines: 3464 ( +14, -1 )

Created: 2014-07-02 17:31:41 +0200 (3 months 29 days ago) | Author: ragge | Changeset: MAIN:ragge:20140702153141

Understand || and && between complex numbers.
Allow for complex numbers to be used without comparisions in
conditional statements.
Fixes Jira#PCC-451 and Jira#PCC-442 by Fred J. Tydeman.

1.378 annotated / raw | Diffs: previous, other | Lines: 3451 ( +7, -3 )

Created: 2014-07-02 14:14:34 +0200 (3 months 29 days ago) | Author: ragge | Changeset: MAIN:ragge:20140702121434

Fix bad naming of complex routines, and avoid a spurious segfault.

1.377 annotated / raw | Diffs: previous, other | Lines: 3447 ( +28, -33 )

Created: 2014-07-01 18:09:36 +0200 (4 months ago) | Author: ragge | Changeset: MAIN:ragge:20140701160936

Call external functions for complex mul/div.

1.376 annotated / raw | Diffs: previous, other | Lines: 3452 ( +5, -4 )

Created: 2014-06-20 09:06:21 +0200 (4 months 11 days ago) | Author: plunky | Changeset: MAIN:plunky:20140620070621

fix indents

1.375 annotated / raw | Diffs: previous, other | Lines: 3451 ( +2, -2 )

Created: 2014-06-20 09:04:48 +0200 (4 months 11 days ago) | Author: plunky | Changeset: MAIN:plunky:20140620070448

correct spelling of existence

1.374 annotated / raw | Diffs: previous, other | Lines: 3451 ( +25, -1 )

Created: 2014-06-06 10:19:02 +0200 (4 months 25 days ago) | Author: ragge | Changeset: MAIN:ragge:20140606081902

Allow for imaginary comparisons.
Fix size and align of imaginary numbers.
Fixes Jira#PCC-414 by Fred J. Tydeman.

1.373 annotated / raw | Diffs: previous, other | Lines: 3427 ( +27, -21 )

Created: 2014-05-16 15:02:02 +0200 (5 months 15 days ago) | Author: ragge | Changeset: MAIN:ragge:20140516130202

Support for unicode indentifiers in pcc, C99 6.4.2.1.
Written by Eric Olson.

1.372 annotated / raw | Diffs: previous, other | Lines: 3421 ( +3, -3 )

Created: 2014-05-10 10:54:42 +0200 (5 months 21 days ago) | Author: ragge | Changeset: MAIN:ragge:20140510085442

Do not give symtab to locctr if dealing with con/destructors, otherwise a
given section will override the con/destructor segment.
Fixes Jira#PCC-428 by Iain Hibbert.

1.371 annotated / raw | Diffs: previous, other | Lines: 3421 ( +2, -2 )

Created: 2014-05-08 12:51:24 +0200 (5 months 23 days ago) | Author: ragge | Changeset: MAIN:ragge:20140508105124

Check if we have a typedef'd pointer for restrict syntax checking.
Fixes Jira#PCC-426 by Iain Hibbert.

1.370 annotated / raw | Diffs: previous, other | Lines: 3421 ( +10, -3 )

Created: 2014-05-07 18:46:31 +0200 (5 months 24 days ago) | Author: ragge | Changeset: MAIN:ragge:20140507164631

Add type attributes to variables.
Do not handle a declaration as prototype for old-style declarations,
reported in private mail by Mickey.

1.369 annotated / raw | Diffs: previous, other | Lines: 3414 ( +3, -3 )

Created: 2014-05-03 17:11:36 +0200 (5 months 28 days ago) | Author: ragge | Changeset: MAIN:ragge:20140503151136

Parse restricted pointers correctly.
Solves Jira#PCC-221 by Fred J. Tydeman and Jira#PCC-246 by Altamiranus.

1.368 annotated / raw | Diffs: previous, other | Lines: 3414 ( +36, -9 )

Created: 2014-05-03 11:47:51 +0200 (5 months 28 days ago) | Author: ragge | Changeset: MAIN:ragge:20140503094751

Accept --disable-gcc-compat.  Not heavily tested.
Fixes Jira#PCC-262 by Jonathan Gray.

1.367 annotated / raw | Diffs: previous, other | Lines: 3387 ( +2, -2 )

Created: 2014-05-01 17:01:33 +0200 (6 months ago) | Author: ragge | Changeset: MAIN:ragge:20140501150133

Let later defined prototypes override earlier definitions also if the
prototype is a function.  Fixes Jira#PCC-161 by j sanchez.

1.366 annotated / raw | Diffs: previous, other | Lines: 3387 ( +5, -1 )

Created: 2014-05-01 14:30:40 +0200 (6 months ago) | Author: ragge | Changeset: MAIN:ragge:20140501123040

Handle rename of functions also when declared static in the prototype.
Fixes Jira#PCC-268 by Iain Hibbert.

1.365 annotated / raw | Diffs: previous, other | Lines: 3383 ( +2, -2 )

Created: 2014-04-30 17:56:48 +0200 (6 months ago) | Author: ragge | Changeset: MAIN:ragge:20140430155648

Fix bug causing complex div to give wrong result.
Fixes Jira#PCC-413 by Fred J. Tydeman.

1.364 annotated / raw | Diffs: previous, other | Lines: 3383 ( +21, -8 )

Created: 2014-04-30 16:56:38 +0200 (6 months ago) | Author: ragge | Changeset: MAIN:ragge:20140430145638

Allow for unary minus on complex numbers.
Fixes Jira#PCC-414 by Fred J. Tydeman.

1.363 annotated / raw | Diffs: previous, other | Lines: 3370 ( +7, -6 )

Created: 2014-04-03 17:11:39 +0200 (6 months ago) | Author: ragge | Changeset: MAIN:ragge:20140403151139

The ssp code must do a cast of fp to scalar, otherwise xor may try to
use illegal registers.

1.362 annotated / raw | Diffs: previous, other | Lines: 3369 ( +4, -9 )

Created: 2012-10-22 11:25:40 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121022092540

static var lpole is unused (and, the name is also used in init.c)
so remove it.
while here remove the unused next field, as this is a singly linked list

1.361 annotated / raw | Diffs: previous, other | Lines: 3374 ( +3, -2 )

Created: 2012-10-22 11:10:09 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121022091009

lint says:
   warning: fallthrough on case statement [220]

ragge says:
   should have a break :-)

1.360 annotated / raw | Diffs: previous, other | Lines: 3373 ( +5, -5 )

Created: 2012-10-20 22:08:37 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121020200836

ISFTN() and ISARY() both expand to an compare operation already,
don't compare that to zero, just invert it.. [lint]

1.359 annotated / raw | Diffs: previous, other | Lines: 3373 ( +5, -5 )

Created: 2012-09-26 21:56:12 +0200 (2 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20120926195612

debug output using fprintf(stdout) can be printf() since it
is interspersed with that anyway

1.358 annotated / raw | Diffs: previous, other | Lines: 3373 ( +22, -1 )

Created: 2012-09-15 18:06:22 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120915160622

Fix complex cast bug reported by Szabolcs Nagy on pcc-list.

1.357 annotated / raw | Diffs: previous, other | Lines: 3352 ( +2, -1 )

Created: 2012-08-19 09:34:10 +0200 (2 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20120819073410

Do not crash if a variable is of class register.
Fixes Jira#PCC-400 by Iain Hibbert.

1.356 annotated / raw | Diffs: previous, other | Lines: 3351 ( +4, -2 )

Created: 2012-08-18 17:44:13 +0200 (2 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20120818154413

Save all labels that are taken address of, so that they won't be optimized
away in deljumps().
Add all labels of which address are taken as possible destinations in
computed goto statements when creating the cfg.

1.355 annotated / raw | Diffs: previous, other | Lines: 3349 ( +7, -3 )

Created: 2012-08-14 22:23:58 +0200 (2 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20120814202358

Let all labels be static to avoid emitting their wrong name.

1.354 annotated / raw | Diffs: previous, other | Lines: 3345 ( +1, -7 )

Created: 2012-08-12 16:11:51 +0200 (2 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20120812141151

More fixes to TImode.

1.353 annotated / raw | Diffs: previous, other | Lines: 3351 ( +4, -1 )

Created: 2012-08-11 15:29:20 +0200 (2 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20120811132920

First pass att adding TI mode (128 bit int) support.

1.352 annotated / raw | Diffs: previous, other | Lines: 3348 ( +79, -81 )

Created: 2012-08-10 09:12:48 +0200 (2 years 2 months ago) | Author: plunky | Changeset: MAIN:plunky:20120810071248

reorder some functions, to avoid forward declaration - no code change

1.351 annotated / raw | Diffs: previous, other | Lines: 3350 ( +1, -9 )

Created: 2012-08-09 13:41:27 +0200 (2 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20120809114127

Change the builtin function handling extensively.
Put the builtins into the symbol table at startup.
Do replacement check before parsing arguments.
This should fix __builtin_nanf bugs reported on pcc-list.

1.350 annotated / raw | Diffs: previous, other | Lines: 3358 ( +7, -2 )

Created: 2012-07-31 10:59:45 +0200 (2 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20120731085945

Be consistent and handle inline functions with with an extern definition
both before and after the function the same way.  Also accept a definition
without specifier as extern.  This follows how gcc deals with this.
Fixes Jira#PCC-287 by Iain Hibbert.

1.349 annotated / raw | Diffs: previous, other | Lines: 3353 ( +2, -2 )

Created: 2012-07-30 18:54:58 +0200 (2 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20120730165458

Complain about local variables in first scope that hides parameters.
Fixes Jira#PCC-357 by TAKAHASHI Tamotsu.

1.348 annotated / raw | Diffs: previous, other | Lines: 3353 ( +2, -4 )

Created: 2012-07-30 17:27:47 +0200 (2 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20120730152747

Accept 'i' anywhere in the trailing letters for imaginary.
Accept 'i' after an integer constant since gnu people tend to do so.
Do not do mode conversion on other than scalar types.
Fixes among other Jira#PCC-329 by Fred J. Tydeman.

1.347 annotated / raw | Diffs: previous, other | Lines: 3355 ( +25, -14 )

Created: 2012-07-10 14:20:26 +0200 (2 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20120710122026

Deprecate #pragma rename, should not be used by anyone.
Understand (but complain) requests for local variables in specific registers.

1.346 annotated / raw | Diffs: previous, other | Lines: 3344 ( +2, -2 )

Created: 2012-04-22 23:17:18 +0200 (2 years 6 months ago) | Author: plunky | Changeset: MAIN:plunky:20120422211718

fix "signed and unsigned type in conditional expression" warning

1.345 annotated / raw | Diffs: previous, other | Lines: 3344 ( +7, -7 )

Created: 2012-04-22 23:07:41 +0200 (2 years 6 months ago) | Author: plunky | Changeset: MAIN:plunky:20120422210740

tidy up some remaining K&R function definitions

1.344 annotated / raw | Diffs: previous, other | Lines: 3344 ( +3, -2 )

Created: 2012-04-22 14:49:07 +0200 (2 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20120422124907

Complain correctly about both missing prototypes and strict prototypes, unless
they come from system headers in which case we ignore it.  This follows gcc
behavior.

1.343 annotated / raw | Diffs: previous, other | Lines: 3343 ( +3, -2 )

Created: 2012-04-14 17:58:59 +0200 (2 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20120414155859

Do not make variables declared from types with mode(SI) or so unsigned.
This bug introduced when cleaning up some bool stuff.
Fixes bug reported by mirabilos on pcc-list.

1.342 annotated / raw | Diffs: previous, other | Lines: 3342 ( +4, -6 )

Created: 2012-03-22 19:51:40 +0100 (2 years 7 months ago) | Author: plunky | Changeset: MAIN:plunky:20120322185140


tidy up debugging options a bit:

- sort options in main()
- pass1 options are ?debug, declared in pass1.h
- pass2 options are ?2debug, declared in pass2.h
- variables defined in main.c

1.341 annotated / raw | Diffs: previous, other | Lines: 3344 ( +6, -2 )

Created: 2012-03-19 16:53:33 +0100 (2 years 7 months ago) | Author: plunky | Changeset: MAIN:plunky:20120319155333

fix debug output for -Xp, if an argument is a function prototype
with no arguments, "al->df->dfun" is nil, so don't recurse..

1.340 annotated / raw | Diffs: previous, other | Lines: 3340 ( +9, -1 )

Created: 2012-03-17 17:51:25 +0100 (2 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20120317165125

Attempt to fix Jira#PCC-386 by iain Hibbert.
Should get a better fix in the future.

1.339 annotated / raw | Diffs: previous, other | Lines: 3332 ( +3, -3 )

Created: 2011-08-31 20:02:24 +0200 (3 years 2 months ago) | Author: plunky | Changeset: MAIN:plunky:20110831180224

replace -f[no-][un]signed-char logic in ccom with a simple switch. pcc
deals in signed characters by default, and the front end will flick the
switch as appropriate (either by default for machine or OS type, or by
request from commandline)

1.338 annotated / raw | Diffs: previous, other | Lines: 3332 ( +2, -2 )

Created: 2011-08-12 21:21:38 +0200 (3 years 2 months ago) | Author: plunky | Changeset: MAIN:plunky:20110812192138

remove (unnecessary) parentheses

1.337 annotated / raw | Diffs: previous, other | Lines: 3332 ( +6, -6 )

Created: 2011-08-10 10:20:38 +0200 (3 years 2 months ago) | Author: plunky | Changeset: MAIN:plunky:20110810082038

clean up double assignments, which gcc 4.5 complains about

1.336 annotated / raw | Diffs: previous, other | Lines: 3332 ( +2, -2 )

Created: 2011-07-31 09:36:25 +0200 (3 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20110731073625

Understand ASGOP's for complex numbers.  Fixes Jira#PCC-373 by Jonathan Gray.
While here, give better error messages for bad cx ops, and remove clause
3 from the copyright.

1.335 annotated / raw | Diffs: previous, other | Lines: 3332 ( +2, -2 )

Created: 2011-07-28 16:11:26 +0200 (3 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20110728141126

No need to call stradd() here.

1.334 annotated / raw | Diffs: previous, other | Lines: 3332 ( +3, -2 )

Created: 2011-07-28 13:37:12 +0200 (3 years 3 months ago) | Author: mickey | Changeset: MAIN:mickey:20110728113712

supply faulty function name to the stack smashing handler (as gcc does)

1.333 annotated / raw | Diffs: previous, other | Lines: 3331 ( +4, -1 )

Created: 2011-07-21 11:09:10 +0200 (3 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20110721090910

Add read support for unaligned bitfields on targets that do not allow
unaligned access. Targets that can make use of unaligned access should
define UNALIGNED_ACCESS to get more efficient code.

1.332 annotated / raw | Diffs: previous, other | Lines: 3328 ( +2, -2 )

Created: 2011-07-07 08:50:10 +0200 (3 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20110707065010

Use common macros instead of writing checks manually.

1.331 annotated / raw | Diffs: previous, other | Lines: 3328 ( +1, -2 )

Created: 2011-07-07 08:46:15 +0200 (3 years 3 months ago) | Author: plunky | Changeset: MAIN:plunky:20110707064615

remove unused variable (left over after previous commit)

1.330 annotated / raw | Diffs: previous, other | Lines: 3329 ( +12, -22 )

Created: 2011-07-06 22:15:38 +0200 (3 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20110706201538

Set BOOL type number below CHAR.  This simplifies a bunch of type promoting
and removes one source of errors.

1.329 annotated / raw | Diffs: previous, other | Lines: 3339 ( +6, -1 )

Created: 2011-07-05 22:21:25 +0200 (3 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20110705202125

On OpenBSD call its native SSP routines instead of the pcc provided ones.
Patch from Pascal Stumpf in Jira#PCC-367.

1.328 annotated / raw | Diffs: previous, other | Lines: 3334 ( +3, -1 )

Created: 2011-06-30 21:41:16 +0200 (3 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20110630194116

For TLS common declarations ensure that EXTERN class is set EXTDEF, thus
forcing it to print out .globl.
Fixes bug reported by iain Hibbert in separate mail.

1.327 annotated / raw | Diffs: previous, other | Lines: 3332 ( +1, -9 )

Created: 2011-06-24 15:01:57 +0200 (3 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20110624130157

Remove some unneccessary checks.

1.326 annotated / raw | Diffs: previous, other | Lines: 3340 ( +42, -3 )

Created: 2011-06-23 15:38:23 +0200 (3 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20110623133823

Change the handling of directives and label printout slightly, much of this
code is just copied between targets so keep it common with the possibility
to override with target-specific functions.

1.325 annotated / raw | Diffs: previous, other | Lines: 3301 ( +2, -2 )

Created: 2011-06-06 13:14:42 +0200 (3 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20110606111442

Fix typo causing a bug I forgot to check in yesterday.

1.324 annotated / raw | Diffs: previous, other | Lines: 3301 ( +3, -1 )

Created: 2011-06-05 20:48:54 +0200 (3 years 4 months ago) | Author: plunky | Changeset: MAIN:plunky:20110605184854

ifdef PCC_DEBUG to suppress warnings with --disable-pcc-debug

1.323 annotated / raw | Diffs: previous, other | Lines: 3299 ( +32, -1 )

Created: 2011-06-05 19:21:17 +0200 (3 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20110605172117

Make instring() a common function, that may be locally declared if MYINSTRING
is declared.

1.322 annotated / raw | Diffs: previous, other | Lines: 3268 ( +3, -3 )

Created: 2011-06-05 12:19:25 +0200 (3 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20110605101924

Remove RTOLBYTES and change to the more common name ENDIAN.
Begin to clear the way for run-time settings of endianness for targets
taht support it.

1.321 annotated / raw | Diffs: previous, other | Lines: 3268 ( +2, -2 )

Created: 2011-06-04 09:47:30 +0200 (3 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20110604074729

Remove cendarg(), not necessary anymore.

1.320 annotated / raw | Diffs: previous, other | Lines: 3268 ( +11, -21 )

Created: 2011-06-01 19:34:05 +0200 (3 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20110601173405

Look up type sizes from a table instead of using a switch case.

1.319 annotated / raw | Diffs: previous, other | Lines: 3278 ( +2, -3 )

Created: 2011-05-30 05:45:53 +0200 (3 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20110530034055

Remove set-but-unused variables.

1.318 annotated / raw | Diffs: previous, other | Lines: 3279 ( +10, -6 )

Created: 2011-05-12 19:21:58 +0200 (3 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20110512172158

Do not duplicate parts of attribute chain if not updating declaration.
Fixes Jira#PCC-324 by Iain Hibbert.

1.317 annotated / raw | Diffs: previous, other | Lines: 3275 ( +11, -4 )

Created: 2011-05-11 22:12:37 +0200 (3 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20110511201237

Complain if size/alignment is taken from a not-yet declared struct.
Fixes Jira#PCC-345 and Jira#PCC-345 Nicolas Joly.

1.316 annotated / raw | Diffs: previous, other | Lines: 3268 ( +3, -0 )

Created: 2011-05-11 16:37:14 +0200 (3 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20110511143714

Change default enum type to correspond to the gcc enum, which is to have
them as int if any enum is less than 0, else unsigned int.
Fixes Jira#PCC-348 by Iain Hibbert.

1.315 annotated / raw | Diffs: previous, other | Lines: 3265 ( +5, -4 )

Created: 2011-05-11 16:29:39 +0200 (3 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20110511142939

The type of _Bool bitfields were changed too early causing strange errors.
Fixes Jira#PCC-347 by Nicolas Joly.

1.314 annotated / raw | Diffs: previous, other | Lines: 3264 ( +28, -25 )

Created: 2011-05-04 16:06:53 +0200 (3 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20110504140653

Move out symtab declarations for struct members from defid().

1.313 annotated / raw | Diffs: previous, other | Lines: 3261 ( +3, -2 )

Created: 2011-04-11 19:33:26 +0200 (3 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20110411173326

Call oalloc() of params in defid unless it's oldstyle parameter.
Fixes Jira#PCC-297 by Iain Hibbert.

1.312 annotated / raw | Diffs: previous, other | Lines: 3260 ( +90, -101 )

Created: 2011-04-07 20:50:16 +0200 (3 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20110407185015

Rewrite the handling of type size/alignment to only need attributes
for size/align when something differs from default.  Hence; no need
for MKAP/MKSUE anymore.

1.311 annotated / raw | Diffs: previous, other | Lines: 3271 ( +2, -2 )

Created: 2011-02-20 11:19:07 +0100 (3 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20110220101907

Always call gcc_tcattrfix() after type declaration.  Fixes Jira#PCC-208 by
Iain Hibbert.

Branch point for: r-1-0-0 r-1-0-1

Tags: r-1-0-0$BP r-1-0-0-RELEASE r-1-0-1$BP

1.310 annotated / raw | Diffs: previous, other | Lines: 3271 ( +5, -1 )

Created: 2011-01-29 15:50:49 +0100 (3 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20110129145049

Turn off restrict keyword usage check; it has bad side effects.

1.309 annotated / raw | Diffs: previous, other | Lines: 3267 ( +4, -1 )

Created: 2011-01-24 18:49:50 +0100 (3 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20110124174950

Obey renaming even if redeclarating symbols.
XXX - should create an attribute for this.

1.308 annotated / raw | Diffs: previous, other | Lines: 3264 ( +11, -13 )

Created: 2011-01-22 23:08:23 +0100 (3 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20110122220823

Change gcc warning implementation: call a separate function handling all
warnings.  Keep track of which warnings that should yield errors.
Add pragma support for GCC diagnostics.
Supposed to fix Jira#PCC-213 by Piotr Sikora.

1.307 annotated / raw | Diffs: previous, other | Lines: 3266 ( +7, -7 )

Created: 2010-12-29 18:40:21 +0100 (3 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20101229174021

Only accept mode on basic types.

1.306 annotated / raw | Diffs: previous, other | Lines: 3266 ( +13, -2 )

Created: 2010-12-29 16:25:35 +0100 (3 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20101229152535

Add better mode support so that types will be converted to their target types.

1.305 annotated / raw | Diffs: previous, other | Lines: 3255 ( +3, -2 )

Created: 2010-12-26 20:45:07 +0100 (3 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20101226194507

Be kind to structs with flexible members: let them exist as the last element
in a member struct.

1.304 annotated / raw | Diffs: previous, other | Lines: 3254 ( +13, -3 )

Created: 2010-12-26 18:29:07 +0100 (3 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20101226172907

Convert compllex return values correctly.  Change imaginary type on
return to its corresponding floating type.

1.303 annotated / raw | Diffs: previous, other | Lines: 3244 ( +11, -1 )

Created: 2010-12-25 12:34:20 +0100 (3 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20101225113420

Make == and != work for complex numbers.

1.302 annotated / raw | Diffs: previous, other | Lines: 3234 ( +3, -1 )

Created: 2010-11-26 07:44:34 +0100 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20101126064434

Change BOOL to BOOL_TYPE when doing bitfield allocation.
Fixes Jira#PCC-191 by Nicolas Joly.

1.301 annotated / raw | Diffs: previous, other | Lines: 3232 ( +2, -2 )

Created: 2010-11-24 19:00:00 +0100 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20101124180000

Fix a bunch of bugs with bool datatype.
Should fix Jira#PCC-189 by Nicolas Joly.

1.300 annotated / raw | Diffs: previous, other | Lines: 3232 ( +1, -17 )

Created: 2010-11-18 18:19:24 +0100 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20101118171924

Remove save/restore of return value around ssp stack check.

1.299 annotated / raw | Diffs: previous, other | Lines: 3248 ( +2, -2 )

Created: 2010-11-07 14:36:14 +0100 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20101107133614

Add gcc compat weak pragma.

1.298 annotated / raw | Diffs: previous, other | Lines: 3248 ( +3, -1 )

Created: 2010-10-03 11:42:22 +0200 (4 years ago) | Author: ragge | Changeset: MAIN:ragge:20101003094222

Fix bug that causes arithmetic on dynamic arrays to fail, this bug has
been there very long.  Fixes regression test types008.
Should probably make tsize return a NODE to avoid duplicated code.

1.297 annotated / raw | Diffs: previous, other | Lines: 3246 ( +3, -3 )

Created: 2010-09-27 15:15:26 +0200 (4 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20100927131526

Fix complex type check bug.  Reported by Michael Shalayeff.

1.296 annotated / raw | Diffs: previous, other | Lines: 3246 ( +12, -1 )

Created: 2010-09-12 10:18:47 +0200 (4 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20100912081847

Handle arguments given as transparent_union.  Type checking is not so
good as it should be, but it at least it can compile programs.

1.295 annotated / raw | Diffs: previous, other | Lines: 3235 ( +13, -5 )

Created: 2010-09-05 10:55:09 +0200 (4 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20100905085509

Don't error declaration of imaginary variables.  Fixes bug reported
on pcc-list by Szabolcs Nagy.  While here fix imaginary assign.
XXX - Imaginary numbers need more love to be really useful.

1.294 annotated / raw | Diffs: previous, other | Lines: 3227 ( +3, -2 )

Created: 2010-09-04 21:40:53 +0200 (4 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20100904194053

Understand gcc compat "label : attribute(())" syntax.

1.293 annotated / raw | Diffs: previous, other | Lines: 3226 ( +74, -67 )

Created: 2010-09-04 21:22:33 +0200 (4 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20100904192233

Improve the handling on variable length arrays.  Fixes a bunch of the errors
reported by Szabolcs Nagy on pcc-list and Jira#PCC-140 by j sanchez.

1.292 annotated / raw | Diffs: previous, other | Lines: 3219 ( +3, -1 )

Created: 2010-09-02 22:01:11 +0200 (4 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20100902200111

Add missing tfree() when pointers to dynamic arrays are used.
Now constructions like (*p)[a][b][c] works.
This fixes bugs reported by Szabolcs Nagy on pcc-list.

1.291 annotated / raw | Diffs: previous, other | Lines: 3217 ( +2, -1 )

Created: 2010-09-01 18:22:48 +0200 (4 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20100901162248

Fix case where floats were not cast to double in the case of prototype missing.
Fixes bug reported by Travis Siegel.

1.290 annotated / raw | Diffs: previous, other | Lines: 3216 ( +4, -10 )

Created: 2010-08-29 16:06:44 +0200 (4 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20100829140644

Rewrite variable declaration order to delay after the whole declaration
code is parsed. This makes the code path there simpler, but more cleanup
is needed.  Supposes to fix Jira#PCC-165 and Jira#PCC-162 by j sanchez.

1.289 annotated / raw | Diffs: previous, other | Lines: 3222 ( +2, -35 )

Created: 2010-08-12 08:39:22 +0200 (4 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20100812063922

Remove the FORTRAN/UFORTRAN storage class handling.  We'll implement
it with attributes or something if needed.

1.288 annotated / raw | Diffs: previous, other | Lines: 3255 ( +385, -314 )

Created: 2010-08-11 16:08:44 +0200 (4 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20100811140844

Large change:  Modify the internal code to use the concepts of "attributes"
for nodes and symbol tables instead of keeping everything in the structs
used everywhere.  This will make modifications and additions of new features
simpler in the future.
That this will affect all targets more or less.

1.287 annotated / raw | Diffs: previous, other | Lines: 3184 ( +1, -2 )

Created: 2010-07-20 16:41:01 +0200 (4 years 3 months ago) | Author: mickey | Changeset: MAIN:mickey:20100720144101

also add/move yylex/yyerror prots into the proper header; ragge@ ok

1.286 annotated / raw | Diffs: previous, other | Lines: 3185 ( +7, -2 )

Created: 2010-06-26 14:08:36 +0200 (4 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20100626120836

Handle attributes inside struct members without loosing nodes. Fixes
Jira#PCC-160 by Detlef Riekenberg with additional testcase from
Jonathan Gray.

1.285 annotated / raw | Diffs: previous, other | Lines: 3180 ( +20, -2 )

Created: 2010-06-19 17:17:41 +0200 (4 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20100619151741

Handle attributes given as "static attr void attr foo(){}".
Remaining fix of Jira#PCC-158.

1.284 annotated / raw | Diffs: previous, other | Lines: 3162 ( +3, -2 )

Created: 2010-06-19 09:37:22 +0200 (4 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20100619073722

Understand gcc attribute always_inline.
Fixes part of Jira#PCC-158 by Detlef Riekenberg.

1.283 annotated / raw | Diffs: previous, other | Lines: 3161 ( +4, -1 )

Created: 2010-06-12 21:39:09 +0200 (4 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20100612193909

Allow renaming if a variable is redeclared.  Fixes Jira#PCC-122 by
Detlef Riekenberg.

1.282 annotated / raw | Diffs: previous, other | Lines: 3158 ( +2, -6 )

Created: 2010-06-10 18:34:57 +0200 (4 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20100610163457

Repair #pragma pack functionality. It added pack attributes to everything,
not only struct declarations.
This fixes Jira#PCC-46 by Gregory McGarry.
The fix does not address what value should be given inside eventual ().

1.281 annotated / raw | Diffs: previous, other | Lines: 3162 ( +10, -1 )

Created: 2010-06-09 11:26:55 +0200 (4 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20100609092655

Set soname == sname for targets not supporting weakref. Intended to fix
Jira#PCC-148 by Iain Hibbert.

1.280 annotated / raw | Diffs: previous, other | Lines: 3153 ( +2, -2 )

Created: 2010-05-23 21:52:04 +0200 (4 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20100523195204

Make the canary value on stack volatile, so that the compiler won't
try to put it into a register.  Solves stack overwrite error reported
by Iain Hibbert on pcc-list.

1.279 annotated / raw | Diffs: previous, other | Lines: 3153 ( +13, -8 )

Created: 2010-05-08 17:47:45 +0200 (4 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20100508154745

Fix reporting on bogus error of struct parameters, as reported by Iain
Hibbert on pcc-list.

1.278 annotated / raw | Diffs: previous, other | Lines: 3148 ( +7, -2 )

Created: 2010-04-25 09:58:55 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100425075855

Fix yet another situation where attributes causes warnings.
Reported and slightly modified patch from Iain Hibbert.

1.277 annotated / raw | Diffs: previous, other | Lines: 3143 ( +4, -311 )

Created: 2010-04-11 17:01:04 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100411150104

Break out buintins to their own file.  Common argument count check
for builtins. Should have argument cast checks here also.

1.276 annotated / raw | Diffs: previous, other | Lines: 3450 ( +20, -1 )

Created: 2010-04-01 14:26:56 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100401122656

Add __builtin_memset, per patch from Iain Hibbert.

1.275 annotated / raw | Diffs: previous, other | Lines: 3431 ( +19, -1 )

Created: 2010-03-10 06:40:42 +0100 (4 years 7 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20100310054042

Implement __builtin_memcpy().  Now pcc can compile itself again on OS X.

1.274 annotated / raw | Diffs: previous, other | Lines: 3413 ( +4, -1 )

Created: 2010-01-05 16:23:51 +0100 (4 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20100105152351

Add support for attribute mode and some mode types. Should solve Jira#PCC-101
by Detlef Riekenberg.

1.273 annotated / raw | Diffs: previous, other | Lines: 3410 ( +2, -2 )

Created: 2009-12-20 15:39:56 +0100 (4 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20091220143956

Handle sizes of pointers to forward declarated strust/unions better.

1.272 annotated / raw | Diffs: previous, other | Lines: 3410 ( +13, -10 )

Created: 2009-09-06 18:41:07 +0200 (5 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20090906164107

Giving multiple declarations of the same prototype failed if there
were dynamic arrays as arguments.

1.271 annotated / raw | Diffs: previous, other | Lines: 3407 ( +15, -10 )

Created: 2009-09-05 13:41:08 +0200 (5 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20090905114108

Fix bug in debug printout of prototype parameters.

1.270 annotated / raw | Diffs: previous, other | Lines: 3402 ( +19, -3 )

Created: 2009-08-23 11:37:11 +0200 (5 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20090823093711

Fix some bugs concerning attributes and inline:
- Toggle functions attributed gnu_inline directly in inline_end.
- Declarations with earlier definitions/prototypes could not have
 more attributes attached to them.
While here, remove clause 3 of my copyright.

1.269 annotated / raw | Diffs: previous, other | Lines: 3386 ( +21, -1 )

Created: 2009-08-20 21:19:42 +0200 (5 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20090820191942

Add missing gcc function __builtin_expect().

1.268 annotated / raw | Diffs: previous, other | Lines: 3366 ( +25, -4 )

Created: 2009-08-19 20:43:32 +0200 (5 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20090819184332

One more fix for the "missing label" error.

1.267 annotated / raw | Diffs: previous, other | Lines: 3345 ( +9, -3 )

Created: 2009-08-18 21:06:40 +0200 (5 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20090818190640

Fix bug where an expression __builtin_constant_p(({ int x ; x ; }));
would cause an "internal label ??? not defined" compiler diagnostic.

1.266 annotated / raw | Diffs: previous, other | Lines: 3339 ( +12, -12 )

Created: 2009-08-13 10:01:27 +0200 (5 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090813080125

Add -Wtruncate option which detects truncation of types during assignment.
Let pcc compile with this option enabled.

Inspired by similar warning in the Microsoft compiler.

1.265 annotated / raw | Diffs: previous, other | Lines: 3339 ( +23, -47 )

Created: 2009-06-11 18:56:47 +0200 (5 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20090611165647

Pay some attention to the bitfield routines and allow bitfields of types
larger than int.

1.264 annotated / raw | Diffs: previous, other | Lines: 3363 ( +10, -8 )

Created: 2009-05-20 16:53:09 +0200 (5 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20090520145309

Fix side effect bug in complex conversions.

1.263 annotated / raw | Diffs: previous, other | Lines: 3361 ( +5, -2 )

Created: 2009-05-20 01:09:51 +0200 (5 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090519230951

Let this compile with gcc.

1.262 annotated / raw | Diffs: previous, other | Lines: 3358 ( +230, -25 )

Created: 2009-05-19 21:25:55 +0200 (5 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20090519192555

More on complex and imaginary.  Everything should work now modulo minor bugs.

1.261 annotated / raw | Diffs: previous, other | Lines: 3153 ( +26, -14 )

Created: 2009-05-16 18:05:19 +0200 (5 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20090516160519

Add complex division support. Left to do:
- fix casts
- fix imaginary numbers

1.260 annotated / raw | Diffs: previous, other | Lines: 3141 ( +147, -4 )

Created: 2009-05-16 14:11:14 +0200 (5 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20090516121114

Add support for +, - and * of complex numbers.  Still work in progress.

1.259 annotated / raw | Diffs: previous, other | Lines: 2998 ( +22, -1 )

Created: 2009-05-07 04:34:13 +0200 (5 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090507023408

Add support for \uXXXX and \UXXXXXX escape sequences.  Merge all implementationsof inwstring() into one.  Fix for PCC-21.  From tg@mirbsd.de.

1.258 annotated / raw | Diffs: previous, other | Lines: 2977 ( +52, -1 )

Created: 2009-04-09 00:43:47 +0200 (5 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090408224347

Add __builtin_abs().

1.257 annotated / raw | Diffs: previous, other | Lines: 2926 ( +3, -3 )

Created: 2009-03-29 18:35:05 +0200 (5 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20090329163505

Allow for run-time evaluation of type sizes inside sizeof statements.
This is part of the development made possible by the BSD fund.

1.256 annotated / raw | Diffs: previous, other | Lines: 2926 ( +2, -1 )

Created: 2009-03-29 04:44:37 +0200 (5 years 7 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090329024437

Provide __builtin_va_start() compatability with gcc.

1.255 annotated / raw | Diffs: previous, other | Lines: 2925 ( +3, -3 )

Created: 2009-03-15 11:06:14 +0100 (5 years 7 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090315100614

Convert all tcopy() uses to ccopy() to avoid confusion.

1.254 annotated / raw | Diffs: previous, other | Lines: 2925 ( +12, -8 )

Created: 2009-03-06 01:27:11 +0100 (5 years 7 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090306002711

Manually pool internal ssp symbol names.  lookup() compares pointers for
symbol matching, which was failing if the compiler didn't pool strings.

Fixes jira issue PCC-13.

1.253 annotated / raw | Diffs: previous, other | Lines: 2921 ( +2, -2 )

Created: 2009-02-24 12:06:10 +0100 (5 years 8 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090224110610

tcopy() -> ccopy().  Addresses issue #PCC-38.

1.252 annotated / raw | Diffs: previous, other | Lines: 2921 ( +2, -2 )

Created: 2009-02-19 11:56:50 +0100 (5 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20090219105650

Pointers to incomplete structs are legal inside other structs.  Bugfix
in Jira#PCC-36 from Andrew Doran.

1.251 annotated / raw | Diffs: previous, other | Lines: 2921 ( +14, -13 )

Created: 2009-02-09 18:21:24 +0100 (5 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20090209172123

Ahandle #pragma pack(4) correctly.  Makes OSX happier.

1.250 annotated / raw | Diffs: previous, other | Lines: 2920 ( +5, -3 )

Created: 2009-02-08 16:59:55 +0100 (5 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20090208155955

Change syntax of soname: if it is set to some value, use it but do
never change it, otherwise call exname(sname) to get the output name.

1.249 annotated / raw | Diffs: previous, other | Lines: 2918 ( +14, -1 )

Created: 2009-02-05 20:23:13 +0100 (5 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20090205192313

Fix _Pragma aligned and packed.  Currently depends on GCC_COMPAT.

1.248 annotated / raw | Diffs: previous, other | Lines: 2905 ( +14, -17 )

Created: 2009-01-27 18:12:03 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20090127171203

Add some more complex support:
- understand 8.1fi as a complex float.
- handle casts of complex.
- handle simple initializations.

1.247 annotated / raw | Diffs: previous, other | Lines: 2908 ( +4, -1 )

Created: 2009-01-26 23:32:39 +0100 (5 years 9 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090126223239

Make these compile without GCC_COMPAT.

1.246 annotated / raw | Diffs: previous, other | Lines: 2905 ( +56, -11 )

Created: 2009-01-24 14:35:03 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20090124133503

Simplify some of the declaration yacc code.
Add support for parsing a bunch of the gcc attributes:
        aligned (partly supported)
        packed (supported)
        section (dupported)
        unused (parsed)
        deprecated (parsed)
        noreturn (parsed)
        format (parsed)
        bounded (parsed)
        nonnull (parsed)
        sentinel (parsed)

1.245 annotated / raw | Diffs: previous, other | Lines: 2860 ( +33, -42 )

Created: 2009-01-14 22:10:01 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20090114211001

Lots of fixes regarding how attributes are parsed and follows objects.

1.244 annotated / raw | Diffs: previous, other | Lines: 2869 ( +79, -65 )

Created: 2009-01-10 15:50:16 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20090110145016

Better handling of type attributes, but not yet perfect.
Also fix of forward declaration of enum bug, reported by Jonathan Gray.

1.243 annotated / raw | Diffs: previous, other | Lines: 2855 ( +137, -116 )

Created: 2009-01-07 21:52:02 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20090107205202

Change the way types are parsed to a more suitable way.
Prepare for handling of strange attribute syntax in type definitions.

1.242 annotated / raw | Diffs: previous, other | Lines: 2834 ( +2, -2 )

Created: 2009-01-06 13:57:04 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20090106125704

Must set size info when casting arguments.  Fixes #PCC-19 reported by
Jonathan Gray.

1.241 annotated / raw | Diffs: previous, other | Lines: 2834 ( +3, -4 )

Created: 2008-12-14 18:19:50 +0100 (5 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20081214171950

Add support for variable and function attributes and put in support
to understand "section" for variables.
XXX - parts of the symtab handling will be rewritten to support
attributes fully.
While here, quiet the shift/reduce conflict that were due to NAME.

1.240 annotated / raw | Diffs: previous, other | Lines: 2835 ( +32, -33 )

Created: 2008-12-13 21:03:32 +0100 (5 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20081213200332

Add support for variable attributes, and the attribute "aligned".
As a side effect of this some parts of the (proto)type checking had
to be changed.  Handling of the struct/union definitions should
be changed at a later point.

1.239 annotated / raw | Diffs: previous, other | Lines: 2836 ( +2, -2 )

Created: 2008-12-12 21:38:41 +0100 (5 years 10 months ago) | Author: pantzer | Changeset: MAIN:pantzer:20081212203841

Bugfix

1.238 annotated / raw | Diffs: previous, other | Lines: 2836 ( +18, -5 )

Created: 2008-12-11 08:17:47 +0100 (5 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20081211071747

Allow attributes to be added before struct declarations in addition to
after.  Fix one more bug in alignment handling.

1.237 annotated / raw | Diffs: previous, other | Lines: 2823 ( +25, -29 )

Created: 2008-12-10 17:54:31 +0100 (5 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20081210165431

Implement gcc-compatible type attributes aligned and packed.

1.236 annotated / raw | Diffs: previous, other | Lines: 2827 ( +8, -8 )

Created: 2008-12-08 08:20:54 +0100 (5 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20081208072054

Add yacc code for attributes. Give pragma variables used as type specifiers
to dclstruct() in an attribute struct instead.  Work in progress.

1.235 annotated / raw | Diffs: previous, other | Lines: 2827 ( +3, -2 )

Created: 2008-12-06 17:12:20 +0100 (5 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20081206161220

Check if the aggregate being declared is a struct so that structs with
their last member incomplete is allowed in unions.

1.234 annotated / raw | Diffs: previous, other | Lines: 2826 ( +2, -1 )

Created: 2008-12-03 08:13:10 +0100 (5 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20081203071310

Fix stabs code so that debug information can be emitted even when
optimizing.  Not pretty, but works for now.

1.233 annotated / raw | Diffs: previous, other | Lines: 2825 ( +2, -2 )

Created: 2008-11-28 17:36:06 +0100 (5 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20081128163606

Add compatibility support for unnamed strust/union members.
This is part of the development made possible by donations via BSD fund.

1.232 annotated / raw | Diffs: previous, other | Lines: 2825 ( +24, -3 )

Created: 2008-11-20 22:19:09 +0100 (5 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20081120211909

Allow for incomplete definitions of enums.
This matches both gcc extensions and traditional behaviour.

1.231 annotated / raw | Diffs: previous, other | Lines: 2804 ( +19, -8 )

Created: 2008-11-15 15:02:39 +0100 (5 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20081115140239

Add support for real inlining of functions per C99.
Not yet for variables that reference to the frame pointer though.

1.230 annotated / raw | Diffs: previous, other | Lines: 2793 ( +1, -2 )

Created: 2008-11-01 16:07:36 +0100 (5 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20081101150736

Mickey had forgotten a debug printout, so remove it.

1.229 annotated / raw | Diffs: previous, other | Lines: 2794 ( +4, -3 )

Created: 2008-11-01 09:29:38 +0100 (5 years 11 months ago) | Author: mickey | Changeset: MAIN:mickey:20081101082937

allow spilling >31 regs. apprently i386 was always safe as fpu regs
are fakes. needed by hppa (and i think also powerpc) or any other arch
that employs callee-save regs of >31 numbers (per defines ;).
most of the archs are simply using ipp_regs[0] as they do have
less than 31 regs or otherwise need no spilling.
ragge@ told me to commit this in september and it seems to work (:

1.228 annotated / raw | Diffs: previous, other | Lines: 2793 ( +5, -1 )

Created: 2008-10-29 22:43:05 +0100 (6 years ago) | Author: ragge | Changeset: MAIN:ragge:20081029214305

Move return value to a temporary first instead of directly to the
return register.

1.227 annotated / raw | Diffs: previous, other | Lines: 2789 ( +5, -2 )

Created: 2008-10-27 22:41:24 +0100 (6 years ago) | Author: ragge | Changeset: MAIN:ragge:20081027214124

Start writing on code to actually inline functions.

1.226 annotated / raw | Diffs: previous, other | Lines: 2786 ( +2, -2 )

Created: 2008-10-25 11:15:44 +0200 (6 years ago) | Author: ragge | Changeset: MAIN:ragge:20081025091544

Must clear the newly allocated struct.

1.225 annotated / raw | Diffs: previous, other | Lines: 2786 ( +13, -4 )

Created: 2008-10-21 11:35:47 +0200 (6 years ago) | Author: ragge | Changeset: MAIN:ragge:20081021093547

If ALSTRUCT is not defined then use the largest alignment of the members
of the struct.  This is how most ABIs declare strcut alignment today.

1.224 annotated / raw | Diffs: previous, other | Lines: 2777 ( +2, -2 )

Created: 2008-08-26 15:39:51 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080826133951

Don't recalculate offsets of packed unions, since they all have the same
offset.  Spotted by Reinoud Zandijk.

1.223 annotated / raw | Diffs: previous, other | Lines: 2777 ( +15, -6 )

Created: 2008-08-14 00:56:33 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080813225633

- shrink overall size of structures when packed
- support #pragma pack(x) and #pragma pack()
- add -fpack-struct=x to force default structure packing

1.222 annotated / raw | Diffs: previous, other | Lines: 2768 ( +5, -3 )

Created: 2008-08-08 19:30:53 +0200 (6 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20080808173053

Bitfields are allowed in unions also.

1.221 annotated / raw | Diffs: previous, other | Lines: 2766 ( +23, -15 )

Created: 2008-08-03 22:49:25 +0200 (6 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20080803204925

Set array dimension for incomplete declarations to NOOFFSET.
Allow for arrays of zero size to be compatible with gcc.

1.220 annotated / raw | Diffs: previous, other | Lines: 2758 ( +6, -4 )

Created: 2008-08-03 14:50:44 +0200 (6 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20080803125044

Define parameter variables when a function is detected and not when the
variable is found.  This avoids many problems with parameter names
in prototypes.

1.219 annotated / raw | Diffs: previous, other | Lines: 2756 ( +7, -1 )

Created: 2008-07-30 10:36:30 +0200 (6 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20080730083630

Add note why enum's cannot be referenced before their declaration.

1.218 annotated / raw | Diffs: previous, other | Lines: 2750 ( +1, -2 )

Created: 2008-07-29 15:13:08 +0200 (6 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20080729131308

Use only nametree() instead of buildtree(NAME).  Also cleanup a bunch
of use of binop nodes.

1.217 annotated / raw | Diffs: previous, other | Lines: 2751 ( +30, -5 )

Created: 2008-07-28 18:16:05 +0200 (6 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20080728161605

Add a bunch of error checks to avoid strange compiler errors as a result
of user errors.

1.216 annotated / raw | Diffs: previous, other | Lines: 2726 ( +15, -13 )

Created: 2008-07-28 13:32:47 +0200 (6 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20080728113247

Call fixdef() for all variables in defid(), to tell targets that something
may have changed (like dimensions) in redeclarations.
Fixes problem reported by gmcgarry concerning TLS.

1.215 annotated / raw | Diffs: previous, other | Lines: 2724 ( +25, -2 )

Created: 2008-07-28 12:04:24 +0200 (6 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20080728100424

Make inline conform to c99 syntax.

1.214 annotated / raw | Diffs: previous, other | Lines: 2701 ( +5, -1 )

Created: 2008-07-16 12:17:19 +0200 (6 years 3 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080716101719

As well as accepting arrays for pointer parameters, permit pointers for
array parameters.  Noticed in NetBSD kernel.

1.213 annotated / raw | Diffs: previous, other | Lines: 2697 ( +1, -5 )

Created: 2008-07-08 09:59:27 +0200 (6 years 3 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080708075927

Complain for intermixed char/uchar arguments now that it can turned off with
-Wno-pointer-sign.  Matches gcc behaviour.

1.212 annotated / raw | Diffs: previous, other | Lines: 2701 ( +13, -12 )

Created: 2008-07-07 13:13:40 +0200 (6 years 3 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080707111340

if using -fstack-protector on function returning bool, use BOOL_TYPE
to save the return value.  Needed because the conversion from BOOL
to BOOL_TYPE is early.  Fixes compiles on i386 where BOOL_TYPE is
smaller that a machine word.

1.211 annotated / raw | Diffs: previous, other | Lines: 2700 ( +9, -7 )

Created: 2008-07-07 11:03:11 +0200 (6 years 3 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080707090311

make -fstack-protector work on functions returning structures.

1.210 annotated / raw | Diffs: previous, other | Lines: 2698 ( +5, -5 )

Created: 2008-07-05 16:05:43 +0200 (6 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20080705140543

Cleanup the handling of (wide) strings.  Now it should be as C99 intends.

1.209 annotated / raw | Diffs: previous, other | Lines: 2698 ( +18, -1 )

Created: 2008-06-25 08:14:09 +0200 (6 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080625061409

Implement __builtin_constant_p().  Required by NetBSD kernel.

1.208 annotated / raw | Diffs: previous, other | Lines: 2681 ( +10, -3 )

Created: 2008-06-21 18:30:37 +0200 (6 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20080621163037

Do not complain if a pointer to an array is declared in a prototype
and later on just an array is given as argument.

1.207 annotated / raw | Diffs: previous, other | Lines: 2674 ( +8, -5 )

Created: 2008-06-20 14:04:04 +0200 (6 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080620120404

Don't warn about missing prototypes for builtins.

1.206 annotated / raw | Diffs: previous, other | Lines: 2671 ( +93, -0 )

Created: 2008-06-20 07:54:26 +0200 (6 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080620055426

Stack smashing protection; compatible with NetBSD's libc.  Some platforms
may require libpcc.

Tested on NetBSD/i386 and OS X 10.4 on powerpc.

1.205 annotated / raw | Diffs: previous, other | Lines: 2578 ( +1, -1 )

Created: 2008-06-19 14:51:48 +0200 (6 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080619125148

Eliminate signed/unsigned comparisons.

1.204 annotated / raw | Diffs: previous, other | Lines: 2578 ( +14, -11 )

Created: 2008-06-19 10:05:00 +0200 (6 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080619080500

Add some more commandline options:

-Wshadow
-Wpointer-sign          (NetBSD kernel needs this)
-fsigned-char           (replaces compile-time feature)
-funsigned-char         (replaces compile-time feature)
-fstack-protector       (unimplemented)

Additionally, add support for -Wno-option and -fno-option to disable options.

1.203 annotated / raw | Diffs: previous, other | Lines: 2575 ( +24, -3 )

Created: 2008-04-20 11:41:38 +0200 (6 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20080420094138

Add support for xasm output values in registers and numeric arguments.
Add a few CM-separated list common functions.
Add keyword _Complex + some code to unjderstand it. No complex support
besides that.

1.202 annotated / raw | Diffs: previous, other | Lines: 2554 ( +3, -4 )

Created: 2008-04-14 13:03:29 +0200 (6 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20080414110329

Use cqual() to see whether a variable is volatile or not (to determine
its storage). Bug seen by Thorsten Glaser when compiling MirBSD ksh.

1.201 annotated / raw | Diffs: previous, other | Lines: 2555 ( +2, -2 )

Created: 2008-04-04 18:23:58 +0200 (6 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20080404162358

_Bool as argument should be handled with int alignment.  Bug found by
Thorsten Glaser.

1.200 annotated / raw | Diffs: previous, other | Lines: 2555 ( +33, -17 )

Created: 2008-04-02 21:38:49 +0200 (6 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20080402193849

Tags must be allowed to be redeclared (and hidden) at other block levels.
Showed itself while compiling gnu cpp.

1.199 annotated / raw | Diffs: previous, other | Lines: 2539 ( +12, -1 )

Created: 2008-03-31 07:34:59 +0200 (6 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20080331053459

Recalculate arg offsets after the parameters are declared in non-ansi
function headers.

1.198 annotated / raw | Diffs: previous, other | Lines: 2528 ( +8, -9 )

Created: 2008-03-20 02:15:31 +0100 (6 years 7 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080320011531

Missing parameter names can occur in later arguments, so just protect
the first one from the null dereference.  If it is missing, attach
a dummy symbol rather than the symbol for this function.  This
removes the bogus error messages about function arguments.

1.197 annotated / raw | Diffs: previous, other | Lines: 2529 ( +6, -1 )

Created: 2008-03-20 01:22:34 +0100 (6 years 7 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080320002234

Check for missing parameter name and output error.  Fixes crash on code like this:

int
func(char *)
{
}

1.196 annotated / raw | Diffs: previous, other | Lines: 2524 ( +6, -1 )

Created: 2008-03-18 22:54:54 +0100 (6 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20080318215454

Change array types for parameters to pointers before oalloc() is called.
Pointed out by Gregory McGarry.

1.195 annotated / raw | Diffs: previous, other | Lines: 2519 ( +2, -2 )

Created: 2008-02-10 23:14:28 +0100 (6 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20080210221428

Avoid segfault in debug printout.

1.194 annotated / raw | Diffs: previous, other | Lines: 2519 ( +83, -107 )

Created: 2008-02-02 17:27:50 +0100 (6 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20080202162750

Remove the use of a late allocated array for struct members, use a
linked list instead.  Signal undeclared structs by not setting its
alignment.  Remove global instruct, use a per-struct allocated struct
instead.

1.193 annotated / raw | Diffs: previous, other | Lines: 2543 ( +94, -155 )

Created: 2008-01-29 22:50:30 +0100 (6 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20080129215030

Add better struct member code from Stefan Kempf.  While here, move away
the usage of defid() for tags.  Clean up some.

1.192 annotated / raw | Diffs: previous, other | Lines: 2604 ( +100, -77 )

Created: 2008-01-26 23:16:17 +0100 (6 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20080126221617

Rewrite large parts of the argument handling, now functions can be
declared with dynamic array parameters.  For example;
void x(int a, int *b, int c[][*b = a << foo()]){}
is a legal function.  Old-style declarations dows not necessarily get
the same freedom though.

1.191 annotated / raw | Diffs: previous, other | Lines: 2581 ( +43, -147 )

Created: 2008-01-06 16:07:06 +0100 (6 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20080106150706

Large change to the initializer handling:
- Call defloc() with the symbol table entry of the symbol to be written
 out just before all initializers/location counters (also code!).
- Add new target functions instring/inwstring to print out strings
 instead of bycode().
- Remove late printout of strings, better to do it directly (which is
 possible to do nowadays :-)
- New function defzero() for allocating uninitialized data.
- Small change to inline code to use symtab for reference, not name.

1.190 annotated / raw | Diffs: previous, other | Lines: 2685 ( +16, -38 )

Created: 2008-01-01 18:17:57 +0100 (6 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20080101171757

Two changes:
- Remove yacc checks for pragmas.
 Change home-grown strtok to use the real one.
 Call mypragma() for target-specific pragma handling.
- Change symbol table entry suse to soname, we're not lint anymore.
 Store output name in soname, useful for PIC, renaming etc.
 Remove FIXDEF() macro and replace it with a mandatory function fixdef().
 Remove gcc-compat code for renaming, use soname instead.

1.189 annotated / raw | Diffs: previous, other | Lines: 2707 ( +6, -6 )

Created: 2007-12-30 11:31:51 +0100 (6 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20071230103150

Change number of TEMP nodes to be stored in rval, not lval, to be
consistent with REG/OREG nodes.
Add macro regno() to reference the reg/tempnum value.

1.188 annotated / raw | Diffs: previous, other | Lines: 2707 ( +3, -1 )

Created: 2007-12-25 14:58:48 +0100 (6 years 10 months ago) | Author: stefan | Changeset: MAIN:stefan:20071225135848

Set type to INT if it's still UNDEF upon return from typenode().
ok ragge@

1.187 annotated / raw | Diffs: previous, other | Lines: 2705 ( +5, -4 )

Created: 2007-12-20 17:43:25 +0100 (6 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20071220164325

Fix bug in qual handling so that ro data don't end up in rw segment.

1.186 annotated / raw | Diffs: previous, other | Lines: 2704 ( +3, -3 )

Created: 2007-12-09 18:46:41 +0100 (6 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20071209174641

Pass string nodes through clocal() directly when created, to give
target-dependent code the opportunity to modify those nodes.
The string handling should be somewhat modified to create a symbol
of a static array of char, and then remove the hacks.

1.185 annotated / raw | Diffs: previous, other | Lines: 2704 ( +121, -142 )

Created: 2007-11-23 17:00:06 +0100 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20071123160006

Rewrite typenode() to something more sane and smaller, now expressions
like "const int struct a short b;" are not allowed anymore.
Const and volatile keyword should now be better handled.

1.184 annotated / raw | Diffs: previous, other | Lines: 2725 ( +126, -86 )

Created: 2007-11-18 18:24:57 +0100 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20071118172457

Rewrite enum handling.
In C99 enums are treated like INTs so convert them early to int.
Move the enum tag handling out of defid(), tags are in their own namespace.
This will be done with struct/union tags also.

1.183 annotated / raw | Diffs: previous, other | Lines: 2685 ( +2, -20 )

Created: 2007-11-12 19:56:25 +0100 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20071112185625

Add funcode() as a function that is called early in buildtree and
only once.

1.182 annotated / raw | Diffs: previous, other | Lines: 2703 ( +2, -1 )

Created: 2007-10-31 01:39:53 +0100 (7 years ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20071031003953

Reset the sue to UCHAR if using CHAR_UNSIGNED.  Fixes warnings on powerpc.

1.181 annotated / raw | Diffs: previous, other | Lines: 2702 ( +12, -6 )

Created: 2007-10-19 20:41:56 +0200 (7 years ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20071019184156

Fix -Xp (prototype debug) which was interpretting structs/unions/enums
as arrays.  Fix compile with TARGET_STDARGS.

1.180 annotated / raw | Diffs: previous, other | Lines: 2696 ( +6, -1 )

Created: 2007-10-18 19:02:42 +0200 (7 years ago) | Author: otto | Changeset: MAIN:otto:20071018170242

Kill spurious warnings when arg is a function pointer. Should
actually check the return type and arg list of the function pointer
arg. ok ragge@

1.179 annotated / raw | Diffs: previous, other | Lines: 2691 ( +6, -6 )

Created: 2007-10-12 19:02:32 +0200 (7 years ago) | Author: otto | Changeset: MAIN:otto:20071012170232

fix va_arg in conditional expressions; from ragge@

1.178 annotated / raw | Diffs: previous, other | Lines: 2691 ( +20, -5 )

Created: 2007-10-06 17:19:22 +0200 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20071006151922

Add initial support for packed/aligned/rename pragmas.
Still missing:  Support for architectures with strict alignment.
TODO: Cleanup the rename stuff so that it's not depending on gcc compat.

1.177 annotated / raw | Diffs: previous, other | Lines: 2676 ( +5, -3 )

Created: 2007-10-01 19:30:03 +0200 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20071001173003

Fix 2 bugs for stdarg.  Should work now.

1.176 annotated / raw | Diffs: previous, other | Lines: 2674 ( +2, -2 )

Created: 2007-10-01 18:13:52 +0200 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20071001161352

Fix redundant test, from Stefan Kempf.

1.175 annotated / raw | Diffs: previous, other | Lines: 2674 ( +4, -4 )

Created: 2007-09-30 22:38:26 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070930203826

Fix name for __builtin_va_arg.

1.174 annotated / raw | Diffs: previous, other | Lines: 2674 ( +64, -3 )

Created: 2007-09-30 22:33:23 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070930203323

Add builtin routines for va_arg, va_end and va_copy.
Default are for simple machines with arg on stack.

1.173 annotated / raw | Diffs: previous, other | Lines: 2613 ( +69, -12 )

Created: 2007-09-30 12:22:47 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070930102247

Write better builtin dispatch code and add __builtin_stdarg_start
as a builtin function.

1.172 annotated / raw | Diffs: previous, other | Lines: 2556 ( +4, -1 )

Created: 2007-09-29 14:24:02 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070929122402

Avoid a member array overflow in the init code, from Otto Moerbeek.

1.171 annotated / raw | Diffs: previous, other | Lines: 2553 ( +3, -2 )

Created: 2007-09-23 22:00:22 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070923200022

Avoid potential segfault when debugging, from Otto Muhlbeek.

1.170 annotated / raw | Diffs: previous, other | Lines: 2552 ( +5, -2 )

Created: 2007-09-16 11:23:11 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070916092311

Better error message.

1.169 annotated / raw | Diffs: previous, other | Lines: 2549 ( +2, -2 )

Created: 2007-09-15 09:37:44 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070915073738

Patches to support OpenBSD + some sanity fixes, from Chad Loder and with
only minor changes by myself.

1.168 annotated / raw | Diffs: previous, other | Lines: 2549 ( +106, -7 )

Created: 2007-09-09 12:01:01 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070909100101

Fix problem with inline functions not being written out.
Be more liberal about forward declarations; write out declarations late.
Add support for compound literals.

1.167 annotated / raw | Diffs: previous, other | Lines: 2450 ( +56, -2 )

Created: 2007-08-25 07:59:33 +0200 (7 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20070825055933

Be more careful when checking prototypes.  XXX - no multilevel checking yet.
Add some code to handle incomplete/forward references better.

1.166 annotated / raw | Diffs: previous, other | Lines: 2396 ( +62, -9 )

Created: 2007-08-19 21:24:51 +0200 (7 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20070819192451

Fix rudimentary wide string support.
Fix one more init bug.
Store inlined strings in permanent memory.

1.165 annotated / raw | Diffs: previous, other | Lines: 2343 ( +3, -1 )

Created: 2007-08-11 11:05:06 +0200 (7 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20070811090505

Add support for _Bool type.  Will be slightly rewritten later.

1.164 annotated / raw | Diffs: previous, other | Lines: 2341 ( +2, -2 )

Created: 2007-08-01 06:55:46 +0200 (7 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20070801045546

Handle constant evaluations correct even in the unsigned case.
Set const qualifier for the correct element in a type.
Fix string element counting in init.

1.163 annotated / raw | Diffs: previous, other | Lines: 2341 ( +3, -3 )

Created: 2007-07-06 19:02:27 +0200 (7 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20070706170227

Fix more on new init code.  Can init simple arrays now.

1.162 annotated / raw | Diffs: previous, other | Lines: 2341 ( +1, -2 )

Created: 2007-04-22 15:13:48 +0200 (7 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20070422131348

Start using initializers again; now some statics works.

1.161 annotated / raw | Diffs: previous, other | Lines: 2342 ( +5, -5 )

Created: 2007-04-22 10:42:50 +0200 (7 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20070422084250

Fix sign cast that makes gcc complain.

1.160 annotated / raw | Diffs: previous, other | Lines: 2342 ( +2, -3 )

Created: 2007-03-10 09:14:44 +0100 (7 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20070310081444

More progress towards better initialization code.

1.159 annotated / raw | Diffs: previous, other | Lines: 2343 ( +4, -4 )

Created: 2007-02-10 16:51:37 +0100 (7 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20070210155137

Character constants are handled as unsigned. XXX - correct?
Add __func_ as keyword. Not entirely correct.

1.158 annotated / raw | Diffs: previous, other | Lines: 2343 ( +12, -4 )

Created: 2007-02-07 18:46:38 +0100 (7 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20070207174637

Do another rewrite of the typedef code, now do it in the lexer.
While here, remove some OLDSTYLE defines.
Fix type check bug in tymerge().

1.157 annotated / raw | Diffs: previous, other | Lines: 2335 ( +43, -1 )

Created: 2007-01-27 09:25:36 +0100 (7 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20070127082536

Handle typedefs better. XXX should be fixed better.
Implement __builtin_alloca.

1.156 annotated / raw | Diffs: previous, other | Lines: 2293 ( +2, -2 )

Created: 2007-01-13 14:06:58 +0100 (7 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20070113130658

Allow for enum arrays to be declared const.
Handle || and && of constants in the compiler.

1.155 annotated / raw | Diffs: previous, other | Lines: 2293 ( +21, -2 )

Created: 2006-06-29 07:43:32 +0200 (8 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20060629054332

Cast float to double if no prototype is present.
Disable shift optim, must check for side effects.

1.154 annotated / raw | Diffs: previous, other | Lines: 2274 ( +2, -1 )

Created: 2006-06-20 08:02:44 +0200 (8 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20060620060243

Fix problem when varargs is used.
Do not allocate space on stack for spilled args if already on stack.
Remove more unneccessaty SCONVs.

1.153 annotated / raw | Diffs: previous, other | Lines: 2273 ( +19, -1 )

Created: 2006-06-18 10:02:50 +0200 (8 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20060618080250

Put arguments in temporaries in functions.

1.152 annotated / raw | Diffs: previous, other | Lines: 2255 ( +13, -5 )

Created: 2006-06-15 21:05:23 +0200 (8 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20060615190523

Fix string handling so that correct length for sizeof is calculated.
XXX - should be done only once.

1.151 annotated / raw | Diffs: previous, other | Lines: 2247 ( +7, -1 )

Created: 2006-06-14 19:53:08 +0200 (8 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20060614175308

Fix floating point code generation bug, and small optimization for ?:.
Fix cast long long -> short.
Fix so that qualifiers can occur after typedefed type.

1.150 annotated / raw | Diffs: previous, other | Lines: 2241 ( +6, -4 )

Created: 2006-02-19 23:22:26 +0100 (8 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20060219222226

Fix stabs generation.  Fix function call argument emitting order.
Change one erroneous error message.  Cleanup location counters slightly.

1.149 annotated / raw | Diffs: previous, other | Lines: 2239 ( +3, -2 )

Created: 2006-02-16 17:46:30 +0100 (8 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20060216164630

Rewrite struct argument handling.

1.148 annotated / raw | Diffs: previous, other | Lines: 2238 ( +2, -2 )

Created: 2006-01-28 08:27:12 +0100 (8 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20060128072712

Bugfixes for encoding allocations.
Fix more table entries.
Still bugs in longlong allocator.

1.147 annotated / raw | Diffs: previous, other | Lines: 2238 ( +3, -17 )

Created: 2005-12-04 12:49:00 +0100 (8 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20051204114900

Add support for spilling short-lived temps.
Fix relops checking.

1.146 annotated / raw | Diffs: previous, other | Lines: 2252 ( +12, -7 )

Created: 2005-09-05 19:07:16 +0200 (9 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20050905170716

Temporary checkin: rewrite of liveness analysis.

1.145 annotated / raw | Diffs: previous, other | Lines: 2247 ( +5, -2 )

Created: 2005-08-06 14:18:22 +0200 (9 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20050806121819

Change ipp_regs to a bitmask. Fix saving of permanent registers.

1.144 annotated / raw | Diffs: previous, other | Lines: 2244 ( +6, -7 )

Created: 2005-06-28 13:32:56 +0200 (9 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20050628113256

Add min/max label numbers to ipp struct. Cleanup slightly. Document.

1.143 annotated / raw | Diffs: previous, other | Lines: 2245 ( +3, -3 )

Created: 2005-05-22 12:45:47 +0200 (9 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20050522104546

Change ccom to take -x parameters to tell it which optimizations to use.
Let cc convert -O options to suitable -x options.
While here, cleanup pass2 prolog/epilog code a bit.

1.142 annotated / raw | Diffs: previous, other | Lines: 2245 ( +6, -1 )

Created: 2005-04-16 13:20:41 +0200 (9 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20050416112041

Add calls calldec()/extdec() to deal with declarations in MD code.

1.141 annotated / raw | Diffs: previous, other | Lines: 2240 ( +3, -9 )

Created: 2005-04-02 09:56:17 +0200 (9 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20050402075617

Start reworking pass2 entry.

1.140 annotated / raw | Diffs: previous, other | Lines: 2246 ( +5, -3 )

Created: 2005-02-28 17:40:35 +0100 (9 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20050228164035

Take care of the situation where the only arg is 'void'.

1.139 annotated / raw | Diffs: previous, other | Lines: 2244 ( +8, -8 )

Created: 2005-02-20 13:40:42 +0100 (9 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20050220124042

Bugfix tempnode handling, did always assign new temp nodes.
In pass2, zero tempnode list after epilog, not after each statement.

1.138 annotated / raw | Diffs: previous, other | Lines: 2244 ( +15, -7 )

Created: 2005-02-18 17:48:59 +0100 (9 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20050218164859

Use local versions of queue macros.
Do compile-time calculation of bit set sizes.
Remove LOCCTR as interpass type, location counters are only output in pass1.

1.137 annotated / raw | Diffs: previous, other | Lines: 2236 ( +13, -12 )

Created: 2005-02-05 15:39:07 +0100 (9 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20050205143907

Resurrect TEMP nodes.

1.136 annotated / raw | Diffs: previous, other | Lines: 2235 ( +1, -14 )

Created: 2005-01-29 17:05:27 +0100 (9 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20050129160527

Move prototype data structures to pass1.h.
Fix so that the table matching will be first best match, not last.

1.135 annotated / raw | Diffs: previous, other | Lines: 2248 ( +2, -2 )

Created: 2005-01-29 13:11:47 +0100 (9 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20050129121147

Allow for pointers of different sizes.

1.134 annotated / raw | Diffs: previous, other | Lines: 2248 ( +5, -4 )

Created: 2005-01-20 22:24:14 +0100 (9 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20050120212414

Fix prolog/epilog.  Framework for tailcall optimization.

1.133 annotated / raw | Diffs: previous, other | Lines: 2247 ( +2, -1 )

Created: 2005-01-20 15:51:06 +0100 (9 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20050120145106

Put in a prog label directly after prolog.

1.132 annotated / raw | Diffs: previous, other | Lines: 2246 ( +2, -1 )

Created: 2005-01-14 17:10:07 +0100 (9 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20050114161007

Call defnam from here.

1.131 annotated / raw | Diffs: previous, other | Lines: 2245 ( +11, -10 )

Created: 2005-01-14 16:46:53 +0100 (9 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20050114154652

Move bfcode() a bit. Fix oalloc() prototype.

1.130 annotated / raw | Diffs: previous, other | Lines: 2244 ( +3, -1 )

Created: 2005-01-02 18:55:36 +0100 (9 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20050102175536

Fix init bugs.  "signed" alone declares an int variable.

1.129 annotated / raw | Diffs: previous, other | Lines: 2242 ( +5, -7 )

Created: 2004-12-30 11:35:16 +0100 (9 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20041230103516

Stabs support, update docs, clean up static handling, support for
struct initialization.

1.128 annotated / raw | Diffs: previous, other | Lines: 2244 ( +3, -3 )

Created: 2004-12-20 20:02:53 +0100 (9 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20041220190252

More fixes in label chaos.

1.127 annotated / raw | Diffs: previous, other | Lines: 2244 ( +5, -22 )

Created: 2004-12-20 19:27:10 +0100 (9 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20041220182709

Lots of printf changes.  Start cleaning up location counters/label settings.

1.126 annotated / raw | Diffs: previous, other | Lines: 2261 ( +9, -2 )

Created: 2004-12-12 14:13:02 +0100 (9 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20041212131302

stabs bugfixes, can now access variables on stack.
Code generation fix.

1.125 annotated / raw | Diffs: previous, other | Lines: 2254 ( +3, -4 )

Created: 2004-12-11 10:12:36 +0100 (9 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20041211091236

Add a bunch of functions to get stab support.

1.124 annotated / raw | Diffs: previous, other | Lines: 2255 ( +21, -4 )

Created: 2004-12-02 22:33:50 +0100 (9 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20041202213350

Add basic stabs support.  Fix register assignment bug.
Begin with stabs support.

1.123 annotated / raw | Diffs: previous, other | Lines: 2238 ( +6, -8 )

Created: 2004-10-03 15:28:05 +0200 (10 years ago) | Author: ragge | Changeset: MAIN:ragge:20041003132805

Fix uninit warnings.

1.122 annotated / raw | Diffs: previous, other | Lines: 2240 ( +5, -2 )

Created: 2004-10-02 09:59:32 +0200 (10 years ago) | Author: ragge | Changeset: MAIN:ragge:20041002075932

Add support for initializations on stack.

1.121 annotated / raw | Diffs: previous, other | Lines: 2237 ( +10, -551 )

Created: 2004-09-19 11:40:48 +0200 (10 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20040919094048

Temp checkin - move out initializations to separate file.

1.120 annotated / raw | Diffs: previous, other | Lines: 2778 ( +47, -13 )

Created: 2004-09-05 13:44:14 +0200 (10 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20040905114414

Temp checkin: start work on stack element init.

1.119 annotated / raw | Diffs: previous, other | Lines: 2744 ( +22, -8 )

Created: 2004-09-04 13:12:25 +0200 (10 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20040904111225

Fix inline assembler printout. Add one more type combination case.

1.118 annotated / raw | Diffs: previous, other | Lines: 2730 ( +3, -3 )

Created: 2004-09-04 10:29:32 +0200 (10 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20040904082932

Fix init string bug.

1.117 annotated / raw | Diffs: previous, other | Lines: 2730 ( +17, -3 )

Created: 2004-06-23 10:41:42 +0200 (10 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20040623084142

Bugfix prototype checks when it has multiple arrays.
Add SCONV entry for long long -> floating.

1.116 annotated / raw | Diffs: previous, other | Lines: 2716 ( +3, -1 )

Created: 2004-06-22 14:12:52 +0200 (10 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20040622121252

Add comment.

1.115 annotated / raw | Diffs: previous, other | Lines: 2714 ( +13, -4 )

Created: 2004-06-14 18:33:31 +0200 (10 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20040614163331

More bug fixes.

1.114 annotated / raw | Diffs: previous, other | Lines: 2705 ( +11, -6 )

Created: 2004-06-12 10:57:28 +0200 (10 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20040612085728

Add more entries to the table.
Remove a bunch of enum-specific checks.  Enum handling should be rewritten.
Use more of the gcc-warn flags.

1.113 annotated / raw | Diffs: previous, other | Lines: 2700 ( +24, -6 )

Created: 2004-06-08 23:07:25 +0200 (10 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20040608210724

Many fixes.  Now compiles (but not runs!) emacs.

1.112 annotated / raw | Diffs: previous, other | Lines: 2682 ( +5, -16 )

Created: 2004-06-05 10:22:42 +0200 (10 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20040605082242

Change call generation to MD, needed for struct returns.
Add a bunch of math stuff.

1.111 annotated / raw | Diffs: previous, other | Lines: 2693 ( +8, -1 )

Created: 2004-05-30 19:28:08 +0200 (10 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20040530172805

Add structure calls.

1.110 annotated / raw | Diffs: previous, other | Lines: 2686 ( +4, -1 )

Created: 2004-05-29 16:11:49 +0200 (10 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20040529141145

Numerous fixes.

1.109 annotated / raw | Diffs: previous, other | Lines: 2683 ( +6, -2 )

Created: 2004-05-29 09:53:27 +0200 (10 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20040529075327

Split out branches separately. code generation bugfix.

1.108 annotated / raw | Diffs: previous, other | Lines: 2679 ( +19, -1 )

Created: 2004-05-16 13:08:04 +0200 (10 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20040516110801

Fix redefinition of names.

1.107 annotated / raw | Diffs: previous, other | Lines: 2661 ( +9, -5 )

Created: 2004-05-13 21:33:47 +0200 (10 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20040513193347

Now register assignment works as expected.

1.106 annotated / raw | Diffs: previous, other | Lines: 2657 ( +18, -6 )

Created: 2004-05-09 20:26:58 +0200 (10 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20040509182657

Change TEMPs to OREGs instead (discard TEMPs).

1.105 annotated / raw | Diffs: previous, other | Lines: 2645 ( +4, -1 )

Created: 2003-12-15 23:02:06 +0100 (10 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20031215220206

Temporary checkin, lots of removed code.

1.104 annotated / raw | Diffs: previous, other | Lines: 2642 ( +4, -4 )

Created: 2003-11-13 16:59:46 +0100 (10 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20031113155946

Fix better error messages and send them to stdout.

1.103 annotated / raw | Diffs: previous, other | Lines: 2642 ( +5, -5 )

Created: 2003-09-12 17:14:01 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030912151401

Remove remaining unary ops.

1.102 annotated / raw | Diffs: previous, other | Lines: 2642 ( +2, -2 )

Created: 2003-09-12 16:32:53 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030912143253

UNARY AND -> ADDROF.

1.101 annotated / raw | Diffs: previous, other | Lines: 2642 ( +1, -45 )

Created: 2003-09-07 15:30:37 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030907133037

Fix real support for multidimensional dynamic arrays.

1.100 annotated / raw | Diffs: previous, other | Lines: 2686 ( +75, -58 )

Created: 2003-09-04 22:46:44 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030904204644

Temp checkin: Move towards dynamic arrays.

1.99 annotated / raw | Diffs: previous, other | Lines: 2669 ( +6, -2 )

Created: 2003-09-03 18:37:38 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030903163738

Tell which function is lacking prototype.

1.98 annotated / raw | Diffs: previous, other | Lines: 2665 ( +6, -1 )

Created: 2003-08-18 11:04:07 +0200 (11 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20030818090407

Add longlong or. Add register assign for bytes.
Call optim() in stref() to convert to constants early.

1.97 annotated / raw | Diffs: previous, other | Lines: 2660 ( +7, -2 )

Created: 2003-08-14 09:54:34 +0200 (11 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20030814075434

(typedefed) functions given as arguments are actually function pointers.

1.96 annotated / raw | Diffs: previous, other | Lines: 2655 ( +1, -6 )

Created: 2003-08-06 22:08:48 +0200 (11 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20030806200848

A bunch of fixes to be closer to x86 support.

1.95 annotated / raw | Diffs: previous, other | Lines: 2660 ( +2, -1 )

Created: 2003-08-02 18:23:34 +0200 (11 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20030802162334

Fix volatile propagation.

1.94 annotated / raw | Diffs: previous, other | Lines: 2659 ( +14, -9 )

Created: 2003-08-02 13:22:44 +0200 (11 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20030802112243

Fix a bunch of const checkings. Now compiles kernel.

1.93 annotated / raw | Diffs: previous, other | Lines: 2654 ( +16, -11 )

Created: 2003-08-01 15:44:44 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030801134444

More checks of const.

1.92 annotated / raw | Diffs: previous, other | Lines: 2649 ( +16, -7 )

Created: 2003-08-01 15:12:04 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030801131203

Start implementing qualifiers.

1.91 annotated / raw | Diffs: previous, other | Lines: 2640 ( +42, -1 )

Created: 2003-07-30 19:56:25 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030730175625

Discard xdefs.

1.90 annotated / raw | Diffs: previous, other | Lines: 2599 ( +1, -2 )

Created: 2003-07-30 13:48:33 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030730114833

Make pass1 clean.

1.89 annotated / raw | Diffs: previous, other | Lines: 2600 ( +4, -2 )

Created: 2003-07-30 13:27:47 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030730112747

Make manifest 4.4-clean and reader almost-clean.

1.88 annotated / raw | Diffs: previous, other | Lines: 2598 ( +1, -3 )

Created: 2003-07-29 11:16:19 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030729091618

Ignore some void definitions. Don't send useless trees to pass2.

1.87 annotated / raw | Diffs: previous, other | Lines: 2600 ( +1, -40 )

Created: 2003-07-07 22:39:44 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030707203944

Remov more forgotten code.

1.86 annotated / raw | Diffs: previous, other | Lines: 2639 ( +9, -5 )

Created: 2003-07-07 20:09:10 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030707180910

Do some sanity checks before calling MD routines.

1.85 annotated / raw | Diffs: previous, other | Lines: 2635 ( +1, -1 )

Created: 2003-07-07 16:57:15 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030707145715

Fix common V32-ish. Fix some wrong CVSid:s.

1.84 annotated / raw | Diffs: previous, other | Lines: 2635 ( +5, -5 )

Created: 2003-07-07 15:53:04 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030707135304

Next step v32:ifying. Start the walk towards a void type.

1.83 annotated / raw | Diffs: previous, other | Lines: 2635 ( +66, -5 )

Created: 2003-07-07 12:29:45 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030707102945

File now 32V-fixed. Add copyrights.

1.82 annotated / raw | Diffs: previous, other | Lines: 2574 ( +1, -5 )

Created: 2003-07-06 20:12:46 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030706181246

Remove a bunch of DCON dependencies/usages.

1.81 annotated / raw | Diffs: previous, other | Lines: 2578 ( +8, -16 )

Created: 2003-07-06 16:19:12 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030706141912

Exchange upoff for something else.

1.80 annotated / raw | Diffs: previous, other | Lines: 2586 ( +4, -7 )

Created: 2003-07-06 15:56:50 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030706135650

Bugfix last changes.

1.79 annotated / raw | Diffs: previous, other | Lines: 2589 ( +10, -34 )

Created: 2003-07-06 15:23:56 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030706132356

Fix so that lcomm works in a reasonable way.

1.78 annotated / raw | Diffs: previous, other | Lines: 2613 ( +4, -44 )

Created: 2003-07-06 15:06:34 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030706130634

32V-ify more code. Disable Oflag.

1.77 annotated / raw | Diffs: previous, other | Lines: 2653 ( +9, -8 )

Created: 2003-07-05 11:00:11 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030705090010

Fix remaining stuff to allow for an optimize pass.

1.76 annotated / raw | Diffs: previous, other | Lines: 2652 ( +2, -2 )

Created: 2003-07-03 22:52:27 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030703205227

Remove the node array. Everything now is dynamic.

1.75 annotated / raw | Diffs: previous, other | Lines: 2652 ( +1, -1 )

Created: 2003-07-03 20:10:04 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030703181004

Fix remaining discovered bugs.

1.74 annotated / raw | Diffs: previous, other | Lines: 2652 ( +38, -24 )

Created: 2003-07-03 15:53:52 +0200 (11 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030703135351

Start walking towards not using a static node table.

1.73 annotated / raw | Diffs: previous, other | Lines: 2638 ( +18, -6 )

Created: 2003-06-23 23:48:14 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030623214814

Big change: send everything from pass1 via one function.

1.72 annotated / raw | Diffs: previous, other | Lines: 2626 ( +4, -16 )

Created: 2003-06-23 20:50:11 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030623185010

Implement basic framework to send everything through one subroutine.

1.71 annotated / raw | Diffs: previous, other | Lines: 2638 ( +4, -4 )

Created: 2003-06-22 23:13:30 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030622211330

Add an embryo fo doing tree optimizing.

1.70 annotated / raw | Diffs: previous, other | Lines: 2638 ( +16, -4 )

Created: 2003-06-22 21:39:21 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030622193921

Inline the prolog/epilog stuff.

1.69 annotated / raw | Diffs: previous, other | Lines: 2626 ( +28, -3 )

Created: 2003-06-22 15:56:31 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030622135631

Move prolog/epilog generation to pass2.

1.68 annotated / raw | Diffs: previous, other | Lines: 2601 ( +3, -1 )

Created: 2003-06-22 12:16:37 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030622101637

Do not save prototype info for old-style functions.

1.67 annotated / raw | Diffs: previous, other | Lines: 2599 ( +1, -2 )

Created: 2003-06-21 20:28:13 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030621182813

New node type LABEL, for internal labels to pass thru the optimizer.

1.66 annotated / raw | Diffs: previous, other | Lines: 2600 ( +52, -25 )

Created: 2003-06-20 16:39:00 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030620143900

Move string printout to after functions.

1.65 annotated / raw | Diffs: previous, other | Lines: 2573 ( +11, -3 )

Created: 2003-06-20 00:30:01 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030619223001

Add some statistics.

1.64 annotated / raw | Diffs: previous, other | Lines: 2565 ( +5, -5 )

Created: 2003-06-19 23:16:24 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030619211624

Remove some unneccessary string copying.

1.63 annotated / raw | Diffs: previous, other | Lines: 2565 ( +2, -2 )

Created: 2003-06-19 18:17:53 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030619161753

Remove usage of n_su in first pass.

1.62 annotated / raw | Diffs: previous, other | Lines: 2565 ( +3, -3 )

Created: 2003-06-19 17:49:42 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030619154942

Make the switch table dynamic.

1.61 annotated / raw | Diffs: previous, other | Lines: 2565 ( +0, -19 )

Created: 2003-06-19 16:44:48 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030619144448

Remove some if 0'ed code.

1.60 annotated / raw | Diffs: previous, other | Lines: 2584 ( +23, -4 )

Created: 2003-06-19 16:24:58 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030619142458

Fix type upgrading in old-style function declarations.

1.59 annotated / raw | Diffs: previous, other | Lines: 2565 ( +139, -62 )

Created: 2003-06-19 16:09:18 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030619140917

Fix "new-style" prototype handling.

1.58 annotated / raw | Diffs: previous, other | Lines: 2488 ( +8, -1 )

Created: 2003-06-17 16:09:14 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030617140914

Avoid some segfaults.

1.57 annotated / raw | Diffs: previous, other | Lines: 2481 ( +139, -0 )

Created: 2003-06-17 13:51:42 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030617115142

Fix prototype checking.

1.56 annotated / raw | Diffs: previous, other | Lines: 2342 ( +115, -71 )

Created: 2003-06-17 00:29:50 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030616222950

Giant night checkin.
- Never enter symtabs into the tree if blevel > 0, use a linked list.
- Remove the old prototype checking stuff.
- Almost finished with new style prototype checking.

1.55 annotated / raw | Diffs: previous, other | Lines: 2298 ( +109, -25 )

Created: 2003-06-15 23:21:53 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030615212153

Do real prototype checks in defid().
XXX - not yet recursive checks.

1.54 annotated / raw | Diffs: previous, other | Lines: 2214 ( +93, -105 )

Created: 2003-06-12 11:22:08 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030612092208

Add comments about 4.4BSD stuff. Change tymerge/tyreduce for better recursion.

1.53 annotated / raw | Diffs: previous, other | Lines: 2226 ( +6, -0 )

Created: 2003-06-11 23:00:23 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030611210023

A few more cosmetic fixes.

1.52 annotated / raw | Diffs: previous, other | Lines: 2220 ( +71, -61 )

Created: 2003-06-11 16:42:26 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030611144225

Change the dim pointers to an union, to be able to store function
prototype information in the same place.

1.51 annotated / raw | Diffs: previous, other | Lines: 2210 ( +6, -3 )

Created: 2003-06-10 16:28:56 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030610142855

Remove the static break/continue table.

1.50 annotated / raw | Diffs: previous, other | Lines: 2207 ( +103, -87 )

Created: 2003-06-10 15:57:19 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030610135719

Remove the dimension table (at last!).

1.49 annotated / raw | Diffs: previous, other | Lines: 2191 ( +25, -3 )

Created: 2003-06-10 14:29:27 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030610122927

First step toward removing the dimtab: do type parsing.

1.48 annotated / raw | Diffs: previous, other | Lines: 2169 ( +20, -27 )

Created: 2003-06-10 14:08:13 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030610120813

Use lookup() for strings also.

1.47 annotated / raw | Diffs: previous, other | Lines: 2176 ( +8, -12 )

Created: 2003-06-10 12:32:09 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030610103209

Use the same list for params as well as structs.

1.46 annotated / raw | Diffs: previous, other | Lines: 2180 ( +60, -41 )

Created: 2003-06-10 12:20:37 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030610102037

The paramstk removed and replaced by a linked list.

1.45 annotated / raw | Diffs: previous, other | Lines: 2161 ( +38, -31 )

Created: 2003-06-10 10:08:05 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030610080804

Do not use param stack for parameters, use a linked list instead.

1.44 annotated / raw | Diffs: previous, other | Lines: 2154 ( +28, -24 )

Created: 2003-06-09 19:42:57 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030609174257

Remove the init stack limitation.

1.43 annotated / raw | Diffs: previous, other | Lines: 2150 ( +178, -155 )

Created: 2003-06-09 17:55:57 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030609155556

Large change: Replace the dimension index by a pointer to a struct containing
the related info.

1.42 annotated / raw | Diffs: previous, other | Lines: 2127 ( +0, -221 )

Created: 2003-06-08 20:26:51 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030608182650

Remove unused code.

1.41 annotated / raw | Diffs: previous, other | Lines: 2348 ( +22, -10 )

Created: 2003-06-08 20:03:36 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030608180336

Now supports dynamic symbol table also.

1.40 annotated / raw | Diffs: previous, other | Lines: 2336 ( +32, -58 )

Created: 2003-06-07 22:26:03 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030607202603

Turn over labels to use common symbol table.

1.39 annotated / raw | Diffs: previous, other | Lines: 2362 ( +8, -8 )

Created: 2003-06-07 19:52:35 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030607175235

Remove SMOS, unused for now.

1.38 annotated / raw | Diffs: previous, other | Lines: 2362 ( +1, -22 )

Created: 2003-06-07 19:47:46 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030607174746

Use patricia tree for searching symbols. Currently only used for tags.

1.37 annotated / raw | Diffs: previous, other | Lines: 2383 ( +4, -2 )

Created: 2003-06-07 12:16:30 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030607101630

Save strings in a patricia tree also.

1.36 annotated / raw | Diffs: previous, other | Lines: 2381 ( +1, -3 )

Created: 2003-06-06 21:39:56 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030606193955

Add temporary allocation of strings.
Enable allocation of temporary elements.
Add a -s flag for statistics.

1.35 annotated / raw | Diffs: previous, other | Lines: 2383 ( +0, -5 )

Created: 2003-06-04 22:30:49 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030604203049

Remove some more useless code.

1.34 annotated / raw | Diffs: previous, other | Lines: 2388 ( +3, -68 )

Created: 2003-06-04 22:08:25 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030604200825

Remove a bunch of redundant code.

1.33 annotated / raw | Diffs: previous, other | Lines: 2453 ( +258, -219 )

Created: 2003-06-04 21:36:06 +0200 (11 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030604193605

Split the symbol table into four different.
This is not yet finished, some ptr->int conversions exists.

1.32 annotated / raw | Diffs: previous, other | Lines: 2414 ( +74, -20 )

Created: 2003-05-31 20:43:06 +0200 (11 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20030531184306

Temporary checkin, tags moved to private symbol space. (ugly hack)

1.31 annotated / raw | Diffs: previous, other | Lines: 2360 ( +88, -88 )

Created: 2003-05-31 12:34:47 +0200 (11 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20030531103446

Another step towards removing strange dependencies:
Change the node union to a struct with the elements in unions
instead of the poopsite. Keep it in node.h instead.

1.30 annotated / raw | Diffs: previous, other | Lines: 2360 ( +115, -14 )

Created: 2003-05-28 14:00:58 +0200 (11 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20030528120058

Add routines for dynamic arrays.

1.29 annotated / raw | Diffs: previous, other | Lines: 2259 ( +2, -1 )

Created: 2003-05-18 13:01:47 +0200 (11 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20030518110147

Fix problem with clashing struct member names and prototypes.

1.28 annotated / raw | Diffs: previous, other | Lines: 2258 ( +1, -1 )

Created: 2003-03-29 17:57:44 +0100 (11 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20030329165744

Multiple fixes to understand typedefs in prototypes better.

1.27 annotated / raw | Diffs: previous, other | Lines: 2258 ( +8, -0 )

Created: 2003-02-02 22:42:00 +0100 (11 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20030202214200

Add support for unsigned chars by default.

1.26 annotated / raw | Diffs: previous, other | Lines: 2250 ( +11, -4 )

Created: 2003-02-02 15:50:22 +0100 (11 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20030202145022

Add basic support for optimizing away unreferenced inline functions.

1.25 annotated / raw | Diffs: previous, other | Lines: 2243 ( +71, -57 )

Created: 2003-01-26 23:35:57 +0100 (11 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20030126223556

Remove hflag, but still honor "hiding" warning.
Compare readonly strings so that not more than one of each kind is
written out.

1.24 annotated / raw | Diffs: previous, other | Lines: 2229 ( +71, -29 )

Created: 2003-01-22 00:26:24 +0100 (11 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20030121232624

Move label handling into its own symbol table.

1.23 annotated / raw | Diffs: previous, other | Lines: 2187 ( +49, -21 )

Created: 2003-01-11 12:12:05 +0100 (11 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20030111111205

Support strings written as "aaa" "bbb" for concatenation.

1.22 annotated / raw | Diffs: previous, other | Lines: 2159 ( +30, -97 )

Created: 2003-01-10 23:02:56 +0100 (11 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20030110220256

Fix abstract_declarator3. Remove unused functions. Increase dimtab size
to 20000 entries. XXX - dimtab should be dynamic.

1.21 annotated / raw | Diffs: previous, other | Lines: 2226 ( +81, -57 )

Created: 2003-01-08 23:15:49 +0100 (11 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20030108221549

Allow for structs/unions to have members of size 0.

1.20 annotated / raw | Diffs: previous, other | Lines: 2202 ( +18, -14 )

Created: 2003-01-06 23:51:54 +0100 (11 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20030106225154

Allow initialization of unions also, in the most primitive way.

1.19 annotated / raw | Diffs: previous, other | Lines: 2198 ( +43, -38 )

Created: 2003-01-03 23:32:33 +0100 (11 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20030103223233

Cleanup.

1.18 annotated / raw | Diffs: previous, other | Lines: 2193 ( +56, -48 )

Created: 2002-12-05 21:03:07 +0100 (11 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20021205200307

Remove global curclass. Mark unused name entries as TNULL.

1.17 annotated / raw | Diffs: previous, other | Lines: 2185 ( +4, -4 )

Created: 2002-12-03 23:00:02 +0100 (11 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20021203220002

Fix unwanted segfaults. Complain fix.

1.16 annotated / raw | Diffs: previous, other | Lines: 2185 ( +6, -0 )

Created: 2002-12-03 22:48:59 +0100 (11 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20021203214859

Change block variable assignment.

1.15 annotated / raw | Diffs: previous, other | Lines: 2179 ( +3, -3 )

Created: 2002-11-25 00:01:14 +0100 (11 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20021124230114

Deal with "extern struct foo kaka;" correctly.

1.14 annotated / raw | Diffs: previous, other | Lines: 2179 ( +40, -17 )

Created: 2002-11-24 18:55:10 +0100 (11 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20021124175510

Accept more things inside prototypes. Forward-declaration of structs.

1.13 annotated / raw | Diffs: previous, other | Lines: 2156 ( +78, -0 )

Created: 2002-11-23 17:06:46 +0100 (11 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20021123160646

Temp checkin: Rewriting of yacc code for ansi support. Now supports
external variable init.

1.12 annotated / raw | Diffs: previous, other | Lines: 2078 ( +56, -37 )

Created: 2002-10-26 17:18:37 +0200 (12 years ago) | Author: ragge | Changeset: MAIN:ragge:20021026151837

Cleanup. Add support for growing stack.

1.11 annotated / raw | Diffs: previous, other | Lines: 2059 ( +3, -2 )

Created: 2002-08-17 14:54:48 +0200 (12 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20020817125448

A bunch of cleanup. Add BSS save area, to use if hw needs it.

1.10 annotated / raw | Diffs: previous, other | Lines: 2058 ( +10, -3 )

Created: 2002-06-04 15:47:34 +0200 (12 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20020604134734

Convert non-static function to static if declaration is static.

1.9 annotated / raw | Diffs: previous, other | Lines: 2051 ( +9, -6 )

Created: 2002-05-20 18:27:01 +0200 (12 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20020520162701

Some more longlong helpers.

1.8 annotated / raw | Diffs: previous, other | Lines: 2048 ( +2, -0 )

Created: 2002-05-11 15:00:09 +0200 (12 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20020511130009

Understand (and so far ignore) const and volatile.

1.7 annotated / raw | Diffs: previous, other | Lines: 2046 ( +33, -17 )

Created: 2002-05-10 22:04:53 +0200 (12 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20020510200453

Add long long + signed.

1.6 annotated / raw | Diffs: previous, other | Lines: 2030 ( +1, -0 )

Created: 2002-05-10 18:01:27 +0200 (12 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20020510160127

Prototypes now almost work.

1.5 annotated / raw | Diffs: previous, other | Lines: 2029 ( +0, -11 )

Created: 2002-05-05 13:11:42 +0200 (12 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20020505111142

More cleanup. Remove a bunch of goto's.

1.4 annotated / raw | Diffs: previous, other | Lines: 2040 ( +27, -23 )

Created: 2002-05-02 20:03:53 +0200 (12 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20020502180353

A bunch of cleanup, mostly stylistic.

1.3 annotated / raw | Diffs: previous, other | Lines: 2036 ( +0, -93 )

Created: 2002-03-26 20:21:51 +0100 (12 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20020326192151

Remove FLEXNAMES, always long names.

1.2 annotated / raw | Diffs: previous, other | Lines: 2129 ( +327, -203 )

Created: 2002-03-25 23:52:36 +0100 (12 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20020325225236

Make pcc compile, and generate vax code.

1.1 new annotated / raw | Lines: 2005 ( +2005, -0 )

Created: 2002-03-24 11:57:24 +0100 (12 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20020324105723

Initial revision

Branch point for: BSD_44

Tags: BSD_44$BP

latest revision download Branch BSD_44

1.1.1.1 annotated / raw | Diffs: previous, other | Lines: 2005 ( +0, -0 )

Created: 2002-03-24 11:57:24 +0100 (12 years 7 months ago) | Author: ragge | Changeset: BSD_44:ragge:20020324105723

Ipmort of the pcc working tree.

Tags: first

FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-11-01 02:15 +0100