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 c++/58717] [4.8 Regression] SCEV final value replacement no longer triggers


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58717

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-10-14
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |4.8.2
            Summary|Pre-calculation             |[4.8 Regression] SCEV final
                   |optimization is omitted     |value replacement no longer
                   |                            |triggers
     Ever confirmed|0                           |1

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
sccp pass used to optimize:
unsigned long long
foo ()
{
  unsigned long long s = 0, i;
  for (i = 0; i < 1000000000ULL; i++)
    s += i;
  return s;
}
before r194578, but no longer does in 4.8.  In 4.9 this got fixed again, trying
to bisect now.


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