Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-17 | Update README | Michael Forney | |
2019-04-17 | Implement bit-field initializers | Michael Forney | |
2019-04-16 | Error instead of segfault when working with `long double` | Michael Forney | |
2019-04-16 | Add a few more alternate keywords | Michael Forney | |
2019-04-16 | Use undecayed type in __typeof__ | Michael Forney | |
2019-04-16 | Implement __builtin_types_compatible_p | Michael Forney | |
This is used by util-linux. | |||
2019-04-16 | Alpine's fortify-headers still needs __extension__ | Michael Forney | |
2019-04-16 | tests -> test | Michael Forney | |
2019-04-16 | Fix offset of initializer following fixed-length string | Michael Forney | |
2019-04-16 | Define __inline alternate keyword | Michael Forney | |
2019-04-16 | Use a single section for alternate keyword defines | Michael Forney | |
https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html | |||
2019-04-16 | Set __GNUC__=1 | Michael Forney | |
Although we support some GNU extensions beyond this, anything larger will cause glibc headers to use inline assembly to alias functions. We currently work around this by defining __asm__ to nothing, but that doesn't seem like the right thing to do. This also causes glibc to define an __extension__ and __restrict itself. | |||
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 | |