GCC Bugzilla – Attachment 7950 Details for
Bug 19401
Trivial loop not unrolled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
p (text/plain), 1.67 KB, created by
Richard Biener
on 2005-01-13 12:21:03 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Richard Biener
Created:
2005-01-13 12:21:03 UTC
Size:
1.67 KB
patch
obsolete
>Index: gcc/tree-ssa-loop.c >=================================================================== >RCS file: /cvs/gcc/gcc/gcc/tree-ssa-loop.c,v >retrieving revision 2.23 >diff -u -c -3 -p -r2.23 tree-ssa-loop.c >*** gcc/tree-ssa-loop.c 26 Nov 2004 06:42:25 -0000 2.23 >--- gcc/tree-ssa-loop.c 13 Jan 2005 12:20:00 -0000 >*************** tree_complete_unroll (void) >*** 337,352 **** > tree_unroll_loops_completely (current_loops); > } > >- static bool >- gate_tree_complete_unroll (void) >- { >- return flag_unroll_loops != 0; >- } >- > struct tree_opt_pass pass_complete_unroll = > { > "cunroll", /* name */ >! gate_tree_complete_unroll, /* gate */ > tree_complete_unroll, /* execute */ > NULL, /* sub */ > NULL, /* next */ >--- 337,346 ---- > tree_unroll_loops_completely (current_loops); > } > > struct tree_opt_pass pass_complete_unroll = > { > "cunroll", /* name */ >! NULL, /* gate */ > tree_complete_unroll, /* execute */ > NULL, /* sub */ > NULL, /* next */ >Index: gcc/tree-ssa-loop-ivcanon.c >=================================================================== >RCS file: /cvs/gcc/gcc/gcc/tree-ssa-loop-ivcanon.c,v >retrieving revision 2.5 >diff -u -c -3 -p -r2.5 tree-ssa-loop-ivcanon.c >*** gcc/tree-ssa-loop-ivcanon.c 1 Oct 2004 18:26:31 -0000 2.5 >--- gcc/tree-ssa-loop-ivcanon.c 13 Jan 2005 12:20:00 -0000 >*************** try_unroll_loop_completely (struct loops >*** 168,174 **** > > if (n_unroll) > { >! if (!flag_unroll_loops) > return false; > > old_cond = COND_EXPR_COND (cond); >--- 168,174 ---- > > if (n_unroll) > { >! if (!completely_unroll) > return false; > > old_cond = COND_EXPR_COND (cond);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19401
:
7950
|
8006