aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2019-04-23doc/software: Add sections for mcpp and zstdMichael Forney
2019-04-23expr: Add some type checking for unary operatorsMichael Forney
2019-04-23expr: Check qualifiers when parsing ++/-- expressionsMichael Forney
2019-04-23Mention QBE patch for dynamic phi arg arrayMichael Forney
2019-04-22Simplify test/typeofMichael Forney
2019-04-22expr: Fix check of not enough arguments for function callMichael Forney
2019-04-21Keep track of type properties in typeMichael Forney
2019-04-21Improve error messageMichael Forney
2019-04-20README: Fix DYNAMICLINKER defineMichael Forney
2019-04-20Set path of CCQBE explicitlyMichael Forney
2019-04-20Expand on `long double` hack a bitMichael Forney
2019-04-20eval: Handle casts in constant expressionsMichael Forney
Fixes #23.
2019-04-20Minor style fixesMichael Forney
2019-04-20Make basic types have their own kindMichael Forney
2019-04-20Shorten some names with 'long'Michael Forney
2019-04-20doc: Don't make headings linksMichael Forney
It doesn't look that good when rendered.
2019-04-20Add contributing section to READMEMichael Forney
2019-04-18Fix linkMichael Forney