http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57580
Chung-Ju Wu <jasonwucj at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jasonwucj at gmail dot com --- Comment #2 from Chung-Ju Wu <jasonwucj at gmail dot com> --- I tested on 4.7.3 and 4.8.0 with my target porting: [test.c] ---8<---8<---8<---8<---8<---8<--- #define BROKEN \ _Pragma("message(\"message0\")") \ _Pragma("message(\"message1\")") BROKEN --->8--->8--->8--->8--->8--->8--- [4.7.3] $ nds32le-elf-gcc --version nds32le-elf-gcc (2013-06-04 nds32le-elf-newlib-v3) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ nds32le-elf-gcc test.c -c test.c:5:1: note: #pragma message: message0 test.c:5:1: note: #pragma message: message1 [4.8.0] $ nds32le-elf-gcc --version nds32le-elf-gcc (2013-06-13 nds32le-elf-newlib-v3) 4.8.0 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ nds32le-elf-gcc test.c -c test.c:5:1: note: #pragma message: message0 BROKEN ^ test.c:5:1: note: #pragma message: message1