This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/53226] [4.8 Regression] Endless loop in forwprop
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 May 2012 16:20:50 +0000
- Subject: [Bug tree-optimization/53226] [4.8 Regression] Endless loop in forwprop
- Auto-submitted: auto-generated
- References: <bug-53226-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53226
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |tree-optimization
Target Milestone|--- |4.8.0
Summary|memory consumption for |[4.8 Regression] Endless
|heavy template |loop in forwprop
|instantiations increased |
|massively |
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-05-08 16:20:50 UTC ---
Reduced testcase, not template heavy...:
/* PR tree-optimization/53226 */
void
foo (unsigned long *x, char y, char z)
{
int i;
for (i = y; i < z; ++i)
{
unsigned long a = ((unsigned char) i) & 63UL;
unsigned long b = 1ULL << a;
*x |= b;
}
}