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: [LTO]: patch committed to properly handle VAR_DECLs and FIELD_DECLs


> >>   extern int i;
> >>   int j = i;
> >>   int i = j;
> >>
> > Mark even though we talked about this on the phone, i do not get this.
> > i will not see the var decl for i because it is not a local var.
> > 
> > i do not think that you can do this with just local vars.
> 
> You're right; in C you can't do this with just local variables.  I'm not
> sure if you can in Ada, though.  But, yeah, maybe it's a case we can not
> worry about just yet.

If we're talking about local variables only, that's also not possible
in Ada AFAICS.

Arno


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