gcc-10.2 in the current git correctly deduces the expression :( only tested this with the new gcc, fix the current release build