🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.netbsd.port.vax
1 messages
1 total messages Started by David Brownlee Tue, 24 Nov 2026 09:46
Re: port-vax/44155
#7
Author: David Brownlee
Date: Tue, 24 Nov 2026 09:46
28 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads