diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 35c5e7a473a..4c73ad81454 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-05-27 Dirk Mueller + + * cgraphunit.c (decide_is_function_needed): Fix wrong + PR reference. + 2006-05-26 Ulrich Weigand PR rtl-optimization/27661 @@ -974,7 +979,7 @@ 2006-05-08 Jan Hubicka - 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 8a4d0ec69eb..4cb88430820 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. */