* lib/compiler.c: Add test for IBM's xlc compiler.
* lib/compiler.cc: Likewise.
+2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
+
+ * lib/compiler.c: Add test for IBM's xlc compiler.
+ * lib/compiler.cc: Likewise.
+
+
2004-02-24 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/fixed_points.exp: Create compilation object directory
#if defined (__HP_aCC)
set compiler_info [join {hpacc __HP_aCC} -]
#endif
+
+#if defined (__xlc__)
+/* IBM'x xlc compiler. NOTE: __xlc__ expands to a double quoted string of four
+ numbers seperated by '.'s: currently "7.0.0.0" */
+regsub -all {\.} [join {xlc __xlc__} -] - compiler_info
+#endif
#if defined (__HP_aCC)
set compiler_info [join {hpacc __HP_aCC} -]
#endif
+
+#if defined (__xlc__)
+/* IBM'x xlc compiler. NOTE: __xlc__ expands to a double quoted string of four
+ numbers seperated by '.'s: currently "7.0.0.0" */
+regsub -all {\.} [join {xlc __xlc__} -] - compiler_info
+#endif