Article View: muc.lists.netbsd.port.vax
Article #7Re: port-vax/44155
From: David Brownlee
Date: Tue, 24 Nov 2026 09:46
Date: Tue, 24 Nov 2026 09:46
28 lines
4715 bytes
4715 bytes
On Tue, 3 Nov 2026 at 17:45, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote: > > I did a quick test for exceptions on -current (which worked---that was > expected with both the _much_ newer GCC including Macie's and Kalvis's > work) and then generated some more tests (claude opus) as well as ran > exception-relevant ATF tests (/usr/tests/usr.bin/c++/t_call_once2 with > call_once2 call_once2_pic call_once2_pie call_once2_static and > /usr/tests/atf/atf-c++/macros_test with require_throw > require_throw_re) so we'd close this very old PR. > > While my manual test with a simple exception worked, the > claude-generated tests showed that we're leaking stack space in a > corner case when we're catching exceptions in a loop. (That seems to > be "fixed" by RETurning from the function, though.) > > I'l attach the small test cases, build/run by `make run`. Shall we > try to fix this remaining issue? Or just ignore it as an unexpected > corner case? I think it would be nice to fix the leak, though we'll need to keep any LLM usage on the "indicates an issue" side rather than "suggested code changes" David -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<CAGN_6pZEAYeKWU_BLX4NX9WMq4OvOaCdByK3PqX_+xfT=hNo9Q@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<auodxdoHKzByxKgt@lug-owl.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: David Brownlee <abs@absd.org>
Newsgroups: muc.lists.netbsd.port.vax
Subject: Re: port-vax/44155
Date: Tue, 24 Nov 2026 09:46:43 +0000
Organization: Newsgate at muc.de e.V.
Sender: port-vax-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <CAGN_6pZEAYeKWU_BLX4NX9WMq4OvOaCdByK3PqX_+xfT=hNo9Q@mail.gmail.com>
References: <auodxdoHKzByxKgt@lug-owl.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
logging-data="31880"; mail-complaints-to="news-admin@muc.de"
Authentication-Results: mail.netbsd.org (amavisd-new);
dkim=pass (1024-bit key) header.d=absd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=absd.org; s=google; t=1795513616; x=1796118416; darn=netbsd.org;
h=content-type:cc:to:subject:message-id:date:from:in-reply-to
:references:mime-version:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=DJ1Z/pZg5JPOUPqGl1H6z5oHrTglIAJrsJSoGfYaRVA=;
b=fbnrnMpC3IrLlh5Hr+aY2jgWj9pxk6kEY7O6ihRwiSF0jG5GCAnSzkozTdoYkUTVOL
PnLNwn1geyS4/xFskapEwX1kNMU7cybR0fln+g2qat113RKONpW4jIb3ZHyWHbcAGLSA
H+niy9MCxTvMwrL6YYu/OOBbbaYj1e5hZGBOw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1795513616; x=1796118416;
h=content-type:cc:to:subject:message-id:date:from:in-reply-to
:references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to:content-type;
bh=DJ1Z/pZg5JPOUPqGl1H6z5oHrTglIAJrsJSoGfYaRVA=;
b=CTbG/J9H6sU4Ki61EyqFM9O6Sn/mm+r5Ov6mTPriss3qYFidaGKN0A01C3W6bMvKlj
bYxnSG/lj5BMbdGHCzlbpfFFSst3LDbhldMhN1qLWXTP9lujQs2ttFO7/Ur94Sm4NunS
ErUHZVFEUUvv3xb6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ply-To: <auodxdoHKzByxKgt@lug-owl.de>
X-Gm-Features: Aa3M54rHEUu6W8VD_cLokwSZBqnFYU_KxdHBywjva9sKp9jhi-F1IE9NgY1BJ2A
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes