Avoid TBAA violation and fix various warnings

1 job for master in 22 minutes and 27 seconds
latest