OSDN Git Service

2006-04-22 Frank Ch. Eigler <fche@redhat.com>
authorfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Apr 2006 16:22:54 +0000 (16:22 +0000)
committerfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Apr 2006 16:22:54 +0000 (16:22 +0000)
PR libmudflap/26864
* common.opt (flag_mudflap_threads): Overload flag_mudflap.
* tree-mudflap.c (flag_mudflap_threads): Derive from flag_mudflap.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113179 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/common.opt
gcc/tree-mudflap.c

index bbbdaa4..76829f8 100644 (file)
@@ -1,3 +1,9 @@
+2006-04-22  Frank Ch. Eigler  <fche@redhat.com>
+
+       PR libmudflap/26864
+       * common.opt (flag_mudflap_threads): Overload flag_mudflap.
+       * tree-mudflap.c (flag_mudflap_threads): Derive from flag_mudflap.
+
 2006-04-22  Kazu Hirata  <kazu@codesourcery.com>
 
        * config/soft-fp/op-common.h, double-int.h, tree-ssa-dom.c:
index ba5bb29..f14a1cf 100644 (file)
@@ -605,7 +605,7 @@ Common RejectNegative Report Var(flag_mudflap)
 Add mudflap bounds-checking instrumentation for single-threaded program
 
 fmudflapth
-Common RejectNegative Report Var(flag_mudflap_threads)
+Common RejectNegative Report VarExists Var(flag_mudflap,2)
 Add mudflap bounds-checking instrumentation for multi-threaded program
 
 fmudflapir
index ed5ef48..4bca1f4 100644 (file)
@@ -48,6 +48,10 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
 
 /* Internal function decls */
 
+
+/* Options.  */
+#define flag_mudflap_threads (flag_mudflap == 2)
+
 /* Helpers.  */
 static tree mf_build_string (const char *string);
 static tree mf_varname_tree (tree);