------- Comment #1 from foo at mailinator dot com 2009-12-29 18:02 ------- 5/9 (usual arithmetic conversions) isn't relevant until after 4.5/1 (integral promotions) has happened. Unsigned short *always* promotes to int in rvalue contexts; then *that* int is implicitly converted to double in the context of multiplication by a double (which is what's happening here).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41779