From a6eb03d4e04b35411d3cbc78b3297a447de38b7d Mon Sep 17 00:00:00 2001 From: William Moses Date: Mon, 24 Jul 2023 07:49:37 -1000 Subject: [PATCH] Reduce warnings (and have as runtime errors) (#961) * Reduce warnings (and have as runtime errors) * Update src/compiler.jl --------- Co-authored-by: Valentin Churavy --- src/compiler.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compiler.jl b/src/compiler.jl index 67dc93b1d7..5f85405deb 100644 --- a/src/compiler.jl +++ b/src/compiler.jl @@ -4749,8 +4749,7 @@ function arraycopy_common(fwd, B, orig, origArg, gutils, shadowdst) # ip = API.EnzymeTypeAnalyzerToString(analyzer) # sval = Base.unsafe_string(ip) # API.EnzymeStringFree(ip) - GPUCompiler.@safe_warn "Unknown concrete type" tt=string(tt) orig=string(orig) - emit_error(B, orig, "Enzyme: Unknown concrete type in arraycopy_common") + emit_error(B, orig, "Enzyme: Unknown concrete type in arraycopy_common. tt: " * string(tt)) return nothing end