Index: gcc/gcc/testsuite/gcc.misc-tests/options.exp |
diff --git a/gcc/gcc/testsuite/gcc.misc-tests/options.exp b/gcc/gcc/testsuite/gcc.misc-tests/options.exp |
index 1d4b779fe118294ce0928c93b74e6103156ea3c8..a9a74e19afa551196102183b2a22c021792cf551 100644 |
--- a/gcc/gcc/testsuite/gcc.misc-tests/options.exp |
+++ b/gcc/gcc/testsuite/gcc.misc-tests/options.exp |
@@ -19,7 +19,7 @@ |
# match the patterns COMPILER_PATTERN, AS_PATTERN and LD_PATTERN, |
# respectively. |
-proc check_for_options {language gcc_options compiler_pattern as_pattern ld_pattern} { |
+proc check_for_all_options {language gcc_options compiler_pattern as_pattern ld_pattern} { |
set filename test-[pid] |
set fd [open $filename.c w] |
puts $fd "int main (void) \{ return 0; \}" |
@@ -51,4 +51,4 @@ proc check_for_options {language gcc_options compiler_pattern as_pattern ld_patt |
pass $test |
} |
-check_for_options c {--coverage} {-fprofile-arcs -ftest-coverage} {} {-lgcov} |
+check_for_all_options c {--coverage} {-fprofile-arcs -ftest-coverage} {} {-lgcov} |