This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Don't insert white space in 'orig_option_with_args_text' for OPT_l
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Ludovic Courtès <ludovic dot courtes at inria dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 9 Mar 2012 17:27:49 +0000 (UTC)
- Subject: Re: [PATCH] Don't insert white space in 'orig_option_with_args_text' for OPT_l
- References: <87ipidvl7h.fsf@inria.fr>
On Fri, 9 Mar 2012, Ludovic Courtès wrote:
> * gcc/opts-common.c (generate_option): Don't insert white space in
> `canonical_option' when OPT_INDEX is OPT_l.
No, opts-common.c should not have special cases for individual options
like that. The canonical form has the separate arguments. gcc.c has a
special case for how it passes this option to subprocesses; if you have
problems with some output from gfortran involving -l options, you should
change the gfortran driver as needed so it outputs -l options in a
different way.
Your subject refers to orig_option_with_args_text while your ChangeLog
entry refers to canonical_option.
--
Joseph S. Myers
joseph@codesourcery.com