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] logical OR loses side-effect



On Jan 26, 2005, at 11:33 PM, Eric Botcazou wrote:


2005-01-25 Stuart Hastings <stuart@apple.com>

       * gcc/gimplify.c (shortcut_cond_expr): Re-compute side-effects.
       * gcc/testsuite/gcc.c-torture/execute/20050125-1.c: New.

That's not a valid Changelog entry:
- the ChangeLog file is in the same directory as gimplify.c so you need not
prefix with 'gcc'.
- entries for testcases must go in testsuite/ChangeLog, again with the right
relative path.

Oops. Sorry about that.


Would you mind fixing it?

Not at all. Here's what I've done to the gcc/ChangeLog entry:


2005-01-26 Stuart Hastings <stuart@apple.com>

* gimplify.c (shortcut_cond_expr): Re-compute side-effects.

...and the testsuite/ChangeLog (I inserted this between an entry dated 18jan and another of 26jan):

2005-01-26  Greg Parker  <gparker@apple.com>
        Stuart Hastings  <stuart@apple.com>

* gcc.c-torture/execute/20050125-1.c: New.

I was going to ask "Did I get that right?" but I suppose "it goes without saying." :-)

Thanks in advance.

You're very welcome,


stuart hastings
Apple Computer


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