aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-07type: Ignore parameter qualifiers when determining type compatibilityMichael Forney
The end of C11 6.7.6.3p15 says that qualifiers should be ignored when checking compatibility of function types.
2019-07-07Build annotations in continuous buildMichael Forney
2019-07-07driver: Print error message when run with unsupported targetMichael Forney
2019-07-06Handle argv = { NULL } in ARGBEGINMichael Forney
2019-07-06Minor tweaks to arg.hMichael Forney
Make sure EARGF() has type `char *` (rather than `void *`). Only advance opt_ when there is more left in the argument.
2019-07-06Mention mailing list in README.mdMichael Forney
2019-07-06Update .gitignore for renameMichael Forney
2019-07-05Rename to cprocMichael Forney
Fixes #4
2019-07-05Specify function name in error messageMichael Forney
2019-07-05qbe: Handle K&R function definition argument promotionMichael Forney
Parameters for K&R function definitions that are affected by default argument promotion are passed as their promoted type, so need to be converted back before storing into memory allocated for the parameter.
2019-07-05qbe: Separate out value conversion from funcexprMichael Forney
2019-07-05Update qbe submoduleMichael Forney
2019-07-05Move some functions aroundMichael Forney
2019-07-05driver: Ignore -P flagMichael Forney
We don't emit any #line directives, so nothing needs to be done to handle this flag.
2019-07-05stmt: Fix conversion of controlling expression to boolMichael Forney
In d875bf74, I accidentally converted the increment expression to bool rather than the controlling expression. Whoops, I should check the updated test case IL more carefully next time.
2019-07-03Implement no-op __builtin_expectMichael Forney
2019-07-03Convert controlling expression of loops to boolMichael Forney
2019-07-02README: Wide character constants are implementedMichael Forney
2019-07-02stmt: Add specific error message for missing inline asmMichael Forney
2019-06-30configure: Undefine __SIZEOF_INT128__Michael Forney
We don't yet support __int128.
2019-06-27qbe: Fix switch statements with 64-bit controlling expressionMichael Forney
2019-06-27Implement prefixed character constantsMichael Forney
2019-06-27Pass target to cc-qbeMichael Forney
2019-06-18decl: _Thread_local is not yet supportedMichael Forney
2019-06-18pp: Add __typeof as an alternate keyword for __typeof__Michael Forney
2019-06-17driver: Add some more dependency handling optionsMichael Forney
2019-06-04Fix non-adjacent bit-fieldsMichael Forney
2019-06-02decl: Disallow enumerator values that aren't representable as 'int'Michael Forney
2019-05-29Need doas to patch /usr/include/amd64/endian.hMichael Forney
2019-05-29Test full bootstrap on OpenBSD after some patchesMichael Forney
2019-05-29Temporarily avoid %a when printing floating constantsMichael Forney
This is C99, but is not supported by fscanf in OpenBSD, so floating constants can't be read back in by QBE.
2019-05-28configure: Add some defines necessary for OpenBSDMichael Forney
2019-05-28configure: Use /usr/libexec/cpp on OpenBSDMichael Forney
2019-05-26Update sbase notes, fix was applied upstreamMichael Forney
2019-05-26Update zstd notesMichael Forney
No tests actually fail, just a bug in the test script when zstd is built without threads.
2019-05-24Add __attribute__ keywordMichael Forney
This will be needed for weak references and hidden visibility.
2019-05-24Sync qbe submoduleMichael Forney
2019-05-21Handle alternate keywords in the compiler itselfMichael Forney
2019-05-20Don't pass -std=c11 and -D __STRICT_ANSI__ to cpp by defaultMichael Forney
This was necessary to prevent glibc from using statement expressions when we defined __GNUC__, but this was reverted in 0df54a9f.
2019-05-20driver: Avoid pipe2 for now, it is not yet standardizedMichael Forney
pipe2 is accepted for the next POSIX, but this is not yet released, and some platforms (in particular macOS) do not yet support it.
2019-05-20Mention GitHub mirror at the top of READMEMichael Forney
2019-05-19Update branch locationsMichael Forney
2019-05-19Add supported targets to READMEMichael Forney
2019-05-19Sync qbe submoduleMichael Forney
2019-05-19Most of the code is not so rough anymoreMichael Forney
2019-05-19Add notes about building gcc 4.7Michael Forney
2019-05-19eval: Collapse & and * operators in integer constant expressionsMichael Forney
They might be used to implement offsetof.
2019-05-19doc/software.md: Various minor updatesMichael Forney
2019-05-19Don't define __GNUC__Michael Forney
This causes more problems (inline asm, GNU inline semantics, etc) than it solves (alloca).
2019-05-19decl: Allow zero length arraysMichael Forney
gcc allows this, and glibc uses it in some headers instead of flexible array members.