comparison gcc/genflags.c @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents 77e2b8dfacca
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* Generate from machine description: 1 /* Generate from machine description:
2 - some flags HAVE_... saying which simple standard instructions are 2 - some flags HAVE_... saying which simple standard instructions are
3 available for this machine. 3 available for this machine.
4 Copyright (C) 1987, 1991, 1995, 1998, 1999, 2000, 2003, 2004, 2007 4 Copyright (C) 1987, 1991, 1995, 1998, 1999, 2000, 2003, 2004, 2007, 2010
5 Free Software Foundation, Inc. 5 Free Software Foundation, Inc.
6 6
7 This file is part of GCC. 7 This file is part of GCC.
8 8
9 GCC is free software; you can redistribute it and/or modify it under 9 GCC is free software; you can redistribute it and/or modify it under
26 #include "coretypes.h" 26 #include "coretypes.h"
27 #include "tm.h" 27 #include "tm.h"
28 #include "rtl.h" 28 #include "rtl.h"
29 #include "obstack.h" 29 #include "obstack.h"
30 #include "errors.h" 30 #include "errors.h"
31 #include "read-md.h"
31 #include "gensupport.h" 32 #include "gensupport.h"
32 33
33 /* Obstack to remember insns with. */ 34 /* Obstack to remember insns with. */
34 static struct obstack obstack; 35 static struct obstack obstack;
35 36
259 260
260 /* We need to see all the possibilities. Elided insns may have 261 /* We need to see all the possibilities. Elided insns may have
261 direct calls to their generators in C code. */ 262 direct calls to their generators in C code. */
262 insn_elision = 0; 263 insn_elision = 0;
263 264
264 if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE) 265 if (!init_rtx_reader_args (argc, argv))
265 return (FATAL_EXIT_CODE); 266 return (FATAL_EXIT_CODE);
266 267
267 puts ("/* Generated automatically by the program `genflags'"); 268 puts ("/* Generated automatically by the program `genflags'");
268 puts (" from the machine description file `md'. */\n"); 269 puts (" from the machine description file `md'. */\n");
269 puts ("#ifndef GCC_INSN_FLAGS_H"); 270 puts ("#ifndef GCC_INSN_FLAGS_H");