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]

PATCH: Last V3 vs. testsuite change



I believe this is the last testsuite tweak needed to make the V3
results identical to the non-V3 results on i686-pc-linux-gnu.  Yay!

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

2000-11-04  Mark Mitchell  <mark@codesourcery.com>

	* g++.old-deja/g++.law/weak.C: Fix uses of iostreams to be
	standards-conformant.

Index: g++.old-deja/g++.law/weak.C
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/g++.old-deja/g++.law/weak.C,v
retrieving revision 1.2
diff -c -p -r1.2 weak.C
*** weak.C	1999/09/04 15:09:02	1.2
--- weak.C	2000/11/04 20:12:50
***************
*** 7,20 ****
  // with the copy of __IO_putc in the libstdc++ library built by egcs.
  #include <iostream.h>
  #include <streambuf.h>
  
! istream x;
! extern "C" int putc(), fgets();
  
  main () {
    x.get();
!   putc();
!   fgets(); 
!   x.gets(0, 0);
  }
  
--- 7,20 ----
  // with the copy of __IO_putc in the libstdc++ library built by egcs.
  #include <iostream.h>
  #include <streambuf.h>
+ #include <stdio.h>
  
! istream x (0);
  
  main () {
    x.get();
!   putc(0, 0);
!   fgets(0, 0, 0); 
!   x.get((char*) 0, 0);
  }
  

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