2 /* { dg-do compile } */
3 /* { dg-options "-O -g" } */
5 typedef __PTRDIFF_TYPE__
ptrdiff_t;
7 extern void *bar (void);
10 foo (int x
, char *r1
, char *r2
, __INTPTR_TYPE__
*rp
, char *t
)
14 ptrdiff_t rx
= r1
- r2
;
17 char *cp1
= (char *) *rp
;
20 ptrdiff_t len
= cp1
- tx
+ rx
* (cp2
- cp1
);