From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8DDD93858290; Wed, 12 Oct 2022 18:48:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8DDD93858290 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665600521; bh=D0/JlEiIVPyncu3T5ZL9w7VMyZ5GbWLmL09iF0Cevkg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mpXKJdT0HO5yf01j94eAQKNKAhIqOjuxgKbLOX/VJM16rw/bGNULMhRSSsVXxj+/o bYtZqaiwYdAI6wAUStlLSMP4g8lD7YXnZQUNgYWpKqnuS/XrBUG8hoRFoqkYEyaHUx RWL3JgVaH/nvGrVYVA+NN3bW0lUURtZ0ZoaCeM0c= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/107216] ICE in reduce_binary_aa, at fortran/arith.cc:1427 Date: Wed, 12 Oct 2022 18:48:41 +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, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org 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: cc everconfirmed cf_reconfirmed_on bug_status 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=3D107216 anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed| |2022-10-12 Status|UNCONFIRMED |NEW --- Comment #2 from anlauf at gcc dot gnu.org --- Confirmed. Strange. Removing any of the typespecs in the array constructors avoids the issue, i.e. print *, [real :: 1, 2] * [ 1, (2)] would just fine. For z1.f90, I find: (gdb) p op2->expr_type $9 =3D EXPR_FUNCTION in reduce_binary before we call reduce_binary_aa and everything goes boom.=