------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-06-06 00:21 ------- In fact, the C++ front end calls cgraph_optimize before check_global_declarations, so it's at least possible to make the calls in that order. It's possible that we miss some warnings or something that way, if cgraph_optimize destroys information that we need -- but it's apparently not a total disaster.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21828