diff options
author | David Malcolm <dmalcolm@redhat.com> | 2015-01-27 20:19:36 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2015-01-27 20:19:36 +0000 |
commit | 53c04ec92a37b35a7f37e00bd5a4b611cf470e3c (patch) | |
tree | c8823405a2ab3de543e96e14ffc83037629e01f9 /gcc/toplev.h | |
parent | 710700abb804afc0846423ab246034dec745a599 (diff) | |
download | gcc-53c04ec92a37b35a7f37e00bd5a4b611cf470e3c.tar.gz |
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
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r-- | gcc/toplev.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |