From 53c04ec92a37b35a7f37e00bd5a4b611cf470e3c Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Tue, 27 Jan 2015 20:19:36 +0000 Subject: toplev: gcc version information for jit gcc/ChangeLog: * toplev.c (print_version): Add param "show_global_state", and only print GGC and plugin information if it is true. (init_asm_output): Pass in "true" for the new param when calling print_version. (process_options): Likewise. (toplev::main): Likewise. * toplev.h (print_version): Add new param to decl. gcc/jit/ChangeLog: * docs/internals/test-hello-world.exe.log.txt: Add example version lines. * jit-common.h (gcc::jit::dump::get_file): New accessor. * jit-logging.c: Include toplev.h. (gcc::jit::logger::logger): Log the GCC version. * jit-recording.c: Include toplev.h. (gcc:jit::recording::context::dump_reproducer_to_file): Log the GCC version. From-SVN: r220190 --- gcc/toplev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/toplev.h') diff --git a/gcc/toplev.h b/gcc/toplev.h index 6b423be3c51..9527f76ac6e 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -80,7 +80,7 @@ extern bool user_defined_section_attribute; /* See toplev.c. */ extern int flag_rerun_cse_after_global_opts; -extern void print_version (FILE *, const char *); +extern void print_version (FILE *, const char *, bool); /* The hashtable, so that the C front ends can pass it to cpplib. */ extern struct ht *ident_hash; -- cgit v1.2.1