]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/cp/semantics.c
c-common.c (resolve_overloaded_builtin): Forward to target hook for BUILT_IN_MD built...
[thirdparty/gcc.git] / gcc / cp / semantics.c
index 20e94223b364bbc1e282c4b334b0559ac6b8b02d..25286852e658d822626b6f865a49efd360383e3b 100644 (file)
@@ -1837,7 +1837,8 @@ finish_call_expr (tree fn, tree args, bool disallow_virtual, bool koenig_p)
     {
       /* If the function is an overloaded builtin, resolve it.  */
       if (TREE_CODE (fn) == FUNCTION_DECL
-         && DECL_BUILT_IN_CLASS (fn) == BUILT_IN_NORMAL)
+         && (DECL_BUILT_IN_CLASS (fn) == BUILT_IN_NORMAL
+             || DECL_BUILT_IN_CLASS (fn) == BUILT_IN_MD))
         result = resolve_overloaded_builtin (fn, args);
 
       if (!result)