> - if ((ccp->cc_pass = urlp->url_pass).s != NULL)
> + ccp->cc_pass = urlp->url_pass;
> + if (ccp->cc_pass.s != NULL)
> goto jleave;
This must be have been fixed in mob (at some point) as I used to get "lvalue
expected" with 0.9.25 on similar failing snippet
#include <stdio.h>
typedef struct IRType1 { uint8_t irt; } IRType1;
typedef union IRIns { IRType1 t; } IRIns;
void main() {
IRIns a = { { 123 } };
IRIns b = { { 45 } };
uint8_t irt = (a.t = b.t).irt; <--- here
printf("%d %d %d\n", a.t.irt, b.t.irt, irt);
}
Result: 45 45 45
. . . but mob compiles it ok and produces correct results.
cheers,
</wqw>
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel