| 1 |
/* Check that "break 8" defaults according to CPU version. */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-skip-if "" { "*-*-*" } { "-march*" } { "" } } */ |
| 4 |
/* { dg-final { scan-assembler "break 8" { target { ! cris-*-elf } } } } */ |
| 5 |
/* { dg-final { scan-assembler-not "bsr" { target { ! cris-*-elf } } } } */ |
| 6 |
/* { dg-final { scan-assembler-not "jsr" { target { ! cris-*-elf } } } } */ |
| 7 |
/* { dg-final { scan-assembler-not "break\[ \t\]" { target cris-*-elf } } } */ |
| 8 |
/* { dg-final { scan-assembler "\[jb\]sr \[_\]\?abort" { target cris-*-elf } } } */ |
| 9 |
|
| 10 |
void do_trap (void) |
| 11 |
{ |
| 12 |
__builtin_trap (); |
| 13 |
} |