https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71498
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- Still occurs with current trunk. The same can be observed by the following; passing a 'static const' string seems to inhibit the instrumentation. int a[100]; extern void call(const char * fn); int testje (int core) { static const char FUNCTION[] = "testje"; call(FUNCTION); return a[core]; }