Mercurial > hg > CbC > CbC_gcc
diff gcc/config/mips/frame-header-opt.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
line wrap: on
line diff
--- a/gcc/config/mips/frame-header-opt.c Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/config/mips/frame-header-opt.c Thu Oct 25 07:37:49 2018 +0900 @@ -4,7 +4,7 @@ targets, if a frame header is required, it is allocated by the callee. - Copyright (C) 2015-2017 Free Software Foundation, Inc. + Copyright (C) 2015-2018 Free Software Foundation, Inc. This file is part of GCC. @@ -23,17 +23,19 @@ <http://www.gnu.org/licenses/>. */ +#define IN_TARGET_CODE 1 + #include "config.h" #include "system.h" #include "context.h" #include "coretypes.h" +#include "backend.h" #include "tree.h" #include "tree-core.h" #include "tree-pass.h" #include "target.h" #include "target-globals.h" #include "profile-count.h" -#include "cfg.h" #include "cgraph.h" #include "function.h" #include "basic-block.h" @@ -99,8 +101,7 @@ mips_register_frame_header_opt (void) { opt_pass *p = make_pass_ipa_frame_header_opt (g); - static struct register_pass_info f = - {p, "comdats", 1, PASS_POS_INSERT_AFTER }; + struct register_pass_info f = { p, "comdats", 1, PASS_POS_INSERT_AFTER }; register_pass (&f); }