From 6584b4aa8bf0515432f520c3ac8379e3bd70e8d2 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 2 Apr 2002 23:56:47 -0800 Subject: re PR rtl-optimization/4311 (unrolling loops creates non-ending loop) PR opt/4311 * loop.h (LOOP_FIRST_PASS): New. * loop.c (strength_reduce): Mind it when deciding to unroll. * toplev.c (rest_of_compilation): Set it. From-SVN: r51798 --- gcc/loop.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/loop.h') diff --git a/gcc/loop.h b/gcc/loop.h index 55f70ff..8e3a935 100644 --- a/gcc/loop.h +++ b/gcc/loop.h @@ -28,6 +28,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #define LOOP_UNROLL 1 #define LOOP_BCT 2 #define LOOP_PREFETCH 4 +#define LOOP_FIRST_PASS 8 /* Get the loop info pointer of a loop. */ #define LOOP_INFO(LOOP) ((struct loop_info *) (LOOP)->aux) -- cgit v1.1