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;
    }
}

Reply via email to