------- Comment #8 from burnus at gcc dot gnu dot org 2010-07-13 15:54 ------- (In reply to comment #5) > Here int_ptr is a pointer to an array of integers, but int_ptr(0) is an > element > of that array, so it doesn't have the POINTER attribute, does it?
It doesn't have the pointer attribute - but it has the target attribute, i.e. int_ptr(0) is the first element of the array to which int_ptr points to; the target can be anonymous (i.g. when allocate has been used) or named, but it is a target. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44925