summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/cold-attribute-3.c
blob: 5225428c5c1a637d624355907e25bff4bccd6078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O2" } */
#include <string.h>

int
__attribute__ ((cold))
t(int c)
{
  return c * 11;
}

/* { dg-final { scan-assembler "imul" } } */