This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/42553] wrong code with -O1



------- Comment #3 from ubizjak at gmail dot com  2010-01-04 16:07 -------
(In reply to comment #2)
> The inline-asm is totally incorrect here ...

Actually, the asm is correct, it is just a couple of volatiles that are
missing. Please see arch/x86/include/asm/bitops.h from linux-2.6 for correct
implementation.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42553


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]