We are using MSPGCC Windows binary (2002-11-15) gnu compiler for MSP430F149
and we have found following bug:

    not of boolean variable (unsigned char) return a wrong value.


For example, the following routine return 0.

unsigned char a(void)
{
    unsigned char x;

    x = 0x00;
    x = !x;
    return (x);
}

In allegate there is a little program to see this bug.
Tank you for your help.
Best regards.

    Loris Michielutti

<<attachment: GnuMsp430.zip>>

Reply via email to