summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/corealloc.c
diff options
context:
space:
mode:
author David Haywood <mamehaze@users.noreply.github.com>2014-04-20 15:36:09 +0000
committer David Haywood <mamehaze@users.noreply.github.com>2014-04-20 15:36:09 +0000
commit98cd4bf32f65ca5c879744821e76df3e6206e9f0 (patch)
tree174b92e7387b41a7a18fa1d90d06bc8358d69614 /src/lib/util/corealloc.c
parent67ad2ee836dfb7cd88b163592fd04623524a663b (diff)
this needs fixing properly, but it currently gets in the way during profiling ICL builds (nw)
Diffstat (limited to 'src/lib/util/corealloc.c')
-rw-r--r--src/lib/util/corealloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/util/corealloc.c b/src/lib/util/corealloc.c
index c8a23b73f27..a251aaa9913 100644
--- a/src/lib/util/corealloc.c
+++ b/src/lib/util/corealloc.c
@@ -154,8 +154,10 @@ void free_file_line(void *memory, const char *file, int line, bool array)
}
if (array && !entry->m_array)
{
+#ifndef __INTEL_COMPILER // todo: fix this properly, it appears some optimization the compiler applies breaks our logic here
fprintf(stderr, "Error: attempt to free single object %p with global_free_array in %s(%d)!\n", memory, file, line);
osd_break_into_debugger("Error: attempt to free single object with global_free_array");
+#endif
}
#ifdef OVERWRITE_FREED_MEMORY