blob: 6d11487bbba4046f06daad2e9be5a3f072d98725 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fharden-control-flow-redundancy -fno-hardcfr-check-exceptions -fno-hardcfr-check-returning-calls -fdump-tree-hardcfr -ffat-lto-objects" } */
#include "harden-cfr-tail.c"
/* Inline checking after the calls, disabling tail calling. */
/* { dg-final { scan-tree-dump-times "__builtin_trap" 5 "hardcfr" } } */
/* { dg-final { scan-tree-dump-times "Inserting inline check before stmt" 0 "hardcfr" } } */