| 1 |
/* Check that we get the expected alignment-checking code, op variant, short. */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-O2 -Dop -Dtype=short" } */ |
| 4 |
/* { dg-additional-options "-mtrap-using-break8 -mtrap-unaligned-atomic" { target cris-*-elf } } */ |
| 5 |
/* { dg-final { scan-assembler "\tbreak 8" } } */ |
| 6 |
/* { dg-final { scan-assembler "\tbtstq \\(1-1\\)," } } */ |
| 7 |
/* { dg-final { scan-assembler-not "\tand" } } */ |
| 8 |
/* { dg-final { scan-assembler-not "\t\[jb\]sr" } } */ |
| 9 |
#include "sync-1.c" |