summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/cold-attribute-4.c
blob: 37a41e954daf3b189de585cb6a8f1172ac01d126 (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 -1;
}

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