-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Code Generation Tools
-
CODEGEN-14664
-
-
-
C29_2.2.0.LTS*
-
default
When the compiler is instructed to not inline functions with the -fno-inline-functions option, and is also instructed to optimize the program via -O1 or higher, certain circumstances may cause a local copy of the standard library "memset" function to generate erroneous code.
This code contains a call to 'memset' from within memset, meaning that the program will enter an infinite loop.
As a temporary workaround, pass the custom flag '-U_INLINE' to the compiler to avoid the problem.