aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2016-04-14 12:23:06 -0400
committerJason Merrill <jason@gcc.gnu.org>2016-04-14 12:23:06 -0400
commit9f285ccb77a109ba94788f71ac83d4d46299ea9f (patch)
tree0d922603fa3db1c9a198d7caeec6b41056443321 /gcc/expr.c
parent52fbb073e9310d2e1f83a4124a24ec83db1b6fd1 (diff)
downloadgcc-9f285ccb77a109ba94788f71ac83d4d46299ea9f.zip
gcc-9f285ccb77a109ba94788f71ac83d4d46299ea9f.tar.gz
gcc-9f285ccb77a109ba94788f71ac83d4d46299ea9f.tar.bz2
Revert empty class parameter passing ABI changes.
From-SVN: r234977
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 5f1118c..29d22b0 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -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))