diff mbox series

[avr,applied] Fix documentation for attribute "address".

Message ID c0409d57-9d8f-4f45-85f1-e8204f464245@gjlay.de
State New
Headers show
Series [avr,applied] Fix documentation for attribute "address". | expand

Commit Message

Georg-Johann Lay Jan. 12, 2024, 5:52 p.m. UTC
avr attribute "address" only supports exactly one argument,
fixed thusly.

Johann

--

AVR: Documentation: Attribute address has exactly one argument.

gcc/
	* doc/extend.texi (AVR Variable Attributes) [address]: Remove
	documentation for a version without argument, which is not supported.

  Just like with the @code{io} and @code{io_low} attributes, no memory is
diff mbox series

Patch

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index eebff4071e8..eb4a42588c7 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -8317,8 +8317,7 @@  allowing the use of @code{cbi}, @code{sbi}, 
@code{sbic} and @code{sbis}
  instructions.

  @cindex @code{address} variable attribute, AVR
-@item address
-@itemx address (@var{addr})
+@item address (@var{addr})
  Variables with the @code{address} attribute can be used to address
  memory-mapped peripherals that may lie outside the I/O address range.