]> gcc.gnu.org Git - gcc.git/commitdiff
target-supports.exp (check_profiling_available): Return false for -p on *-*-cygwin...
authorDavid Billinghurst <billingd@gcc.gnu.org>
Tue, 12 May 2009 08:34:46 +0000 (08:34 +0000)
committerDavid Billinghurst <billingd@gcc.gnu.org>
Tue, 12 May 2009 08:34:46 +0000 (08:34 +0000)
2009-05-12  David Billinghurst <billingd@gcc.gnu.org>

    * lib/target-supports.exp (check_profiling_available): Return
    false for -p on *-*-cygwin* targets.

From-SVN: r147421

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index b6b0949c3de90f00f73853aa323383e50dee1915..fc377f7cefbbf99f50186bb0fa27344a3c248498 100644 (file)
@@ -1,3 +1,8 @@
+2009-05-12  David Billinghurst <billingd@gcc.gnu.org>
+
+       * lib/target-supports.exp (check_profiling_available): Return
+       false for -p on *-*-cygwin* targets.
+
 2009-05-11  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR tree-optimization/38632
index 92bde7886a9b965bfe176b97988924fc195d8585..56f7877dd184541edfb83b1a7099680ca68a5512 100644 (file)
@@ -466,6 +466,11 @@ proc check_profiling_available { test_what } {
        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"
This page took 0.096487 seconds and 5 git commands to generate.