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]

Re: 3 more debug hooks


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~


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