From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 55CF03858C3A; Tue, 12 Oct 2021 02:57:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55CF03858C3A From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzk0MDcwXSBBc3N1bWVkLXJhbmsgYXJyYXlz?= =?UTF-8?B?IOKAkyBib3VuZHMgbWlzaGFuZGxlZCwgU0laRS9TSEFQRS9VQk9VTkQvTEJP?= =?UTF-8?B?VU5E?= Date: Tue, 12 Oct 2021 02:57:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: sandra at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Tue, 12 Oct 2021 02:57:23 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94070 --- Comment #11 from sandra at gcc dot gnu.org --- There are still some bugs present with class arrays. E.g., this test case ICEs: module m type :: t integer :: id real :: xyz(3) end type contains subroutine testit2p(a) class(t), pointer :: a(..) print *, shape(a) end subroutine=20 end module SHAPE is implemented as a library call and it's trying to copy the pointer array to a temporary instead of just dereferencing it. I'm looking at replacing that logic to handle it inline same as LBOUND/UBOUND.=