This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: thoughts on a new switch, -print-flags ?
- To: gcc at gcc dot gnu dot org
- Subject: Re: thoughts on a new switch, -print-flags ?
- From: Neil Booth <neilb at earthling dot net>
- Date: Wed, 22 Nov 2000 23:35:52 +0000
- Cc: Phil Edwards <pedwards at disaster dot jaj dot com>
- References: <20001122182508.A22291@disaster.jaj.com>
Phil Edwards wrote:-
> The print_switch_values() function in toplev.c is doing the real work so
> far; I'd thought about creating sorted output instead, but that sounds like
> overkill. The only deficiency in this function is that the lang-specific
> flags aren't looked at. I have some thoughts on how to do that, but wanted
> to hear any thoughts first.
I don't think you should sort anything - order matters for many of the
options.
Neil.