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

            Bug ID: 118590
           Summary: internal compiler error: in build_omp_array_section,
                    bei cp/typeck.cc:4823
           Product: gcc
           Version: 14.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: schulz.benjamin at googlemail dot com
  Target Milestone: ---

Created attachment 60224
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60224&action=edit
mdspan_acc class

The following files (which use openacc and openmp) (i transported parts of my
earlier openmp code due to the device mapper having more examples with class
upload) 

compile with nvc++ and (at least yesterday's) git verion of clang. But gcc will
have the following output:

/home/benni/projects/arraylibrary/mdspan_acc.h: In Funktion »void
cholesky_decomposition(mdspan<T, Container>&, mdspan<T, Container>&,
matrix_multiplication_parameters, size_t, bool, bool)«:
/home/benni/projects/arraylibrary/mdspan_acc.h:2764:56: Internal compiler
error: in build_omp_array_section, bei cp/typeck.cc:4823
 2764 | #pragma acc enter data copyin(dA.pdata[0:dA.pdatalength])
      |                                                        ^
0x5631935b722f internal_error(char const*, ...)
        ???:0
0x56319181797d fancy_abort(char const*, int, char const*)
        ???:0
0x563191a0e348 c_parse_file()
        ???:0
0x563191b23729 c_common_parse_file()
        ???:0

Reply via email to