[Bug c++/36959] [4.3/4.4/4.5 Regression] C++ front-end causing a static inline function to be emitted
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 3 23:03:00 GMT 2009
------- Comment #7 from jason at gcc dot gnu dot org 2009-11-03 23:02 -------
Subject: Bug 36959
Author: jason
Date: Tue Nov 3 23:02:41 2009
New Revision: 153878
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153878
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:
trunk/gcc/testsuite/g++.dg/opt/inline16.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36959
More information about the Gcc-bugs
mailing list