Comment 8 for bug 617384

Revision history for this message
Ulrich Weigand (uweigand) wrote :

The problem is still latent in mainline, and can be exposed again with a slightly modified test case to use an external variable instead of a constant string:

int foo (char* s);
extern char hello[];

void test (int x)
{
  int y = x + 4;
  foo(hello);
}

I'll post an upstream patch shortly after regression testing completes.