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]

Re: C++ PATCH: Fix sprintf format


> Basically unchanged (the failures at -O1 and -O2 are at a different location 
> in the compiler, due to a recent SIMD-related patch).

Does this patch fix it?  (I've tried to simulate your environment here
and it does seem to work, but I'd like you to confirm that before I
check it in.)

Thanks,

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
Index: gcc-dg.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/lib/gcc-dg.exp,v
retrieving revision 1.22
diff -c -5 -p -r1.22 gcc-dg.exp
*** gcc-dg.exp	16 Jun 2003 19:12:15 -0000	1.22
--- gcc-dg.exp	18 Jun 2003 17:35:59 -0000
*************** proc dg-require-dll { args } { 
*** 314,325 ****
  
  # Like check_conditional_xfail, but callable from a dg test.
  
  proc dg-xfail-if { args } {
      set args [lreplace $args 0 0]
!     global compiler_conditional_xfail_data
!     set compiler_conditional_xfail_data $args
  }
  
  
  # We need to make sure that additional_files and additional_sources
  # are both cleared out after every test.  It is not enough to clear
--- 314,328 ----
  
  # Like check_conditional_xfail, but callable from a dg test.
  
  proc dg-xfail-if { args } {
      set args [lreplace $args 0 0]
!     set selector "target [join [lindex $args 1]]"
!     if { [dg-process-target $selector] == "S" } {
! 	global compiler_conditional_xfail_data
! 	set compiler_conditional_xfail_data $args
!     }
  }
  
  
  # We need to make sure that additional_files and additional_sources
  # are both cleared out after every test.  It is not enough to clear

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