blob: 2813745f8137eaecb2e09d1f3fb7a427728c1d69 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fgnu-tm -fdump-ipa-tmipa" } */
/* Test that indirect calls set the irrevocable bit. */
void (*indirect)(void);
void
foo(){
__transaction_relaxed {
(*indirect)();
}
}
/* { dg-final { scan-ipa-dump-times "GTMA_MAY_ENTER_IRREVOCABLE" 1 "tmipa" } } */