haifa-sched.c (is_cfg_nonregular): Change return type to an int.
authorJeffrey A Law <law@cygnus.com>
Sun, 8 Mar 1998 02:15:26 +0000 (02:15 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 8 Mar 1998 02:15:26 +0000 (19:15 -0700)
commit168cbdf99b562337e1970451c9194b4ef1a64a6d
tree56bb1b57f71a20e0b59f7213f7821d27d1f5b592
parent52becdc0352009f8240665bda5183b4c8ec3fe51
haifa-sched.c (is_cfg_nonregular): Change return type to an int.

        * haifa-sched.c (is_cfg_nonregular): Change return type to
        an int.  No longer compute "estimated" number of edges.  Use
        computed_jump_p instead of duplicating the code.  Fixup/add
        some comments.
        (build_control_flow): Returns a value indicating an irregularity
        in the cfg was detected.  Count the number of edges in the cfg.
        allocate various edge tables.
        (find_rgns): No longer look for unreachable blocks.
        (schedule_insns): Do not allocate memory for edge tables here.
        Free memory for edge tables before returning.  Do not perform
        cross block scheduling if build_control_flow returns nonzero.
        * flow.c (compute_preds_succs): More accurately determine when
        a block drops in.
Fixes various compile hangs after haifa cleanup.

From-SVN: r18439
gcc/ChangeLog
gcc/flow.c
gcc/haifa-sched.c