------- Comment #21 from dfranke at gcc dot gnu dot org  2008-07-04 21:36 
-------
Based on:
Last Changed Rev: 137437
Last Changed Date: 2008-07-04 00:02:18 +0200 (Fri, 04 Jul 2008)

without patch: fails, with patch: works.

Please note that the optimized dump of the function in question now again looks
like:
<bb 2>:
  D.1935 = dummy_atom_model_inertia_tensor (this, phase);
  __result_dummy_atom_model_rad.21 = inertia_tensor_to_rg (&D.1935);
  return __result_dummy_atom_model_rad.21;

i.e. with the patch it lost the [return slot optimization]/[sibling call] shown
in comment #11.


-- 


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

Reply via email to