Accelerator Manual (G06.24+, H06.03+)

Error, Warning, and Note Messages
Accelerator Manual527303-002
9-10
Warning Messages
Recovery. Check the size given in the ReturnValSize option against the source code.
If the option is incorrect, then correct it and accelerate the program again.
31
Cause. The return value sizes derived by the Accelerator differ from those provided in
the ReturnValSize options you specified for the named procedures.
Effect. The ReturnValSize option overrides the values derived by the Accelerator. If the
ReturnValSize option is correct, then the accelerated code is correct. If the
ReturnValSize option is incorrect, then the accelerated code is incorrect.
Recovery. Check the size given in the ReturnValSize option against the source code.
If the option is incorrect, then correct it and accelerate the program again. If this
warning is issued for a C function call, make sure that the C function call has the
appropriate C function prototypes for the routines it calls.
32
Cause. The return value sizes derived by the Accelerator differ from those in the
Binder region for the named procedures.
The Accelerator issues this message if:
1. A TAL program deliberately gave the Binder region incorrect information with
CODE statements, STACK statements, or the ?RP directive.
2. A C program with functions that return the type “void *” (a generic pointer) was
compiled with a version of the HP C compiler released before 01DEC90. These
compiler versions incorrectly mark functions that return the type “void *” as having
a return value size of 0 words.
3. A C program with functions that return a struct by value was compiled with a
version of the HP C compiler released before 15JUN91. These compiler versions
incorrectly mark functions that return a struct by value as having a return value size
of the size of the struct instead of the size of the pointer.
Warning 31: The ReturnValSize options given for the
following procedures conflict with the derived estimates:
<proc name>; <value> given as an option;
<value> derived by the Accelerator
The Accelerator's translation is based on the option.
Warning 32: The return value sizes derived for the following
procedures conflict with those given in the Binder region:
<proc name>;
<value> derived by the Accelerator;
<value> given in the Binder region.
Acceleration is based on the Binder region;
you can override that value with a ReturnValSize option.