ifcvt.c: Include except.h.
authorRichard Henderson <rth@redhat.com>
Thu, 18 Apr 2002 20:02:18 +0000 (13:02 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 18 Apr 2002 20:02:18 +0000 (13:02 -0700)
commit96b453dc817b2af01b88e22f4e57394b79342339
tree14f600f23fb352e68da7b61ad3f6ac0326cad42c
parent26406018509b6c8884453317d30e01c987fe9977
ifcvt.c: Include except.h.

        * ifcvt.c: Include except.h.
        (block_has_only_trap): Break out from find_cond_trap.
        (find_cond_trap): Use it.  Always delete the trap block.
        (merge_if_block): Allow then block null.  Be less simplistic about
        what insns can end a block.
        * Makefile.in (ifcvt.o): Depend on except.h.

        * gcc.c-torture/compile/iftrap-1.c: New.
        * gcc.dg/iftrap-1.c: Adjust for ia64.
        * gcc.dg/iftrap-2.c: New.

From-SVN: r52489
gcc/ChangeLog
gcc/Makefile.in
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/iftrap-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/iftrap-1.c
gcc/testsuite/gcc.dg/iftrap-2.c [new file with mode: 0644]