aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2019-05-14Fix duplicate commaMichael Forney
2019-05-14configure: Handle empty but set DEFAULT_DYNAMIC_LINKER as no flag necessaryMichael Forney
This should address issues with configure on NixOS (#27).
2019-05-14configure: Clear some variables before we conditionally set themMichael Forney
2019-05-14Add __asm as an alternate keyword for __asm__Michael Forney
2019-05-14driver: Allow empty start/end filesMichael Forney
Since empty arrays are not allowed, use a single element array containing NULL pointer to specify this.
2019-05-14Add notes about building st to doc/software.mdMichael Forney
2019-05-14Add initial OpenBSD continuous buildMichael Forney
2019-05-14Use correct terminology in error messageMichael Forney
2019-05-14decl: Factor out some code common to function and object declarationsMichael Forney
2019-05-13Add initial support for OpenBSD in configureMichael Forney
2019-05-13Use enum type for expect argumentMichael Forney
2019-05-13Most known problems with arm64 have been resolvedMichael Forney
2019-05-13driver: Add verbose modeMichael Forney
2019-05-13Add qbe submodule to make it easy to buildMichael Forney
2019-05-12eval: Keep track of kind of constant expression we are evaluatingMichael Forney
When we are evaluating an arithmetic constant expression, we don't want to indroduce static data definitions for string or compound literals. Fixes #59.