------- Comment #1 from sje at cup dot hp dot com 2009-06-04 15:52 ------- Compiling the following program with -O2 -fPIC -g -fexceptions will reproduce the problem. I get a global variable created with a different name using gcc/cc1 and prev-gcc/cc1.
void splat (void) { return; } static void (*bar) (void) = *splat; void foo (void) { bar (); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40338