This patch announces the support of [[len=...]] annotations
in inline asm.

Ok to apply?

Johann

--

Date:   Sat May 30 10:19:58 2026 +0200

gcc-17/changes.html (avr): Announce support of [[len=...]] in inline asm.

diff --git a/htdocs/gcc-17/changes.html b/htdocs/gcc-17/changes.html
index 31578fc2..84c011f1 100644
--- a/htdocs/gcc-17/changes.html
+++ b/htdocs/gcc-17/changes.html
@@ -71,7 +71,22 @@ a work-in-progress.</p>

 <!-- <h3 id="arm">arm</h3> -->

-<!-- <h3 id="avr">AVR</h3> -->
+<h3 id="avr">AVR</h3>
+
+<ul>
+  <li>The <a href="https://gcc.gnu.org/onlinedocs/gcc/Size-of-an-asm.html";
+            >code size</a> of an inline asm construct &mdash; or parts
+    of it &mdash; can be specified with <tt>[[len=<var>spec</var>]]</tt>
+    annotations.  The code size is specified in units of 16-bit words and
+    is set to the sum over all such notes.
+    The notes can be deactivated with the new command line option
+ <a href="https://gcc.gnu.org/onlinedocs/gcc/AVR-Options.html#index-masm-len-notes"; + ><code>-mno-asm-len-notes</code></a> so that the default length applies.
+    The diagnostic behavior can be adjusted with
+ <a href="https://gcc.gnu.org/onlinedocs/gcc/AVR-Options.html#index-Wasm-len-notes";
+       ><code>-Wasm-len-notes</code>.
+  </li>
+</ul>

 <!-- <h3 id="x86">IA-32/x86-64</h3> -->


Reply via email to