1 typedef unsigned int u32; 2 ff(u32 a)3u32 ff(u32 a) { return __builtin_popcount(a); } 4 f0(u32 a)5u32 f0(u32 a) { return (__builtin_popcount)(a); } f1(u32 a)6u32 f1(u32 a) { return (*__builtin_popcount)(a); } // C99,C11 6.5.3.2p4 f2(u32 a)7u32 f2(u32 a) { return (**__builtin_popcount)(a); } // C99,C11 6.5.3.2p4 f3(u32 a)8u32 f3(u32 a) { return (***__builtin_popcount)(a); } // C99,C11 6.5.3.2p4 9 10 /* 11 * check-name: builtin calls 12 * check-command: test-linearize -Wno-decl $file 13 * 14 * check-output-ignore 15 * check-output-excludes: load 16 * check-output-pattern(5): call\\..*__builtin_.*, %arg1 17 */ 18