OSDN Git Service

2004-10-28 Frank Ch. Eigler <fche@redhat.com>
authorfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Oct 2004 21:24:33 +0000 (21:24 +0000)
committerfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Oct 2004 21:24:33 +0000 (21:24 +0000)
commit4f4ecfd875fefb250f6c0315989e889ebb67e830
tree2116152a892bf767b218e4211d3d78f3c66c354e
parent3fd378a3b2e8e8d2ea9645c6664b8d7d38110b8c
2004-10-28  Frank Ch. Eigler  <fche@redhat.com>

* tree-mudflap.c (mudflap_init): Mark cache-lookup decls to
prevent their later unnecessary registration.
(mf_build_check_statement_for): Remove "addr" argument, and
related "__mf_value" generated code.  Update callers.
(mf_decl_eligible_p): New function, factored from mx_register_decls.
(mx_register_decls): Call it.
(mf_xform_derefs_1): Rewrite COMPONENT_REF and ARRAY_REF cases
to restore support for complex nested expressions.
(mudflap_enqueue_decl): Simplify.  Move registration call emission
out ...
(mudflap_finish_file): ... to here.
(mudflap_enqueue_constant): Remove dump code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89784 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-mudflap.c