diff options
Diffstat (limited to 'gcc/profile.c')
-rw-r--r-- | gcc/profile.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/profile.c b/gcc/profile.c index dda75c9..5d319f4 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -759,9 +759,10 @@ branch_prob (f, dump_file) { rtx label_ref; - /* Must be an IF_THEN_ELSE branch. */ + /* Must be an IF_THEN_ELSE branch. If it isn't, assume it + is a computed goto, which aren't supported yet. */ if (GET_CODE (tem) != IF_THEN_ELSE) - abort (); + fatal ("-fprofile-arcs does not support computed gotos"); if (XEXP (tem, 1) != pc_rtx) label_ref = XEXP (tem, 1); else |