------- Comment #5 from jamborm at gcc dot gnu dot org 2008-08-08 07:50 ------- (In reply to comment #4) > Interesting. I may have a look into the CCP problem. >
Well, I think that we have pass_rebuild_cgraph_edges precisely because passes like CCP are not trusted to update call graph correctly. It is not an elegant solution but might just work. However, in order for it to work, gimple_call_fndecl() must be able to find the declarations (and this might also be problem for CCP generated calls too). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37046