This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: VAX PATCH: remove FILE_NAME_NONDIRECTORY
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: VAX PATCH: remove FILE_NAME_NONDIRECTORY
- From: Lars Brinkhoff <lars dot spam at nocrew dot org>
- Date: 21 Feb 2001 19:36:35 +0100
- Cc: dave dot anglin at nrc dot ca, gcc-patches at gcc dot gnu dot org
- Organization: nocrew
- References: <200102211825.NAA29631@hiauly1.hia.nrc.ca>
"John David Anglin" <dave@hiauly1.hia.nrc.ca> writes:
> > Ever since this:
> > 1997-10-31 Brendan Kehoe <brendan@lisa.cygnus.com>
> > * lex.c (FILE_NAME_NONDIRECTORY): Delete macro.
> > the macro FILE_NAME_NONDIRECTORY in gcc/config/vax/xm-vms.h seems to
> > be unused.
>
> My initial thought is the patch by Brendan Kehoe broke the VMS port.
It would seem so, yes.
> Thus, we need instead to redefine the macro and change all calls to
> file_name_nondirectory to fix the problem. There are protos for
> file_name_nondirectory in toplev.h and cp/cp-tree.h. There are calls
> in dwarf2out.c, cp/lex.c and cp/repo.c. Unfortunately, I don't have
> a VMS system to try it on. Can you try this?
No, because I don't have a VMS system either. I just happened to
notice that FILE_NAME_NONDIRECTORY wasn't used anywhere.
--
http://lars.nocrew.org/