PATCH: PR testsuite/39733: gcc.misc-tests/help.exp doesn't work with multilib
H.J. Lu
hongjiu.lu@intel.com
Sat Apr 11 01:04:00 GMT 2009
Both lib/options.exp and gcc.misc-tests/options.exp define
check_for_options. But they take different parameters and are
different. gcc.misc-tests/help.exp has
load_lib options.exp
But you really don't know for sure which check_for_options is used.
OK for trunk?
Thanks.
H.J.
---
2009-04-10 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/39733
* gcc.misc-tests/options.exp (check_for_options): Renamed to ...
(check_for_all_options): This.
--- gcc/testsuite/gcc.misc-tests/options.exp.all 2008-08-14 12:14:19.000000000 -0700
+++ gcc/testsuite/gcc.misc-tests/options.exp 2009-04-10 17:58:29.000000000 -0700
@@ -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_opt
pass $test
}
-check_for_options c {--coverage} {-fprofile-arcs -ftest-coverage} {} {-lgcov}
+check_for_all_options c {--coverage} {-fprofile-arcs -ftest-coverage} {} {-lgcov}
More information about the Gcc-patches
mailing list