This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/64183] [5.0 Regression] Complete unroll doesn't happen for a while-loop
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 04 Dec 2014 13:22:43 +0000
- Subject: [Bug tree-optimization/64183] [5.0 Regression] Complete unroll doesn't happen for a while-loop
- Auto-submitted: auto-generated
- References: <bug-64183-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64183
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Just thinking out loud - if the type is already int then there is no need to
promote or shorten it further, thus we could just leave it alone...
That is, only apply the extra conversion if it would shorten the shift
operand.