1 /* Mudflap: narrow-pointer bounds-checking by tree rewriting.
2 Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
3 Contributed by Frank Ch. Eigler <fche@redhat.com>
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 2, or (at your option) any later
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING. If not, write to the Free
19 Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
25 #include "coretypes.h"
28 #include "tree-inline.h"
31 #include "tree-gimple.h"
32 #include "diagnostic.h"
36 #include "langhooks.h"
37 #include "tree-mudflap.h"
38 #include "tree-pass.h"
44 /* This file contains placeholder functions, to be used only for
45 language processors that cannot handle tree-mudflap.c directly.
51 internal_error ("mudflap: this language is not supported");
55 mudflap_enqueue_decl (tree obj ATTRIBUTE_UNUSED
)
61 mudflap_enqueue_constant (tree obj ATTRIBUTE_UNUSED
)
67 mudflap_finish_file (void)
73 mf_marked_p (tree t ATTRIBUTE_UNUSED
)
80 mf_mark (tree t ATTRIBUTE_UNUSED
)
86 /* The pass structures must exist, but need not do anything. */
88 struct tree_opt_pass pass_mudflap_1
=
90 "mudflap1", /* name */
95 0, /* static_pass_number */
97 0, /* properties_required */
98 0, /* properties_provided */
99 0, /* properties_destroyed */
100 0, /* todo_flags_start */
101 0, /* todo_flags_finish */
105 struct tree_opt_pass pass_mudflap_2
=
107 "mudflap2", /* name */
112 0, /* static_pass_number */
114 0, /* properties_required */
115 0, /* properties_provided */
116 0, /* properties_destroyed */
117 0, /* todo_flags_start */
118 0, /* todo_flags_finish */
123 #include "gt-tree-mudflap.h"
124 We prepare a little dummy struct here.
127 const struct ggc_root_tab gt_ggc_r_gt_tree_mudflap_h
[] = {