Mercurial > hg > CbC > CbC_gcc
diff gcc/tree-nomudflap.c @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | b7f97abdc517 |
line wrap: on
line diff
--- a/gcc/tree-nomudflap.c Sun Feb 07 18:28:00 2010 +0900 +++ b/gcc/tree-nomudflap.c Fri Feb 12 23:39:51 2010 +0900 @@ -1,5 +1,6 @@ /* Mudflap: narrow-pointer bounds-checking by tree rewriting. - Copyright (C) 2001, 2002, 2003, 2007, 2008 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003, 2007, 2008, 2009 + Free Software Foundation, Inc. Contributed by Frank Ch. Eigler <fche@redhat.com> This file is part of GCC. @@ -25,8 +26,6 @@ #include "tm.h" #include "tree.h" #include "tree-inline.h" -#include "c-tree.h" -#include "c-common.h" #include "gimple.h" #include "diagnostic.h" #include "hashtab.h" @@ -90,7 +89,7 @@ return flag_mudflap != 0; } -struct gimple_opt_pass pass_mudflap_1 = +struct gimple_opt_pass pass_mudflap_1 = { { GIMPLE_PASS, @@ -100,7 +99,7 @@ NULL, /* sub */ NULL, /* next */ 0, /* static_pass_number */ - 0, /* tv_id */ + TV_NONE, /* tv_id */ 0, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ @@ -109,7 +108,7 @@ } }; -struct gimple_opt_pass pass_mudflap_2 = +struct gimple_opt_pass pass_mudflap_2 = { { GIMPLE_PASS, @@ -119,7 +118,7 @@ NULL, /* sub */ NULL, /* next */ 0, /* static_pass_number */ - 0, /* tv_id */ + TV_NONE, /* tv_id */ 0, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ @@ -133,6 +132,6 @@ We prepare a little dummy struct here. */ -const struct ggc_root_tab gt_ggc_r_gt_tree_mudflap_h[] = { +EXPORTED_CONST struct ggc_root_tab gt_ggc_r_gt_tree_mudflap_h[] = { LAST_GGC_ROOT_TAB };