[PATCH, gfortran] Re: Cray Pointers

Paul Brook paul@codesourcery.com
Fri Aug 12 22:45:00 GMT 2005


> >> can you use "void*" instead when you have a pointer?
> >
> > That wouldn't help. Aliasing works based on the type that the value is
> > accesses though, not the type of any intermediate variables used to
> > store the
> > pointer. The type-based-aliasing rules are exactly the same regardless
> > of the
> > type of ipt.
>
> That is not the issue I was trying to help here, I was trying to help
> with
> the extra casts, which should help with the compiler time and memory
> usage
> in the compiler.

Ah, I see. Cray pointers can also be used as integers, so you're probably just 
moving the uglyness to a different place.

Paul



More information about the Gcc-patches mailing list