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.127 1.1

latest revision download Branch MAIN

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

Created: 2015-01-01 10:16:59 +0100 (4 months 24 days ago) | Author: ragge | Changeset: MAIN:ragge:20150101091659

Avoid a warning we always get about shadowing bdebug, since flex uses it
as a parameter.

1.126 annotated / raw | Diffs: previous, other | Lines: 881 ( +15, -19 )

Created: 2014-10-12 19:39:26 +0200 (7 months ago) | Author: ragge | Changeset: MAIN:ragge:20141012173926

Fix logic for setting constant of types, so that a given type never can
be classed down.

Branch point for: r-1-1-0

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

1.125 annotated / raw | Diffs: previous, other | Lines: 885 ( +2, -2 )

Created: 2014-09-01 19:58:01 +0200 (8 months ago) | Author: ragge | Changeset: MAIN:ragge:20140901175801

Missed to subtract '0' when converting exponent string to number.
Fixes part of Jira#PCC-483 by Fred J. Tydeman.

1.124 annotated / raw | Diffs: previous, other | Lines: 885 ( +97, -9 )

Created: 2014-08-22 15:13:29 +0200 (9 months 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.123 annotated / raw | Diffs: previous, other | Lines: 797 ( +7, -10 )

Created: 2014-08-18 13:27:34 +0200 (9 months ago) | Author: plunky | Changeset: MAIN:plunky:20140818112734

for character and wide-character constants, match against an
empty pair of quotes (enables correct error reporting)

in charcon() and wcharcon() no need to test for 'L' as we
know if it there or not (charcon() no, wcharcon() yes)

while here, tidy up charcon() and wcharcon() a little

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

Created: 2014-07-03 19:30:31 +0200 (10 months ago) | Author: ragge | Changeset: MAIN:ragge:20140703173031

Must handle + as well as - when parsing hex constants.
Fixes Jira#PCC-301 by Fred J. Tydeman (reopened).

1.121 annotated / raw | Diffs: previous, other | Lines: 798 ( +17, -95 )

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

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

1.120 annotated / raw | Diffs: previous, other | Lines: 876 ( +2, -2 )

Created: 2014-05-03 17:11:36 +0200 (12 months 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.119 annotated / raw | Diffs: previous, other | Lines: 876 ( +9, -1 )

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

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

1.118 annotated / raw | Diffs: previous, other | Lines: 868 ( +26, -2 )

Created: 2014-05-01 13:32:31 +0200 (12 months ago) | Author: ragge | Changeset: MAIN:ragge:20140501113231

Do not use strtol for hex floating points and exponents, may give bad result.
Fixes Jira#PCC-301 by Fred J. Tydeman.

1.117 annotated / raw | Diffs: previous, other | Lines: 844 ( +19, -2 )

Created: 2014-04-19 17:14:14 +0200 (13 months ago) | Author: ragge | Changeset: MAIN:ragge:20140419151414

Implement #pragma push/pop.  Fixes Jira#PCC-418 by Dara Hazeghi.

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

Created: 2014-04-03 17:14:45 +0200 (13 months ago) | Author: ragge | Changeset: MAIN:ragge:20140403151445

A character constant is an int but must have the same value as a char.
Therefore we may have to set different values depending on whether the
target has signed or unsigned chars.

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

Created: 2012-08-22 19:05:30 +0200 (2 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20120822170530

Types not allowed after comma unless inside parenthesis.
Fixes Jira#PCC-264 by Iain Hibbert.

1.114 annotated / raw | Diffs: previous, other | Lines: 822 ( +2, -2 )

Created: 2012-08-12 02:42:32 +0200 (2 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20120812004232

Call ctype() on reading in float constants since some targets do not have
all floating types.

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

Created: 2012-07-30 17:27:47 +0200 (2 years 9 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.112 annotated / raw | Diffs: previous, other | Lines: 815 ( +7, -12 )

Created: 2012-07-10 14:20:26 +0200 (2 years 10 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.111 annotated / raw | Diffs: previous, other | Lines: 820 ( +3, -2 )

Created: 2012-04-22 23:07:41 +0200 (3 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20120422210740

tidy up some remaining K&R function definitions

1.110 annotated / raw | Diffs: previous, other | Lines: 819 ( +8, -3 )

Created: 2012-04-22 14:46:58 +0200 (3 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120422124658

Understand 3 after line directive as system header.

1.109 annotated / raw | Diffs: previous, other | Lines: 814 ( +8, -4 )

Created: 2011-09-03 10:04:18 +0200 (3 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20110903080418

Add one more context-dependent check in scan.l, to allow typedef'd member
names inside offsetof.  Fixes Jira#PCC-377 by Iain Hibbert.

1.108 annotated / raw | Diffs: previous, other | Lines: 810 ( +3, -3 )

Created: 2011-06-07 14:43:36 +0200 (3 years 11 months ago) | Author: plunky | Changeset: MAIN:plunky:20110607124335


Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

From wiz@NetBSD, inspired by jmc@OpenBSD.

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

Created: 2011-06-02 17:29:54 +0200 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20110602152954

Provide some common code for byte-addressed targets, which is the usual case,
and let word-addressed targets define WORD_ADDRESSED.
This removes the need for offcon() and PMCONV/PVCONV in target code.

1.106 annotated / raw | Diffs: previous, other | Lines: 811 ( +8, -15 )

Created: 2011-04-25 13:31:37 +0200 (4 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20110425113137

Change handling of gcc designated initalizer slightly, so that ?: works in
initializers again and newlines are not eaten by mistake.  Fixes part of
Jira#PCC-252 by Igor Zinovik and a bug reported by Michael Shalayeff
in private mail.

1.105 annotated / raw | Diffs: previous, other | Lines: 818 ( +42, -13 )

Created: 2011-04-10 12:50:02 +0200 (4 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20110410105002

Fix bugs in how types of constants are assigned.  Fixes Jira#PCC-296 by
Iain Hibbert.

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

Created: 2011-04-09 11:11:45 +0200 (4 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20110409091145

Add support for the gcc "name: num" initializer syntax. Even though deprecated
since gcc 2.5 it is used in the Linux header files.
Fixes Jira#PCC-291 by Jussi Lehtola and Jira#PCC-251 by Detlef Riekenberg.

1.103 annotated / raw | Diffs: previous, other | Lines: 773 ( +4, -4 )

Created: 2011-04-07 20:50:16 +0200 (4 years 1 month 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.102 annotated / raw | Diffs: previous, other | Lines: 773 ( +5, -1 )

Created: 2011-02-16 19:50:42 +0100 (4 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20110216185042

Avoid problem with conversion of exponent running ~forever.
Fixes Jira#PCC-242 by Fred J. Tydeman.

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.101 annotated / raw | Diffs: previous, other | Lines: 769 ( +62, -36 )

Created: 2011-01-30 10:52:02 +0100 (4 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20110130095202

Do conversions of hex float numbers without calling any library routines.
This fixes the exponent bug in Jira#PCC-214 by Fred J. Tydeman.

1.100 annotated / raw | Diffs: previous, other | Lines: 743 ( +3, -3 )

Created: 2011-01-27 15:02:55 +0100 (4 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20110127140255

Arrays take int as index values. From Iain Hibbert.

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

Created: 2011-01-22 23:08:23 +0100 (4 years 4 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.98 annotated / raw | Diffs: previous, other | Lines: 751 ( +151, -45 )

Created: 2011-01-21 22:46:12 +0100 (4 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20110121214612

Slightly rewrite the pragma handling to not abuse too much.
Also add support for "weak" pragmas, as in SystemV and GCC.

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

Created: 2010-12-27 15:58:54 +0100 (4 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20101227145854

Accept (and ignore) #pragma gcc.

1.96 annotated / raw | Diffs: previous, other | Lines: 643 ( +2, -2 )

Created: 2010-11-24 19:00:00 +0100 (4 years 6 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.95 annotated / raw | Diffs: previous, other | Lines: 643 ( +7, -1 )

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

Add gcc compat weak pragma.

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

Created: 2010-08-11 16:08:44 +0200 (4 years 9 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.93 annotated / raw | Diffs: previous, other | Lines: 636 ( +3, -3 )

Created: 2010-06-24 21:33:48 +0200 (4 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20100624193348

Only declare lex prototypes for 2.5.31, others seems to have them already.

1.92 annotated / raw | Diffs: previous, other | Lines: 636 ( +2, -2 )

Created: 2010-06-22 18:18:19 +0200 (4 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20100622161819

Add patched for darwin 10/amd64, from Shin'ichi Ichikawa.

1.91 annotated / raw | Diffs: previous, other | Lines: 636 ( +2, -2 )

Created: 2010-05-21 21:37:32 +0200 (5 years ago) | Author: ragge | Changeset: MAIN:ragge:20100521193732

Tell scan to ignore typedefs of the same names goto labels. Fixes Jira#PCC-141
by Andreas Kaiser with recommended fix from him.

1.90 annotated / raw | Diffs: previous, other | Lines: 636 ( +2, -2 )

Created: 2010-04-19 16:24:06 +0200 (5 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20100419142406

Cast 0x80 to char to avoid a warning.  Fixes compiler warning as reported
by Peter Kuschnerus.

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

Created: 2009-08-23 19:06:28 +0200 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20090823170628

Cast floating constants to their correct type to avoid rounding errors.
Fixes part of Jira#PCC-86 by Detlef Riekenberg.

1.88 annotated / raw | Diffs: previous, other | Lines: 633 ( +2, -2 )

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

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

1.87 annotated / raw | Diffs: previous, other | Lines: 633 ( +70, -3 )

Created: 2009-05-07 04:34:13 +0200 (6 years 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.86 annotated / raw | Diffs: previous, other | Lines: 566 ( +5, -1 )

Created: 2009-02-08 23:14:16 +0100 (6 years 3 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090208221416

Detect strtold().  Temporary fix for NetBSD 3.0.3 and win32.

1.85 annotated / raw | Diffs: previous, other | Lines: 562 ( +2, -2 )

Created: 2009-02-01 08:59:16 +0100 (6 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20090201075916

_Bool must return BOOL_TYPE, not CHAR.  Fixes bug #PCC-24 from
Gregory McGarry.

1.84 annotated / raw | Diffs: previous, other | Lines: 562 ( +28, -7 )

Created: 2009-01-27 18:12:03 +0100 (6 years 3 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.83 annotated / raw | Diffs: previous, other | Lines: 541 ( +12, -8 )

Created: 2008-12-31 16:46:20 +0100 (6 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20081231154620

Small change in yacc parsing of types.
Fix attribute parsing bug of types inside sizeof.

1.82 annotated / raw | Diffs: previous, other | Lines: 537 ( +17, -21 )

Created: 2008-12-31 11:52:20 +0100 (6 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20081231105220

Call a subroutine from inside the lex code instead of doing a bunch of
fiddling at many places.

1.81 annotated / raw | Diffs: previous, other | Lines: 541 ( +28, -9 )

Created: 2008-12-20 15:15:27 +0100 (6 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20081220141527

Yet another overhaul of the yacc code, now some more of the syntax can
be parsed.  XXX - should be sanity-checked for conflicts.
Also some work on level0 compound literals and a better attribute support.

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

Created: 2008-09-04 11:41:33 +0200 (6 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20080904094133

Add softfloat routines and use macros to do float manipulation.
Currently only for DEC F- and D-float.

1.79 annotated / raw | Diffs: previous, other | Lines: 523 ( +8, -4 )

Created: 2008-08-14 00:56:33 +0200 (6 years 9 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.78 annotated / raw | Diffs: previous, other | Lines: 519 ( +3, -14 )

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

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

1.77 annotated / raw | Diffs: previous, other | Lines: 530 ( +4, -4 )

Created: 2008-06-23 14:58:23 +0200 (6 years 11 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080623125823

Remove variables from prototypes.

1.76 annotated / raw | Diffs: previous, other | Lines: 530 ( +8, -4 )

Created: 2008-06-23 09:44:49 +0200 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20080623074449

Convert strings directly when read to internal format; which is with all
control characters converted to 3-digit octal escape characters.
Fix bug in esccon() when reading octal escape sequences.  Reading
those should always terminate after at most three digits, as opposed
to hexadecimal which may be as long as they want.

1.75 annotated / raw | Diffs: previous, other | Lines: 526 ( +7, -4 )

Created: 2008-06-20 14:37:52 +0200 (6 years 11 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080620123752

Add -Wno-shadow and -Wno-unknown-pragmas.  Needed by the NetBSD kernel.

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

Created: 2008-06-05 08:26:32 +0200 (6 years 11 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080605062632

include stdlib.h for atoi() prototype.

1.73 annotated / raw | Diffs: previous, other | Lines: 522 ( +2, -2 )

Created: 2008-05-11 18:55:03 +0200 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20080511165503

Spelling error, from Pierre Riteau.

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

Created: 2008-04-20 11:41:38 +0200 (7 years 1 month 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.71 annotated / raw | Diffs: previous, other | Lines: 520 ( +2, -2 )

Created: 2008-04-16 17:17:10 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20080416151710

iDetect "outside functions" for stab line emitting by checking if
the function header is declared.  Checking blocklevel > 0 fails
because newlines may be in the middle of function headers.

1.70 annotated / raw | Diffs: previous, other | Lines: 520 ( +2, -2 )

Created: 2008-03-18 05:15:11 +0100 (7 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080318041511

Don't try to emit line stabs for newlines inside the prototype.

Fixes crashes where ASM nodes would be emitted before the PROLOG node which
would use uninitialised ipole.

1.69 annotated / raw | Diffs: previous, other | Lines: 520 ( +21, -13 )

Created: 2008-02-10 11:03:58 +0100 (7 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20080210100358

Allow just line number without filename as directive.
Let gcc compat be able to ask lex to just continue; or to put back
on the input stream.
Add gcc compat support for __thread.

1.68 annotated / raw | Diffs: previous, other | Lines: 512 ( +2, -2 )

Created: 2008-02-02 17:27:50 +0100 (7 years 3 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.67 annotated / raw | Diffs: previous, other | Lines: 512 ( +3, -3 )

Created: 2008-01-29 22:50:30 +0100 (7 years 3 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.66 annotated / raw | Diffs: previous, other | Lines: 512 ( +2, -2 )

Created: 2008-01-27 20:40:17 +0100 (7 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20080127194017

Fix yet another situation where hiding of typedefs is needed, as spotted
by Stefan Kempf.  Now "typedef int a; x(){ struct a { int a; } a; }" is
legal.

1.65 annotated / raw | Diffs: previous, other | Lines: 512 ( +36, -39 )

Created: 2008-01-01 18:17:57 +0100 (7 years 4 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.64 annotated / raw | Diffs: previous, other | Lines: 515 ( +2, -3 )

Created: 2007-12-26 14:22:25 +0100 (7 years 5 months ago) | Author: stefan | Changeset: MAIN:stefan:20071226132225

New function xbcon() that creates an ICON node with given value, symtab
and type. Use it where appropriate. ok ragge@

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

Created: 2007-10-10 18:22:39 +0200 (7 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20071010162239

Add missed #ifdef, from Daniel Cavanagh.

1.62 annotated / raw | Diffs: previous, other | Lines: 515 ( +52, -4 )

Created: 2007-10-06 17:19:22 +0200 (7 years 7 months 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.61 annotated / raw | Diffs: previous, other | Lines: 467 ( +3, -1 )

Created: 2007-09-19 19:20:26 +0200 (7 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20070919172026

Quiet cc about missing prototypes. From Olof Johansson.

1.60 annotated / raw | Diffs: previous, other | Lines: 465 ( +2, -2 )

Created: 2007-09-16 20:25:38 +0200 (7 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20070916182538

Allow for non-whitespace between #if and (0)
Handle typedefs better when the same name appears in structure members.
Error reports from Otto Moerbeek.

1.59 annotated / raw | Diffs: previous, other | Lines: 465 ( +2, -2 )

Created: 2007-09-15 09:37:44 +0200 (7 years 8 months 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.58 annotated / raw | Diffs: previous, other | Lines: 465 ( +7, -4 )

Created: 2007-08-19 21:24:51 +0200 (7 years 9 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.57 annotated / raw | Diffs: previous, other | Lines: 462 ( +3, -1 )

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

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

1.56 annotated / raw | Diffs: previous, other | Lines: 460 ( +56, -4 )

Created: 2007-08-08 22:30:38 +0200 (7 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20070808203038

Understand floating constants in hex (per c99).

1.55 annotated / raw | Diffs: previous, other | Lines: 408 ( +11, -5 )

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

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

1.54 annotated / raw | Diffs: previous, other | Lines: 402 ( +25, -26 )

Created: 2007-02-07 18:46:38 +0100 (8 years 3 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.53 annotated / raw | Diffs: previous, other | Lines: 403 ( +2, -2 )

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

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

1.52 annotated / raw | Diffs: previous, other | Lines: 403 ( +14, -12 )

Created: 2007-01-14 17:58:15 +0100 (8 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20070114165815

More stuff to avoid type errors.

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

Created: 2007-01-14 17:33:49 +0100 (8 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20070114163349

Fix typedef bug for variables preventing struct members to having
typedefed names.
Add missed cast.

1.50 annotated / raw | Diffs: previous, other | Lines: 399 ( +15, -1 )

Created: 2006-10-07 11:19:34 +0200 (8 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20061007091934

Make the compiler compile under linux.

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

Created: 2006-06-28 20:32:18 +0200 (8 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20060628183218

Check for early const type conversion.
Add 3-op add.
Fix bug where regw were not cleared at second round of register alloc.

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

Created: 2006-06-15 21:05:23 +0200 (8 years 11 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.47 annotated / raw | Diffs: previous, other | Lines: 385 ( +9, -3 )

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

Add a bunch of functions to get stab support.

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

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

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

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

Created: 2004-10-04 18:49:28 +0200 (10 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20041004164928

Make yacc work again.

1.44 annotated / raw | Diffs: previous, other | Lines: 373 ( +2, -2 )

Created: 2004-06-22 09:55:04 +0200 (10 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20040622075503

Fix compilation bug. Add ulonglong->floating conversion.

1.43 annotated / raw | Diffs: previous, other | Lines: 373 ( +2, -2 )

Created: 2004-06-12 10:57:28 +0200 (10 years 11 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.42 annotated / raw | Diffs: previous, other | Lines: 373 ( +2, -1 )

Created: 2004-05-20 15:26:19 +0200 (11 years ago) | Author: ragge | Changeset: MAIN:ragge:20040520132618

Many bugfixes, mostly x86.  Now compiles 'cat' cleanly.

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

Created: 2004-05-16 11:34:34 +0200 (11 years ago) | Author: ragge | Changeset: MAIN:ragge:20040516093433

Start with gcc_compatibility stuff.  Fix x86 address bug.

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

Created: 2004-05-15 14:14:43 +0200 (11 years ago) | Author: ragge | Changeset: MAIN:ragge:20040515121433

Fix gcc 3.3.3 warnings. Check temp/nontemp regs usage in regs.c.

1.39 annotated / raw | Diffs: previous, other | Lines: 366 ( +2, -2 )

Created: 2003-08-18 20:34:00 +0200 (11 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20030818183400

char -> int, so that unsigned constants work.

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

Created: 2003-08-16 14:25:46 +0200 (11 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20030816122546

Cast both sides of ?: op to the resulting type.
Fix shift ops so that they correspond with the data type.
Fix handling of long long constants, so they comes closer to reality.
Start working on MD-supplied handler for longlong.
Fix bug in shift ops.

1.37 annotated / raw | Diffs: previous, other | Lines: 365 ( +2, -2 )

Created: 2003-08-05 23:45:17 +0200 (11 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20030805214517

Convert to use native longlong integers.
Many bugfixes.

1.36 annotated / raw | Diffs: previous, other | Lines: 365 ( +14, -65 )

Created: 2003-08-03 19:11:23 +0200 (11 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20030803171121

Clean up somewhat in the fcon swamp. Fix !2.2 conversion.

1.35 annotated / raw | Diffs: previous, other | Lines: 416 ( +3, -3 )

Created: 2003-08-02 13:22:44 +0200 (11 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20030802112243

Fix a bunch of const checkings. Now compiles kernel.

1.34 annotated / raw | Diffs: previous, other | Lines: 416 ( +3, -3 )

Created: 2003-07-30 19:56:25 +0200 (11 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20030730175625

Discard xdefs.

1.33 annotated / raw | Diffs: previous, other | Lines: 416 ( +2, -2 )

Created: 2003-07-07 17:38:27 +0200 (11 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20030707153827

Tell stdin if no filename.

1.32 annotated / raw | Diffs: previous, other | Lines: 416 ( +2, -2 )

Created: 2003-07-07 15:53:04 +0200 (11 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20030707135304

Next step v32:ifying. Start the walk towards a void type.

1.31 annotated / raw | Diffs: previous, other | Lines: 416 ( +118, -35 )

Created: 2003-07-06 20:12:46 +0200 (11 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20030706181246

Remove a bunch of DCON dependencies/usages.

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

Created: 2003-06-21 20:47:59 +0200 (11 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20030621184759

Put the filenames in the string save area.

1.29 annotated / raw | Diffs: previous, other | Lines: 327 ( +6, -6 )

Created: 2003-06-19 23:16:24 +0200 (11 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20030619211624

Remove some unneccessary string copying.

1.28 annotated / raw | Diffs: previous, other | Lines: 327 ( +10, -10 )

Created: 2003-06-09 17:55:57 +0200 (11 years 11 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.27 annotated / raw | Diffs: previous, other | Lines: 327 ( +6, -4 )

Created: 2003-06-06 21:39:56 +0200 (11 years 11 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.26 annotated / raw | Diffs: previous, other | Lines: 325 ( +2, -103 )

Created: 2003-06-06 16:49:39 +0200 (11 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20030606144939

Add a file for the symbol table management.
Change to use a patricia implementation for name string searches.
Add common routine "newstring()" that strdup:s onto the permanent stack.

1.25 annotated / raw | Diffs: previous, other | Lines: 426 ( +15, -64 )

Created: 2003-06-04 22:08:25 +0200 (11 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20030604200825

Remove a bunch of redundant code.

1.24 annotated / raw | Diffs: previous, other | Lines: 475 ( +22, -4 )

Created: 2003-06-04 21:36:06 +0200 (11 years 11 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.23 annotated / raw | Diffs: previous, other | Lines: 457 ( +6, -1 )

Created: 2003-05-31 20:43:06 +0200 (11 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20030531184306

Temporary checkin, tags moved to private symbol space. (ugly hack)

1.22 annotated / raw | Diffs: previous, other | Lines: 452 ( +19, -19 )

Created: 2003-05-31 12:34:47 +0200 (11 years 11 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.21 annotated / raw | Diffs: previous, other | Lines: 452 ( +90, -91 )

Created: 2003-05-30 23:26:12 +0200 (11 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20030530212612

First step to clean up the mix between C and the backend.

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

Created: 2003-05-29 17:17:43 +0200 (11 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20030529151743

Allow shadowing typedef names on block level by itself.
Still to fix the use of it by other than itself.

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

Created: 2003-03-29 17:57:44 +0100 (12 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030329165744

Multiple fixes to understand typedefs in prototypes better.

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

Created: 2003-02-06 20:07:18 +0100 (12 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030206190717

Allow assembler.

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

Created: 2003-01-30 23:01:11 +0100 (12 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20030130220111

Fix inline syntax. Not yet correct.

1.16 annotated / raw | Diffs: previous, other | Lines: 450 ( +11, -37 )

Created: 2003-01-26 23:35:57 +0100 (12 years 3 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.15 annotated / raw | Diffs: previous, other | Lines: 476 ( +15, -7 )

Created: 2003-01-13 19:57:10 +0100 (12 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030113185710

Use a homegrown way to convert constants instead of strtoull.

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

Created: 2003-01-11 12:12:05 +0100 (12 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030111111205

Support strings written as "aaa" "bbb" for concatenation.

1.13 annotated / raw | Diffs: previous, other | Lines: 473 ( +3, -3 )

Created: 2003-01-09 23:06:34 +0100 (12 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20030109220634

Do not change to instruct after qualifier is found.

1.12 annotated / raw | Diffs: previous, other | Lines: 473 ( +2, -2 )

Created: 2002-12-14 16:23:42 +0100 (12 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20021214152342

strtoul -> strtoull for read integers.

1.11 annotated / raw | Diffs: previous, other | Lines: 473 ( +2, -2 )

Created: 2002-12-06 23:55:53 +0100 (12 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20021206225553

strtol -> strtoul.

1.10 annotated / raw | Diffs: previous, other | Lines: 473 ( +3, -3 )

Created: 2002-12-03 23:00:02 +0100 (12 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20021203220002

Fix unwanted segfaults. Complain fix.

1.9 annotated / raw | Diffs: previous, other | Lines: 473 ( +7, -7 )

Created: 2002-11-23 17:06:46 +0100 (12 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20021123160646

Temp checkin: Rewriting of yacc code for ansi support. Now supports
external variable init.

1.8 annotated / raw | Diffs: previous, other | Lines: 473 ( +10, -7 )

Created: 2002-05-13 18:57:29 +0200 (13 years ago) | Author: ragge | Changeset: MAIN:ragge:20020513165729

Temporary checkin.

1.7 annotated / raw | Diffs: previous, other | Lines: 470 ( +8, -3 )

Created: 2002-05-11 15:00:09 +0200 (13 years ago) | Author: ragge | Changeset: MAIN:ragge:20020511130009

Understand (and so far ignore) const and volatile.

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

Created: 2002-05-10 18:01:27 +0200 (13 years ago) | Author: ragge | Changeset: MAIN:ragge:20020510160127

Prototypes now almost work.

1.5 annotated / raw | Diffs: previous, other | Lines: 463 ( +45, -1 )

Created: 2002-05-06 19:35:24 +0200 (13 years ago) | Author: ragge | Changeset: MAIN:ragge:20020506173524

Understand '^#' controls.

1.4 annotated / raw | Diffs: previous, other | Lines: 419 ( +1, -116 )

Created: 2002-05-05 19:45:51 +0200 (13 years ago) | Author: ragge | Changeset: MAIN:ragge:20020505174551

Move main() to separate file. Discard that "dual-main" trick.

1.3 annotated / raw | Diffs: previous, other | Lines: 534 ( +11, -11 )

Created: 2002-05-04 17:55:08 +0200 (13 years ago) | Author: ragge | Changeset: MAIN:ragge:20020504155508

ASSIGN/ASOP must be dealt with different.

1.2 annotated / raw | Diffs: previous, other | Lines: 534 ( +11, -11 )

Created: 2002-05-04 17:29:03 +0200 (13 years ago) | Author: ragge | Changeset: MAIN:ragge:20020504152903

Remove come more redundant code. Clean.

1.1 new annotated / raw | Lines: 534 ( +534, -0 )

Created: 2002-05-04 15:49:27 +0200 (13 years ago) | Author: ragge | Changeset: MAIN:ragge:20020504134927

Rewrite the lexer using lex, should be much more readable code now.

FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2015-05-28 04:02 +0200