diff --git a/tests/specs/oracle/assigns.res.oracle b/tests/specs/oracle/assigns.res.oracle
index b92679e0f0276ea6309e41be8cfd2d616b62309b..9b66300e7b397352b7d766ce28baf9ad95bcccd0 100644
--- a/tests/specs/oracle/assigns.res.oracle
+++ b/tests/specs/oracle/assigns.res.oracle
@@ -4,7 +4,7 @@ Now output intermediate result
 [eva] Analyzing a complete application starting at main
 [eva:initial-state] Values of globals at initialization
   
-[kernel:annot:missing-spec] assigns.cc:14: Warning: 
+[kernel:annot:missing-spec] assigns.cc:8: Warning: 
   Neither code nor explicit assigns for function swap,
    generating default clauses from the specification. See -generated-spec-* options for more info
 [eva] using specification for function swap
diff --git a/tests/stl/oracle/stl_unique_ptr.res.oracle b/tests/stl/oracle/stl_unique_ptr.res.oracle
index f6e48157e8a0ec12875bf676d6f38613ee93fa94..95faad0de16d86e2147be464c15c06285ab3bd87 100644
--- a/tests/stl/oracle/stl_unique_ptr.res.oracle
+++ b/tests/stl/oracle/stl_unique_ptr.res.oracle
@@ -254,7 +254,7 @@ Now output intermediate result
   _frama_c_rtti_name_info.name ∈ {{ "ClassTemplate" }}
                          {.base_classes; .number_of_base_classes; .pvmt} ∈
                          {0}
-[kernel:annot:missing-spec] stl_unique_ptr.cpp:9: Warning: 
+[kernel:annot:missing-spec] <builtin>:0: Warning: 
   Neither code nor specification for function malloc,
    generating default assigns. See -generated-spec-* options for more info
 [eva] using specification for function malloc
diff --git a/tests/val_analysis/oracle/union.res.oracle b/tests/val_analysis/oracle/union.res.oracle
index 405c988678910e2bc548e112b857066e2a5fbca6..6d7da69a8f745742a6f283f443b28d003912918c 100644
--- a/tests/val_analysis/oracle/union.res.oracle
+++ b/tests/val_analysis/oracle/union.res.oracle
@@ -1,7 +1,7 @@
 [kernel] Parsing union.cc (external front-end)
 Now output intermediate result
 [kernel] Warning: Assuming declared function Frama_C_memcpy can't throw any exception
-[kernel:annot:missing-spec] union.cc:8: Warning: 
+[kernel:annot:missing-spec] <builtin>:0: Warning: 
   Neither code nor specification for function Frama_C_memcpy,
    generating default assigns. See -generated-spec-* options for more info
 [eva] Analyzing a complete application starting at main
diff --git a/tests/val_analysis/oracle/union_struct.res.oracle b/tests/val_analysis/oracle/union_struct.res.oracle
index 310b41e160fe9a773f8fa16e08e9520b9b6a66be..ac6e246f3c71b0bfd367fb4718c75feaac9d4e53 100644
--- a/tests/val_analysis/oracle/union_struct.res.oracle
+++ b/tests/val_analysis/oracle/union_struct.res.oracle
@@ -1,7 +1,7 @@
 [kernel] Parsing union_struct.cc (external front-end)
 Now output intermediate result
 [kernel] Warning: Assuming declared function Frama_C_memcpy can't throw any exception
-[kernel:annot:missing-spec] union_struct.cc:17: Warning: 
+[kernel:annot:missing-spec] <builtin>:0: Warning: 
   Neither code nor specification for function Frama_C_memcpy,
    generating default assigns. See -generated-spec-* options for more info
 [eva] Analyzing a complete application starting at main