| |||
| Home > About Previous Releases > Differences between RVCT v2.1 and RVCT v2.0 > Changes to the ARM compiler in RVCT v2.1 | |||
The following changes were made in RVCT v2.1:
Support for GNU extensions when you run the compiler
with the --gnu option. However, some extensions
are also supported when you run the compiler without this option.
These compilation modes are referred to as:
The
default mode, that is, compilations without the --gnu option.
Compilations
with the --gnu option.
For a complete list of all GNU extensions, and the mode and language in which they are supported, see the chapter describing the compiler reference in RealView Compilation Tools v2.1 Compiler and Libraries Guide.
Enhanced support for ISO C++ through the Edison Design Group (EDG) front end. This provides a full C++ parser that passes a program representation to the ARM compiler for code generation. This now includes support for throwing and catching C++ exceptions.
Multifile compilation provides optimization across
compile units. Use the new --multifile option to
specify this behavior. Multifile compilation requires you to specify
multiple files on the command line, for example:
armcc [options] --multifileifile_1...ifile_n
New -O3 optimization level, that
includes multifile compilation by default.
New --cpu list and --fpu
list options to display details about supported CPUs and
architectures.
New --min_array_alignment option
to enable you to specify the minimum alignment of arrays.
New __breakpoint() intrinsic.
Noreturn functions.
--old_cfe option is now obsolete.