------- Comment #8 from jason at gcc dot gnu dot org 2009-11-03 23:49 ------- Subject: Bug 36959
Author: jason Date: Tue Nov 3 23:49:07 2009 New Revision: 153881 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153881 Log: PR c++/36959 * decl2.c (cxx_callgraph_analyze_expr): Don't reference a function just because a static variable in it is needed unless -frepo. Added: branches/gcc-4_4-branch/gcc/testsuite/g++.dg/opt/inline16.C Modified: branches/gcc-4_4-branch/gcc/cp/ChangeLog branches/gcc-4_4-branch/gcc/cp/decl2.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36959