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: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jul 2008 13:10:31 -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 #14 from rguenther at suse dot de 2008-07-03 13:10 -------
Subject: Re: [4.4 regression] r137252 breaks -O2 optimization
on x86_64-unknown-linux-gnu
On Thu, 3 Jul 2008, dfranke at gcc dot gnu dot org wrote:
> ------- Comment #13 from dfranke at gcc dot gnu dot org 2008-07-03 13:00 -------
>> Can you try if -fno-optimize-sibling-calls fixes it
>> (that should remove the [tail call]).
>
> FCFLAGS="-O2 -fno-optimize-sibling-calls" - works
> FCFLAGS="-O1 -foptimize-sibling-calls" - broken
Ok. Probably some latent bug got uncovered. Your challenge is now
to produce a testcase from your source ;) Basically isolate this
function somehow, but make sure the [tail call] and the
[return slot optimization] are still there.
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36713