/* { dg-do compile } *//* { dg-options "-O1 -fdump-tree-optimized" } */intf(char v){return__builtin_popcount((int)__builtin_bswap16(v));}/* We should be able to remove the bswap here as it does not matter for the popcount. *//* { dg-final { scan-tree-dump-not "bswap" "optimized"} } */