diwil wrote:

> From this long conversation I cannot understand what has to be fixed.

The length of the types are defined well in MSP430-GCC. There is no problem
with them. (Some people have drawn the discussion to this area, but so the
discussion was led away from the real problem.)

See my initial posting. There are two examples - each for every bug. See my
related comments in this inital posting how to trigger / to monitor the
bugs. If there is something not clear with these examples - feel free to
ask.


> I used long long types all the time and never had problems with them.
> So, in 3.2.xx, is there anything particular to be changed?

The posted bugs occur only if one casts char to long long or long long to
char, which is quite unusal. As you can see in the documented workaround for
one of the bugs there is no problem, if one casts int or long to / from long
long. Furthermore under some circumstances I have monitored, that one of the
bug does not occur. (Cast from long long to char fails only, if the long
long variable is a stack function parameter.) For sake of simplicity I
provided only the code for the occurence.

I can only give these examples that precisely show the bugs, but I am unable
to find the solution. (I don't have enough knowledge about compilers to spot
the precise location of the bug.)

Ralf

Reply via email to