When I compile the following program:
strcpy(x, "mumbo jumbo");
len = (int) strlen(x);
with icc 11.1 and optimization level -O2 or higher, valgrind complains about numerous runtime errors, most probably initially triggered triggered
inside strlen(). If, however, I compile it with '-nolib-inline', all error messages are gone.
Besides, compiling with icc 10.1 or 11.0 also gives no errors.
I hope that helps,