From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7FB823939C35; Tue, 12 May 2020 18:52:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7FB823939C35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589309542; bh=EYPIs82g78oN2/+MRUQYyY1eBohdQG0Cc0rM6OVXhnA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lBPitvwLlkYVizV2yABkgty05cn5IYCa29a4IsJG8hKXr2zzGQMkaIn3hBrDaZbi4 JpWng7/2hcXQA/3ocBKIUsf1oknuWeDgU+UiX+WabpbhVZtvG9kz4aXGvuLZYeF7mA lA4Ckq7B7asF24tg6tbapuW6FKfJWQvIBkhl45sQ= From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95053] [11 regression] ICE in f951: gfc_divide() Date: Tue, 12 May 2020 18:52:22 +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: sgk at troutmask dot apl.washington.edu 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 18:52:22 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95053 --- Comment #14 from Steve Kargl = --- On Tue, May 12, 2020 at 06:43:54PM +0000, seurer at linux dot vnet.ibm.com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95053 >=20 > --- Comment #13 from Bill Seurer --- > I don't know fortran and this appears to be part of a multi-thousand line > extremely complex function. >=20 There is only a single division in that line of code. Can you determine what the value of cldeps is? The error message suggests that it is 0. If there is a testcase that you can run, then change the code to if (cldeps =3D=3D 0) then print *, 'Whoops. cldeps =3D ', cldeps stop 1 else asort(nxs) =3D 1.0_r8-(floor(cld(i,k)/cldeps)*cldeps) end if=