3.7. GNU language extensions

This section describes GNU compiler extensions that are supported by the ARM compiler. These extensions are supported only in GNU mode, that is, when you compile your source code with the --gnu option. See Language compliance and ‑‑gnu for more information.


Not all GNU compiler extensions are supported for all languages. For example, extended pointer arithmetic is not supported for C++.

For more information on the use of the GNU extensions, see the GNU compiler documentation online at http://gcc.gnu.org.

For additional reference material on the ARM compiler see also:

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A