The following hits an assertion in SDCC (both 4.4.0 and current trunk):
float f; unsigned _BitInt(8) i; void h(void) { i = f; }
Wiki: NGI0-Commons-SDCC
As of [r15561], this should now work for _BitInt of width up to 32 bits for non-pdk ports. For pdk ports, the tests fail, for width wider than 32 bits compilation fails.
_BitInt
Commit: [r15561]
The pdk test failures turned out to be an issue in codegen that could also affect some other casts to_BitInt. That is fixed in [r15565].
Commit: [r15565]
The third, and I hope, last, part of this bug is fixed in [r15566].
Commit: [r15566]
Log in to post a comment.
As of [r15561], this should now work for
_BitIntof width up to 32 bits for non-pdk ports. For pdk ports, the tests fail, for width wider than 32 bits compilation fails.Related
Commit: [r15561]
The pdk test failures turned out to be an issue in codegen that could also affect some other casts to
_BitInt. That is fixed in [r15565].Related
Commit: [r15565]
The third, and I hope, last, part of this bug is fixed in [r15566].
Related
Commit: [r15566]
The third, and I hope, last, part of this bug is fixed in [r15566].
Related
Commit: [r15566]