* profile.c (branch_prob): If see computed goto, call fatal instead of
abort.
From-SVN: r18453
Mon Mar 9 12:02:23 1998 Jim Wilson <wilson@cygnus.com>
+ * profile.c (branch_prob): If see computed goto, call fatal instead of
+ abort.
+
* config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
* configure.in (alpha-dec-osf): Add default case for osf* to switch.
{
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