28bzero(&a,sizeof(&a));/* { dg-warning "call is the same expression as the destination; did you mean to remove the addressof" } */
29bzero(pa1,sizeof(pa1));/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
30bzero(pa2,sizeof pa2);/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
31bzero(pa3,sizeof(pa3));/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
32bzero(pa4,sizeof pa4);/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
33bzero(pa1,sizeof(struct A *));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
34bzero(pa2,sizeof(PTA));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
35bzero(pa3,sizeof(PA));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
36bzero(pa4,sizeof(__typeof(pa4)));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
38bcopy(x, &a,sizeof(&a));/* { dg-warning "call is the same expression as the destination; did you mean to remove the addressof" } */
39bcopy(x, pa1,sizeof(pa1));/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
40bcopy(x, pa2,sizeof pa2);/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
41bcopy(x, pa3,sizeof(pa3));/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
42bcopy(x, pa4,sizeof pa4);/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
43bcopy(x, pa1,sizeof(struct A *));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
44bcopy(x, pa2,sizeof(PTA));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
45bcopy(x, pa3,sizeof(PA));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
46bcopy(x, pa4,sizeof(__typeof(pa4)));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
48bcopy(&a, x,sizeof(&a));/* { dg-warning "call is the same expression as the source; did you mean to remove the addressof" } */
49bcopy(pa1, x,sizeof(pa1));/* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */
50bcopy(pa2, x,sizeof pa2);/* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */
51bcopy(pa3, x,sizeof(pa3));/* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */
52bcopy(pa4, x,sizeof pa4);/* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */
53bcopy(pa1, x,sizeof(struct A *));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the source; expected \[^\n\r\]* or an explicit length" } */
54bcopy(pa2, x,sizeof(PTA));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the source; expected \[^\n\r\]* or an explicit length" } */
55bcopy(pa3, x,sizeof(PA));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the source; expected \[^\n\r\]* or an explicit length" } */
56bcopy(pa4, x,sizeof(__typeof(pa4)));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the source; expected \[^\n\r\]* or an explicit length" } */
58 z +=bcmp(&a, x,sizeof(&a));/* { dg-warning "call is the same expression as the first source; did you mean to remove the addressof" } */
59 z +=bcmp(pa1, x,sizeof(pa1));/* { dg-warning "call is the same expression as the first source; did you mean to dereference it" } */
60 z +=bcmp(pa2, x,sizeof pa2);/* { dg-warning "call is the same expression as the first source; did you mean to dereference it" } */
61 z +=bcmp(pa3, x,sizeof(pa3));/* { dg-warning "call is the same expression as the first source; did you mean to dereference it" } */
62 z +=bcmp(pa4, x,sizeof pa4);/* { dg-warning "call is the same expression as the first source; did you mean to dereference it" } */
63 z +=bcmp(pa1, x,sizeof(struct A *));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the first source; expected \[^\n\r\]* or an explicit length" } */
64 z +=bcmp(pa2, x,sizeof(PTA));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the first source; expected \[^\n\r\]* or an explicit length" } */
65 z +=bcmp(pa3, x,sizeof(PA));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the first source; expected \[^\n\r\]* or an explicit length" } */
67 z +=bcmp(x, &a,sizeof(&a));/* { dg-warning "call is the same expression as the second source; did you mean to remove the addressof" } */
68 z +=bcmp(x, pa1,sizeof(pa1));/* { dg-warning "call is the same expression as the second source; did you mean to dereference it" } */
69 z +=bcmp(x, pa2,sizeof pa2);/* { dg-warning "call is the same expression as the second source; did you mean to dereference it" } */
70 z +=bcmp(x, pa3,sizeof(pa3));/* { dg-warning "call is the same expression as the second source; did you mean to dereference it" } */
71 z +=bcmp(x, pa4,sizeof pa4);/* { dg-warning "call is the same expression as the second source; did you mean to dereference it" } */
72 z +=bcmp(x, pa1,sizeof(struct A *));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the second source; expected \[^\n\r\]* or an explicit length" } */
73 z +=bcmp(x, pa2,sizeof(PTA));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the second source; expected \[^\n\r\]* or an explicit length" } */
74 z +=bcmp(x, pa3,sizeof(PA));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the second source; expected \[^\n\r\]* or an explicit length" } */
176bzero(&b,sizeof(&b));/* { dg-warning "call is the same expression as the destination; did you mean to remove the addressof" } */
177bzero(pb1,sizeof(pb1));/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
178bzero(pb2,sizeof pb2);/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
179bzero(pb3,sizeof(pb3));/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
180bzero(pb4,sizeof pb4);/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
181bzero(pb1,sizeof(struct B *));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
182bzero(pb2,sizeof(PTB));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
183bzero(pb3,sizeof(PB));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
184bzero(pb4,sizeof(__typeof(pb4)));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
186bcopy(x, &b,sizeof(&b));/* { dg-warning "call is the same expression as the destination; did you mean to remove the addressof" } */
187bcopy(x, pb1,sizeof(pb1));/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
188bcopy(x, pb2,sizeof pb2);/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
189bcopy(x, pb3,sizeof(pb3));/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
190bcopy(x, pb4,sizeof pb4);/* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */
191bcopy(x, pb1,sizeof(struct B *));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
192bcopy(x, pb2,sizeof(PTB));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
193bcopy(x, pb3,sizeof(PB));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
194bcopy(x, pb4,sizeof(__typeof(pb4)));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */
196bcopy(&b, x,sizeof(&b));/* { dg-warning "call is the same expression as the source; did you mean to remove the addressof" } */
197bcopy(pb1, x,sizeof(pb1));/* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */
198bcopy(pb2, x,sizeof pb2);/* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */
199bcopy(pb3, x,sizeof(pb3));/* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */
200bcopy(pb4, x,sizeof pb4);/* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */
201bcopy(pb1, x,sizeof(struct B *));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the source; expected \[^\n\r\]* or an explicit length" } */
202bcopy(pb2, x,sizeof(PTB));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the source; expected \[^\n\r\]* or an explicit length" } */
203bcopy(pb3, x,sizeof(PB));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the source; expected \[^\n\r\]* or an explicit length" } */
204bcopy(pb4, x,sizeof(__typeof(pb4)));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the source; expected \[^\n\r\]* or an explicit length" } */
206 z +=bcmp(&b, x,sizeof(&b));/* { dg-warning "call is the same expression as the first source; did you mean to remove the addressof" } */
207 z +=bcmp(pb1, x,sizeof(pb1));/* { dg-warning "call is the same expression as the first source; did you mean to dereference it" } */
208 z +=bcmp(pb2, x,sizeof pb2);/* { dg-warning "call is the same expression as the first source; did you mean to dereference it" } */
209 z +=bcmp(pb3, x,sizeof(pb3));/* { dg-warning "call is the same expression as the first source; did you mean to dereference it" } */
210 z +=bcmp(pb4, x,sizeof pb4);/* { dg-warning "call is the same expression as the first source; did you mean to dereference it" } */
211 z +=bcmp(pb1, x,sizeof(struct B *));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the first source; expected \[^\n\r\]* or an explicit length" } */
212 z +=bcmp(pb2, x,sizeof(PTB));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the first source; expected \[^\n\r\]* or an explicit length" } */
213 z +=bcmp(pb3, x,sizeof(PB));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the first source; expected \[^\n\r\]* or an explicit length" } */
215 z +=bcmp(x, &b,sizeof(&b));/* { dg-warning "call is the same expression as the second source; did you mean to remove the addressof" } */
216 z +=bcmp(x, pb1,sizeof(pb1));/* { dg-warning "call is the same expression as the second source; did you mean to dereference it" } */
217 z +=bcmp(x, pb2,sizeof pb2);/* { dg-warning "call is the same expression as the second source; did you mean to dereference it" } */
218 z +=bcmp(x, pb3,sizeof(pb3));/* { dg-warning "call is the same expression as the second source; did you mean to dereference it" } */
219 z +=bcmp(x, pb4,sizeof pb4);/* { dg-warning "call is the same expression as the second source; did you mean to dereference it" } */
220 z +=bcmp(x, pb1,sizeof(struct B *));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the second source; expected \[^\n\r\]* or an explicit length" } */
221 z +=bcmp(x, pb2,sizeof(PTB));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the second source; expected \[^\n\r\]* or an explicit length" } */
222 z +=bcmp(x, pb3,sizeof(PB));/* { dg-warning "call is the same pointer type \[^\n\r\]* as the second source; expected \[^\n\r\]* or an explicit length" } */