This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -d options and --save-temps
- From: Zack Weinberg <zack at codesourcery dot com>
- To: mattheww at chiark dot greenend dot org dot uk, gcc-patches at gcc dot gnu dot org
- Date: Sun, 12 May 2002 11:40:51 -0700
- Subject: Re: -d options and --save-temps
- References: <20020512175025.GA1457@golux.invalid>
On Sun, May 12, 2002 at 06:50:25PM +0100, Matthew Woodcraft wrote:
> There's trouble trying to use certain debugging dump options with
> --save-temps. Eg,
...
> I think the best solution is for the driver to pass "-d" options to the
> preprocessor only in circumstances when it's not going to carry on and
> compile the preprocessor's output -- most of the "-d" options to the
> preprocessor result in uncompilable output anyway.
I can't approve this patch, but it looks like a good idea to me. It
should be considered for 3.0 and 3.1 as well as mainline.
zw