The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 08-17-2007
Yuriy07 Yuriy07 is offline
Registered User
 

Join Date: Aug 2007
Posts: 3
I found that the program does not crash even with +O2 optimization when I set the inline option to zero (using "+inline_level 0" or "+d"). I understand that inline functions sometimes improve the speed but still don't see why using them could lead to a crash if everything else is OK with the program.

I also understand why the program might be not crashing now. By disabling inlined calls, I moved some code around and the problem (if it exists) could be just hidden now. Any ideas, or information on inline function calls with aCC in HP UNIX? Anyone has experience when making function inline would lead to a crash or knows about problems aCC has with inline calls?

Thanks.
Reply With Quote