This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36959] [4.3/4.4/4.5 Regression] C++ front-end causing a static inline function to be emitted



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]