This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH to fix scan-not-hidden
- From: Jason Merrill <jason at redhat dot com>
- To: "gcc-patches >> GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 11 May 2006 17:48:37 -0400
- Subject: PATCH to fix scan-not-hidden
scan-not-hidden was quietly broken because we were always scanning to
make sure that "symbol" was not hidden, rather than the specified
symbol. Fixed thus, applied to trunk.
2006-05-11 Jason Merrill <jason@redhat.com>
* lib/scanasm.exp (scan-not-hidden): Fix typo.
Index: testsuite/lib/scanasm.exp
===================================================================
*** testsuite/lib/scanasm.exp (revision 113708)
--- testsuite/lib/scanasm.exp (working copy)
*************** proc scan-not-hidden { args } {
*** 118,124 ****
set output_file "[file rootname [file tail $testcase]].s"
set symbol [lindex $args 0]
! set hidden_scan [hidden-scan-for symbol]
set args [lreplace $args 0 0 "$hidden_scan"]
--- 118,124 ----
set output_file "[file rootname [file tail $testcase]].s"
set symbol [lindex $args 0]
! set hidden_scan [hidden-scan-for $symbol]
set args [lreplace $args 0 0 "$hidden_scan"]