Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-16 | Use upstream QBE | Michael Forney | |
2019-04-15 | init: Remove some unused includes | Michael Forney | |
2019-04-15 | Silence gcc warning | Michael Forney | |
2019-04-15 | init: Improve parseinit performance for sequential initializers | Michael Forney | |
Now, we only traverse the current initializer list to find the place to insert a designated initializer. Regular initializers always go after the previous one. Fixes #37. | |||
2019-04-15 | expr: Handle compound assignment of bit-fields | Michael Forney | |
2019-04-15 | expr: Simplify assignexpr slightly | Michael Forney | |
2019-04-15 | Style | Michael Forney | |
2019-04-15 | expr: Check operand to '&' operator | Michael Forney | |
2019-04-15 | decl: Fix uninitialized access with unnamed bit-fields | Michael Forney | |
2019-04-15 | Handle static sub-initializers | Michael Forney | |
2019-04-14 | init: Error on bit-field initializers for now | Michael Forney | |
2019-04-14 | Initial support for loading/storing bit-fields | Michael Forney | |
2019-04-14 | Define macros indicating missing optional features | Michael Forney | |
2019-04-14 | decl: Make signedness of enum types match gcc | Michael Forney | |
2019-04-13 | Revert "Fold constexpr function into intconstexpr" | Michael Forney | |
This reverts commit a080e36dac54b82beef63580f36cb0da9ad31788. | |||
2019-04-13 | decl: Allow `register` in old-style parameter declarations | Michael Forney | |
2019-04-10 | expr: Pointer arithmetic requires complete *object* types | Michael Forney | |
2019-04-10 | type: unions are object types | Michael Forney | |
2019-04-07 | deps.mk: Include $(objdir) in target name | Michael Forney | |
2019-04-07 | Add FreeBSD build manifest | Michael Forney | |
2019-04-07 | config.def.h: Remove extra indent | Michael Forney | |
2019-04-07 | Makefile: Don't use $< outside of inference rules | Michael Forney | |
In POSIX make, the meaning $< is unspecified outside of inference rules. | |||
2019-04-07 | Change $(objdir) instead of $(srcdir) for stage2 and stage3 builds | Michael Forney | |
This is a bit simpler, and avoids issues with FreeBSD make when including deps.mk (since the source files listed there are not relative to $(srcdir)). To do this, we need to make use of make(1) pattern substitutions, which are not yet standard (though accepted for issue 8[0]). Also, since the path of the object files seems to end up the resulting executables, breaking byte-wise comparison, make sure to strip the resulting executables. [0] http://austingroupbugs.net/view.php?id=519 | |||
2019-04-07 | expr: Handle parenthesized paremeter name in __builtin_va_start | Michael Forney | |
FreeBSD defines va_start(ap, last)=__builtin_va_start((ap), (last)) | |||
2019-04-07 | driver: Use argv[0] to determine cc-qbe path if /proc/self/exe is not available | Michael Forney | |
2019-04-07 | driver: Make sure we have room for the '\0' byte | Michael Forney | |
2019-04-06 | driver: Include signal.h for kill(2) | Michael Forney | |
2019-04-06 | Use common code for checking for compatibility of base type for derived types | Michael Forney | |
2019-04-06 | Simplify a couple loops | Michael Forney | |
2019-04-06 | arg: Use (void *)0 instead of NULL in error case of conditional expression | Michael Forney | |
Even though NULL is a null pointer constant, the comma expression with NULL at the end is not. So, we must ensure that either the type of the comma expression is `char *` or `void *`, and we don't know this for NULL. | |||
2019-04-06 | expr: Just use `unsigned long long` when calculating integer constant type | Michael Forney | |
Ideally, we shouldn't use uint64_t at all since it is not guaranteed to exist, and this case is easy enough to fix. | |||
2019-04-06 | Track type qualifiers separately | Michael Forney | |
Using a special qualified type kind has a number of problems: - Important fields such as size, align, and incomplete may not be set, since the qualified type was created before a struct was completed. - When we don't care about type qualifiers (which is the usual case), we have to explicitly unqualify the type which is annoying and error-prone. Instead, in derived types, keep track of the qualifiers of the base type alongside the base type (similar to what is done for members, parameters, declarations, and expressions in the past few commits). | |||
2019-04-06 | Separate unqualified type and qualifiers in struct decl | Michael Forney | |
2019-04-06 | Separate unqualified type and qualifiers in struct member | Michael Forney | |
2019-04-06 | Separate unqualified type and qualifiers in struct param | Michael Forney | |
2019-04-06 | Separate unqualified type and qualifiers in struct expr | Michael Forney | |
2019-04-05 | expr: Make lvalue default to false, and set where needed | Michael Forney | |
2019-04-05 | expr: Use separate fields for lvalue and decayed instead of flags | Michael Forney | |
2019-04-05 | Fix _Alignas with type specifier | Michael Forney | |
2019-04-04 | Move type definitions to the top of cc.h | Michael Forney | |
2019-04-04 | Use `enum tokenkind` for op in struct expr | Michael Forney | |
2019-04-04 | Remove unnecessary forward struct declarations | Michael Forney | |
2019-04-04 | Merge headers into cc.h | Michael Forney | |
2019-04-03 | Error on bit-field access for now | Michael Forney | |
2019-04-03 | Parse bit-fields | Michael Forney | |
2019-04-03 | Revert "Make member access its own expression type" | Michael Forney | |
This reverts commit b3865e402e426387d4cdccdcd249a02d5ba1bc05. This breaks member address expressions in static initializers. We can support bit-fields by instead adding a "bit-field" expression that affects loads and stores to the underlying object. | |||
2019-04-03 | Make member access its own expression type | Michael Forney | |
2019-04-01 | Add structbuilder to keep track of state when parsing struct specifier | Michael Forney | |
2019-03-29 | Remove unused struct partialtype | Michael Forney | |
2019-03-15 | Start to handle overlapping initializers | Michael Forney | |