diff options
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests/options.exp')
-rw-r--r-- | gcc/testsuite/gcc.misc-tests/options.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/options.exp b/gcc/testsuite/gcc.misc-tests/options.exp index 1d4b779..a9a74e1 100644 --- a/gcc/testsuite/gcc.misc-tests/options.exp +++ b/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} |