blob: 492ee6c182bbcd2ddb88db051e6043f9dd2bd6cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* This test case would get an unresolved symbol during link
because stabs referred to an optimized-away literal pool
entry. */
/* { dg-do run } */
/* { dg-options "-O2 -fno-omit-frame-pointer -gstabs" } */
int main (void)
{
static char buf[4096];
char *p;
do
{
p = buf;
asm volatile ("" : : : "memory", "0", "1", "2", "3", "4", "5", "6",
"7", "8", "9", "10", "12");
}
while (*p);
return 0;
}
|