------- Additional Comments From steven at gcc dot gnu dot org 2005-01-01 22:50 ------- You've just constrained the compiler too much to do anything. You're right that gcc should produce fewer loads and stores sometimes, but in this case I suggest you show that this actually hurts you still with GCC 4.0, I would hope it does better. In any case, just because code is syntactically "valid" GNU C doesn't mean gcc can always compile it. With this kind of inline asm, you're bound to confuse the register allocator. The fact that it works at O3 is pure luck and not a bug. Note that you're hitting an *error*, not an ICE. It is a deliberate choice to inform you that GCC cannot compile your inline assembly. Bad luck for you.
-- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11203