--- gcc/config/i386/att.h 2018/04/24 18:10:27 1.1.1.1 +++ gcc/config/i386/att.h 2018/04/24 18:17:18 1.1.1.2 @@ -37,13 +37,15 @@ the Free Software Foundation, 675 Mass A /* How to output an ASCII string constant. */ #define ASM_OUTPUT_ASCII(FILE, p, size) \ +do \ { int i = 0; \ while (i < (size)) \ { if (i%10 == 0) { if (i!=0) fprintf ((FILE), "\n"); \ fprintf ((FILE), "%s ", ASM_BYTE_OP); } \ - else fprintf ((FILE), ","); \ + else fprintf ((FILE), ","); \ fprintf ((FILE), "0x%x", ((p)[i++] & 0377)) ;} \ - fprintf ((FILE), "\n"); } + fprintf ((FILE), "\n"); \ +} while (0) /* Do use .optim by default on this machine. */ #undef ASM_FILE_START_1