From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6530F389042F; Fri, 5 Jun 2020 09:58:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6530F389042F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591351090; bh=prV5TsaAcB7Ga6KRY0HfAOg12y6qCzsMxANUHtRDNVk=; h=From:To:Subject:Date:From; b=x8uvjag9Na9mWGdz4CkRmw2mWDyuYajOGiVGWxo8D/Y4XwSlhpgek7OEPvKDub1sI Sw7zQc7mWydKX4VOmXwndOtLyg6316OL3wnzYiq8DRNuoKCYZ6jcH5xGrczbscHx9N Z0JEE5HA6p8ZELgY1lN9Z70s7ITY//spkBiky6A8= From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/95550] New: [OpenACC] ICE in expand_oacc_for, at omp-expand.c:6075 Date: Fri, 05 Jun 2020 09:58:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2020 09:58:10 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95550 Bug ID: 95550 Summary: [OpenACC] ICE in expand_oacc_for, at omp-expand.c:6075 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: openacc Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- The following program gives an ICE with -fopenacc: 12 | !$acc loop private(A) |=20 internal compiler error: in expand_oacc_for, at omp-expand.c:6075 0x6b9638 expand_oacc_for ../../repos/gcc-cs-og10-pre/gcc/omp-expand.c:6075 0xd6eadf expand_omp_for ../../repos/gcc-cs-og10-pre/gcc/omp-expand.c:6583 0xd6f5ea expand_omp ../../repos/gcc-cs-og10-pre/gcc/omp-expand.c:8912 program main implicit none (type, external) integer :: j, i integer, allocatable :: A(:) A =3D [(3*j, j=3D1, 10)] !$acc parallel create(A) A(:) =3D [(-2*i, i =3D 1, size(A))] !$acc loop private(A) do i =3D 1, 10 A(i) =3D 9*i end do !if (any (A /=3D [(-2*i, i =3D 1, 10)])) error stop 2 !$acc end parallel end=