Mercurial > hg > CbC > CbC_gcc
comparison gcc/genextract.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 code from machine description to extract operands from insn as rtl. | 1 /* Generate code from machine description to extract operands from insn as rtl. |
2 Copyright (C) 1987, 1991, 1992, 1993, 1997, 1998, 1999, 2000, 2003, | 2 Copyright (C) 1987, 1991, 1992, 1993, 1997, 1998, 1999, 2000, 2003, |
3 2004, 2005, 2007, 2008 | 3 2004, 2005, 2007, 2008, 2009, 2010 |
4 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
5 | 5 |
6 This file is part of GCC. | 6 This file is part of GCC. |
7 | 7 |
8 GCC is free software; you can redistribute it and/or modify it under | 8 GCC is free software; you can redistribute it and/or modify it under |
24 #include "system.h" | 24 #include "system.h" |
25 #include "coretypes.h" | 25 #include "coretypes.h" |
26 #include "tm.h" | 26 #include "tm.h" |
27 #include "rtl.h" | 27 #include "rtl.h" |
28 #include "errors.h" | 28 #include "errors.h" |
29 #include "read-md.h" | |
29 #include "gensupport.h" | 30 #include "gensupport.h" |
30 #include "vec.h" | 31 #include "vec.h" |
31 #include "vecprim.h" | 32 #include "vecprim.h" |
32 | 33 |
33 /* This structure contains all the information needed to describe one | 34 /* This structure contains all the information needed to describe one |
362 #include \"coretypes.h\"\n\ | 363 #include \"coretypes.h\"\n\ |
363 #include \"tm.h\"\n\ | 364 #include \"tm.h\"\n\ |
364 #include \"rtl.h\"\n\ | 365 #include \"rtl.h\"\n\ |
365 #include \"insn-config.h\"\n\ | 366 #include \"insn-config.h\"\n\ |
366 #include \"recog.h\"\n\ | 367 #include \"recog.h\"\n\ |
367 #include \"toplev.h\"\n\ | 368 #include \"diagnostic-core.h\"\n\ |
368 \n\ | 369 \n\ |
369 /* This variable is used as the \"location\" of any missing operand\n\ | 370 /* This variable is used as the \"location\" of any missing operand\n\ |
370 whose numbers are skipped by a given pattern. */\n\ | 371 whose numbers are skipped by a given pattern. */\n\ |
371 static rtx junk ATTRIBUTE_UNUSED;\n"); | 372 static rtx junk ATTRIBUTE_UNUSED;\n"); |
372 | 373 |
407 const char *name; | 408 const char *name; |
408 int insn_code_number; | 409 int insn_code_number; |
409 | 410 |
410 progname = "genextract"; | 411 progname = "genextract"; |
411 | 412 |
412 if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE) | 413 if (!init_rtx_reader_args (argc, argv)) |
413 return (FATAL_EXIT_CODE); | 414 return (FATAL_EXIT_CODE); |
414 | 415 |
415 /* Read the machine description. */ | 416 /* Read the machine description. */ |
416 | 417 |
417 while ((desc = read_md_rtx (&line_no, &insn_code_number)) != NULL) | 418 while ((desc = read_md_rtx (&line_no, &insn_code_number)) != NULL) |