1 /* PR target/94121 */ 2 /* { dg-do compile { target pie } } */ 3 /* { dg-options "-O2 -fpie -w" } */ 4 5 #define DIFF_MAX __PTRDIFF_MAX__ 6 #define DIFF_MIN (-DIFF_MAX - 1) 7 8 extern void foo (char *); 9 extern char v[]; 10 11 void bar(void)12bar (void) 13 { 14 char *p = v; 15 foo (&p[DIFF_MIN]); 16 } 17