This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36713] [4.4 regression] r137252 breaks -O2 optimization on x86_64-unknown-linux-gnu
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jul 2008 21:36:04 -0000
- Subject: [Bug target/36713] [4.4 regression] r137252 breaks -O2 optimization on x86_64-unknown-linux-gnu
- References: <bug-36713-13648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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