aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus.com>1998-10-11 02:21:54 +0000
committerKen Raeburn <raeburn@gcc.gnu.org>1998-10-11 02:21:54 +0000
commit7d384cc0b300cace24c008fec600219e4377923c (patch)
tree7d04180ff0e97d1e5bb80e16c8389a2a43d9e018 /gcc/tree.h
parente41887f1fc521f4dde6c0a56ebe3fa1cc1c108aa (diff)
downloadgcc-7d384cc0b300cace24c008fec600219e4377923c.zip
gcc-7d384cc0b300cace24c008fec600219e4377923c.tar.gz
gcc-7d384cc0b300cace24c008fec600219e4377923c.tar.bz2
Fine-grained control of -fcheck-memory-usage with new no_check_memory_usage attribute.
Fine-grained control of -fcheck-memory-usage with new no_check_memory_usage attribute. Misc minor bugfixes and tests for it too. From-SVN: r22983
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index cd9fdbb..8bd8df3 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1226,6 +1226,10 @@ struct tree_type
be instrumented with calls to support routines. */
#define DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT(NODE) ((NODE)->decl.no_instrument_function_entry_exit)
+/* Used in FUNCTION_DECLs to indicate that in this function,
+ check-memory-usage should be disabled. */
+#define DECL_NO_CHECK_MEMORY_USAGE(NODE) ((NODE)->decl.no_check_memory_usage)
+
/* Additional flags for language-specific uses. */
#define DECL_LANG_FLAG_0(NODE) (DECL_CHECK (NODE)->decl.lang_flag_0)
#define DECL_LANG_FLAG_1(NODE) (DECL_CHECK (NODE)->decl.lang_flag_1)
@@ -1282,6 +1286,7 @@ struct tree_decl
unsigned non_addr_const_p : 1;
unsigned no_instrument_function_entry_exit : 1;
+ unsigned no_check_memory_usage : 1;
/* For a FUNCTION_DECL, if inline, this is the size of frame needed.
If built-in, this is the code for which built-in function.