summaryrefslogtreecommitdiff
path: root/usr.bin/pcc/cc
AgeCommit message (Collapse)Author
2008-08-18Updates from master repo: Fix two bugs reported by Art Grabowski.Anders Magnusson
2008-08-17Updates from master repo. Can now compile both userland and kernel.Anders Magnusson
(with some patches...)
2008-04-11Sync with master repo. Reminded by otto@Stefan Kempf
2007-11-22Pull from master repo:Stefan Kempf
Kill two useless assignments. ok ragge@ some time ago
2007-11-10Pull from master repo:Stefan Kempf
Get rid of ifdef'd out code. Replace nodup() call with equivalent code at its only invocation. ok ragge@, otto@
2007-11-02Fix wait() usage and convert to waitpid(). Convert manual statusTodd C. Miller
frobbing with WIF* macros. Originally based on a diff from deraadt@. OK deraadt@.
2007-11-01Pull from master repo:Stefan Kempf
Don't let temporary file lie around if -S is used. ok ragge@
2007-10-22Pull from master repo:Stefan Kempf
Pass the right file and not a temporary to as if cc is invoked with .s files. ok ragge@, otto@
2007-10-22move from x86 to i386; gentle push by deraadt@, ok ragge@Otto Moerbeek
2007-10-20Pull from master repo:Stefan Kempf
stlye(9) fixes from Sergey Elin This as ok ragge@, otto@
2007-10-18Pull from master repo:Stefan Kempf
Replace errorx() with error(); exit() in the child process in callsys(). errorx deletes the temp. files which we don't want to happen in the child. ok otto@, ragge@
2007-10-16fix -b arch option parsing; ok todd@Otto Moerbeek
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-14don't hardcode TARGMACHOtto Moerbeek
2007-10-12From master repo:Stefan Kempf
> Document -X flag. ok otto@
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-07merge from ragge's repo:Otto Moerbeek
Bugfix for .i files, by Jeremy Reed.
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-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-04void functions should not return valueOtto Moerbeek
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-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: -v flag and reg class checkOtto Moerbeek
2007-09-24from ragge's repo:Otto Moerbeek
Fix init error to give an error message instead of segfault, as reported by Otto Muerbeek.
2007-09-23Avoid potential segfault when debuggingOtto Moerbeek
2007-09-23Pull form ragge's repo:Otto Moerbeek
Patch to understand .i files (no preprocessing), from Arthur Loiret.
2007-09-23Pull from ragge's repo:Otto Moerbeek
Fix for a bug found by Otto Muelbeek. I think ragge found at least 4 different ways to misspell my name ;-)
2007-09-22Fix from ragge:Otto Moerbeek
Fix lost initializers when an array comes after something else in a struct. Reported in OpenBSD PR#5586.
2007-09-21strcpy/strcat -> strlcpy/strlcatGilles Chehade
ok otto@, ok ragge
2007-09-20Fix a case where cpp is not includeing when it is supposed to, beauseOtto Moerbeek
it uses a pointer into yytext, which may have been clobbered. Patch also in ragge's repo.
2007-09-20missing prototypes; pullup from ragge's repoOtto Moerbeek
2007-09-19the missing piece of my commit earlier, cc now calls ccom_<arch>Todd T. Fries
caught by otto@