This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37046] Inlining produces calls which gimple_call_fndecl cannot handle correctly
- From: "jamborm at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Aug 2008 07:50:30 -0000
- Subject: [Bug middle-end/37046] Inlining produces calls which gimple_call_fndecl cannot handle correctly
- References: <bug-37046-15951@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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