We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6509c3 commit ad55c4fCopy full SHA for ad55c4f
src/ansi-c/expr2c.cpp
@@ -3532,7 +3532,11 @@ std::string expr2ct::convert_with_precedence(
3532
return convert_function(src, "isinf", precedence=16);
3533
3534
else if(src.id()==ID_bswap)
3535
- return convert_function(src, "bswap", precedence=16);
+ return convert_function(
3536
+ src,
3537
+ "__builtin_bswap"+
3538
+ integer2string(pointer_offset_bits(src.op0().type(), ns)),
3539
+ precedence=16);
3540
3541
else if(src.id()==ID_isnormal)
3542
return convert_function(src, "isnormal", precedence=16);
0 commit comments