------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-20 19:31 ------- I should copy and paste the full tree dump: <bb 0>: _Jv_InitClass (&t.class); n = 0;
<L1>:; _Jv_InitClass (&t.class); n = n + 1; ; if (n == 1000) goto <L4>; else goto <L1>; The call to _Jv_InitClass is in the inner loop which causes a slow down and use not to be able to remove the loop. -- What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18399