From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B154A3858C53; Thu, 7 Apr 2022 02:58:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B154A3858C53 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/105182] compiling NJOY21 causes a ICE segmentation fault: 11 Date: Thu, 07 Apr 2022 02:58:19 +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: sgk at troutmask dot apl.washington.edu 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: Thu, 07 Apr 2022 02:58:19 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105182 --- Comment #7 from Steve Kargl -= -- On Thu, Apr 07, 2022 at 01:09:01AM +0000, kermitnuc at gmail dot com wrote: > --- Comment #6 from Kermit Bunde --- > I ran the stack size up to ~64Mb. >=20 > I can compile MCNP which is much bigger. > Again, 10.3 compiled it with a stack size of 8 Mb. >=20 Okay, so we may have eliminated the stack size, which is a very common cause of segfaults. You appear to be using Darwin. I don't use Darwin. Restore the lines that you think are causing a problem and start eliminate all other code until you get a small=20 manageable piece of code. Until someone has time to do the debug, you could use 10.3 as work around.=