summaryrefslogtreecommitdiff
path: root/usr.bin/pcc
AgeCommit message (Collapse)Author
2007-10-16Pull diff for rev 1.8 from master repo. Fixes typo and displaysStefan Kempf
parts of DESCRIPTION correctly. Spotted by Sergey Elin. ok otto@, jmc@
2007-10-15now that pcc knows the __inline__ keyword, no need to -D it to inlineOtto Moerbeek
2007-10-15prettier when running make depend (just tabs and spaces)Theo de Raadt
2007-10-14by default just build ccom for the current hostOtto Moerbeek
2007-10-14don't hardcode TARGMACHOtto Moerbeek
2007-10-14From master repo:Stefan Kempf
Use xor to clear 32/16-bit registers instead of mov. ok ragge@, otto@
2007-10-12Fix broken build. Reported by Gregory McGarry on pcc-list.Stefan Kempf
ok otto@
2007-10-12From master repo:Stefan Kempf
> Add zero checks when dividing or taking modulo. ok otto@
2007-10-12From master repo:Stefan Kempf
> Document -X flag. ok otto@
2007-10-12fix va_arg in conditional expressions; from ragge@Otto Moerbeek
2007-10-12rewrite of constant expression evaluation; taking into accountOtto Moerbeek
signed vs unsigned and shortcutting of && and || ok ragge@
2007-10-08oops, fix merge errorOtto Moerbeek
2007-10-08initilize sflags and only print n_rval when initialized; tracking byOtto Moerbeek
Laurent Desnogues. ok ragge@
2007-10-08signal handles must not call exit() or use stdio; ok ottoTheo de Raadt
2007-10-08Remove two unneeded macro definitions, replace strdup() with copy() whichStefan Kempf
does error checking. otto@, ragge@ ok
2007-10-07get rid of the configure remainsOtto Moerbeek
2007-10-07merge from ragge's repo:Otto Moerbeek
Bugfix for .i files, by Jeremy Reed.
2007-10-07merge from ragge's repo:Otto Moerbeek
Add __inline__ as gcc-compatible keyword.
2007-10-07Merge from ragge's repo:Otto Moerbeek
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.
2007-10-07and another stray fileOtto Moerbeek
2007-10-07garbage collect a few filesOtto Moerbeek
2007-10-07reorg pcc tree; requested by and ok deraadt@; ok ragge@Otto Moerbeek
2007-10-07From master repo:Anders Magnusson
> Don't let pragmas pass through if #ifdef'd away, from Stefan Kempf.
2007-10-06From master repo:Anders Magnusson
> Compalin if user is applying sizeof to bitfield, from Stefan Kempf.
2007-10-06From master repo:Anders Magnusson
> Do not try to branch-optimize pointer comparisions, found by Otto M.
2007-10-06_Bool is also a type, don't discrimnate against it; ok ragge@Otto Moerbeek
2007-10-05From master repository log:Anders Magnusson
Do not optimize away a cast if constant too large for target type. Should remove branch but need to check for side effects in that case. Also correct possible incorrect min constant.
2007-10-05optimize a "not so bright" piece of code. Reduces compilation time on myOtto Moerbeek
evil test case from > 3m to < 1s. ok ragge@
2007-10-04Add patch to solve false errors from enums.Otto Moerbeek
XXX - enums should be revisited someday.
2007-10-04strncpy -> strlcpyGilles Chehade
ok ragge
2007-10-04fix indentation on options parsingGilles Chehade
ok otto and ragge
2007-10-04fix evil 64-bit bug: if we're using longs for bitsets 1 << shift willOtto Moerbeek
be undefined if shift > 31. Makes ccom work much better on 64-bit archs.
2007-10-04void functions should not return valueOtto Moerbeek
2007-10-03pull from ragge's repo:Otto Moerbeek
#include and obscure name clash fix. From From Laurent Desnogues.
2007-10-03pull form ragge's repo:Otto Moerbeek
Pass -g onto linker. From Laurent Desnogues.
2007-10-03pull from ragge's repo: man page diffs from Igor SobradoOtto Moerbeek
2007-10-02fix format and typeGilles Chehade
ok otto@
2007-10-01pull form ragge's repo:Otto Moerbeek
__builtin_va* support.
2007-10-01pull fro ragge's repo:Otto Moerbeek
-C support for cc and deljumps optimization; both by Stefan Kempf
2007-09-29check if initializer element is a constant in MI code. ok ragge@Otto Moerbeek
2007-09-29Avoid a member array overflow in the init code; ok ragge@Otto Moerbeek
2007-09-28back to start state when pragma is done; ok ragge@Otto Moerbeek
2007-09-28unused fileOtto Moerbeek
2007-09-28Wrap MAXFIL to 10000, so make depend works.Anders Magnusson
This should be dynamic but, ... not now.
2007-09-27flag usage checks and -E with outfile. from Jeremy C. Reed via ragge'sOtto Moerbeek
repo.
2007-09-27pullup of manual pages from ragge's repoOtto Moerbeek
2007-09-26pull from ragge's repo:Otto Moerbeek
Handle #pragma and _Pragma() correct.
2007-09-25pull from ragge's repo:Otto Moerbeek
Do not try to print out common symbols if errors, from Stefan Kempf.
2007-09-25pull from ragge's repo:Otto Moerbeek
Give a better error message for too many {, "from otto".
2007-09-24Pull from ragge's repo:Otto Moerbeek
Add support for signed bitfields, this has been missing ~forever. Bug reported by TAKAHASHI Tamotsu. Fix bitfield overflow bug, reported by TAKAHASHI Tamotsu.