From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A16E53858C3A; Thu, 12 Oct 2023 19:28:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A16E53858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697138904; bh=p+YtaGbMdWqLtzJ+btiXYhLgS57pSOumWGZW7juqDIM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bPqJpewlTVLZQunc4VnsD+ntjx063EtqsGGEVuf/cR5NL4ar7czHDyPy3Fn2d/KWZ s/3ZfI6/yAtNYSKnvCKhKElaefy9brbrCyMqA4VOybwsIqUclNUOMuTV1f2FOXSOFm cQGGohjBuN76NDvdfES+uP7sBPMr+Z8F/k0c8RDM= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/111783] 'exit' intrinsic should be marked as noreturn Date: Thu, 12 Oct 2023 19:28:24 +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: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: NEW 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111783 --- Comment #3 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #2) > This leaves ABORT and EXIT to deal with. Speaking to myself: subroutine s1() call exit(1) stop 98 end subroutine s2() call abort stop 99 end Here the STOP statements do not show up in .optimized. So I am wondering where the _gfortran_exit_i4 in comment#0 come from?=