[PATCH 0/2] Address warnings from gcc 12.2 with -flto