------- Comment #8 from ian at airs dot com 2010-08-18 17:44 ------- Just for the record, I'm with Jakub: the general rule should be that "r" always works for a value that fits in a register, and anything else requires enabling optimization to work reliably.
I don't see why we should sign up to handle all constants for inline asm when not optimizing. It seems like an unusual edge case, a bunch of work for really minimal benefit. Changing the example in comment #5 to reliably fail will break real code for no useful benefit and is thus contra-indicated. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45303