aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2019-05-18decl: Give a better error message when a VLA is usedMichael Forney
2019-05-16Fix test after amend to 52bf506Michael Forney
2019-05-16stmt: continue in do-loop should evaluate controlling expressionMichael Forney
2019-05-16Sync qbe submoduleMichael Forney
2019-05-16qbe: Fix error check for invalid objectMichael Forney
The result of funcexpr might be NULL if we are in a dead branch, but this doesn't mean that we had an invalid object.
2019-05-16decl: Qualifiers of array type are for element typeMichael Forney
2019-05-16decl: extern storage class with initializer is still a definitionMichael Forney
2019-05-16Remove incorrect type equality check in usual arithmetic conversionsMichael Forney
Integer types still undergo integer promotions even if they are the same type.
2019-05-15Update doc/software.md now that asm labels are implementedMichael Forney
2019-05-15Implement asm labelsMichael Forney
2019-05-15decl: Don't emit function if inline is specified without static or externMichael Forney
This partially addresses #42. Now, no duplicate definitions will be emitted, but we also don't emit a definition when a later declaration is specified with extern.
2019-05-15Add __signed alternate keywordMichael Forney
2019-05-14Add NixOS continuous buildMichael Forney