Looks like mb-gcc doesn't handle overflows correctly:
Xuint32 mask, bits; mask = 0xffffffff
Looks like mb-gcc doesn't handle overflows correctly:
Xuint32 mask, bits; mask = 0xffffffff
Hi Rudi,
I'm afriad your expectations are wrong. This is undefined in C. For example, if you try:
int d; d = width of type
Cheers, JonB
Hi Rudi,
I'm afriad your expectations are wrong. This is undefined in C. For example, if you try:
int d; d = width of type
Cheers, JonB
Dear Mr Usselman,
the behaviour you describe is expected behaviour as of following considerations:
if you compile something like
var = var1
Have something to add? Share your thoughts — no account required.
Ask the community — no account required