https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34640

--- Comment #29 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 41534
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41534&action=edit
An unpolished patch for the bug

Dear All,

Since I am not going to have any time to fix the array descriptor reform on
fortran-dev anytime soon, I have developed the attached. An extra 'span' field
has been added to the array descriptor, which is used for non-OOP pointer
operations.

It needs a lot of cleaning up and thorough testing. It passes the regtests 
except for: goacc/kernels-alias-4.f95; and graphite/pr14741.f90

I can see why the former might fail but the latter has me completely flummoxed.

One of the most important parts of the cleanup will be to rework
trans.c:gfc_build_array_ref and some of the calls to it.I should include class
pointers in the scheme as well, just for completeness.

Any feedback that you can give me would gratefully received. Let's at least
finally implement this last missing F95 feature.

Cheers

Paul

Reply via email to