From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 696443870840; Tue, 12 May 2020 17:30:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 696443870840 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589304613; bh=XjIxwjnCq8NZgyh3P86iSUNUxo0J3cKdcUi6TkuX+1A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Dogf8hwBAJWEvueTFbr6SO/wEJVIfZpr2wcJ1IIAkSriIPoR/p00aDYA9nbbGBndo uYX232KghM3wwnpFh/YKgpX/uPM5iOXKrPVKx/gNClR0hLMIdHPA+60JzI9c1wQSzC JVr9n2uUtVwO4tXeBXo6ZfE8tGO6ox/Pv0nQqmjs= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95053] [11 regression] ICE in f951: gfc_divide() Date: Tue, 12 May 2020 17:30:13 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: anlauf at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 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: Tue, 12 May 2020 17:30:13 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95053 --- Comment #12 from anlauf at gcc dot gnu.org --- (In reply to Bill Seurer from comment #11) > /home/seurer/gcc/git/install/gcc-test/bin/gfortran -c -o > module_ra_cam.fppized.o -I. -I./netcdf/include -I./inc -m64 -O0 -g3 > -mcpu=3Dpower8 -Wno-deprecated-declarations -fconvert=3Dbig-endian -std= =3Dlegacy > module_ra_cam.fppized.f90 > module_ra_cam.fppized.f90:6806:69: >=20 > 6806 | asort(nxs) =3D > 1.0_r8-(floor(cld(i,k)/cldeps)*cldeps) > | = 1 > Error: Division by zero at (1) >=20 > This error was also triggered by r11-205 but was not fixed by the patch. = It > compiles cleanly with r11-204 and earlier. I do not think (though cannot > say for sure) that it really is a divide by zero. >=20 > This is part of 521.wrf_r in the spec2017 test suite I don't have access to spec. Can you provide enough context for a reproducer?=