This is the mail archive of the gcc@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: strict-aliasing and typedefs


> You're entirely correct, but I think that what Brad wanted (based on
> his message) was:
>   typedef int kindone;
>   typedef int kindtwo;
> 
> and then to have any kindtwo* pointer not alias any kindone* pointer. 
> Which is not quite the same as restrict, and is not possible in C.
> 
> -- 
> Daniel Jacobowitz
> MontaVista Software                         Debian GNU/Linux Developer
> 

Yes, that's what I wanted, but I'm a practical person, and I'll take what
I can get ;-).

Brad


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