This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/53226] [4.8 Regression] Endless loop in forwprop


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]