gcc-torture-execute-pr51466 fails for mos6502-stack auto.
The failure seems to be related to a more general issue of genPointerSet when the target is on the stack.
int
bar (int i)
{
volatile int v[4];
int *p;
v[i] = 6;
p = (int *) &v[i];
*p = 8;
return v[i];
}
the *p=8 actually stores the value in reverse endian 0x800
fixed with [r15278]
Related
Commit: [r15278]