From: Paul Gilliam <pgilliam@us.ibm.com>
To: gdb-patches@sources.redhat.com
Subject: [COMMIT] allow [test_compile_info xlc-*] return true
Date: Fri, 04 Mar 2005 17:41:00 -0000 [thread overview]
Message-ID: <200503040937.31683.pgilliam@us.ibm.com> (raw)
In-Reply-To: <20050304001756.GA6185@nevyn.them.org>
2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
* lib/compiler.c: Add test for IBM's xlc compiler.
* lib/compiler.cc: Likewise.
diff -Naur testsuite.old/lib/compiler.c testsuite/lib/compiler.c
--- testsuite.old/lib/compiler.c 2005-03-03 15:07:49.361274048 -0800
+++ testsuite/lib/compiler.c 2005-03-03 15:10:24.503253288 -0800
@@ -64,3 +64,9 @@
#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
diff -Naur testsuite.old/lib/compiler.cc testsuite/lib/compiler.cc
--- testsuite.old/lib/compiler.cc 2005-03-03 15:07:49.362273896 -0800
+++ testsuite/lib/compiler.cc 2005-03-03 15:10:37.973203216 -0800
@@ -52,3 +52,9 @@
#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
prev parent reply other threads:[~2005-03-04 17:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-03 23:27 [patch] " Paul Gilliam
2005-03-04 0:18 ` Daniel Jacobowitz
2005-03-04 17:41 ` Paul Gilliam [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200503040937.31683.pgilliam@us.ibm.com \
--to=pgilliam@us.ibm.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox