aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-14Update qbe submoduleMichael Forney
2019-08-13scan: Add `::` operatorMichael Forney
This is needed for attributes, added in C2X (n2335).
2019-08-13Send mail to list on build job failureMichael Forney
2019-08-13Remove test corresponding to cast-same-type.qbeMichael Forney
This should have been removed when "expr: Fix cast of same type" was reverted in 0d1969024c.
2019-08-13decl: Allow _Static_assert with no messageMichael Forney
This is accepted for C2X[0]. [0] http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2265.pdf
2019-08-13decl: Separate _Static_assert handling to its own functionMichael Forney
2019-08-12Revert "expr: Fix cast of same type"Michael Forney
This reverts commit 1a38a5fc4844a0de8729be694a62ba0afce3ff52. This breaks comparisons bitfields in some cases, for instance extern struct {unsigned x:31;} s; int main(void) { return (unsigned)s.x - 1 < 0; } If we discard the cast, then it is a signed comparison because of integer promotion for bit-fields, otherwise it is an unsigned comparison. Additionally, the test case this was meant to fix is not actually ISO C, since casts must be to scalar types or `void`.
2019-08-11Update oasis package listMichael Forney
2019-08-11decl: Allow enumerator values up to UINT_MAXMichael Forney
2019-08-11Update wiki URLsMichael Forney
2019-07-30Fix alpine-aarch64 build manifestMichael Forney
2019-07-11expr: Fix cast of same typeMichael Forney
2019-07-10Remove comment for completed TODOMichael Forney
2019-07-10decl: Display message when _Static_assert failsMichael Forney
2019-07-08Fix linkMichael Forney
2019-07-08Mention oasis packages in doc/software.mdMichael Forney
2019-07-07Update binutils/gcc patch branch and descriptionsMichael Forney
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