Hi,

Bug 520 is reported and fixed by Ron Lieberman<rlieber...@conveycomputer.com>.
https://bugs.open64.net/show_bug.cgi?id=520
Here comes his patch:
Index: osprey/driver/OPTIONS
===================================================================
--- osprey/driver/OPTIONS       (revision 3475)
+++ osprey/driver/OPTIONS       (working copy)
@@ -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"
Index: osprey/common/com/config_opt.cxx
===================================================================
--- osprey/common/com/config_opt.cxx    (revision 3475)
+++ osprey/common/com/config_opt.cxx    (working copy)
@@ -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", "",

Could a gate keeper review this patch so that I can check it in? Thank you
very much.

-- 
Regards,
Lai Jian-Xin
------------------------------------------------------------------------------
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

Reply via email to