From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0E4283858D28; Tue, 11 Oct 2022 16:58:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0E4283858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665507482; bh=Z3u29dd2kaKPI/OpbLCqxfrOYg4EczMeryWrR2ma2Bo=; h=From:To:Subject:Date:From; b=ZoVSxOaXfQ5/Hd1KnTScgiHPGlzkFUHmjThCfDiHzZ4+V6s7HGMCWtThS+wbvAfJS mMODuynxMmpJeVBzqC3sCl+h370YKckEC/pcXExpBTV8o/DGyIJHNqN3mSH3sccIGC Auyi2m7CN5hS1245miUBmYtN4IGHzuFXCXnHP5fc= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/107217] New: ICE in gfc_arith_times, at fortran/arith.cc:715/704 Date: Tue, 11 Oct 2022 16:58:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107217 Bug ID: 107217 Summary: ICE in gfc_arith_times, at fortran/arith.cc:715/704 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Affects versions down to at least r5 : $ cat z1.f90 program p print *, [real :: (['1'])] * 2 end $ cat z2.f90 program p print *, 2 * [real :: (['1'])] end $ gfortran-13-20221009 -c z1.f90 f951: internal compiler error: gfc_arith_times(): Bad basic type 0x7f6c49 gfc_report_diagnostic ../../gcc/fortran/error.cc:883 0x7f87c7 gfc_internal_error(char const*, ...) ../../gcc/fortran/error.cc:1503 0x7c0946 gfc_arith_times ../../gcc/fortran/arith.cc:715 0x7beef9 reduce_binary_ac ../../gcc/fortran/arith.cc:1317 0x7bef55 reduce_binary_ac ../../gcc/fortran/arith.cc:1321 0x7bf1a4 reduce_binary ../../gcc/fortran/arith.cc:1476 0x7bf5d2 eval_intrinsic ../../gcc/fortran/arith.cc:1654 0x83208c match_add_operand ../../gcc/fortran/matchexp.cc:392 0x83223c match_level_2 ../../gcc/fortran/matchexp.cc:480 0x832392 match_level_3 ../../gcc/fortran/matchexp.cc:551 0x832484 match_level_4 ../../gcc/fortran/matchexp.cc:599 0x832484 match_and_operand ../../gcc/fortran/matchexp.cc:693 0x832672 match_or_operand ../../gcc/fortran/matchexp.cc:722 0x832742 match_equiv_operand ../../gcc/fortran/matchexp.cc:765 0x832814 match_level_5 ../../gcc/fortran/matchexp.cc:811 0x831be1 gfc_match_expr(gfc_expr**) ../../gcc/fortran/matchexp.cc:870 0x8192d9 match_io_element ../../gcc/fortran/io.cc:3668 0x81bc0a match_io_list ../../gcc/fortran/io.cc:3716 0x81c00e match_io ../../gcc/fortran/io.cc:4394 0x81fb0a gfc_match_print() ../../gcc/fortran/io.cc:4450=