aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Meissner <meissner@linux.vnet.ibm.com>2017-06-05 21:14:21 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2017-06-05 21:14:21 +0000
commitcfd29772daa4cfa3ab13bc057fc9b5fb51286485 (patch)
tree27de1d65382fbd5df3732e72dc368bed33606260 /gcc
parent05945a1b8356818a441b3d358c8d803ee52eb778 (diff)
downloadgcc-cfd29772daa4cfa3ab13bc057fc9b5fb51286485.zip
gcc-cfd29772daa4cfa3ab13bc057fc9b5fb51286485.tar.gz
gcc-cfd29772daa4cfa3ab13bc057fc9b5fb51286485.tar.bz2
rs6000.c (make_resolver_func): Update init_lowered_empty_function call.
2017-06-05 Michael Meissner <meissner@linux.vnet.ibm.com> * config/rs6000/rs6000.c (make_resolver_func): Update init_lowered_empty_function call. From-SVN: r248902
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/rs6000.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2865c42..1b105b2a9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2017-06-05 Michael Meissner <meissner@linux.vnet.ibm.com>
+
+ * config/rs6000/rs6000.c (make_resolver_func): Update
+ init_lowered_empty_function call.
+
2017-06-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
* doc/invoke.texi: Document the -fprofile-abs-path option.
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index e8051aa..76f843c 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -40493,7 +40493,8 @@ make_resolver_func (const tree default_decl,
gimplify_function_tree (decl);
push_cfun (DECL_STRUCT_FUNCTION (decl));
- *empty_bb = init_lowered_empty_function (decl, false, 0);
+ *empty_bb = init_lowered_empty_function (decl, false,
+ profile_count::uninitialized ());
cgraph_node::add_new_function (decl, true);
symtab->call_cgraph_insertion_hooks (cgraph_node::get_create (decl));