From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CE1AD3858C52; Wed, 6 Apr 2022 20:50:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CE1AD3858C52 From: "kermitnuc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/105182] compiling NJOY21 causes a ICE segmentation fault: 11 Date: Wed, 06 Apr 2022 20:50:42 +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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kermitnuc at gmail dot com 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: 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: Wed, 06 Apr 2022 20:50:42 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105182 --- Comment #2 from Kermit Bunde --- (In reply to kargl from comment #1) > Thanks for the report, but we're going to need some help. Code in NJOY21 > seems to be C++. I found an errorr.f90 file under NJOY2016. This is an > 11000 line code, which pulls in a number of modules. Can you try to=20 > reduce this to something manageable? If one comments out these lines in subroutine resprx: !--Unresolved if (lru.eq.2) then call rpxunr(a,amur,mxlru2,iest,ieed,nwscr) !--Resolved with sammy method else if (nmtres.gt.0) then call rpxsamm(nwscr,a,ier) !--Resolved with errorj method else if (lcomp.eq.0) then call rpxlc0(nwscr,a) else if (lcomp.eq.1.or.lcomp.eq.2) then call rpxlc12(nwscr,a,iest,ieed) endif endif Then error.f90 will compile. Is there a limit to how many subroutine calls are allowed?=