[patch, applied] fix contrib/dg-cmp-results.sh
Bernhard Fischer
rep.nop@aon.at
Sun Sep 17 23:59:00 GMT 2006
Hi,
The recently added dg-cmp-results.sh did error out when it tried to
reference a local non-array variable as an array variable.
I've applied the following obvious fix as r117006.
2006-09-18 Bernhard Fischer <aldot@gcc.gnu.org>
* dg-cmp-results.sh (compare-$$.awk): Print name[old]
and not non-existing nm[old].
thanks,
Bernhard
-------------- next part --------------
Index: dg-cmp-results.sh
===================================================================
--- dg-cmp-results.sh (revision 116995)
+++ dg-cmp-results.sh (working copy)
@@ -135,7 +135,7 @@
# Compare this new test to the first queued old one.
if (verbose >= 4) {
printf("Comparing two lines:\n O:%s:%s\n N:%s:%s\n",
- status[old], nm[old], st, nm)
+ status[old], name[old], st, nm)
}
if (name[old] != nm) {
# The old test wasn't run this time and
More information about the Gcc-patches
mailing list