From 46f5f7f2b1bfc6688c6e781f8cdd900aacaa967b Mon Sep 17 00:00:00 2001 From: Dirk Mueller <mueller@gcc.gnu.org> Date: Sat, 27 May 2006 13:23:00 +0000 Subject: [PATCH] cgraphunit.c (decide_is_function_needed): Fix wrong PR reference. * cgraphunit.c (decide_is_function_needed): Fix wrong PR reference. From-SVN: r114156 --- gcc/ChangeLog | 7 ++++++- gcc/cgraphunit.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 35c5e7a473a0..4c73ad81454e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-05-27 Dirk Mueller <dmueller@suse.de> + + * cgraphunit.c (decide_is_function_needed): Fix wrong + PR reference. + 2006-05-26 Ulrich Weigand <uweigand@de.ibm.com> PR rtl-optimization/27661 @@ -974,7 +979,7 @@ 2006-05-08 Jan Hubicka <jh@suse.cz> - PR middle-end/25962 + PR middle-end/24561 * cgraphunit.c (decide_is_function_needed): When not optimizing even unused static functions are needed. diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 8a4d0ec69eb2..4cb88430820d 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -219,7 +219,7 @@ decide_is_function_needed (struct cgraph_node *node, tree decl) COMDAT functions that must be output only when they are needed. When not optimizing, also output the static functions. (see - PR25962), but don't do so for always_inline functions, functions + PR24561), but don't do so for always_inline functions, functions declared inline and nested functions. These was optimized out in the original implementation and it is unclear whether we want to change the behaviour here. */ -- GitLab