This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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"




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]