This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: init_options langhook tweak


Matt Kraai wrote:-

> > Index: ada/misc.c
> > ===================================================================
> > RCS file: /cvs/gcc/gcc/gcc/ada/misc.c,v
> > retrieving revision 1.58
> > diff -u -p -r1.58 misc.c
> > --- ada/misc.c	27 Jun 2003 09:49:39 -0000	1.58
> > +++ ada/misc.c	1 Jul 2003 21:29:04 -0000
> > @@ -181,6 +179,10 @@ const char *const tree_code_name[] = {
> >  };
> >  #undef DEFTREECODE
> >  
> > +/* Command-line argc and argv.  */
> > +static unsigned int save_argc;
> > +static const char **save_argv;
> 
> I suspect that making these static will break back_end.adb.

Yuk, you're right.  I'll make them non-static; at least then the
nastiness is confined to Ada.

Neil.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]