This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/45499] Ada bootstrap broken
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Sep 2010 11:38:33 -0000
- Subject: [Bug ada/45499] Ada bootstrap broken
- References: <bug-45499-12182@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from joseph at codesourcery dot com 2010-09-03 11:38 -------
Subject: Re: Ada bootstrap broken
On Fri, 3 Sep 2010, jakub at gcc dot gnu dot org wrote:
> I think for -D and -U at least the canonicalization should be joined instead of
> separate, because that's how people are used to write these options (which
> doesn't mean the tools the driver invokes shouldn't be changed to handle both).
> And for -I- similarly.
The canonicalization is an internal convention, except where GCC is
passing options directly to tools not included in GCC such as the linker.
I chose separate as the preferred canonicalization on the basis of POSIX
generally only having the separate forms of operands.
It looks like the issue is not in fact how the driver passes -I options to
gnat1 but how gnat1 internally reconstitutes an argv array from decoded
options for use by the Ada parts of gnat1 that expect such an array. So
I'm testing a patch local to the ada/gcc-interface code that only adjusts
that reconstitution, only for -I.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45499