This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3 more debug hooks
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: 3 more debug hooks
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 13 Jul 2001 13:09:04 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20010713193452.B4298@daikokuya.demon.co.uk>
On Fri, Jul 13, 2001 at 07:34:53PM +0100, Neil Booth wrote:
> +dwarf2out_end_epilogue (asm_out_file)
> + FILE *asm_out_file;
Do not shadow the global asm_out_file like this. For this
patch, at least, just make this "FILE *file ATTRIBUTE_IGNORED".
Otherwise this is ok.
Generally, I'd rather we just admit that asm_out_file is a
global and not pass it around to the output functions at all.
r~