This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch - vms]: Add support of pragma __extern_prefix
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 9 Nov 2011 17:45:27 +0000 (UTC)
- Subject: Re: [Patch - vms]: Add support of pragma __extern_prefix
- References: <C14D5F35-64FA-4523-BFD0-24CC7F5B9AA4@adacore.com>
On Mon, 7 Nov 2011, Tristan Gingold wrote:
> Hi,
>
> DEC-C for vms has '#pragma __extern_prefix' which is not unlike '#pragma
> extern_prefix' supported by DEC-C for Tru64.
>
> This patch adds supports for the VMS version (which can save and restore
> the current prefix). It reuses most of the current infrastructure, but
> to do so c-pragma.c:pragma_extern_prefix had to be public.
>
> Manually tested by cross-building for ia64-vms and alpha-vms.
>
> Ok for trunk ?
The c-family changes are OK.
--
Joseph S. Myers
joseph@codesourcery.com