What to Do If the Optimized Program Fails [ HP Pascal/iX Programmer's Guide ] MPE/iX 5.0 Documentation
HP Pascal/iX Programmer's Guide
What to Do If the Optimized Program Fails
Occasionally, a program works differently after optimization. If your
program fails after optimization:
1. Make sure that the program does not violate the optimizer
assumptions. Check for program errors that may not occur without
optimization, such as uninitialized variables and misaligned data.
2. If the program violates the optimizer assumptions, either correct
and recompile it, or recompile it without optimization.
3. If the program does not violate the optimizer assumptions, isolate
the problem code and recompile it with level one optimization. If
the program still fails, recompile it without optimization.
On the HP-UX operating system, if the compiler runs out of space during
optimization:
1. Split your program into smaller compilation units.
2. Run fewer concurrent processes when compiling with optimization.
3. Change the system configuration, increasing the amount of swap
space on the disk.
MPE/iX 5.0 Documentation