Re: [VMS/committed]: Add -mpointer-size switch

2012-03-13 Thread Tristan Gingold
On Mar 13, 2012, at 2:57 PM, Andreas Schwab wrote: > Tristan Gingold writes: > >> For which target ? > > ia64-*-* or alpha-*-* > >> On non-VMS targets, flag_vms_malloc64 is declared in gigi.h as: >> >> /* Let code know whether we are targetting VMS without need of >> intrusive preprocessor

Re: [VMS/committed]: Add -mpointer-size switch

2012-03-13 Thread Tristan Gingold
On Mar 13, 2012, at 2:57 PM, Andreas Schwab wrote: > Tristan Gingold writes: > >> For which target ? > > ia64-*-* or alpha-*-* > >> On non-VMS targets, flag_vms_malloc64 is declared in gigi.h as: >> >> /* Let code know whether we are targetting VMS without need of >> intrusive preprocessor

Re: [VMS/committed]: Add -mpointer-size switch

2012-03-13 Thread Andreas Schwab
Tristan Gingold writes: > For which target ? ia64-*-* or alpha-*-* > On non-VMS targets, flag_vms_malloc64 is declared in gigi.h as: > > /* Let code know whether we are targetting VMS without need of >intrusive preprocessor directives. */ > #ifndef TARGET_ABI_OPEN_VMS TARGET_ABI_OPEN_VMS

Re: [VMS/committed]: Add -mpointer-size switch

2012-03-13 Thread Tristan Gingold
On Mar 13, 2012, at 12:48 PM, Richard Guenther wrote: > On Tue, Mar 13, 2012 at 12:20 PM, Tristan Gingold wrote: >> >> On Mar 13, 2012, at 12:13 PM, Andreas Schwab wrote: >> >>> Tristan Gingold writes: >>> diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c ind

Re: [VMS/committed]: Add -mpointer-size switch

2012-03-13 Thread Richard Guenther
On Tue, Mar 13, 2012 at 12:20 PM, Tristan Gingold wrote: > > On Mar 13, 2012, at 12:13 PM, Andreas Schwab wrote: > >> Tristan Gingold writes: >> >>> diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c >>> index 34183ba..120628e 100644 >>> --- a/gcc/ada/gcc-interface/decl.c >>

Re: [VMS/committed]: Add -mpointer-size switch

2012-03-13 Thread Tristan Gingold
On Mar 13, 2012, at 12:13 PM, Andreas Schwab wrote: > Tristan Gingold writes: > >> diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c >> index 34183ba..120628e 100644 >> --- a/gcc/ada/gcc-interface/decl.c >> +++ b/gcc/ada/gcc-interface/decl.c >> @@ -5488,7 +5488,7 @@ gnat_

Re: [VMS/committed]: Add -mpointer-size switch

2012-03-13 Thread Andreas Schwab
Tristan Gingold writes: > diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c > index 34183ba..120628e 100644 > --- a/gcc/ada/gcc-interface/decl.c > +++ b/gcc/ada/gcc-interface/decl.c > @@ -5488,7 +5488,7 @@ gnat_to_gnu_param (Entity_Id gnat_param, Mechanism_Type > mech, >

Re: [VMS/committed]: Add -mpointer-size switch

2012-03-12 Thread Tristan Gingold
On Mar 12, 2012, at 3:14 PM, Douglas Rupp wrote: > On 3/12/2012 4:48 AM, Tristan Gingold wrote: >> Hi, >> >> Now that '#pragma pointer_size' is supported by GCC for VMS, we can add the >> '-mpointer-size' switch (modeled on /POINTER_SIZE=xx DEC-C qualifier) to set >> the default pointer size.

Re: [VMS/committed]: Add -mpointer-size switch

2012-03-12 Thread Douglas Rupp
On 3/12/2012 4:48 AM, Tristan Gingold wrote: Hi, Now that '#pragma pointer_size' is supported by GCC for VMS, we can add the '-mpointer-size' switch (modeled on /POINTER_SIZE=xx DEC-C qualifier) to set the default pointer size. This also makes alpha64-dec-*vms* target obsolete (but still sup