patch applied to offsetof3.C
Joern Rennecke
joern.rennecke@superh.com
Mon Jun 9 17:19:00 GMT 2003
I have checked in the appended patch as obvious.
--
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658
-------------- next part --------------
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 } */
More information about the Gcc-patches
mailing list