diff options
author | raeburn <raeburn@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-11 02:21:54 +0000 |
---|---|---|
committer | raeburn <raeburn@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-11 02:21:54 +0000 |
commit | efea460c5eda4c7369e81ba7c7ebc6a27f8eccc2 (patch) | |
tree | 7d04180ff0e97d1e5bb80e16c8389a2a43d9e018 /gcc/extend.texi | |
parent | 5eabf72a2dc1dba34d9d1a1386692418b448722d (diff) | |
download | gcc-efea460c5eda4c7369e81ba7c7ebc6a27f8eccc2.tar.gz |
Fine-grained control of -fcheck-memory-usage with new no_check_memory_usage
attribute. Misc minor bugfixes and tests for it too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22983 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/extend.texi')
-rw-r--r-- | gcc/extend.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/extend.texi b/gcc/extend.texi index 45b31b82322..a2c278b001c 100644 --- a/gcc/extend.texi +++ b/gcc/extend.texi @@ -1518,6 +1518,19 @@ mangled name for the target must be used. Not all target machines support this attribute. +@item no_check_memory_usage +@cindex @code{no_check_memory_usage} function attribute +If @samp{-fcheck-memory-usage} is given, calls to support routines will +be generated before most memory accesses, to permit support code to +record usage and detect uses of uninitialized or unallocated storage. +Since the compiler cannot handle them properly, @code{asm} statements +are not allowed. Declaring a function with this attribute disables the +memory checking code for that function, permitting the use of @code{asm} +statements without requiring separate compilation with different +options, and allowing you to write support routines of your own if you +wish, without getting infinite recursion if they get compiled with this +option. + @item regparm (@var{number}) @cindex functions that are passed arguments in registers on the 386 On the Intel 386, the @code{regparm} attribute causes the compiler to |