From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 11F3B385829B; Wed, 12 Oct 2022 17:49:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 11F3B385829B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665596943; bh=DLIry5CHq/u9RxKt4JYb+spVtoaX9NMJRws370vWYYw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DnQzBkPCqpL6LlJ5/lQIytCEDAL6iFxJy0kiZ55JbXP/iRM6SlIf7CH4w4csMsdRM J+3JHqYWcJ5mT2iMFKLpyhAe6VHIopQDPwxZh6Im0Jez7cXJHztel+aBugxnTlSCFY j3u3QY99nK0HJUls0CXWFzrFcS/MyWzV5iv7roe4= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/107217] ICE in gfc_arith_times, at fortran/arith.cc:715/704 Date: Wed, 12 Oct 2022 17:48:35 +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: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: anlauf 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107217 --- Comment #3 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7858368c3f3875f6bf634119e5731dc3c808a7c3 commit r13-3260-g7858368c3f3875f6bf634119e5731dc3c808a7c3 Author: Harald Anlauf Date: Tue Oct 11 22:08:48 2022 +0200 Fortran: check types of operands of arithmetic binary operations [PR107= 217] gcc/fortran/ChangeLog: PR fortran/107217 * arith.cc (gfc_arith_plus): Compare consistency of types of operands. (gfc_arith_minus): Likewise. (gfc_arith_times): Likewise. (gfc_arith_divide): Likewise. (arith_power): Check that both operands are of numeric type. gcc/testsuite/ChangeLog: PR fortran/107217 * gfortran.dg/pr107217.f90: New test.=