[PATCH 0/5] Bug fixes, new compiler warnings, and test enhancements