diff options
Diffstat (limited to 'gcc/gencodes.c')
-rw-r--r-- | gcc/gencodes.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/gencodes.c b/gcc/gencodes.c index 168be701bac..e95eb98cb88 100644 --- a/gcc/gencodes.c +++ b/gcc/gencodes.c @@ -2,7 +2,7 @@ - some macros CODE_FOR_... giving the insn_code_number value for each of the defined standard insn names. Copyright (C) 1987, 1991, 1995, 1998, 1999, 2000, 2001, 2003, - 2004, 2007, 2010 Free Software Foundation, Inc. + 2004, 2007, 2010, 2012 Free Software Foundation, Inc. This file is part of GCC. @@ -68,7 +68,8 @@ main (int argc, char **argv) #ifndef GCC_INSN_CODES_H\n\ #define GCC_INSN_CODES_H\n\ \n\ -enum insn_code {"); +enum insn_code {\n\ + CODE_FOR_nothing = 0,\n"); /* Read the machine description. */ @@ -85,7 +86,7 @@ enum insn_code {"); gen_insn (desc, insn_code_number); } - puts (" CODE_FOR_nothing\n\ + puts (" LAST_INSN_CODE\n\ };\n\ \n\ #endif /* GCC_INSN_CODES_H */"); |