From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DAA5C382E817; Sat, 27 Feb 2021 09:09:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAA5C382E817 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/50402] ICE in gfc_conv_expr_descriptor Date: Sat, 27 Feb 2021 09:09: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav at gmail dot com X-Bugzilla-Status: NEW 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: 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: Sat, 27 Feb 2021 09:09:24 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50402 --- Comment #9 from Vittorio Zecca --- Still in current trunk. The compilers NAG nagfor and Intel ifort correctly detect a syntax error. nagfor -S -w gfbug43.f NAG Fortran Compiler Release 7.0(Yurakucho) Build 7042 Error: gfbug43.f, line 12: Scalar value for array pointer component P of ty= pe T [NAG Fortran Compiler error termination, 1 error] [vitti f95]$ifort -S -w gfbug43.f gfbug43.f(12): error #6594: The rank of a component in a structure construc= tor differs from the rank of the component of the derived type. [F] u=3Dt(f()) ----------^ compilation aborted for gfbug43.f (code 1)=