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

latest revision download Branch MAIN

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

Created: 2014-12-17 14:20:35 +0100 (11 days ago) | Author: plunky | Changeset: MAIN:plunky:20141217132035

do not use GNU extension case statement, be kind to compilers other
than GNU

from Antoine Leca, on pcc-list

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

Created: 2014-06-07 09:04:09 +0200 (6 months ago) | Author: plunky | Changeset: MAIN:plunky:20140607070409

revert previous addition of 'leaf' attribute. this is not supported by
gcc-4.3.1 (which pcc claims to be compatible with)

add support for 'attributes' diagnostic (enabled by default), to
allow ignoring unsupported attributes

Branch point for: r-1-1-0

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

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

Created: 2014-06-06 22:40:28 +0200 (6 months ago) | Author: plunky | Changeset: MAIN:plunky:20140606204028

add missing GCC attribute "leaf", though it does nothing here

1.104 annotated / raw | Diffs: previous, other | Lines: 1075 ( +11, -23 )

Created: 2014-06-06 15:19:03 +0200 (6 months ago) | Author: plunky | Changeset: MAIN:plunky:20140606131903

work on the W<flags> handling, so that we can specify the initial
state of a conditional warning.

add "deprecated-declarations", so that it can be disabled at runtime

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

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

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

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

Created: 2014-05-01 12:16:34 +0200 (7 months ago) | Author: ragge | Changeset: MAIN:ragge:20140501101634

Understand "regparm" attribute.

1.101 annotated / raw | Diffs: previous, other | Lines: 1086 ( +4, -4 )

Created: 2014-04-09 12:01:24 +0200 (8 months ago) | Author: plunky | Changeset: MAIN:plunky:20140409100124

fix issues noted by -Wunused-but-set-variable of gcc4.8 by cutting out
use of the dummy variables

1.100 annotated / raw | Diffs: previous, other | Lines: 1086 ( +4, -4 )

Created: 2014-03-20 19:48:05 +0100 (9 months ago) | Author: ragge | Changeset: MAIN:ragge:20140320184805

Add __SIZEOF_LONG__ and __SIZEOF_POINTER__ to predefines.
Change __ashldi3, __ashrdi3 and __lshldi3 to LONGLONG.

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

Created: 2012-09-08 12:39:57 +0200 (2 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20120908103957

Accept gcc attribute noclone and mode unwind_word.

1.98 annotated / raw | Diffs: previous, other | Lines: 1084 ( +44, -28 )

Created: 2012-09-07 18:20:14 +0200 (2 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20120907162014

More TImode fixes.

1.97 annotated / raw | Diffs: previous, other | Lines: 1068 ( +2, -2 )

Created: 2012-09-06 22:40:19 +0200 (2 years 3 months ago) | Author: plunky | Changeset: MAIN:plunky:20120906204019

newstring() does already copy the nul terminator, so no
need to +1 in the calling function

1.96 annotated / raw | Diffs: previous, other | Lines: 1068 ( +27, -5 )

Created: 2012-09-02 19:52:11 +0200 (2 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20120902175211

More TImode fixes.

1.95 annotated / raw | Diffs: previous, other | Lines: 1046 ( +38, -8 )

Created: 2012-08-25 11:26:53 +0200 (2 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20120825092653

More TI mode fixes.

1.94 annotated / raw | Diffs: previous, other | Lines: 1016 ( +108, -28 )

Created: 2012-08-22 18:41:27 +0200 (2 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20120822164127

Add a bunch of more operators for TI mode.

1.93 annotated / raw | Diffs: previous, other | Lines: 936 ( +4, -4 )

Created: 2012-08-19 10:50:07 +0200 (2 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20120819085007

Check if pointer when handling TI mode ops.

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

Created: 2012-08-13 20:47:22 +0200 (2 years 4 months ago) | Author: plunky | Changeset: MAIN:plunky:20120813184722

fix unused variable 'a2' error for non TARGET_TIMODE case

1.91 annotated / raw | Diffs: previous, other | Lines: 933 ( +64, -32 )

Created: 2012-08-12 21:55:31 +0200 (2 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20120812195531

Fix complex handling from mode.

1.90 annotated / raw | Diffs: previous, other | Lines: 901 ( +42, -9 )

Created: 2012-08-12 17:27:55 +0200 (2 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20120812152755

The basic ops as TImode.

1.89 annotated / raw | Diffs: previous, other | Lines: 868 ( +49, -30 )

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

More fixes to TImode.

1.88 annotated / raw | Diffs: previous, other | Lines: 849 ( +137, -32 )

Created: 2012-08-12 11:27:27 +0200 (2 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20120812092727

More TI mode support.  Now handles casts, minus and assign.

1.87 annotated / raw | Diffs: previous, other | Lines: 744 ( +161, -2 )

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

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

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

Created: 2012-06-09 10:30:21 +0200 (2 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20120609083021

Understand (but ignore) warning attribute. Should be simple to support
it fully.  From Nicholas Joly on pcc-list.

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

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

tidy up some remaining K&R function definitions

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

Created: 2012-03-29 14:47:50 +0200 (2 years 8 months ago) | Author: plunky | Changeset: MAIN:plunky:20120329124750

support #pragma GCC system_header
(from cxxcom)

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

Created: 2012-03-22 19:04:41 +0100 (2 years 9 months ago) | Author: plunky | Changeset: MAIN:plunky:20120322180441

fix some -Wtruncate errors

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

Created: 2012-03-12 10:11:22 +0100 (2 years 9 months ago) | Author: plunky | Changeset: MAIN:plunky:20120312091122

recognise (but ignore) the __returns_twice__ GCC attribute

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

Created: 2011-07-27 15:41:44 +0200 (3 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20110727134144

If minimum alignment ends up < ALCHAR, set it to ALCHAR.
This occurs in packed bitfields.

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

Created: 2011-04-26 17:16:50 +0200 (3 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20110426151650

Must set struct alignment to a sane size too.
Reported by iain Hibbert in private mail.

1.79 annotated / raw | Diffs: previous, other | Lines: 575 ( +6, -5 )

Created: 2011-04-25 16:53:35 +0200 (3 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20110425145335

Handle struct packing correctly; never cause packing to increase alignment.
Fixes Jira#PCC-332 by Iain Hibbert.

1.78 annotated / raw | Diffs: previous, other | Lines: 574 ( +8, -8 )

Created: 2011-04-07 20:50:16 +0200 (3 years 8 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.77 annotated / raw | Diffs: previous, other | Lines: 574 ( +20, -13 )

Created: 2011-02-01 15:20:02 +0100 (3 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20110201142002

CMs can occur here and there in parsed attribute lists, so handle them so.
Fixes Jira#PCC-228 by Jonathan Gray.

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.76 annotated / raw | Diffs: previous, other | Lines: 567 ( +1, -2 )

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

Arrays take int as index values. From Iain Hibbert.

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

Created: 2011-01-27 15:00:23 +0100 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20110127140023

Fix so that __const/__volatile work.

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

Created: 2011-01-24 18:52:44 +0100 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20110124175244

Understand __restrict__.

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

Created: 2011-01-24 17:14:32 +0100 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20110124161432

Add __alignof.

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

Created: 2011-01-24 15:51:52 +0100 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20110124145152

Accept (but ignore) gcc pragmas poison and visibility.
Understand modes XF, XC, SC and DC.

1.71 annotated / raw | Diffs: previous, other | Lines: 556 ( +49, -1 )

Created: 2011-01-22 23:08:23 +0100 (3 years 11 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.70 annotated / raw | Diffs: previous, other | Lines: 508 ( +2, -1 )

Created: 2011-01-21 22:46:12 +0100 (3 years 11 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.69 annotated / raw | Diffs: previous, other | Lines: 507 ( +5, -2 )

Created: 2011-01-09 22:18:02 +0100 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20110109211802

Use newstring() for strings that must be saved for a while, otherwise
they will be scratched from the heap.  Fixes Jira#PCC-209 by Iain Hibbert.

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

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

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

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

Created: 2010-12-27 19:45:32 +0100 (4 years ago) | Author: ragge | Changeset: MAIN:ragge:20101227184532

Accept empty attributes.

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

Created: 2010-11-17 20:48:26 +0100 (4 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20101117194826

Add attribute tls_model.

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

Created: 2010-08-29 15:57:22 +0200 (4 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20100829135722

Allow gcc_attr_parse() to get a NULL arg.

1.64 annotated / raw | Diffs: previous, other | Lines: 489 ( +74, -131 )

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

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

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

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

Created: 2010-06-16 09:46:49 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100616074649

Pass alignof for parsing even if inside attributes. Fixes Jira#PCC-155
by Detlef Riekenberg.
XXX - Should pass all expressions for parsing inside parenthesis.

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

Created: 2010-06-16 08:59:22 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100616065922

Add __typeof as gcc compatibility keyword.  Fixes Jira#PCC-157 by
Detlef Riekenberg.

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

Created: 2010-06-15 21:39:43 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100615193943

Parse attribute alloc_size().  Fixes Jira#PCC-156 by Detlef Riekenberg.

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

Created: 2010-06-15 21:36:24 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100615193624

Handle gcc language extension __alignof__().  Fixes part of PCC-155.

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

Created: 2010-06-13 09:42:02 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100613074202

Understand gcc __PRETTY_FUNCTION__ directive.  Patch provided in
Jira#PCC-154 by Detlef Riekenberg.

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

Created: 2010-06-12 17:22:59 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100612152259

Do not return gcc-specific type keywords as type if parsing attributes.
Fixes Jira#PCC-152 by Detlef Riekenberg.

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

Created: 2010-06-09 19:39:17 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100609173917

Fix bug in attribute parsing for "bounded" attribute.
Spotted by Michael Shalayeff.

1.55 annotated / raw | Diffs: previous, other | Lines: 535 ( +44, -64 )

Created: 2010-06-09 10:09:10 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100609080910

Add parsing support for weakref.  While here, cleanup a little in the
table for attribute matching.

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

Created: 2010-06-09 07:57:08 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100609055708

Parse attribute "alias".

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

Created: 2010-06-06 21:29:14 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100606192914

Add gcc attributes no_instrument_function and noinline, currently as no-op.
Fixes Jira#PCC-146 and Jira#PCC-147 by Iain Hibbert.

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

Created: 2010-05-15 17:58:33 +0200 (4 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20100515155833

Ensure CM towers are built to the left, fixes parsing bug pointed put
by Jonathan Gray. Also add "used" attribute.

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

Created: 2010-05-05 14:26:58 +0200 (4 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20100505122658

Add and handle gcc attribute __warn_unused_result__.  Requested by Iain
Hibbert but with a different implementation.

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

Created: 2010-04-28 16:53:54 +0200 (4 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20100428145354

Add support for stdcall and cdecl attributes.  Patch from iain Hibbert.

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

Created: 2010-04-11 11:58:47 +0200 (4 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20100411095847

Add attribute support for visibility per patch from Iain Hibbert.

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

Created: 2010-04-10 11:18:02 +0200 (4 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20100410091802

Add con/destructor as attributes per patch from Iain Hibbert.
Different target implementations though.

1.47 annotated / raw | Diffs: previous, other | Lines: 527 ( +27, -17 )

Created: 2010-02-25 18:32:54 +0100 (4 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20100225173254

Add support for attribute modes SF, DF, byte, word, pointer.
Should fix Jira#PCC-114 by Altamiranus.

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

Created: 2010-02-25 17:33:49 +0100 (4 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20100225163349

Understand QI mode attribute as CHAR.  Fixes Jira#PCC-113 by Altamiranus.

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

Created: 2010-02-25 17:27:16 +0100 (4 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20100225162716

Understand function attributes pure and const.  Fixes Jira#PCC-110 and
Jira#PCC-111 by Altamiranus.

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

Created: 2010-01-07 05:57:53 +0100 (4 years 11 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20100107045753

Add my local changes for building with the Microsoft compiler.

1.43 annotated / raw | Diffs: previous, other | Lines: 487 ( +16, -1 )

Created: 2010-01-05 16:23:51 +0100 (4 years 11 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.42 annotated / raw | Diffs: previous, other | Lines: 472 ( +2, -1 )

Created: 2009-12-31 14:05:49 +0100 (4 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20091231130549

Add gcc attribute nothrow as patch in Jira#PCC-102 by Detlef Riekenberg.

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

Created: 2009-12-20 16:34:07 +0100 (5 years ago) | Author: ragge | Changeset: MAIN:ragge:20091220153407

Understand malloc attribute and ignore it, we do not do aliasing yet.

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

Created: 2009-12-13 15:45:24 +0100 (5 years ago) | Author: ragge | Changeset: MAIN:ragge:20091213144524

Ueck, forgot some debug printouts :-(

1.39 annotated / raw | Diffs: previous, other | Lines: 474 ( +22, -11 )

Created: 2009-12-13 14:48:59 +0100 (5 years ago) | Author: ragge | Changeset: MAIN:ragge:20091213134859

Handling of attribute strings was broken; they were treated as names.
Reported by Michael Shalayeff who provided a diff, but fixed in a more
common way.

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

Created: 2009-10-31 15:43:34 +0100 (5 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20091031144334

Add the g77 types, for compatibility.

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

Created: 2009-10-30 15:19:42 +0100 (5 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20091030141942

Add __builtin_offset(), which is becoming more and more common.
Suggedted by Jonathan Gray.

1.36 annotated / raw | Diffs: previous, other | Lines: 426 ( +3, -3 )

Created: 2009-08-13 10:01:26 +0200 (5 years 4 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.35 annotated / raw | Diffs: previous, other | Lines: 426 ( +3, -2 )

Created: 2009-08-11 16:49:04 +0200 (5 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20090811144904

GCC attribute(packed) mistakenly aligned bitfields on one byte instead of
one bit.  Bug found by Jonathan Gray.

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

Created: 2009-07-11 17:52:29 +0200 (5 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20090711155229

Understand __attribute((__gnu_inline__)) for inline functions and just
revert the usageof extern.

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

Created: 2009-05-21 16:07:06 +0200 (5 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20090521140706

The second member offset in unions were set to the largest alignment if
packed specified.  Fixes Jira#PCC-53

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

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

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

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

Created: 2009-05-13 21:13:51 +0200 (5 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20090513191351

Parse the attribute format_arg but no checks yet.

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

Created: 2009-03-14 16:04:42 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20090314150442

We can get recursive packed directives if using typedefs and #pragma pack(1)
is given, so don't bail out.

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

Created: 2009-02-09 20:43:48 +0100 (5 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20090209194348

Removed a forgotten debug printf.

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

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

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

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

Created: 2009-01-24 16:51:07 +0100 (5 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20090124155107

Add support for weak attribute.

1.26 annotated / raw | Diffs: previous, other | Lines: 407 ( +121, -42 )

Created: 2009-01-24 14:35:03 +0100 (5 years 11 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.25 annotated / raw | Diffs: previous, other | Lines: 328 ( +44, -1 )

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

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

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

Created: 2009-01-10 16:42:02 +0100 (5 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20090110154202

Understand __attribute as well as __attribute__.  Even if the former is
not correct due to gcc docs, gcc seems to accept it, and so do we.

1.23 annotated / raw | Diffs: previous, other | Lines: 283 ( +90, -90 )

Created: 2009-01-10 15:50:16 +0100 (5 years 11 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.22 annotated / raw | Diffs: previous, other | Lines: 283 ( +37, -4 )

Created: 2008-12-20 15:15:27 +0100 (6 years 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.21 annotated / raw | Diffs: previous, other | Lines: 250 ( +11, -5 )

Created: 2008-12-14 18:19:50 +0100 (6 years 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.20 annotated / raw | Diffs: previous, other | Lines: 244 ( +52, -3 )

Created: 2008-12-13 21:03:32 +0100 (6 years 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.19 annotated / raw | Diffs: previous, other | Lines: 195 ( +49, -2 )

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

Implement gcc-compatible type attributes aligned and packed.

1.18 annotated / raw | Diffs: previous, other | Lines: 148 ( +15, -3 )

Created: 2008-12-08 22:10:45 +0100 (6 years ago) | Author: ragge | Changeset: MAIN:ragge:20081208211045

Build up full expression trees before evaluating them. This is a quite
invasive change, but it will help to solve a number of issues.

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

Created: 2008-12-08 08:20:54 +0100 (6 years 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.16 annotated / raw | Diffs: previous, other | Lines: 123 ( +4, -2 )

Created: 2008-11-28 22:27:52 +0100 (6 years ago) | Author: ragge | Changeset: MAIN:ragge:20081128212752

Patch for __signed__ in Issue #PCC-6 from Detlef Riekenberg.

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

Created: 2008-11-27 22:03:41 +0100 (6 years ago) | Author: ragge | Changeset: MAIN:ragge:20081127210341

Add __extension__ as (ignored) gcc keyword. Part of Issue #PCC-5.

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

Created: 2008-11-22 11:53:53 +0100 (6 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20081122105353

Add gcc compatibility typeof keyword and functionality.
This is part of the development made possible by donations via BSD fund.

1.13 annotated / raw | Diffs: previous, other | Lines: 118 ( +12, -11 )

Created: 2008-08-10 16:48:16 +0200 (6 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20080810144816

Add compat keyword __restrict.

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

Created: 2008-08-08 19:31:43 +0200 (6 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20080808173143

Add gcc-compatible keywords __FUNCTION__, __volatile and __volatile__.

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

Created: 2008-02-10 11:03:58 +0100 (6 years 10 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.10 annotated / raw | Diffs: previous, other | Lines: 93 ( +1, -39 )

Created: 2008-01-01 18:17:57 +0100 (6 years 11 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.9 annotated / raw | Diffs: previous, other | Lines: 131 ( +6, -1 )

Created: 2007-10-06 09:57:38 +0200 (7 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20071006075738

Add __inline__ as gcc-compatible keyword.

1.8 annotated / raw | Diffs: previous, other | Lines: 126 ( +3, -3 )

Created: 2007-10-03 20:30:00 +0200 (7 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20071003183000

Correct how exname() is used, to allow for mangling of external names
before they ar eprinted out. From Gregory McGarry.

1.7 annotated / raw | Diffs: previous, other | Lines: 126 ( +2, -2 )

Created: 2006-05-13 08:35:36 +0200 (8 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20060513063536

More fixes for the UMUL code generation.

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

Created: 2006-03-18 16:30:47 +0100 (8 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20060318153043

Upgrade to 0.9.5.  Add table entry to cast between anything.
Add symbol __asm as gnu extension.  Fix evil boundary bug in
basic-block code.

1.5 annotated / raw | Diffs: previous, other | Lines: 125 ( +6, -5 )

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

Make yacc work again.

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

Created: 2004-06-21 14:41:45 +0200 (10 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20040621124143

More entries to regs switch. One bugfix in table. Add __const to gcc-names.

1.3 annotated / raw | Diffs: previous, other | Lines: 120 ( +8, -7 )

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

Fix redefinition of names.

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

Created: 2004-05-16 11:46:49 +0200 (10 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20040516094649

Add string.h.

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

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

Start with gcc_compatibility stuff.  Fix x86 address bug.

FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-28 15:26 +0100