summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/src/kmp_error.c')
-rw-r--r--openmp/runtime/src/kmp_error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openmp/runtime/src/kmp_error.c b/openmp/runtime/src/kmp_error.c
index f7c7c8e52f1..22caf27bed8 100644
--- a/openmp/runtime/src/kmp_error.c
+++ b/openmp/runtime/src/kmp_error.c
@@ -206,6 +206,7 @@ __kmp_free_cons_stack( void * ptr ) {
}
+#if KMP_DEBUG
static void
dump_cons_stack( int gtid, struct cons_header * p ) {
int i;
@@ -224,6 +225,7 @@ dump_cons_stack( int gtid, struct cons_header * p ) {
__kmp_debug_printf( "%s", buffer.str );
__kmp_str_buf_free( & buffer );
}
+#endif
void
__kmp_push_parallel( int gtid, ident_t const * ident )
OpenPOWER on IntegriCloud