Revert empty class parameter passing ABI changes.
[gcc.git] / gcc / expr.c
index 5f1118c4f7b34d56cb145a259c5b22ddaa36a7c2..29d22b07256ce0adcb8c8eae5249847e144caf4b 100644 (file)
@@ -10579,13 +10579,6 @@ expand_expr_real_1 (tree exp, rtx target, machine_mode tmode,
                      0, "%Kcall to %qs declared with attribute warning: %s",
                      exp, identifier_to_locale (lang_hooks.decl_printable_name (fndecl, 1)),
                      TREE_STRING_POINTER (TREE_VALUE (TREE_VALUE (attr))));
-       if (warn_abi && fndecl
-           && (attr = lookup_attribute ("abi warning",
-                                        DECL_ATTRIBUTES (fndecl))) != NULL)
-         warning_at (tree_nonartificial_location (exp),
-                     OPT_Wabi, "%Kcall to %qs: %s",
-                     exp, identifier_to_locale (lang_hooks.decl_printable_name (fndecl, 1)),
-                     TREE_STRING_POINTER (TREE_VALUE (TREE_VALUE (attr))));
 
        /* Check for a built-in function.  */
        if (fndecl && DECL_BUILT_IN (fndecl))