projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cold-attribute-1.c: New testcase.
[gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
cold-attribute-2.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
#include <string.h>
4
t
(
int
c
)
5
{
6
if
(
__builtin_expect
(
c
,
0
))
7
{
8
cold_hint
();
9
return
c
*
11
;
10
}
11
return
c
;
12
}
13
14
/* { dg-final { scan-assembler "imul" } } */