From 6b55fa29adf4d643e61388bf01a4509b0b041d17 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 15 Oct 2020 14:46:12 +0200 Subject: [PATCH] Fix toplevel comment of attr-fnspec.h gcc/ChangeLog: 2020-10-15 Jan Hubicka Richard Biener * attr-fnspec.h: Fix toplevel comment. --- gcc/attr-fnspec.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/gcc/attr-fnspec.h b/gcc/attr-fnspec.h index 921bb48ae6a..d38b84a969e 100644 --- a/gcc/attr-fnspec.h +++ b/gcc/attr-fnspec.h @@ -30,12 +30,14 @@ character 2+2i specifies properties of argument number i as follows: 'x' or 'X' specifies that parameter is unused. - 'r' or 'R' specifies that parameter is only read and memory pointed to is - never dereferenced. - 'w' or 'W' specifies that parameter is only written to. + 'r' or 'R' specifies that the memory pointed to by the parameter is only + read and does not escape + 'w' or 'W' specifies that the memory pointed to by the parameter does not + escape '.' specifies that nothing is known. - The uppercase letter in addition specifies that parameter - is non-escaping. + The uppercase letter in addition specifies that the memory pointed to + by the parameter is not dereferenced. For 'r' only read applies + transitively to pointers read from the pointed-to memory. character 3+2i specifies additional properties of argument number i as follows: -- 2.30.2