-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Code Generation Tools
-
CODEGEN-2214
-
-
-
Make sure there is some other visible effect in the function -- a call, a use of a volatile variable, something like that.
-
A function whose only visible effect is to call assert() may be optimised away at --opt_level=0 or higher.
Compiler optimizes away function which calls assert