diff options
author | Ken Raeburn <raeburn@cygnus.com> | 1998-10-11 02:21:54 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@gcc.gnu.org> | 1998-10-11 02:21:54 +0000 |
commit | 7d384cc0b300cace24c008fec600219e4377923c (patch) | |
tree | 7d04180ff0e97d1e5bb80e16c8389a2a43d9e018 /gcc/tree.h | |
parent | e41887f1fc521f4dde6c0a56ebe3fa1cc1c108aa (diff) | |
download | gcc-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |