From: Joseph Myers Date: Tue, 26 Feb 2008 00:12:03 +0000 (+0000) Subject: target-supports.exp (check_profiling_available): Report -p unavailable on *-*-mingw*. X-Git-Tag: releases/gcc-4.4.0~6298 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a5e6663c99952c6c5aa83e4e96963cd8c759fb9;p=thirdparty%2Fgcc.git target-supports.exp (check_profiling_available): Report -p unavailable on *-*-mingw*. * lib/target-supports.exp (check_profiling_available): Report -p unavailable on *-*-mingw*. From-SVN: r132651 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index db11e64a8a1b..1e844e3baa8c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-02-25 Joseph Myers + + * lib/target-supports.exp (check_profiling_available): Report -p + unavailable on *-*-mingw*. + 2008-02-25 Joseph Myers * lib/target-supports.exp (check_effective_target_pthread_h): New. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index c43a37180c9e..20bcdeaee88f 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -410,6 +410,11 @@ proc check_profiling_available { test_what } { return 0 } + # MinGW does not support -p. + if { [istarget *-*-mingw*] && [lindex $test_what 1] == "-p" } { + return 0 + } + # At present, there is no profiling support on NetWare. if { [istarget *-*-netware*] } { return 0