2018-11-28 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / 20031218-3.c
blob0bae456b8e76ad00fdc90b379a940efb029f0604
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. */
5 /* { dg-do compile } */
6 /* { dg-options "-O2 -g" } */
8 extern __SIZE_TYPE__ strlen (const char *);
10 int x (char *s)
12 int y () { return (strlen (s)); }
13 return y (s);