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 rtl-optimization/19909] verify-flow-info: wrong frequency ...


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-07-13 15:10 -------
Confirmed. Reduced testcase (compile with -O3):

================================================================
int foo();

void bar()
{
  int N, i, j, k, *p;

  if (i)
    while (1)
    {
      while (N)
      {
        for (i = 0; i < N; i++)
          for (; p; ++p)
            for (j = 0; j < N; j++)
              switch (N)
              {
                case 1:
                  ++k;
                case 2:
                  break;
                case 3:
                  ++k;
                case 4:
                  ++k;
                case 5:
                  ++k;
                default:
                  k = foo();
              }

        if (foo()) break;
      }

      if (foo()) break;
    }
}
================================================================

------- Additional Comments From reichelt at gcc dot gnu dot org  2005-07-13 15:43 -------

Bugzilla has hiccups.
Confirmed again.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-13 16:36:05
               date|                            |


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


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