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

            Bug ID: 82525
           Summary: [GRAPHITE] codegen error for modulo operations we
                    cannot represent
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
            Blocks: 59859
  Target Milestone: ---

We generate modulo constraints to represent conversions / unsigned operations.
With Fortran array-descriptors we run into codegen issues when those are not
elided by ISL itself and the original type matches the type we use for ISL IVs.

module OPMATRIX_MODULE
   implicit none
   type opmatrix_type
   real(kind=kind(1.0d0)), dimension(:,:), pointer :: restricted
   end type
   interface zero_
      module procedure zero
   end interface
contains
   subroutine zero(self)
      type(opmatrix_type) :: self
      self%restricted = 0.0d0
   end subroutine
end


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59859
[Bug 59859] [meta-bug] GRAPHITE issues

Reply via email to