Bug#327351: gcc-4.0: Gcc miscompiles libc on hppa - breaks rounding
"Wesley W. Terpstra" <wesley@terpstra.ca> writes:
> On Sep 9, 2005, at 4:56 PM, Falk Hueffner wrote:
>
> Actually, I just noticed that sw[1] is probably also
> accessed. So you'd add it too. Then it should work.
>
> Actually, it's not touched between the two assembler instructions.
That's not the point. gcc might for example notice sw[1] is never
accessed and shrink the array to size 1. Very unlikely, but why take
the chance?
--
Falk
Reply to: