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/23622] Dom jump threading at -O1 confuses branch prediction


------- Additional Comments From rakdver at gcc dot gnu dot org  2005-08-29 13:18 -------
Sorry, I have simplified the testcase and only looked at the dom1 dump.  You
need the following testcase to reproduce the problem (for the second loop):

void foo (void)
{
  int i;

  for (i = 0; i < 100; i++)
    something ();
  for (i = 0; i < 100; i++)
    something ();
}

-- 


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


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