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 target/36713] [4.4 regression] r137252 breaks -O2 optimization on x86_64-unknown-linux-gnu



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


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