From: Martin Jambor Date: Tue, 19 Apr 2011 16:08:50 +0000 (+0200) Subject: trans-decl.c (gfc_generate_function_code): Call cgraph_create_node instead of cgraph_... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c589800e2ecee0587396ef30140e1b541f229a2;p=gcc.git trans-decl.c (gfc_generate_function_code): Call cgraph_create_node instead of cgraph_get_create_node. 2011-04-19 Martin Jambor gcc/fotrean/ * trans-decl.c (gfc_generate_function_code): Call cgraph_create_node instead of cgraph_get_create_node. From-SVN: r172715 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index f6e7d4780ef..94ee71c8cda 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2011-04-19 Martin Jambor + + * trans-decl.c (gfc_generate_function_code): Call cgraph_create_node + instead of cgraph_get_create_node. + 2011-04-18 Jim Meyering remove now-unused definition of gfc_free diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c index 29010467454..f80c9dbcfa5 100644 --- a/gcc/fortran/trans-decl.c +++ b/gcc/fortran/trans-decl.c @@ -5046,7 +5046,7 @@ gfc_generate_function_code (gfc_namespace * ns) if (decl_function_context (fndecl)) /* Register this function with cgraph just far enough to get it added to our parent's nested function list. */ - (void) cgraph_get_create_node (fndecl); + (void) cgraph_create_node (fndecl); else cgraph_finalize_function (fndecl, true);