[Bug target/46432] v850-elf --enable-werror-always build fails
amylaar at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 12 12:18:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46432
--- Comment #2 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-11-12 12:10:44 UTC ---
FWIW, following the GNU coding standard advice on 'swallowing the semicolon'
avoids the warning:
Index: config/v850/v850.h
===================================================================
--- config/v850/v850.h (revision 166609)
+++ config/v850/v850.h (working copy)
@@ -888,8 +888,8 @@ #define ADDITIONAL_REGISTER_NAMES
{ "r30", 30 }, \
{ "lp", LP_REGNUM} }
-#define ASM_OUTPUT_REG_PUSH(FILE,REGNO)
-#define ASM_OUTPUT_REG_POP(FILE,REGNO)
+#define ASM_OUTPUT_REG_PUSH(FILE,REGNO) do {} while (0)
+#define ASM_OUTPUT_REG_POP(FILE,REGNO) do {} while (0)
/* This is how to output an element of a case-vector that is absolute. */
More information about the Gcc-bugs
mailing list