+2016-05-06 David Malcolm <dmalcolm@redhat.com>
+
+ * genattr-common.c (main): Convert argv from
+ char ** to const char **.
+ * genattr.c (main): Likewise.
+ * genattrtab.c (main): Likewise.
+ * genautomata.c (initiate_automaton_gen): Likewise.
+ (main): Likewise.
+ * gencodes.c (main): Likewise.
+ * genconditions.c (main): Likewise.
+ * genconfig.c (main): Likewise.
+ * genconstants.c (main): Likewise.
+ * genemit.c (main): Likewise.
+ * genenums.c (main): Likewise.
+ * genextract.c (main): Likewise.
+ * genflags.c (main): Likewise.
+ * genmddeps.c (main): Likewise.
+ * genopinit.c (main): Likewise.
+ * genoutput.c (main): Likewise.
+ * genpeep.c (main): Likewise.
+ * genpreds.c (main): Likewise.
+ * genrecog.c (main): Likewise.
+ * gensupport.c (init_rtx_reader_args_cb): Likewise.
+ (init_rtx_reader_args): Likewise.
+ * gensupport.h (init_rtx_reader_args_cb): Likewise.
+ (init_rtx_reader_args): Likewise.
+ * gentarget-def.c (main): Likewise.
+ * read-md.c (read_md_files): Likewise.
+ * read-md.h (read_md_files): Likewise.
+
2016-05-06 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (int cmove peephole2s): Use general_reg_operand
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
bool have_delay = false;
bool have_sched = false;
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
bool have_annul_true = false;
bool have_annul_false = false;
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
struct attr_desc *attr;
struct insn_def *id;
/* The following is top level function to initialize the work of
pipeline hazards description translator. */
static void
-initiate_automaton_gen (char **argv)
+initiate_automaton_gen (const char **argv)
{
const char *base_name;
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
progname = "genautomata";
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
progname = "gencodes";
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
progname = "genconditions";
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
progname = "genconfig";
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
progname = "genconstants";
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
progname = "genemit";
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
progname = "genenums";
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
unsigned int i;
struct extraction *p;
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
rtx dummy;
rtx *insns;
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
struct filedep *d;
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
FILE *h_file, *s_file;
unsigned int i, j, n, last_kind[5];
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";
putchar (TOUPPER (*p1));
}
-extern int main (int, char **);
+extern int main (int, const char **);
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
max_opno = -1;
/* Master control. */
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
progname = argv[0];
if (argc <= 1)
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
state insn_root, split_root, peephole2_root;
/* The entry point for initializing the reader. */
bool
-init_rtx_reader_args_cb (int argc, char **argv,
+init_rtx_reader_args_cb (int argc, const char **argv,
bool (*parse_opt) (const char *))
{
/* Prepare to read input. */
/* Programs that don't have their own options can use this entry point
instead. */
bool
-init_rtx_reader_args (int argc, char **argv)
+init_rtx_reader_args (int argc, const char **argv)
{
return init_rtx_reader_args_cb (argc, argv, 0);
}
};
extern rtx add_implicit_parallel (rtvec);
-extern bool init_rtx_reader_args_cb (int, char **, bool (*)(const char *));
-extern bool init_rtx_reader_args (int, char **);
+extern bool init_rtx_reader_args_cb (int, const char **,
+ bool (*)(const char *));
+extern bool init_rtx_reader_args (int, const char **);
extern bool read_md_rtx (md_rtx_info *);
extern unsigned int get_num_insn_codes ();
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
progname = "gentarget-def";
details about the callback's interface. */
bool
-read_md_files (int argc, char **argv, bool (*parse_opt) (const char *),
+read_md_files (int argc, const char **argv, bool (*parse_opt) (const char *),
directive_handler_t handle_directive)
{
int i;
extern void traverse_md_constants (htab_trav, void *);
extern void traverse_enum_types (htab_trav, void *);
extern struct enum_type *lookup_enum_type (const char *);
-extern bool read_md_files (int, char **, bool (*) (const char *),
+extern bool read_md_files (int, const char **, bool (*) (const char *),
directive_handler_t);
#endif /* GCC_READ_MD_H */