[FFmpeg-devel] [PATCH] Hack around gcc 4.6 breaking asm using call.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Sep 21 19:46:29 CEST 2011


On Wed, Sep 21, 2011 at 05:34:49PM +0000, Loren Merritt wrote:
> On Wed, 21 Sep 2011, Gregory Maxwell wrote:
> > On Tue, Sep 20, 2011, Reimar Döffinger wrote:
> >
> >> Well, what then is the correct way to tell gcc "hey, I will use the call
> >> instruction here, don't break it". Not being able to use call at all in
> >> asm code can hardly be considered sensible?
> >> All your comments may well be bugs, but I don't see how they would be
> >> related to call not being usable.
> >
> > I can't find the gcc buzilla entry on this issue. Bugzilla is pretty
> > hard to search though, can someone help me out?
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44975

Someone with an account could maybe add that -mno-red-zone works as a
work-around, even though it would be nicer to have a attribute to do
it either per-function (I think there is a non-leaf attribute but
it has a different meaning and doesn't help here I think) or per-asm-block.


More information about the ffmpeg-devel mailing list