Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/20031218-3.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 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 | |
10 int x (char *s) | |
11 { | |
12 int y () { return (strlen (s)); } | |
13 return y (s); | |
14 } |