From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31499 invoked by alias); 25 Mar 2019 13:29:11 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 31489 invoked by uid 89); 25 Mar 2019 13:29:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=HX-Languages-Length:347, universal, online X-HELO: albireo.enyo.de Received: from albireo.enyo.de (HELO albireo.enyo.de) (5.158.152.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 25 Mar 2019 13:29:09 +0000 Received: from [172.17.203.2] (helo=deneb.enyo.de) by albireo.enyo.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1h8Pf0-00049x-Nl; Mon, 25 Mar 2019 13:29:06 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.92) (envelope-from ) id 1h8Pf0-0002IZ-Ln; Mon, 25 Mar 2019 14:29:06 +0100 From: Florian Weimer To: Jonny Grant Cc: gcc-help Subject: Re: Recursive SIGSEGV question References: <1255ee27-882f-ab4e-ea45-ba6f35791b45@jguk.org> <877ecuikq9.fsf@mid.deneb.enyo.de> <835d09ce-752a-c0f7-e5cf-210e855df2ab@jguk.org> Date: Mon, 25 Mar 2019 13:56:00 -0000 In-Reply-To: <835d09ce-752a-c0f7-e5cf-210e855df2ab@jguk.org> (Jonny Grant's message of "Mon, 25 Mar 2019 13:06:01 +0000") Message-ID: <87va07krq5.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00165.txt.bz2 * Jonny Grant: > I had thoughts GCC would generate code that monitored the stack size and > aborted with a clear message when the stack size was exceeded. Looked > online, and it doesn't seem to be the case. A lot of programs switch stack, and there's no universal convention about expressing the stack boundary.