-
Bug
-
Resolution: Fixed
-
Low
-
Code Generation Tools
-
CODEGEN-6677
-
-
-
default
-
Move the asm statement outside of all functions, or edit the asm statement so that it doesn't have exactly 47 characters (including the NUL at the end of the string), perhaps by adding a space character at the end of the line.
The optimizer can mistakenly turn an asm() statement into an assembly comment, nullifying the contents of the statement, if a C or C++ file:
1) has an asm() statement
2) that is exactly 47 characters long (including the null character)
3) inside a function and
4) optimization level 2 or higher is used.