MAIN:plunky:20121107100717 by plunky on 07 November 2012, 11:07:17 +0100 (23 months ago) the single-line single-use function name link() conflicts with POSIX
link(2), so just replace it with the statement directly [lint]
MAIN:plunky:20121022091852 by plunky on 22 October 2012, 11:18:52 +0200 (2 years ago) mark intentional fall through on case statements
appeases lint and makes code reading easier
MAIN:plunky:20121022085341 by plunky on 22 October 2012, 10:53:41 +0200 (2 years ago) currip is unused, remove it
MAIN:plunky:20121020201543 by plunky on 20 October 2012, 22:15:43 +0200 (2 years ago) remove defunct variable declarations: fldshf, fldsz, instruct,
strucoff, brkflag, ltyp, rtyp & roverlap
also, rstatus which is used in mkext but not the compiler
MAIN:plunky:20121020185913 by plunky on 20 October 2012, 20:59:13 +0200 (2 years ago) appease lint; define local var at start of block
MAIN:plunky:20120926195612 by plunky on 26 September 2012, 21:56:12 +0200 (2 years 1 month ago) debug output using fprintf(stdout) can be printf() since it
is interspersed with that anyway
MAIN:plunky:20120926183857 by plunky on 26 September 2012, 20:38:57 +0200 (2 years 1 month ago) prfil is only ever stdout
MAIN:plunky:20120926183648 by plunky on 26 September 2012, 20:36:48 +0200 (2 years 1 month ago) there is no FORT, Oflag, callchk or allchk
MAIN:plunky:20120926183335 by plunky on 26 September 2012, 20:33:35 +0200 (2 years 1 month ago) putchar() is used throughout, just use it here too
MAIN:plunky:20120906205114 by plunky on 06 September 2012, 22:51:14 +0200 (2 years 1 month ago) be type consistent, and use size_t for allocation functions
MAIN:plunky:20120906204706 by plunky on 06 September 2012, 22:47:06 +0200 (2 years 1 month ago) account for allocated space, in permallocsize
MAIN:plunky:20120906204450 by plunky on 06 September 2012, 22:44:50 +0200 (2 years 1 month ago) we already increased len to handle the nul terminator, no need
to ROUNDUP(len+1) as this could potentially leave allocleft negative
MAIN:ragge:20120905172057 by ragge on 05 September 2012, 19:20:57 +0200 (2 years 1 month ago) Deal with % xasm constraint (by ignoring it).
MAIN:ragge:20120905160512 by ragge on 05 September 2012, 18:05:12 +0200 (2 years 1 month ago) Do deljumps() even id not ssa is given.
MAIN:ragge:20120905155727 by ragge on 05 September 2012, 17:57:27 +0200 (2 years 1 month ago) Enable the DCE prepend code. Fixes Jira#PCC-408 by Iain Hibbert.
MAIN:ragge:20120904164933 by ragge on 04 September 2012, 18:49:33 +0200 (2 years 1 month ago) Clear the su field before assigning instructions.
Fixes Jira#PCC-407 by Iain Hibbert.
MAIN:plunky:20120831185433 by plunky on 31 August 2012, 20:54:33 +0200 (2 years 1 month ago) set warniserr for -Werror.
(This means that werror() can now cause compilation to fail)
MAIN:ragge:20120818154413 by ragge on 18 August 2012, 17:44:13 +0200 (2 years 2 months ago) 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 creat… changeset.
MAIN:ragge:20120817205958 by ragge on 17 August 2012, 22:59:58 +0200 (2 years 2 months ago) Change the pointers of cfg children from an array of 2 to a linked list.
This will allow for the use of case arrays and computed goto while still
be able to do correct flow analysis.
MAIN:ragge:20120731073322 by ragge on 31 July 2012, 09:33:22 +0200 (2 years 3 months ago) Do not complain about truncated scalar types in system headers, it gives
too many false positives. This follows the gcc style with not complaining
about missing prototypes in system headers.
MAIN:plunky:20120422210740 by plunky on 22 April 2012, 23:07:41 +0200 (2 years 6 months ago) tidy up some remaining K&R function definitions
MAIN:ragge:20120326165217 by ragge on 26 March 2012, 18:52:17 +0200 (2 years 7 months ago) make usednodes global to track changes.
MAIN:plunky:20120322185140 by plunky on 22 March 2012, 19:51:40 +0100 (2 years 7 months ago)
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
MAIN:plunky:20120322170106 by plunky on 22 March 2012, 18:01:06 +0100 (2 years 7 months ago) PASST is redundant, and -Tflags do nothing any more.. remove them
MAIN:ragge:20111224105904 by ragge on 24 December 2011, 11:59:04 +0100 (2 years 10 months ago) If a table entry has special needs but no explicit result register, we must
obey to what the register allocator has given us instead of ignoring it.
Fixes Jira#PCC-384 by D C Gosnell.
MAIN:plunky:20111114115213 by plunky on 14 November 2011, 12:52:13 +0100 (2 years 11 months ago) slight clean up of -W[no-]<warning> handling, and add [error=] support for
finer grained control, as per gcc and PCC-371 by TAKAHASHI Tamotsu
MAIN:plunky:20110927082255 by plunky on 27 September 2011, 10:22:55 +0200 (3 years 1 month ago) use os_win32 rather than WIN32 for conditional compilation,
so that cross compiling can [be made to] work
MAIN:plunky:20110831180224 by plunky on 31 August 2011, 20:02:24 +0200 (3 years 2 months ago) 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 O… changeset.
MAIN:plunky:20110820215433 by plunky on 20 August 2011, 23:54:33 +0200 (3 years 2 months ago) use offsetof() rather than rolling our own version here.
this solves a problem when building with gcc4.5 which insists on
warning, since the C99 spec does not state that an integer
MAIN:ragge:20110818174522 by ragge on 18 August 2011, 19:45:22 +0200 (3 years 2 months ago) Need to allocate a new block for temporaries if iterating and doing
ssa optimization. Bug reported by Roman Divacky on pcc-list.