Index: osprey/common/com/config.cxx
===================================================================
--- osprey/common/com/config.cxx	(revision 3425)
+++ osprey/common/com/config.cxx	(working copy)
@@ -1321,6 +1321,31 @@
     Vcast_Complex = TRUE;
 #endif
 }
+
+/* ====================================================================
+ *
+ * Configure_IPA
+ *
+ * Configure IPA options based on flag values.
+ *
+ * ====================================================================
+ */
+
+void
+Configure_IPA (void)
+{
+  if ( Get_Trace( TP_MISC, 0x40 ) ) {
+    DevWarn_Toggle();
+  }
+
+  if ( Get_Trace( TP_MISC, 0x200 ) ) {
+     IR_dump_wn_addr = TRUE;
+  }
+  if ( Get_Trace( TP_MISC, 0x400 ) ) {
+     IR_dump_wn_id = TRUE;
+  }
+}
+
 
 /* ====================================================================
  *
Index: osprey/common/com/ir_reader.cxx
===================================================================
--- osprey/common/com/ir_reader.cxx	(revision 3425)
+++ osprey/common/com/ir_reader.cxx	(working copy)
@@ -1284,7 +1284,7 @@
 	USRCPOS srcpos;
 	USRCPOS_srcpos(srcpos) = WN_Get_Linenum(wn);
 
-	fprintf(ir_ofile, " {line: %d}", USRCPOS_linenum(srcpos));
+	fprintf(ir_ofile, " {line: %d/%d}", USRCPOS_filenum(srcpos), USRCPOS_linenum(srcpos));
     }
 
 #ifdef BACK_END
@@ -2942,6 +2942,8 @@
 	USRCPOS_srcpos(srcpos) = WN_Get_Linenum(wn);
 
 	ss <<  " {line: ";
+        ss << USRCPOS_filenum(srcpos); 
+	ss <<  "/";
         ss << USRCPOS_linenum(srcpos); 
         ss << "}"; 
     }
Index: osprey/common/com/config.h
===================================================================
--- osprey/common/com/config.h	(revision 3425)
+++ osprey/common/com/config.h	(working copy)
@@ -872,6 +872,9 @@
 /***** Perform configuration functions after flag processing *****/
 extern void Configure (void);
 
+/***** Perform configuration functions after flag processing for IPA *****/
+extern void Configure_IPA (void);
+
 /***** Perform configuration functions for each source file *****/
 extern void Configure_Source ( char *filename );
 
Index: osprey/ipa/main/analyze/ipa_option.cxx
===================================================================
--- osprey/ipa/main/analyze/ipa_option.cxx	(revision 3425)
+++ osprey/ipa/main/analyze/ipa_option.cxx	(working copy)
@@ -164,6 +164,8 @@
 	}
     }
 
+    Configure_IPA();
+    
     if (LNO_Prompl)
 	ProMP_Listing = TRUE;
 
