diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 671c98789a88..b6484b114247 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2012-08-16 Nick Clifton + * config/i386/i386elf.h (ASM_OUTPUT_ASCII): Cast _ascii_bytes + before passing it to ASM_OUTPUT_LIMITED_STRING. + * config/bfin/bfin.c (hwloop_optimize): Fix use of VEC_last macro. * config/avr/t-avr: Replace occurrences of $(CC) with $(COMPILER). diff --git a/gcc/config/i386/i386elf.h b/gcc/config/i386/i386elf.h index 1bf3feb74799..78920a9f4799 100644 --- a/gcc/config/i386/i386elf.h +++ b/gcc/config/i386/i386elf.h @@ -73,7 +73,7 @@ along with GCC; see the file COPYING3. If not see fputc ('\n', (FILE)); \ bytes_in_chunk = 0; \ } \ - ASM_OUTPUT_LIMITED_STRING ((FILE), _ascii_bytes); \ + ASM_OUTPUT_LIMITED_STRING ((FILE), (const char *) _ascii_bytes); \ _ascii_bytes = p; \ } \ else \