ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN blocks.
authorRichard Henderson <rth@redhat.com>
Fri, 19 Apr 2002 04:01:15 +0000 (21:01 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 19 Apr 2002 04:01:15 +0000 (21:01 -0700)
commit0cd3301ba72bd155f8808d6395e5766a592e980c
tree58dcecad5cf8668288128a3984ee569d5e016a98
parent2840e66a788bf5d64db91f2817ea7e5336904cfb
ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN blocks.

        * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
        blocks.  Handle multiple references to the TRAP block.  Handle
        non-adjacent THEN and OTHER blocks.

        * gcc.dg/20000906-1.c: Enable for all targets.
        * gcc.c-torture/compile/iftrap-2.c: New.

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