On Tue, Jul 5, 2011 at 10:43 AM, Jakub Jelinek <ja...@redhat.com> wrote: > On Tue, Jul 05, 2011 at 10:33:28AM +0200, Richard Guenther wrote: >> On Mon, Jul 4, 2011 at 8:09 PM, Jakub Jelinek <ja...@redhat.com> wrote: >> > The second version is simplified one which always treats DECL_WEAK >> > vars as maybe trapping. Ok for 4.6? >> >> The trunk version is ok. For the 4.6 version, don't you need a CALL_EXPR >> case similar to the trunk version? > > No, as the 4.6 version for FUNCTION_DECLs checks just DECL_WEAK and nothing > else, what CALL_EXPR already checks is all that is needed. > The reason why I've added recursion for CALL_EXPRs for trunk is so that > all the FUNCTION_DECL/VAR_DECL cgraph/varpool lookups don't need to be > duplicated.
Ah, yeah. Ok for 4.6 then. Thanks, Richard. > Jakub >