OSDN Git Service

58878b61f066f9389435195244e0b5024eb22750
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20031218-3.c
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 int x (char *s)
9 {
10   int y () { return (strlen (s)); }
11   return y (s);
12 }