aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-profile.c')
-rw-r--r--gcc/tree-profile.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c
index 0d33c87..54bc644 100644
--- a/gcc/tree-profile.c
+++ b/gcc/tree-profile.c
@@ -461,9 +461,8 @@ gimple_gen_const_delta_profiler (histogram_value value ATTRIBUTE_UNUSED,
unsigned base ATTRIBUTE_UNUSED)
{
/* FIXME implement this. */
-#ifdef ENABLE_CHECKING
- internal_error ("unimplemented functionality");
-#endif
+ if (flag_checking)
+ internal_error ("unimplemented functionality");
gcc_unreachable ();
}