Re: [patch] allow '-' for stdout dump

2018-04-30 Thread Nathan Sidwell
On 04/28/2018 11:33 AM, Sandra Loosemore wrote: On 04/27/2018 07:12 AM, Nathan Sidwell wrote: Hmmm, I'd like to wordsmith this a bit and clean up the markup, etc. How about this? looks good, this is what I'm committing, thanks! nathan -- Nathan Sidwell 2018-04-30 Nathan Sidwell San

Re: [patch] allow '-' for stdout dump

2018-04-28 Thread Sandra Loosemore
On 04/27/2018 07:12 AM, Nathan Sidwell wrote: On 04/26/2018 01:31 PM, Sandra Loosemore wrote: Hmmm, I'm not crazy about putting this material in the middle of a discussion about how the compiler comes up with its default dump file names.  How about splitting the existing paragraph into 3: Ye

Re: [patch] allow '-' for stdout dump

2018-04-27 Thread Nathan Sidwell
On 04/26/2018 01:31 PM, Sandra Loosemore wrote: Hmmm, I'm not crazy about putting this material in the middle of a discussion about how the compiler comes up with its default dump file names.  How about splitting the existing paragraph into 3: Yeah, that documentation is rather a mess. I tri

Re: [patch] allow '-' for stdout dump

2018-04-27 Thread Richard Biener
On Thu, Apr 26, 2018 at 7:12 PM, Nathan Sidwell wrote: > Here's the patch to allow '-' as a synonym for 'stdout'. It's easier to > type, and a convention used elsewhere. > > Also document the existing stdout/stderr selection along with the new > behaviour? > > ok for trunk? OK for the dumpfile.c

Re: [patch] allow '-' for stdout dump

2018-04-26 Thread Sandra Loosemore
On 04/26/2018 11:12 AM, Nathan Sidwell wrote: Index: doc/invoke.texi === --- doc/invoke.texi (revision 259680) +++ doc/invoke.texi (working copy) @@ -13368,9 +13368,10 @@ Says to make debugging dumps during comp @var{letter

[patch] allow '-' for stdout dump

2018-04-26 Thread Nathan Sidwell
Here's the patch to allow '-' as a synonym for 'stdout'. It's easier to type, and a convention used elsewhere. Also document the existing stdout/stderr selection along with the new behaviour? ok for trunk? nathan -- Nathan Sidwell 2018-04-26 Nathan Sidwell * dumpfile.c (dump_open): Allow