diff options
Diffstat (limited to 'gcc/genoutput.c')
-rw-r--r-- | gcc/genoutput.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/genoutput.c b/gcc/genoutput.c index 6ca1bb89cf..6469bef7c6 100644 --- a/gcc/genoutput.c +++ b/gcc/genoutput.c @@ -1,5 +1,5 @@ /* Generate code from to output assembler insns as recognized from rtl. - Copyright (C) 1987-2016 Free Software Foundation, Inc. + Copyright (C) 1987-2017 Free Software Foundation, Inc. This file is part of GCC. @@ -219,6 +219,7 @@ output_prologue (void) printf ("#include \"expmed.h\"\n"); printf ("#include \"dojump.h\"\n"); printf ("#include \"explow.h\"\n"); + printf ("#include \"memmodel.h\"\n"); printf ("#include \"emit-rtl.h\"\n"); printf ("#include \"stmt.h\"\n"); printf ("#include \"expr.h\"\n"); @@ -630,7 +631,7 @@ process_template (struct data *d, const char *template_code) printf ("output_%d (rtx *operands ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)\n", d->code_number); puts ("{"); - print_md_ptr_loc (template_code); + rtx_reader_ptr->print_md_ptr_loc (template_code); puts (template_code + 1); puts ("}"); } @@ -979,14 +980,14 @@ init_insn_for_nothing (void) idata = XCNEW (struct data); new (idata) data (); idata->name = "*placeholder_for_nothing"; - idata->loc = file_location ("<internal>", 0); + idata->loc = file_location ("<internal>", 0, 0); idata_end = &idata->next; } -extern int main (int, char **); +extern int main (int, const char **); int -main (int argc, char **argv) +main (int argc, const char **argv) { progname = "genoutput"; |