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 applied to offsetof3.C


I have checked in the appended patch as obvious.

-- 
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658
2003-06-09  J"orn Rennecke <joern.rennecke@superh.com>

	* g++.dg/other/offsetof3.C: Adjust linenumber of last expected warning.

Index: g++.dg/other/offsetof3.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/other/offsetof3.C,v
retrieving revision 1.2
diff -p -r1.2 offsetof3.C
*** g++.dg/other/offsetof3.C	7 Jun 2003 21:53:53 -0000	1.2
--- g++.dg/other/offsetof3.C	9 Jun 2003 17:11:47 -0000
*************** typedef X* pX;
*** 13,16 ****
  typedef __SIZE_TYPE__ size_t;
  
  size_t yoff = size_t(&(pX(0)->y)); /* { dg-warning "invalid access" "" } */
! /* { dg-warning "macro was used incorrectly" "" { target *-*-* } 14 } */
--- 13,16 ----
  typedef __SIZE_TYPE__ size_t;
  
  size_t yoff = size_t(&(pX(0)->y)); /* { dg-warning "invalid access" "" } */
! /* { dg-warning "macro was used incorrectly" "" { target *-*-* } 15 } */

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