aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-07-22 00:46:47 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-07-21 22:46:47 +0000
commitb67d7f4aabe15590b3f5589865e69b84670e0269 (patch)
tree6954e6dc027ddf43915d194bcde72c684b07b04c /gcc
parent5dfda042642a47e99115a3c7bfaf1d404a4eee93 (diff)
downloadgcc-b67d7f4aabe15590b3f5589865e69b84670e0269.zip
gcc-b67d7f4aabe15590b3f5589865e69b84670e0269.tar.gz
gcc-b67d7f4aabe15590b3f5589865e69b84670e0269.tar.bz2
* cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
From-SVN: r69652
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cgraphunit.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c36fb6f..0ca8307 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jul 22 00:42:12 CEST 2003 Jan Hubicka <jh@suse.cz>
+
+ * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
+
2003-07-21 Neil Booth <neil@daikokuya.co.uk>
* cppfiles.c (open_file_pch): Don't put unused entries in the
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 4f51e5d..5e37235 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -190,9 +190,8 @@ cgraph_finalize_compilation_unit (void)
cgraph_create_edges (decl, DECL_SAVED_TREE (decl));
node->local.inlinable = tree_inlinable_function_p (decl, 1);
- if (!DECL_ESTIMATED_INSNS (decl))
- DECL_ESTIMATED_INSNS (decl)
- = (*lang_hooks.tree_inlining.estimate_num_insns) (decl);
+ DECL_ESTIMATED_INSNS (decl)
+ = (*lang_hooks.tree_inlining.estimate_num_insns) (decl);
node->local.self_insns = DECL_ESTIMATED_INSNS (decl);
if (node->local.inlinable)
node->local.disgread_inline_limits