Author: laijx Date: 2011-02-15 06:53:12 -0500 (Tue, 15 Feb 2011) New Revision: 3478
Modified: trunk/osprey/common/com/config_opt.cxx trunk/osprey/driver/OPTIONS Log: Fix bug 520. Change the value of cyg_instr to 3 if -finstrument-functions are specified. The patch is provided by Ron Lieberman and approved by Sun. Modified: trunk/osprey/common/com/config_opt.cxx =================================================================== --- trunk/osprey/common/com/config_opt.cxx 2011-02-14 03:09:30 UTC (rev 3477) +++ trunk/osprey/common/com/config_opt.cxx 2011-02-15 11:53:12 UTC (rev 3478) @@ -458,7 +458,7 @@ "Optimize generation of barrier calls for OpenMP" }, { OVK_INT32, OV_VISIBLE, TRUE, "cyg_instr", "", - 4, 0, 4, &OPT_Cyg_Instrument, NULL, + 3, 0, 4, &OPT_Cyg_Instrument, NULL, "Insert calls to __cyg_profile_func_enter/exit" }, { OVK_BOOL, OV_INTERNAL, TRUE, "icall_instr", "", Modified: trunk/osprey/driver/OPTIONS =================================================================== --- trunk/osprey/driver/OPTIONS 2011-02-14 03:09:30 UTC (rev 3477) +++ trunk/osprey/driver/OPTIONS 2011-02-15 11:53:12 UTC (rev 3478) @@ -2002,7 +2002,7 @@ -mno-sdata ; Cc NONE "-G0" "" #endif --finstrument-functions ; ALL NONE "-OPT:cyg_instr=4" +-finstrument-functions ; ALL NONE "-OPT:cyg_instr=3" "" -finhibit-size-directive ; Cc be "-CG:inhibit_size_directive=1:emit_asm_dwarf=0" "Do not generate .size directives" ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel