OSDN Git Service

* lib/target-supports.exp (check_profiling_available): Check
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / lib / gcc-dg.exp
index c677667..c5f589e 100644 (file)
@@ -324,7 +324,7 @@ proc dg-require-gc-sections { args } {
 # If this target does not support profiling, skip this test.
 
 proc dg-require-profiling { args } {
-    if { ![ check_profiling_available ] } {
+    if { ![ check_profiling_available ${args} ] } {
        upvar dg-do-what dg-do-what
        set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
        return