This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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"]
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]