PR testsuite/39733
* gcc.misc-tests/options.exp (check_for_options): Renamed to ...
(check_for_all_options): This.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146009
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-04-13 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.
+
2009-04-13 Jason Merrill <jason@redhat.com>
PR c++/39750
# 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; \}"
pass $test
}
-check_for_options c {--coverage} {-fprofile-arcs -ftest-coverage} {} {-lgcov}
+check_for_all_options c {--coverage} {-fprofile-arcs -ftest-coverage} {} {-lgcov}