------- Comment #14 from jakub at gcc dot gnu dot org 2007-11-05 16:57 ------- Smaller testcase: // PR target/33168 // { dg-do compile } // { dg-options "-O2 -fdata-sections" }
extern const int& foo; namespace { const int bar = 16; } const int &foo = bar; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33168