X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fgenextract.c;h=b600605240307c8e5141a9db25a4d4879cfb9dd5;hb=30c40ce2519ea8f28ff20c2435fad8cc700fe3d1;hp=54be0ebeccc588e0236dc4bc465b909bbc708a15;hpb=c0fe9e543654e017c36f8caa57dd1bdb0474e5e8;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/genextract.c b/gcc/genextract.c index 54be0ebeccc..b6006052403 100644 --- a/gcc/genextract.c +++ b/gcc/genextract.c @@ -1,5 +1,5 @@ /* Generate code from machine description to extract operands from insn as rtl. - Copyright (C) 1987, 1991, 1992, 1993, 1997, 1998, 1999, 2000, 2003 + Copyright (C) 1987, 1991, 1992, 1993, 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. This file is part of GCC. @@ -326,7 +326,7 @@ print_path (const char *path) else if (ISDIGIT(path[i])) printf ("XEXP ("); else - abort (); + gcc_unreachable (); } printf ("pat"); @@ -338,7 +338,7 @@ print_path (const char *path) else if (ISDIGIT(path[i])) printf (", %d)", path[i] - '0'); else - abort (); + gcc_unreachable (); } } @@ -354,9 +354,6 @@ main (int argc, char **argv) progname = "genextract"; - if (argc <= 1) - fatal ("no input file name"); - if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE) return (FATAL_EXIT_CODE); @@ -481,7 +478,7 @@ from the machine description file `md'. */\n\n"); /* This should never be reached. Note that we would also reach this abort if we tried to extract something whose INSN_CODE was a DEFINE_EXPAND or DEFINE_SPLIT, but that is correct. */ - printf (" default:\n abort ();\n"); + printf (" default:\n gcc_unreachable ();\n"); printf (" }\n}\n");