diff options
author | Diego Novillo <dnovillo@google.com> | 2009-06-02 20:17:29 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@google.com> | 2009-06-02 20:17:29 +0000 |
commit | b5777f4c1001d33c3b3a0eaa4b80e79bae68057c (patch) | |
tree | 1e2df49a691716a416a822a4710058d341e3bca7 /gcc/pretty-print.h | |
parent | b4cc02e7d7560baab119262e7f115621588555ce (diff) |
2009-06-02 Jan Hubicka <jh@suse.cz>
Diego Novillo <dnovillo@google.com>
Mainline merge @147915.
* configure.ac (ACX_PKGVERSION): Update revision merge string.
* configure: Regenerate.
2009-06-02 Jan Hubicka <jh@suse.cz>
* lto-cgraph.c (output_node): Output new inline summaries;
add FIXME about not output global info in LTO files.
(output_cgraph): Update comments.
(input_overwrite_node): Add new inline plan.
(input_node): Likewise.
(pass_ipa_lto_cgraph): Change to ipa_opt_pass_d.
* lto-function-in.c (input_eh_region): Change to eh_region_d.
(fixup_eh_region_pointers): Remove prev_try.
(input_gimple_stmt): Remove GIMPLE_CHANGE_DYNAMIC_TYPE.
(fixup_call_stmt_edges_1): New function.
(fixup_call_stmt_edges): New function.
(input_function): Update for new clones.
* lto-function-out.c (output_eh_region): Fix C++ compatibility.
(output_eh_region): Ignore ERT_CLEANUP.
(output_gimple_stmt): Remove GIMPLE_CHANGE_DYNAMIC_TYPE.
(pass_ipa_lto_gimple_out): Change to ipa_opt_pass_d.
* lto-section-out.c: (pass_ipa_lto_finish_out): Change to
ipa_opt_pass_d.
* lto-tree-flags.def (CHANGE_DYNAMIC_TYPE_EXPR): Remove;
Do not mention no_tbaa_flag.
* lto-tree-tags.def (GIMPLE_CHANGE_DYNAMIC_TYPE): Remove.
* lto-wpa-fixup.c (pass_ipa_lto_wpa_fixup): Change to ipa_opt_pass_d.
* cgraph.c (cgraph_clone_input_node): Update for new clones.
(cgraph_is_clone_node): Likewise.
* cgraphunit.c (ipa_passes): Update cast to struct ipa_opt_pass_d.
(cgraph_emit_thunks): Add FIXME comment.
* dwarf2out.c (current_unit_personality): New static var.
(output_call_frame_info): Use it.
(dwarf2out_begin_prologue): Set it.
* passes.c (init_optimization_passes): Temporarily disable
ipa-cp.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@148101 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/pretty-print.h')
-rw-r--r-- | gcc/pretty-print.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h index 58292259604..5c4ddca8043 100644 --- a/gcc/pretty-print.h +++ b/gcc/pretty-print.h @@ -148,6 +148,10 @@ typedef bool (*printer_fn) (pretty_printer *, text_info *, const char *, /* The amount of whitespace to be emitted when starting a new line. */ #define pp_indentation(PP) pp_base (PP)->indent_skip +/* True if identifiers are translated to the locale character set on + output. */ +#define pp_translate_identifiers(PP) pp_base (PP)->translate_identifiers + /* The data structure that contains the bare minimum required to do proper pretty-printing. Clients may derived from this structure and add additional fields they need. */ @@ -187,6 +191,10 @@ struct pretty_print_info /* Nonzero means one should emit a newline before outputting anything. */ bool need_newline; + + /* Nonzero means identifiers are translated to the locale character + set on output. */ + bool translate_identifiers; }; #define pp_set_line_maximum_length(PP, L) \ @@ -273,7 +281,9 @@ struct pretty_print_info pp_scalar (PP, HOST_WIDEST_INT_PRINT_DEC, (HOST_WIDEST_INT) I) #define pp_pointer(PP, P) pp_scalar (PP, "%p", P) -#define pp_identifier(PP, ID) pp_string (PP, identifier_to_locale (ID)) +#define pp_identifier(PP, ID) pp_string (PP, (pp_translate_identifiers (PP) \ + ? identifier_to_locale (ID) \ + : (ID))) #define pp_tree_identifier(PP, T) \ pp_base_tree_identifier (pp_base (PP), T) |