From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 974DE3844075; Thu, 23 Jul 2020 08:38:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 974DE3844075 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1595493517; bh=b5EkwwGriw4W/rKLzokcNiUCjEKvmagSaPPNfmB0k5w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mp/gYRxFhO2pMD7HLReuGV251T6cZ4YYVb+PX39pAFo8wFxGSvAc9TCBgXVDCFUpE /uCjPRK6uNCeGvbZ2W0K+KkS1puJzGUeuVPbdY0qFmN5mB73qmdtLMMVSEJyAnuCR1 SPAmPgyr0hhOIP8ztmsZdFwQ3V79CVwSgSjMENJU= From: "bardeau at iram dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/53298] ICE in gfc_conv_scalarized_array_ref for ARRAY + substring Date: Thu, 23 Jul 2020 08:38:37 +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: 4.8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bardeau at iram dot fr 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: Thu, 23 Jul 2020 08:38:37 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53298 --- Comment #8 from Sebastien Bardeau --- I am experiencing an ICE looking pretty much the same as this one. gfortran version and messages: bardeau ~> gfortran -v Using built-in specs. COLLECT_GCC=3Dgfortran COLLECT_LTO_WRAPPER=3D/home/bardeau/Softs/gcc-10.1.0/libexec/gcc/x86_64-pc-= linux-gnu/10.1.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../srcdir/configure --with-gmp=3D/home/bardeau/Softs/gcc-d= eps --prefix=3D/home/bardeau/Softs/gcc-10.1.0 --enable-languages=3Dc,c++,fortran --disable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.1.0 (GCC)=20 bardeau ~> gfortran -c ice.f90=20 ice.f90:21:0: 21 | t =3D a(1)%c(1:l).eq.b%d(1:l) |=20 internal compiler error: Segmentation fault 0xbaf7ff crash_signal ../../srcdir/gcc/toplev.c:328 0x6f8c06 gfc_conv_scalarized_array_ref ../../srcdir/gcc/fortran/trans-array.c:3490 0x6fb19c gfc_conv_array_ref(gfc_se*, gfc_array_ref*, gfc_expr*, locus*) ../../srcdir/gcc/fortran/trans-array.c:3641 0x7265ae gfc_conv_variable ../../srcdir/gcc/fortran/trans-expr.c:2827 0x7229ee gfc_conv_expr_op ../../srcdir/gcc/fortran/trans-expr.c:3620 0x7229ee gfc_conv_expr(gfc_se*, gfc_expr*) ../../srcdir/gcc/fortran/trans-expr.c:8672 0x72aebb gfc_trans_assignment_1 ../../srcdir/gcc/fortran/trans-expr.c:10878 0x6f2933 trans_code ../../srcdir/gcc/fortran/trans.c:1864 0x71bb74 gfc_generate_function_code(gfc_namespace*) ../../srcdir/gcc/fortran/trans-decl.c:6835 0x6f63a1 gfc_generate_module_code(gfc_namespace*) ../../srcdir/gcc/fortran/trans.c:2264 0x6987b5 translate_all_program_units ../../srcdir/gcc/fortran/parse.c:6293 0x6987b5 gfc_parse_file() ../../srcdir/gcc/fortran/parse.c:6545 0x6efa7f gfc_be_parse_file ../../srcdir/gcc/fortran/f95-lang.c:210 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=