1 /* Orgin: Chris Demetriou <cgd@broadcom.com> 2 PR debug/12923 ICE in gen_subprogram_die with -O2 -g 3 The problem was that this just to ICE with -O2 -g. */ 4 5 /* { dg-do compile } */ 6 /* { dg-options "-O2 -g" } */ 7 8 extern __SIZE_TYPE__ strlen (const char *); 9 x(char * s)10int x (char *s) 11 { 12 int y () { return (strlen (s)); } 13 return y (s); 14 } 15