Re: Question about aliases

2012-11-06 Thread Jonathan Wakely
On 6 November 2012 09:23, Alex Markin wrote: > Also, according to the issue 6.5 (7), we cat access to an object value > with expression that has > >> a qualified version of a type compatible with the effective type of the >> object > > So, `const int *' can legally point to the `int *' but not in

Question about aliases

2012-11-06 Thread Alex Markin
Hello. I've been watching the sources of aliasing in gcc and found one comment, that seemed to me a bit strange. In file `gcc/alias.c' in function `get_alias_set': > /* From the former common C and C++ langhook implementation: > > Unfortunately, there is no canonical form of a pointer type