------- Comment #8 from siarhei dot siamashka at gmail dot com 2010-03-21 10:05 ------- What about just forbidding to use "q" registers in the inline assembly clobber list? Is it difficult to do?
As a nice bonus, the existing potentially unsafe inline assembly will fail to compile, will be spotted and will have to be fixed (forcing the application developer to manually convert clobber list to use "d" or "s" registers). It will also solve compatibility problems with the older versions of gcc which still have this bug and still might be in use for a very long time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43440