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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Orgin: Chris Demetriou <cgd@broadcom.com>
kono
parents:
diff changeset
2 PR debug/12923 ICE in gen_subprogram_die with -O2 -g
kono
parents:
diff changeset
3 The problem was that this just to ICE with -O2 -g. */
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 /* { dg-do compile } */
kono
parents:
diff changeset
6 /* { dg-options "-O2 -g" } */
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 extern __SIZE_TYPE__ strlen (const char *);
kono
parents:
diff changeset
9
kono
parents:
diff changeset
10 int x (char *s)
kono
parents:
diff changeset
11 {
kono
parents:
diff changeset
12 int y () { return (strlen (s)); }
kono
parents:
diff changeset
13 return y (s);
kono
parents:
diff changeset
14 }