------- Comment #7 from jakub at gcc dot gnu dot org 2009-03-06 15:39 ------- Smaller testcase: static int a[] = { 1 };
static inline void bar (int **x) { static int *c[2] = { 0, a }; *x = c[1]; } int foo (int **x) { bar (x); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39360