memory explosion in ifcvt.c

Steven Bosscher stevenb.gcc@gmail.com
Tue Mar 27 17:59:00 GMT 2007


On 3/27/07, Richard Earnshaw <rearnsha@arm.com> wrote:
> .../gcc/ifcvt.c:3239: warning: control reaches end of non-void function


2007-03-27  Steven Bosscher  <steven@gcc.gnu.org>

        * ifcvt.c (cond_exec_find_if_block): Return FALSE if no
transformations are
        applied successfully.


Index: ifcvt.c
===================================================================
--- ifcvt.c     (revision 123223)
+++ ifcvt.c     (working copy)
@@ -3236,6 +3236,8 @@ cond_exec_find_if_block (struct ce_if_bl
       if (cond_exec_process_if_block (ce_info, FALSE))
        return TRUE;
     }
+
+  return FALSE;
 }

 /* Convert a branch over a trap, or a branch



More information about the Gcc-patches mailing list