Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/powerpc/htm-tabort-no-r0.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ /* { dg-require-effective-target powerpc_htm_ok } */ /* { dg-options "-O2 -mhtm -ffixed-r3 -ffixed-r4 -ffixed-r5 -ffixed-r6 -ffixed-r7 -ffixed-r8 -ffixed-r9 -ffixed-r10 -ffixed-r11 -ffixed-r12" } */ /* { dg-final { scan-assembler-not "tabort\\.\[ \t\]0" } } */ int foo (void) { return __builtin_tabort (10); }