aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-mudflap.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2006-04-22 16:22:54 +0000
committerFrank Ch. Eigler <fche@gcc.gnu.org>2006-04-22 16:22:54 +0000
commit110c45636cca88d2d741855041834dc112fbedd4 (patch)
tree2e93eb62056a7f237745e73ee560f19a697baa96 /gcc/tree-mudflap.c
parent66a4ad37311bcb31fe1e94d538ada0ad66a782a7 (diff)
downloadgcc-110c45636cca88d2d741855041834dc112fbedd4.zip
gcc-110c45636cca88d2d741855041834dc112fbedd4.tar.gz
gcc-110c45636cca88d2d741855041834dc112fbedd4.tar.bz2
re PR libmudflap/26864 (multithreaded mudflap not working)
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. From-SVN: r113179
Diffstat (limited to 'gcc/tree-mudflap.c')
-rw-r--r--gcc/tree-mudflap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-mudflap.c b/gcc/tree-mudflap.c
index ed5ef48..4bca1f4 100644
--- a/gcc/tree-mudflap.c
+++ b/gcc/tree-mudflap.c
@@ -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);