HP aC++/HP ANSI C A.06.27 Release Notes

Variadic macros ...........................................................................................................20
_Pragma operator ........................................................................................................20
extern template .................................................................................................................20
Decimal Floating Point supported in C++ mode (New)............................................................21
#pragma STDC FLOAT_CONST_DECIMAL64 (New)..............................................................21
#pragma omp task (New)...................................................................................................21
#pragma omp taskwait (New).............................................................................................22
Performance enhancements for +O1 (Changed).....................................................................22
Non-template static data members initialized outside the class no longer treated as constants in
strict mode (Changed)........................................................................................................22
Enhancements to allow code to run well on current platforms and future multi-core processors
(New)..............................................................................................................................22
New diagnostic messages (New).........................................................................................22
Improved diagnostic messages (Changed).............................................................................23
Enhanced +wendian warnings (New/Changed)....................................................................23
New runtime abort messages (New).....................................................................................23
New features in version A.06.20..............................................................................................23
Decimal floating-point arithmetic (HP-UX 11.31 only) (New)......................................................24
Decimal FP support includes the following:.......................................................................24
To use decimal FP:........................................................................................................25
Decimal Floating-Point Example.......................................................................................25
+annotate=structs (New).....................................................................................................28
+check=lock (New)............................................................................................................28
+check=thread (New).........................................................................................................28
+O[no]autopar now supported in C++ Mode (New)..............................................................28
+O[no]dynopt (HP-UX 11.31 only) (New)...............................................................................29
+inline_level num (Enhanced)..............................................................................................29
-dumpversion (New)...........................................................................................................29
#include_next (New)..........................................................................................................29
#pragma diag_push (New).................................................................................................29
#pragma diag_pop (New)..................................................................................................29
+Oinlinebudget is deprecated (Change)...............................................................................29
In next release, default C compilation mode will change from C89 to C99................................30
In next release, default C++ compilation mode will change to full -AA......................................30
New features in version A.06.15...............................................................................................30
printf, fprintf optimization (New)..........................................................................................31
+Wmacro option (New).....................................................................................................31
+Wcontext_limit option (New).............................................................................................31
+wperfadvice option (New).................................................................................................32
+Wv option (New).............................................................................................................32
+wlock option (New)..........................................................................................................32
+O[no]autopar option (New)..............................................................................................32
+O[no]loop_block option (New)..........................................................................................33
+O[no]loop_unroll_jam (Default Change)..............................................................................33
+Olit=all (Default change for HP C)......................................................................................33
+macro_debug= (New)......................................................................................................33
+pathtrace (New)..............................................................................................................34
+check suboptions (New)....................................................................................................34
-Bhidden_def (New)...........................................................................................................35
-dM (New)........................................................................................................................36
#pragma OPT_LEVEL INITIAL (New).....................................................................................36
#pragma OPTIMIZE (Deprecated)........................................................................................36
#pragma [NO]INLINE (New for C++ Mode).........................................................................36
_Asm_ld, _Asm_ldf, _Asm_st, _Asm_stf Intrinsics (New)...........................................................36
Debugging Code Compiled with Opt Levels above +O1 Is Supported......................................36
4 Contents