aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2010-05-16 07:12:46 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2010-05-16 07:12:46 +0000
commit1d4c5fe99b7f0551b3cafe72c63f465f5b59f215 (patch)
tree45c3c82e90ab5319862d53d0fcb016ab2201e167 /gcc/c-decl.c
parent9feb3d6aca21781464d2759fcef34bd471d85628 (diff)
downloadgcc-1d4c5fe99b7f0551b3cafe72c63f465f5b59f215.zip
gcc-1d4c5fe99b7f0551b3cafe72c63f465f5b59f215.tar.gz
gcc-1d4c5fe99b7f0551b3cafe72c63f465f5b59f215.tar.bz2
c-decl.c: Don't include gimple.h.
* c-decl.c: Don't include gimple.h. (merge_decls): Do not copy gimple_body. From-SVN: r159451
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 554817f..af038e1 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -51,7 +51,6 @@ along with GCC; see the file COPYING3. If not see
#include "c-lang.h"
#include "langhooks.h"
#include "tree-mudflap.h"
-#include "gimple.h" /* FIXME: For gimple_set_body and gimple_body, but why? */
#include "tree-iterator.h"
#include "diagnostic.h"
#include "tree-dump.h"
@@ -2370,7 +2369,6 @@ merge_decls (tree newdecl, tree olddecl, tree newtype, tree oldtype)
DECL_INITIAL (newdecl) = DECL_INITIAL (olddecl);
DECL_STRUCT_FUNCTION (newdecl) = DECL_STRUCT_FUNCTION (olddecl);
DECL_SAVED_TREE (newdecl) = DECL_SAVED_TREE (olddecl);
- gimple_set_body (newdecl, gimple_body (olddecl));
DECL_ARGUMENTS (newdecl) = copy_list (DECL_ARGUMENTS (olddecl));
for (t = DECL_ARGUMENTS (newdecl); t ; t = TREE_CHAIN (t))
DECL_CONTEXT (t) = newdecl;
@@ -2412,9 +2410,6 @@ merge_decls (tree newdecl, tree olddecl, tree newtype, tree oldtype)
switch (TREE_CODE (olddecl))
{
case FUNCTION_DECL:
- gimple_set_body (olddecl, gimple_body (newdecl));
- /* fall through */
-
case FIELD_DECL:
case VAR_DECL:
case PARM_DECL: