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