diff options
author | Nick Clifton <nickc@redhat.com> | 2012-08-16 10:41:44 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2012-08-16 10:41:44 +0000 |
commit | ca9b1cd87255144e5b7a063e5571f0e698dd9702 (patch) | |
tree | 23a1469465f20d79e8a65be5af3833e429ffbc43 | |
parent | c0e2141abe1cc3c1bcdef10e2ace8380eb5f6117 (diff) | |
download | gcc-ca9b1cd87255144e5b7a063e5571f0e698dd9702.zip gcc-ca9b1cd87255144e5b7a063e5571f0e698dd9702.tar.gz gcc-ca9b1cd87255144e5b7a063e5571f0e698dd9702.tar.bz2 |
i386elf.h (ASM_OUTPUT_ASCII): Cast _ascii_bytes before passing it to ASM_OUTPUT_LIMITED_STRING.
* config/i386/i386elf.h (ASM_OUTPUT_ASCII): Cast _ascii_bytes
before passing it to ASM_OUTPUT_LIMITED_STRING.
From-SVN: r190441
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/i386/i386elf.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 671c987..b6484b1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2012-08-16 Nick Clifton <nickc@redhat.com> + * 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 1bf3feb..78920a9 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 \ |