aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2019-05-12Improve error message and simplify slightlyMichael Forney
2019-05-12Fix progname fallbackMichael Forney
2019-05-11Include lacc in related compilersMichael Forney
2019-05-10Mention sbase issues with glibcMichael Forney
2019-05-10Stack allocation fix was applied to upstream QBEMichael Forney
2019-05-10qbe: Fix QBE types for structs containing bit-fieldsMichael Forney
2019-05-09Add Debian aarch64 continuous buildMichael Forney
2019-05-09Add alternate __volatile__ keywordMichael Forney
2019-05-09Fix ordering of endfilesMichael Forney
-lc should come before crtn.o.
2019-05-08Fix spacingMichael Forney
2019-05-08Add aarch64 continuous buildMichael Forney
2019-05-08configure: Add tool prefix when building a cross-compilerMichael Forney
2019-05-08Update expected test output for fe4297ba1dMichael Forney
2019-05-08README: Mention that aarch64 mostly worksMichael Forney
2019-05-08configure: Make dynamic linker configurableMichael Forney
2019-05-08Bump size of va_list to 32 to support both x86_64 and aarch64Michael Forney
2019-05-08Recommend my QBE branch for nowMichael Forney
2019-05-08scan: Handle EOF in comments, character constants, and string literalsMichael Forney
2019-05-07Add -s to LDFLAGS instead of running strip manually during bootstrapMichael Forney
Otherwise, stage3 is always considered out of date.
2019-04-29driver.o needs config.hMichael Forney
2019-04-29Add __asm__ keywordMichael Forney
2019-04-29Add __typeof__ to tokstrMichael Forney
2019-04-28config.def.h was removedMichael Forney
2019-04-28Just maintain header dependencies in MakefileMichael Forney
Now that we are using a common cc.h, these are unlikely to change much.
2019-04-27Unnamed bit-fields don't contribute to size or alignment of unions, or size ↵Michael Forney
of structs
2019-04-27Sign-extend result of bit-field assignmentsMichael Forney
Fixes #51. Thanks to Andrew Chambers for the bug report and test case.
2019-04-27Fix some function declarator corner casesMichael Forney
2019-04-27init: Allow string literal initializers to be in bracesMichael Forney
2019-04-26Replace config.def.h with a configure scriptMichael Forney
2019-04-26Remove compilecmd from config.hMichael Forney
We replace it with one derived from the driver path anyway.
2019-04-25qbe: Error out when va_arg is called with non-scalar typeMichael Forney
2019-04-24Use a common member for expression baseMichael Forney
2019-04-24Use enum type for expr->builtin.kindMichael Forney
2019-04-24Use a common member for expression opMichael Forney
2019-04-24map: Free old key and value arrays when resizingMichael Forney
2019-04-24Free function call argument listsMichael Forney
2019-04-24expr: Free subexpressions in delexprMichael Forney
2019-04-24eval: Check that expression has integer type before checking if it's signedMichael Forney
It could be an integer constant cast to a pointer type.
2019-04-24Free functions when we're done with themMichael Forney
2019-04-24Disallow struct members with function typeMichael Forney
2019-04-24Implement _Generic selectionMichael Forney
2019-04-24qbe: Make sure generated code doesn't depend on argument evaluation orderMichael Forney
It would be correct in any order, but this is a bit simpler and guarantees the same output.
2019-04-23Fix integer promotion on bit-fieldsMichael Forney
Fixes #47.
2019-04-23Improve some error messagesMichael Forney
2019-04-23Clarify origin of tree.cMichael Forney
2019-04-23expr: Add mkincdecexpr for pre/postfix inc/decrement operatorsMichael Forney
2019-04-23expr: Use tokstr in ++/-- operator error messagesMichael Forney
2019-04-23doc/software: Need to disable deprecation warnings to build zstdMichael Forney