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.54 1.37 1.1 r-1-0-0 1.37.2.2 1.37.2.1

latest revision download Branch MAIN

1.54 annotated / raw | Diffs: previous, other | Lines: 606 ( +2, -2 )

Created: 2014-05-29 21:20:03 +0200 (3 months 3 days ago) | Author: plunky | Changeset: MAIN:plunky:20140529192002

mkpstr() should not use esc2char(), since stradd() already did it.

while here, audit and tidy all of IP_ASM and ip_asm operations. The
rule is that an asm("") statement will insert a tab at the beginning,
and a newline at the end, but all other (internal) uses of IP_ASM need
to have them already in the string. This is because there are some cases
where an ip_asm string is created, which provides a label.

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

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

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

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

Created: 2012-09-07 18:18:57 +0200 (23 months ago) | Author: ragge | Changeset: MAIN:ragge:20120907161857

Do not error out on "cannot inline but always_inline" if -Werror is given
since it's an informational warning.

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

Created: 2012-08-22 19:08:18 +0200 (2 years ago) | Author: ragge | Changeset: MAIN:ragge:20120822170818

Gnu inline syntax do care about when an inline function is declared "extern".

1.50 annotated / raw | Diffs: previous, other | Lines: 591 ( +14, -16 )

Created: 2012-08-08 10:46:46 +0200 (2 years ago) | Author: ragge | Changeset: MAIN:ragge:20120808084646

The parameter assignment code must be skipped when inlining functions.
Fixes bug I introduced yesterday, reported by Iain Hibbert om pcc-list.

1.49 annotated / raw | Diffs: previous, other | Lines: 593 ( +37, -12 )

Created: 2012-08-07 21:33:49 +0200 (2 years ago) | Author: ragge | Changeset: MAIN:ragge:20120807193349

Handle the situation where an IP_REF node appears before PROLOG in an
interpass list.  Fixes a problem with compiling gcc.

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

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

tidy up some remaining K&R function definitions

1.47 annotated / raw | Diffs: previous, other | Lines: 568 ( +2, -2 )

Created: 2012-03-22 19:51:40 +0100 (2 years 5 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.46 annotated / raw | Diffs: previous, other | Lines: 568 ( +17, -4 )

Created: 2011-08-14 16:55:54 +0200 (3 years ago) | Author: ragge | Changeset: MAIN:ragge:20110814145554

More dealing with the forever saga of gcc inline :-/ -std=gnu99 toggled
syntax for inlines after 4.1.3 was released, and since we mimic 4.3.1
adapt to this change.

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

Created: 2011-07-14 11:46:02 +0200 (3 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20110714094602

Err, do not emit anything if static inline.

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

Created: 2011-07-14 10:57:43 +0200 (3 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20110714085743

Add x flag -xgcc that tells pcc to use gcc syntax for some things instead
of c99 style.  Currently only inline.

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

Created: 2011-06-23 15:38:23 +0200 (3 years 2 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.42 annotated / raw | Diffs: previous, other | Lines: 552 ( +2, -4 )

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

Remove set-but-unused variables.

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

Created: 2011-04-10 17:24:53 +0200 (3 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20110410152453

Do not try to inline variadic functions.  Comment said it whouldn't, but
the code was missing.  Now it's added.  Fixes Jira#PCC-294 by David Soria Parra.

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

Created: 2011-04-07 20:50:16 +0200 (3 years 4 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.39 annotated / raw | Diffs: previous, other | Lines: 538 ( +23, -12 )

Created: 2011-02-26 12:24:11 +0100 (3 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20110226112411

Keep track of type of function arguments to ensure that correct casts are
applied if the inlined function does not have a prototype (which is illegal
anyway, but common).  Fixes Jira#PCC-256 by Iain Hibbert.

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

Created: 2011-02-23 17:01:42 +0100 (3 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20110223160142

Do not try to inline the function that we are currently inlining.
Fixes Jira#PCC-250 by Jonathan Gray.

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

Created: 2010-10-17 22:13:40 +0200 (3 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20101017201340

Do not attempt to inline functions if we have gotten an error; there may
occur erroneous error messages.

Branch point for: r-1-0-0

Tags: r-1-0-0$BP

1.36 annotated / raw | Diffs: previous, other | Lines: 523 ( +7, -7 )

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

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

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

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

Created: 2010-06-13 17:26:52 +0200 (4 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20100613152652

Use inline_ref() instead of just setting a function as referenced if the call
is found and we are not inlining, so that functions are not printed out if not
referenced.  Fixes Jira#PCC-123 by Iain Hibbert.

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

Created: 2010-04-30 13:21:22 +0200 (4 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20100430112122

Clear out symtab pointers for NAME and ICON nodes in functions to be
inlined, since accessing them will result in crashes.  Fixes stdcall/ccall
bugs reported by Iain Hibbert.

1.32 annotated / raw | Diffs: previous, other | Lines: 516 ( +16, -13 )

Created: 2009-08-23 11:37:11 +0200 (5 years 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.31 annotated / raw | Diffs: previous, other | Lines: 513 ( +4, -4 )

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

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

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

1.29 annotated / raw | Diffs: previous, other | Lines: 503 ( +7, -7 )

Created: 2009-05-22 10:41:02 +0200 (5 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20090522084102

Fix LP64 compile breakage due to %x and long.

1.28 annotated / raw | Diffs: previous, other | Lines: 503 ( +3, -3 )

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

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

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

Created: 2009-03-15 01:26:59 +0100 (5 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090315002659

Eliminate c++-style comments so older tools can parse code.

1.26 annotated / raw | Diffs: previous, other | Lines: 501 ( +9, -9 )

Created: 2009-01-07 15:21:30 +0100 (5 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20090107142130

Rename bad named variables L{0,1,2} to l{0,1,2}, to avoid collission with
sparc register defines.  Fixes bug report #PCC-15.

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

Created: 2008-11-28 16:23:57 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20081128152357

Set referenced flag for functions not inlined in the i386 and PIC case.

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

Created: 2008-11-26 22:01:54 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20081126210154

XXX - Do not inline functions if i386 and PIC.
Cannot currently handle hidden ebx arg for inline.

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

Created: 2008-11-23 20:07:58 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20081123190758

Shut up a warning because of data-flow analysis. (uninitialized variable)

1.22 annotated / raw | Diffs: previous, other | Lines: 493 ( +40, -9 )

Created: 2008-11-23 19:52:39 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20081123185239

Relocate static function text labels before omitting them.

1.21 annotated / raw | Diffs: previous, other | Lines: 462 ( +5, -5 )

Created: 2008-11-16 14:30:17 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20081116133016

Add an extra argument to walkf() so that we can avoid using static vars
in a bunch of places.

1.20 annotated / raw | Diffs: previous, other | Lines: 462 ( +262, -75 )

Created: 2008-11-15 15:02:39 +0100 (5 years 9 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.19 annotated / raw | Diffs: previous, other | Lines: 275 ( +66, -1 )

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

Start writing on code to actually inline functions.

1.18 annotated / raw | Diffs: previous, other | Lines: 210 ( +18, -17 )

Created: 2008-01-06 16:07:06 +0100 (6 years 7 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.17 annotated / raw | Diffs: previous, other | Lines: 209 ( +28, -12 )

Created: 2007-09-09 12:01:01 +0200 (6 years 11 months 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.16 annotated / raw | Diffs: previous, other | Lines: 193 ( +21, -10 )

Created: 2005-05-19 22:52:55 +0200 (9 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20050519205255

Smarter handling of inline-declared functions.
Fix shift optimization bug, needs more thinking.
Reset locctr after asm().

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

Created: 2005-02-18 17:48:59 +0100 (9 years 6 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.14 annotated / raw | Diffs: previous, other | Lines: 177 ( +1, -19 )

Created: 2003-07-29 11:20:18 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030729092018

Remove lots of C specific definitions. Pass 2 almost C-clean.

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

Created: 2003-07-07 22:27:07 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030707202707

Remove some more redundant code.

1.12 annotated / raw | Diffs: previous, other | Lines: 197 ( +27, -0 )

Created: 2003-07-07 17:26:00 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030707152600

Add copyright.

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

Created: 2003-07-05 11:00:10 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030705090010

Fix remaining stuff to allow for an optimize pass.

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

Created: 2003-07-03 22:52:27 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030703205227

Remove the node array. Everything now is dynamic.

1.9 annotated / raw | Diffs: previous, other | Lines: 161 ( +22, -185 )

Created: 2003-06-23 23:48:14 +0200 (11 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20030623214814

Big change: send everything from pass1 via one function.

1.8 annotated / raw | Diffs: previous, other | Lines: 324 ( +50, -14 )

Created: 2003-06-23 20:50:11 +0200 (11 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20030623185010

Implement basic framework to send everything through one subroutine.

1.7 annotated / raw | Diffs: previous, other | Lines: 288 ( +4, -4 )

Created: 2003-06-22 23:13:30 +0200 (11 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20030622211330

Add an embryo fo doing tree optimizing.

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

Created: 2003-06-22 21:39:21 +0200 (11 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20030622193921

Inline the prolog/epilog stuff.

1.5 annotated / raw | Diffs: previous, other | Lines: 216 ( +4, -0 )

Created: 2003-06-22 13:24:50 +0200 (11 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20030622112450

Add p2tree() for multipass. Now multipass compiling of pass1 is possible.

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

Created: 2003-06-20 00:30:01 +0200 (11 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20030619223001

Add some statistics.

1.3 annotated / raw | Diffs: previous, other | Lines: 210 ( +3, -3 )

Created: 2003-05-31 12:34:47 +0200 (11 years 3 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.2 annotated / raw | Diffs: previous, other | Lines: 210 ( +38, -7 )

Created: 2003-02-02 16:08:53 +0100 (11 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20030202150853

Add relational inclusion of inline functions.

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

Created: 2003-02-02 15:50:22 +0100 (11 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20030202145022

Add basic support for optimizing away unreferenced inline functions.

latest revision download Branch r-1-0-0

1.37.2.2 annotated / raw | Diffs: previous, other | Lines: 538 ( +23, -12 )

Created: 2011-02-26 12:31:45 +0100 (3 years 6 months ago) | Author: ragge | Changeset: r-1-0-0:ragge:20110226113145

Rev 1.39 pulled up from mainline.

Branch point for: r-1-0-1

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

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

Created: 2011-02-23 17:09:04 +0100 (3 years 6 months ago) | Author: ragge | Changeset: r-1-0-0:ragge:20110223160904

Apply 1.38 from mainline.

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-09-02 03:55 +0200