repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
verbose-asm-2.c
blob
747bff1875e21672b8ce83b28ab818720708e1d5
1
/* Ensure that the -fverbose-asm leads to source code information in the generated asm. */
2
/* { dg-options "-fverbose-asm" } */
3
4
int
test
(
int
n
)
5
{
6
int
i
;
7
int
total
=
0
;
8
9
for
(
i
=
0
;
i
<
n
;
i
++)
10
total
+=
i
*
i
;
11
12
return
total
;
13
}
14
15
/* { dg-final { scan-assembler "total = 0" } } */