------- Comment #5 from pinskia at gcc dot gnu dot org 2009-03-16 17:02 ------- (In reply to comment #4) > Reopening because > int params; __asm__ ("xxx" : "=X" (params)); > and > int params[1]; __asm__ ("xxx" : "=X" (params[0])); > still produce different output in a way that is undocumented.
How so? "=X" (params[0]) says it can be in memory which means params is addressable. This is documented as "=X" really means "=rfm" (plus extra constraints which don't correspond to r, f, or m). -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39375