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: Fix compare1.C failure


This is a missed commit from my patch to deprecate min/max operators.

Tested on x86_64-unknown-linux-gnu, applied on the mainline and on the
4.0 branch.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com

2005-03-23  Mark Mitchell  <mark@codesourcery.com>

	* g++.old-deja/g++.warn/compare1.C: Run with -Wno-deprecated.

Index: testsuite/g++.old-deja/g++.warn/compare1.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.old-deja/g++.warn/compare1.C,v
retrieving revision 1.2
diff -c -5 -p -r1.2 compare1.C
*** testsuite/g++.old-deja/g++.warn/compare1.C	1 May 2003 02:02:59 -0000	1.2
--- testsuite/g++.old-deja/g++.warn/compare1.C	23 Mar 2005 18:28:08 -0000
***************
*** 1,7 ****
  // { dg-do assemble  }
! // { dg-options "-ansi -pedantic-errors -Wsign-compare" }
  
  // Copyright (C) 2001 Free Software Foundation, Inc.
  // Contributed by Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5/13/2001
  
  int foo(int x, int y, unsigned u)
--- 1,7 ----
  // { dg-do assemble  }
! // { dg-options "-ansi -pedantic-errors -Wsign-compare -Wno-deprecate" }
  
  // Copyright (C) 2001 Free Software Foundation, Inc.
  // Contributed by Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5/13/2001
  
  int foo(int x, int y, unsigned u)


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