aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-04-02 23:56:47 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-04-02 23:56:47 -0800
commit6584b4aa8bf0515432f520c3ac8379e3bd70e8d2 (patch)
tree20695b9c1c06a51bef949e2e27c2c1bc4213eb58 /gcc/loop.h
parent0acf409fdc1266c03caf70c778e8a79ce2f59261 (diff)
downloadgcc-6584b4aa8bf0515432f520c3ac8379e3bd70e8d2.zip
gcc-6584b4aa8bf0515432f520c3ac8379e3bd70e8d2.tar.gz
gcc-6584b4aa8bf0515432f520c3ac8379e3bd70e8d2.tar.bz2
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
Diffstat (limited to 'gcc/loop.h')
-rw-r--r--gcc/loop.h1
1 files changed, 1 insertions, 0 deletions
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)