public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Trevor Saunders <tbsaunde@tbsaunde.org>
To: David Malcolm <dmalcolm@redhat.com>
Cc: tbsaunde+gcc@tbsaunde.org, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] remove more useless typedefs
Date: Wed, 19 Aug 2015 19:33:00 -0000	[thread overview]
Message-ID: <20150819191239.GA9676@tsaunders-iceball.corp.tor1.mozilla.com> (raw)
In-Reply-To: <1440004264.18943.15.camel@surprise>

On Wed, Aug 19, 2015 at 01:11:04PM -0400, David Malcolm wrote:
> On Wed, 2015-08-19 at 11:50 -0400, tbsaunde+gcc@tbsaunde.org wrote:
> > From: tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>
> > 
> > Hi,
> > 
> > more typedef cleanup.
> > 
> > bootstrapped + regtested on x86_64-linux-gnu, commited since preapproved
> >  by richi.
> 
> [...]
> 
> > diff --git a/gcc/ChangeLog b/gcc/ChangeLog
> > index db23a0f..32421c5 100644
> > --- a/gcc/ChangeLog
> > +++ b/gcc/ChangeLog
> > @@ -1,3 +1,15 @@
> > +2015-08-18  Trevor Saunders  <tbsaunde@tbsaunde.org>
> > +
> > +	* bb-reorder.c, cfgloop.h, collect2.c, combine.c, dse.c,
> > +	dwarf2cfi.c, gcse-common.h, genopinit.c, ggc-page.c, machmode.h,
> > +	mcf.c, modulo-sched.c, omp-low.c, read-rtl.c, sched-rgn.c,
> > +	signop.h, tree-call-cdce.c, tree-dfa.c, tree-diagnostic.c,
> > +	tree-inline.h, tree-scalar-evolution.c, tree-ssa-address.c,
> > +	tree-ssa-loop-niter.c, tree-ssa-loop.h, tree-ssa-pre.c,
> > +	tree-ssa-reassoc.c, tree-ssa-sccvn.h, tree-ssa-structalias.c,
> > +	tree-ssa-uninit.c, tree-ssa.h, tree-vect-loop-manip.c,
> > +	tree-vectorizer.h, tree-vrp.c, var-tracking.c: Remove useless
> > +
> 
> FWIW, it looks like this ChangeLog entry is missing the trailing word
> "typedefs".
> 
> > diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
> > index 7a25c39..eb717a0 100644
> > --- a/gcc/c-family/ChangeLog
> > +++ b/gcc/c-family/ChangeLog
> > @@ -1,3 +1,8 @@
> > +2015-08-18  Trevor Saunders  <tbsaunde@tbsaunde.org>
> > +
> > +	* c-ada-spec.h, c-common.c, c-common.h, c-format.c, c-format.h,
> > +	c-objc.h, c-ppoutput.c, c-pragma.c, c-pragma.h: Remove useless
> > +
> 
> Likewise.
> 
> 
> > diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
> > index 275d787..1536b1b 100644
> > --- a/gcc/c/ChangeLog
> > +++ b/gcc/c/ChangeLog
> > @@ -1,3 +1,7 @@
> > +2015-08-18  Trevor Saunders  <tbsaunde@tbsaunde.org>
> > +
> > +	* c-aux-info.c, c-parser.c, c-tree.h: Remove useless typedefs.
> > +
> 
> ...whereas this one looks correct.
> 
> 
> > diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
> > index 3a63875..9cbaf6c 100644
> > --- a/gcc/fortran/ChangeLog
> > +++ b/gcc/fortran/ChangeLog
> > @@ -1,3 +1,8 @@
> > +2015-08-18  Trevor Saunders  <tbsaunde@tbsaunde.org>
> > +
> > +	* dependency.c, dependency.h, gfortran.h, io.c, module.c,
> > +	parse.h, resolve.c, trans-types.h, trans.h: remove useless
> > +
> 
> ...and this one looks wrong.
> 
> 
> Looking at:
> https://gcc.gnu.org/viewcvs/gcc?limit_changes=0&view=revision&revision=227001
> 
> it looks like the copy of the ChangeLog in the commit message contains
> the missing words (albeit without indentation), but the actual ChangeLog
> files don't.

oops! I think what happened is vim didn't autoindent for some reason and
I didn't notice (I was tired while writing the logs) then my script to
apply change logs from commit messages was buggy and just dropped those
lines :(

btw I should get around to putting a better version of that script in
contrib/ unless someone else has an actually good script to update
ChangeLog files from commit messages.

I guess we could also have a commit hook that checks commit and
ChangeLog format.

Trev

> 
> Dave
> 

      reply	other threads:[~2015-08-19 19:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19 15:58 tbsaunde+gcc
2015-08-19 17:20 ` David Malcolm
2015-08-19 19:33   ` Trevor Saunders [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150819191239.GA9676@tsaunders-iceball.corp.tor1.mozilla.com \
    --to=tbsaunde@tbsaunde.org \
    --cc=dmalcolm@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=tbsaunde+gcc@tbsaunde.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).