[Bug java/18399] Class initialization optimization does not work with the inliner

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Aug 20 19:31:00 GMT 2005

------- 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;

  _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


More information about the Java-prs mailing list