https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114984
--- Comment #2 from Martin Storsjö <martin at martin dot st> --- To clarify the concern for changing whether "__imp_" is implied for asm("") on dllimported symbols or not; on all other mingw architectures than i386, there's no extra symbol prefix, so the current behaviour there works just fine and is reasonably consistent. Thus, by only fixing the extra underscore prefix, the only case that changes is i386 + dllimport + asm(), while if we'd require the whole "__imp_" prefix to be specified, we'd affect all other architectures as well (which are well off as they are).