[tree-ssa mudflap] constant mudflap marking

Frank Ch. Eigler fche@redhat.com
Thu Jul 3 14:25:00 GMT 2003


Hi -

> This patch breaks a bootstrap when linking jc1.  The mf_mark, mf_marked_p
> symbols are defined in tree-mudflap.o which isn't linked to all frontends
> (should it be?). [...]

Sorry about that.  The following patch, about to be committed, should
solve the problem.

- FChE


+2003-07-03  Frank Ch. Eigler  <fche@redhat.com>
+
+	* tree-nomudflap.c (mf_marked_p, mf_mark): New dummy functions.
+
Index: tree-nomudflap.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-nomudflap.c,v
retrieving revision 1.1.2.6
diff -u -r1.1.2.6 tree-nomudflap.c
--- tree-nomudflap.c	13 Jun 2003 21:09:13 -0000	1.1.2.6
+++ tree-nomudflap.c	3 Jul 2003 14:24:37 -0000
@@ -49,7 +49,7 @@
 mudflap_c_function (t)
      tree t ATTRIBUTE_UNUSED;
 {
-  abort ();
+  internal_error ("mudflap: this language is not supported");
   return NULL;
 }
 
@@ -79,6 +79,20 @@
 mudflap_finish_file ()
 {
   internal_error ("mudflap: this language is not supported");
+}
+
+
+int
+mf_marked_p (tree t)
+{
+  internal_error ("mudflap: this language is not supported");
+}
+
+tree
+mf_mark (tree t)
+{
+  internal_error ("mudflap: this language is not supported");
+  return NULL;
 }
 
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030703/7fa7fa1d/attachment.sig>


More information about the Gcc-patches mailing list