On 6/6/19 11:19 AM, Martin Sebor wrote: > To avoid trailing whitespace in my commits I have my editor set > to highlight them. While integrating the strlen/sprintf passes > and making more extensive changes than usual, I keep getting > distracted by the highlighting pointing out trailing spaces that > predate my changes. Rather than "fixing" this piecemeal as other > changes are made that touch the same lines I'd like to clean this > up in a standalone commit that does nothing else but adjust > the formatting. > > If no one has any objections I'll commit this cleanup later today. > The diff is attached. > > Martin > > gcc-tree-ssa-strlen-trailing-space.diff > > gcc/ChangeLog: > > * tree-ssa-strlen.c (adjust_related_strinfos): Avoid trailing article. > (handle_builtin_malloc): Remove trailing spaces. > (handle_builtin_memset): Same. > (handle_builtin_memcmp): Same. > (compute_string_length): Same. > (determine_min_objsize): Same. > (handle_builtin_string_cmp): Same. > (handle_char_store): Same. Break up excessively long line. OK.
THough really I'd like to see these caught by and either rejected or automatically fixed by commit hooks :-) It's silly to require any manual intervention for trailing whitespace. jeff