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/77283] [7 Regression] Revision 238005 disables loop unrolling


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77283

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |powerpc64*-*-*, s390x-*-*

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Testcase from PR77366 for s390x.

void
foo(unsigned int size, unsigned int *state)
{
   unsigned int i;

   for(i = 0; i < size; i++)
    {
       if(*state & 1)
         {
           *state ^= 1;
         }
    }
}

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