diff options
author | J"orn Rennecke <amylaar@cygnus.co.uk> | 1999-02-02 13:38:56 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 1999-02-02 13:38:56 +0000 |
commit | e318cec07a958eb1cfac1d84e38bd7f5d5b29bc9 (patch) | |
tree | 71a6eadf57f0cd51ef3bbf9bb160e54ef22eeb53 /gcc/loop.c | |
parent | 66b48140891b4daad044b83aa9d737b83acdd494 (diff) | |
download | gcc-e318cec07a958eb1cfac1d84e38bd7f5d5b29bc9.zip gcc-e318cec07a958eb1cfac1d84e38bd7f5d5b29bc9.tar.gz gcc-e318cec07a958eb1cfac1d84e38bd7f5d5b29bc9.tar.bz2 |
loop.c (loop_optimize): Fix value max_uid_for_loop is reset to after find_and_verify_loops call.
* loop.c (loop_optimize): Fix value max_uid_for_loop is reset
to after find_and_verify_loops call.
From-SVN: r24973
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -525,11 +525,12 @@ loop_optimize (f, dumpfile, unroll_p, bct_p) but moving this call to init_alias_analysis is more efficient. */ init_alias_analysis (); - /* See if we went too far. */ + /* See if we went too far. Note that get_max_uid already returns + one more that the maximum uid of all insn. */ if (get_max_uid () > max_uid_for_loop) abort (); /* Now reset it to the actual size we need. See above. */ - max_uid_for_loop = get_max_uid () + 1; + max_uid_for_loop = get_max_uid (); /* find_and_verify_loops has already called compute_luids, but it might have rearranged code afterwards, so we need to recompute the luids now. */ |