This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Testsuite patch - cygwin does not support -p profiling.
- From: David Billinghurst <dbcygwin at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 10 May 2009 10:12:22 +1000
- Subject: Testsuite patch - cygwin does not support -p profiling.
cygwin does not support -p profiling. OK for trunk and 4.4?
2009-05-10 David Billinghurst <billingd@gcc.gnu.org>
* lib/target-supports.exp (check_profiling_available): Return
false for -p on *-*-cygwin* targets.
--- target-supports.exp (revision 147122)
+++ target-supports.exp (working copy)
@@ -466,6 +466,11 @@
return 0
}
+ # cygwin does not support -p.
+ if { [istarget *-*-cygwin*] && [lindex $test_what 1] == "-p" } {
+ return 0
+ }
+
# uClibc does not have gcrt1.o.
if { [check_effective_target_uclibc]
&& ([lindex $test_what 1] == "-p"