This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix some set but not used messages


d binderman <dcb314@hotmail.com> writes:

> 2009-09-25  David Binderman 
>
>         * Remove "set but not used" data from gcc/builtins.c

This ChangeLog entry is not right.  You need to list each function
which changed and briefly describe the changes.  See the many existing
examples.

> -  before_call = get_last_insn ();
> +  get_last_insn ();

get_last_insn has no side effects.  Just remove the call entirely.

The patch is OK with that change but please send the updated ChangeLog
entry for verification.

Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]