diff options
author | Martin Liska <mliska@suse.cz> | 2017-07-14 09:44:33 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-07-14 07:44:33 +0000 |
commit | ed5cd5bc7132cd6d32f0e370d91ee6b380389c82 (patch) | |
tree | 2aa13fe489f32bbc342e80eaac83befdc9753e24 /gcc/gimple-expr.c | |
parent | 4f4b35a0a61ce83891b26ace7794b3213fef96a7 (diff) | |
download | gcc-ed5cd5bc7132cd6d32f0e370d91ee6b380389c82.zip gcc-ed5cd5bc7132cd6d32f0e370d91ee6b380389c82.tar.gz gcc-ed5cd5bc7132cd6d32f0e370d91ee6b380389c82.tar.bz2 |
Remove Java references in source code.
2017-07-14 Martin Liska <mliska@suse.cz>
* cfgexpand.c (expand_gimple_basic_block): Remove dead comment.
* dwarf2out.c (is_java): Remove the function.
(output_pubname): Remove usage of the function.
(lower_bound_default): Remove usage of DW_LANG_Java.
(gen_compile_unit_die): Likewise.
* gcc.c: Remove compiler defaults for .java and .zip files.
* gimple-expr.c (remove_suffix): Change as there's no longer
extension than 4-letter one.
* gimplify.c (mostly_copy_tree_r): Remove Java-special part.
(gimplify_save_expr): Likewise.
* ipa-utils.h (polymorphic_type_binfo_p): Remove the comment
as it's possible even for other languages than Java.
* langhooks.h (struct lang_hooks): Remove Java from a comment.
* lto-opts.c (lto_write_options): Remove reference to Java.
* opts.c (strip_off_ending): Update file extension handling.
* tree-cfg.c (verify_gimple_call): Remove comment with Java.
* tree-eh.c (lower_resx): Likewise.
* tree.c (free_lang_data_in_type): Remove dead code.
(find_decls_types_r): Likewise.
(build_common_builtin_nodes): Remove Java from a comment.
(verify_type): Remove dead code.
* varasm.c (assemble_external): Remove Java from a comment.
From-SVN: r250199
Diffstat (limited to 'gcc/gimple-expr.c')
-rw-r--r-- | gcc/gimple-expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gimple-expr.c b/gcc/gimple-expr.c index 9d8034c..13e55ef 100644 --- a/gcc/gimple-expr.c +++ b/gcc/gimple-expr.c @@ -388,14 +388,14 @@ copy_var_decl (tree var, tree name, tree type) /* Strip off a legitimate source ending from the input string NAME of length LEN. Rather than having to know the names used by all of our front ends, we strip off an ending of a period followed by - up to five characters. (Java uses ".class".) */ + up to four characters. (like ".cpp".) */ static inline void remove_suffix (char *name, int len) { int i; - for (i = 2; i < 8 && len > i; i++) + for (i = 2; i < 7 && len > i; i++) { if (name[len - i] == '.') { |