aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2004-07-15 17:33:01 +0000
committerFrank Ch. Eigler <fche@redhat.com>2004-07-15 17:33:01 +0000
commit4cbf20286d18bf9acec3d301c51455652406eecd (patch)
tree678afa505aa61ebca61ca94c5b86847a30a9aae6 /gcc/cgraph.h
parentfdfcf60040efcaccae23426bc60a7cbececb1005 (diff)
* Fix for g++/15861
2004-07-15 Frank Ch. Eigler <fche@redhat.com> g++/15861 * cgraphunit.c (cgraph_build_static_cdtor): Add priority argument. * cgraph.h: Update declaration. * c-decl.c (build_cdtor): Update call with default priority. * coverage.c (create_coverage): Ditto. * tree-mudflap.c (mf_init_fndecl): New tree. (mudflap_init): Set it. (mudflap_register_call): Arrange to call __mf_init before the first __mf_register call. (mudflap_finish_file): Mark the mudflap static initializer as extra high priority, to beat all C++ static constructors. 2004-07-15 Frank Ch. Eigler <fche@redhat.com> g++/15861 * jcf-parse.c (java_emit_static_constructor): Specify default priority. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@84760 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index c91f6f87413..0c86b76962f 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -192,6 +192,6 @@ void verify_cgraph (void);
void verify_cgraph_node (struct cgraph_node *);
void cgraph_mark_inline_edge (struct cgraph_edge *e);
void cgraph_clone_inlined_nodes (struct cgraph_edge *e, bool duplicate);
-void cgraph_build_static_cdtor (char which, tree body);
+void cgraph_build_static_cdtor (char which, tree body, int priority);
#endif /* GCC_CGRAPH_H */