On Fri, 7 Oct 2016, Georg-Johann Lay wrote:
Mentioning some AVR target specific improvements.
Below some small editorial changes that I just applied on top of this. Gerald Index: gcc-7/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-7/changes.html,v retrieving revision 1.56 diff -u -r1.56 changes.html --- gcc-7/changes.html 2 Feb 2017 19:10:59 -0000 1.56 +++ gcc-7/changes.html 3 Feb 2017 08:42:26 -0000 @@ -804,10 +804,10 @@ is now properly supported. Respective read-only variables are located in flash memory in section <code>.progmem.data</code>. No special code is needed to access such variables; the compiler automatically - adds an offset of <code>0x4000</code> to all addresses which is needed + adds an offset of <code>0x4000</code> to all addresses, which is needed to access variables in flash memory. As opposed to ordinary cores where it is sufficient to specify the <code>progmem</code> attribute - with definitions, on the reduced Tiny cores the attribute has also to + with definitions, on the reduced Tiny cores the attribute also has to be specified with (external) declarations: <blockquote><pre> extern const int array[] __attribute__((__progmem__)); @@ -824,15 +824,15 @@ return &array[idx]; }</pre></blockquote></li> <li>A new command-line option <code>-Wmisspelled-isr</code> has been added. - It can be used to turn off — or turn into errors — + It turns off — or turns into errors — warnings that are reported for interrupt service routines (ISRs) which don't follow AVR-LibC's naming convention of prefixing ISR names with <code>__vector</code>.</li> - <li><code>__builtin_avr_nops(n_nops)</code> is a new + <li><code>__builtin_avr_nops(<i>n</i>)</code> is a new <a href="https://gcc.gnu.org/onlinedocs/gcc/AVR-Built-in-Functions.html">built-in function</a> - that inserts <code>n_nops</code> <code>NOP</code> instructions into - the instruction stream. <code>n_nops</code> must be a value known at + that inserts <i>n</i> <code>NOP</code> instructions into + the instruction stream. <i>n</i> must be a value known at compile time.</li> </ul>