From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 66A653858CDB; Wed, 21 Sep 2022 17:34:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 66A653858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663781666; bh=vmFbjzSuYi5mgEZW7tOUgmU7HUCiNlg53NUkDUJK8t8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=r1l275UGhIbjTm81el81ACLFK23RozA8fEs7uTdhfgY7n9UY2xHmLaHPIjOM+CXZV yNUDmkqQvkQHXjthET5fNHUCwxbMcQ1/fkjVUnmxhPNJ48fhxGaT3QK+eMtWIR08wV OUze7jlhkuF9Eluz9UQcSWO0TE1VKY4DtJyNvz0g= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/107000] ICE in gfc_real2complex, at fortran/arith.cc:2243 Date: Wed, 21 Sep 2022 17:34:26 +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: 13.0 X-Bugzilla-Keywords: ice-on-invalid-code 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: keywords 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107000 G. Steinmetz changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code --- Comment #1 from G. Steinmetz --- Some more variants : $ cat zz1.f90 program p complex :: x(1) real :: y x =3D (1.0, 2.0) * [complex :: +'1'] x =3D (1.0, 2.0) * [complex :: -'1'] y =3D 2 * [complex :: +'1'] y =3D 2 * [complex :: -'1'] y =3D 2 * [real :: +'1'] y =3D 2 * [real :: -'1'] end $ cat zz2.f90 program p complex :: x real :: y(1) x =3D (1.0, 2.0) * [complex :: +'1'] x =3D (1.0, 2.0) * [complex :: -'1'] y =3D 2 * [complex :: +'1'] y =3D 2 * [complex :: -'1'] y =3D 2 * [real :: +'1'] y =3D 2 * [real :: -'1'] end=