This is the mail archive of the gcc-patches@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: [PATCH] Fortran OpenMP 4.0 support, part 1


Tobias Burnus wrote:
  ! Use a lower bound which is not "1"
  ! For some reasons, the following does not align the memory!
  !ptr(-5:) => array2(lbound(array2,dim=1)+offset2 :)

The reason is that it wrongly pointer-assigns the whole array, ignoring the specified offset. (It works with an explicit size array - such as "array" in the example.)

That's now tracked as PR61138.

Tobias


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