diff options
author | fche <fche@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-15 17:33:01 +0000 |
---|---|---|
committer | fche <fche@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-15 17:33:01 +0000 |
commit | c5344b58abd22c52e83e69147cad673f44c9edf4 (patch) | |
tree | 678afa505aa61ebca61ca94c5b86847a30a9aae6 /gcc/java | |
parent | b1fd5525e274332bd0e31857577e289d4ca5d6df (diff) | |
download | gcc-c5344b58abd22c52e83e69147cad673f44c9edf4.tar.gz |
* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84760 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/java/jcf-parse.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index b111dad3ce7..76bef669f08 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2004-07-15 Frank Ch. Eigler <fche@redhat.com> + + g++/15861 + * jcf-parse.c (java_emit_static_constructor): Specify default + priority. + 2004-07-13 Per Bothner <per@bothner.com> * java-tree.h (all_class_filename): Remove useless macro. diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index 07f8ccc754b..5a0a87f9b19 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -887,7 +887,7 @@ java_emit_static_constructor (void) write_resource_constructor (&body); if (body) - cgraph_build_static_cdtor ('I', body); + cgraph_build_static_cdtor ('I', body, DEFAULT_INIT_PRIORITY); } void |