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

            Bug ID: 70598
           Summary: Fortran OpenACC host_data construct ICE
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Keywords: openacc
          Severity: major
          Priority: P3
         Component: fortran
          Assignee: cltang at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

As once reported in
<http://news.gmane.org/find-root.php?message_id=%3C87r3j4lcrd.fsf%40kepler.schwinge.homeip.net%3E>
and thereabouts, there is no execution (libgomp) testing of the Fortran OpenACC
host_data construct, and the one test case present on gomp-4_0-branch,
libgomp.oacc-fortran/host_data-1.f90, runs into an ICE (for trunk as well as
gomp-4_0-branch).  Please have a look at that, and also increase test coverage
(for example, by translating C/C++ execution (libgomp) test cases, if
applicable).

As the implementation of OpenACC host_data/use_device has been completely
re-done during patch review (to match OpenMP's use_device_ptr clause), I
suppose it's possible that there is some middle end infrastructure missing to
deal with constructs generated by the Fortran front end.  Maybe Jakub can
advise on that, in case he's already started implementing the Fortran support
for OpenMP (which is currently missing).  Or maybe the ICE is due to something
completely different.  ;-)

Reply via email to