This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/4945] Rewriting '-gant' as '-gnat' is failing
- From: "charlet at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Nov 2003 11:38:56 -0000
- Subject: [Bug ada/4945] Rewriting '-gant' as '-gnat' is failing
- References: <20011125100600.4945.mjw@chiark.greenend.org.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From charlet at gcc dot gnu dot org 2003-11-10 11:38 -------
I do not see anything 'obviousely' wrong in the current misc.c code,
but -gant is still not handled correctly.
I am not familiar at all with the new way switches are handled in gcc,
so any help/suggestion would be welcome.
Note that the patch for switch.adb should not be needed: the idea is
to rewrite in misc.c -gantxxx as -gnatxxx, so as far as gnat is
concerned, it should only see -gnatxxx switches, and therefore
does not need to recognize -gant everywhere.
Arno
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4945