diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2015-01-12 16:57:54 -0500 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2015-01-12 16:57:54 -0500 |
commit | 16ba620346c945cddbd0ad49ef5c628e693cad33 (patch) | |
tree | a352e42c99c520cdc37df98b40e0a8f8e1b58e26 /gcc | |
parent | 1b9ad1d9aea03385ca67e0d379d0b9d5b8bddff3 (diff) | |
download | gcc-16ba620346c945cddbd0ad49ef5c628e693cad33.zip gcc-16ba620346c945cddbd0ad49ef5c628e693cad33.tar.gz gcc-16ba620346c945cddbd0ad49ef5c628e693cad33.tar.bz2 |
invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses after a funtion name just to indicate it is a function.
2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
after a funtion name just to indicate it is a function.
([-fsanitize-undefined-trap-on-error]): Likewise.
([-fdbg-cnt=]): Likewise.
([-mmemcpy]): Likewise.
([-mflush-func]): Likewise.
([-msynci]): Likewise.
From-SVN: r219497
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 12 |
2 files changed, 16 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ec94051..c0ff02c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,15 @@ 2015-01-12 Sandra Loosemore <sandra@codesourcery.com> + * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses + after a funtion name just to indicate it is a function. + ([-fsanitize-undefined-trap-on-error]): Likewise. + ([-fdbg-cnt=]): Likewise. + ([-mmemcpy]): Likewise. + ([-mflush-func]): Likewise. + ([-msynci]): Likewise. + +2015-01-12 Sandra Loosemore <sandra@codesourcery.com> + * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing example. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 03be158..d84e3b7 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -4242,7 +4242,7 @@ Warn about functions that might be candidates for attributes functions visible in other compilation units or (in the case of @code{pure} and @code{const}) if it cannot prove that the function returns normally. A function returns normally if it doesn't contain an infinite loop or return abnormally -by throwing, calling @code{abort()} or trapping. This analysis requires option +by throwing, calling @code{abort} or trapping. This analysis requires option @option{-fipa-pure-const}, which is enabled by default at @option{-O} and higher. Higher optimization levels improve the accuracy of the analysis. @@ -5785,7 +5785,7 @@ Similarly @option{-fno-sanitize-recover} is equivalent to @item -fsanitize-undefined-trap-on-error @opindex fsanitize-undefined-trap-on-error The @option{-fsanitize-undefined-trap-on-error} instructs the compiler to -report undefined behavior using @code{__builtin_trap ()} rather than +report undefined behavior using @code{__builtin_trap} rather than a @code{libubsan} library routine. The advantage of this is that the @code{libubsan} library is not needed and is not linked in, so this is usable even in freestanding environments. @@ -6109,7 +6109,7 @@ Set the internal debug counter upper bound. @var{counter-value-list} is a comma-separated list of @var{name}:@var{value} pairs which sets the upper bound of each debug counter @var{name} to @var{value}. All debug counters have the initial upper bound of @code{UINT_MAX}; -thus @code{dbg_cnt()} returns true always unless the upper bound +thus @code{dbg_cnt} returns true always unless the upper bound is set by this option. For example, with @option{-fdbg-cnt=dce:10,tail_call:0}, @code{dbg_cnt(dce)} returns true only for first 10 invocations. @@ -18454,7 +18454,7 @@ Divide-by-zero checks can be completely disabled using @itemx -mno-memcpy @opindex mmemcpy @opindex mno-memcpy -Force (do not force) the use of @code{memcpy()} for non-trivial block +Force (do not force) the use of @code{memcpy} for non-trivial block moves. The default is @option{-mno-memcpy}, which allows GCC to inline most constant-sized copies. @@ -18667,7 +18667,7 @@ Disable the insertion of cache barriers. This is the default setting. @opindex mflush-func Specifies the function to call to flush the I and D caches, or to not call any such function. If called, the function must take the same -arguments as the common @code{_flush_func()}, that is, the address of the +arguments as the common @code{_flush_func}, that is, the address of the memory range for which the cache is being flushed, the size of the memory range, and the number 3 (to flush both caches). The default depends on the target GCC was configured for, but commonly is either @@ -18721,7 +18721,7 @@ It is enabled by default at optimization level @option{-O3}. @opindex msynci Enable (disable) generation of @code{synci} instructions on architectures that support it. The @code{synci} instructions (if -enabled) are generated when @code{__builtin___clear_cache()} is +enabled) are generated when @code{__builtin___clear_cache} is compiled. This option defaults to @option{-mno-synci}, but the default can be |