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


Brad Lucier <lucier@math.purdue.edu> writes:

| > 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.

Yes, you're right.

| > -- 
| > 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 ;-).

I'm curious...

-- Gaby


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