aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.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/cfgexpand.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/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 4a5cf16..1341c14 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -73,7 +73,6 @@ along with GCC; see the file COPYING3. If not see
#include "builtins.h"
#include "tree-chkp.h"
#include "rtl-chkp.h"
-#include "langhooks.h"
/* Some systems use __main in a way incompatible with its use in gcc, in these
cases use the macros NAME__MAIN to give a quoted symbol and SYMBOL__MAIN to
@@ -6222,15 +6221,6 @@ pass_expand::execute (function *fun)
(int) PARAM_VALUE (PARAM_SSP_BUFFER_SIZE));
}
- if (warn_abi)
- if (tree attr = lookup_attribute ("abi warning",
- DECL_ATTRIBUTES (current_function_decl)))
- warning_at (DECL_SOURCE_LOCATION (current_function_decl),
- OPT_Wabi, "definition of %qs: %s",
- identifier_to_locale (lang_hooks.decl_printable_name
- (current_function_decl, 1)),
- TREE_STRING_POINTER (TREE_VALUE (TREE_VALUE (attr))));
-
/* Set up parameters and prepare for return, for the function. */
expand_function_start (current_function_decl);