emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] fix for the gcc -O3 miscompilation


From: Jindrich Makovicka
Subject: [patch] fix for the gcc -O3 miscompilation
Date: Sat, 19 Aug 2006 11:29:28 +0200

Hi,

the attached patch fixes the long standing breakage when compiling
emacs with newer gcc and -O3 flag. The problem is that -O3 enables
automatic function inlining, which optimizes out the arguments for
the function invocations within eval.c and fns.c, but the functions
expect these values on stack. Adding the "noinline" attribute to these
functions used within eval.c of fns.c seems to solve the problem.

(please Cc:, I am not a subscriber)

Regards,
-- 
Jindrich Makovicka

Attachment: inline.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]