Port-vax archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-vax/44155
On Tue, 3 Nov 2026 at 17:45, Jan-Benedict Glaw <jbglaw%lug-owl.de@localhost> 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
Home |
Main Index |
Thread Index |
Old Index