1 /* PR 23190 */
2 /* Well, collateral damage from a proposed patch fixing 23190.  We'd emit
3    debug info for multilib_exclusions_raw without emitting the variable
4    itself, leading to link errors.  This reduced form is filed as PR 23777,
5    for not eliminating things soon enough.  */
6 /* { dg-do link } */
7 
8 static const char *const multilib_exclusions_raw[] = { 0 };
9 
f(char * const * p)10 void __attribute__((noinline)) f(char *const *p)
11 {
12   __asm__ ("" : : "g"(p) : "memory");
13 }
14 
g(char ** o)15 void g (char **o)
16 {
17   const char *const *q = multilib_exclusions_raw;
18 
19   f (o);
20   while (*q++)
21     f (o);
22 }
23 
main()24 int main() { return 0; }
25