compiler bug? Call of sqr in a expression as parameter