| United States-English |
|
|
|
![]() |
HP-UX Systems: HP aC++ Release Notes > Chapter 1 HP
aC++ Release NotesNew Features in Version A.03.50 |
|
HP aC++ version A.03.50 supports the following new features: Precompiled Header (PCH) is now fully supported with -AA option. That means PCH feature can be used with STL (Standard Template Library). Debugging of optimized code (at optimization level +O2) is more robust now. Debugging of template functions is much improved. This option provides user control to turn on [off] the cloning feature of the optimizer. This option is primarily for users who may see a lot of cloning adversely affecting the performance of their code, and want more control over cloning. Cloning is on by default, and is valid at optimization levels +O3 and +O4. When inlining is turned off, cloning is turned off too. This option enables [disables] memory optimizations. Specifying malloc in the list enables[disables] optimizations which consolidate memory allocation procedure calls. This option is disabled by default. This option is incompatible with +Oopenmp and +Oparallel, and is ignored. Taking advantage of the increased cache line length of PA8800 processor (128 bytes), the compiler generates better code with improved data prefetching and data locality. This may help improve the performance of loop intensive applications. The compiler now does a much more robust optimization in and around the code regions containing try/catch constructs. This is expected to provide performance boost to C++ applications with a large amount of exception handling. This can be turned on with option +Oexception. This is a C99 feature. This keyword tells the optimizer that variables declared as restrict cannot have aliases (using pointers). Thus optimizer can do better alias analysis. As of the current release, only the keyword is supported without any accompanying optimizations. Robustness and usability of optimizations levels +O3/+O4 has been improved for C++ applications. This is expected to provide performance benefits to user applications written in C++. In order to use the new steplast command of gdb, C++ programs must be built with -g0 option only.
The +Olit option specifies the type of data items placed in the read-only data section. +Olit can take the values all and none. +Olit=all places all string variables and all const-qualified variables that do not require load-time or run-time initialization in the read-only data section. If +Olit=none is specified, no constants are placed in the read-only data section. It is safe to dynamically load and unload C++ shared libraries that directly or indirectly depend on shared library, libCsup. It is no longer necessary to specify -lCsup on the link line while building a non-C++ main executable. Pragmas INIT and FINI now work in 32-bit mode too. Functionality of both the pragmas are similar to their functionality in the 64-bit mode. See aCC online help (aCC +help) for more information. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||