OSDN Git Service

2009-05-19 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / ptr-conv-1.c
1 /* The intermediate conversion to __PTRDIFF_TYPE__ could be lost,
2    resulting in an "invalid types in nop conversion" ICE.  */
3 long long a;
4 void
5 f (void)
6 {
7   int c = 1;
8   volatile int *p = &c;
9   a = (long long) (__PTRDIFF_TYPE__) p;
10   *p;
11 }