On 2006-06-30, Grant Edwards <[email protected]> wrote:
> On 2006-06-30, David Brown <[email protected]> wrote:
>
>> Just for fun, I tried compiling the code with "two" changed to an unsigned
>> char. My mps430 compiler (3.2.3) then gives
>>
>> mov.b &P6IN, r15
>> rla.b r15
>> mov.b r15, &two
>> ret
>>
>> In other words, it makes the same mistake you did and
>> disregards the "volatile" qualifier. This is far more serious
>> than the original question - it is incorrect code, rather than
>> just inefficient code.
>
> Yow! That is pretty scary.
Rather than just complaining, I should try to fix it. Is this
something that could be fixed by somebody like me who's only
done minor hacking on GCC?
I see that there are several more recent versions of mspgcc in
CVS. Are any of the newer ones ready for production use? If
not, is 3.2.3 still being maintained?
--
Grant Edwards grante Yow! I HAVE a towel.
at
visi.com