Sadly, with Mark's large program __verbose_terminate_handler() makes zero difference. I tried both gcc 11.3 and gcc 15.2, both Faster and Smallest Code optimization. No change on any test, not even 1 byte.
However, with QNEthernet SimpleHTTPClient, it does indeed make quite a difference. RAM1 code goes from 149548 to 118504. RAM1 variables are also reduced substantially.
Teensy Core Libraries for Arduino. Contribute to PaulStoffregen/cores development by creating an account on GitHub.
github.com
I'll be in beta4. This seems like a fairly safe addition, but I'm really hoping people who use C++ STL stuff will give it a try before a final 1.62 release.