Here's the minimal test case using options -O3 -mcpu=power8 -fstack-protector-strong:
void bar(); char b; void foo (void) { char a; int d = b; char *e = &a; while (d) *e++ = --d; bar (); }
Here's the minimal test case using options -O3 -mcpu=power8 -fstack- protector- strong:
void bar();
char b;
void
foo (void)
{
char a;
int d = b;
char *e = &a;
while (d)
*e++ = --d;
bar ();
}