diff options
author | Martin Liska <mliska@suse.cz> | 2019-07-03 10:34:20 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-07-03 08:34:20 +0000 |
commit | 8ba6ea878fd0965606ba6cfd74cf7097a40ed6c1 (patch) | |
tree | 2fcd128b29308fd9264fcad903970fa1cdcdb84a /libcpp | |
parent | 6aa2e42cb4be16ee0937ba872b297b11d8f0a18b (diff) | |
download | gcc-8ba6ea878fd0965606ba6cfd74cf7097a40ed6c1.zip gcc-8ba6ea878fd0965606ba6cfd74cf7097a40ed6c1.tar.gz gcc-8ba6ea878fd0965606ba6cfd74cf7097a40ed6c1.tar.bz2 |
Remove another bunch of dead assignment.
2019-07-03 Martin Liska <mliska@suse.cz>
* lra-eliminations.c (eliminate_regs_in_insn): Remove
dead assignemts.
* reg-stack.c (check_asm_stack_operands): Likewise.
* tree-ssa-structalias.c (create_function_info_for): Likewise.
* tree-vect-generic.c (expand_vector_operations_1): Likewise.
* config/i386/i386-expand.c (ix86_expand_sse2_mulvxdi3): Use
force_expand_binop.
2019-07-03 Martin Liska <mliska@suse.cz>
* c-common.c (try_to_locate_new_include_insertion_point): Remove
dead assignemts.
2019-07-03 Martin Liska <mliska@suse.cz>
* call.c (build_new_op_1): Remove
dead assignemts.
* typeck.c (cp_build_binary_op): Likewise.
2019-07-03 Martin Liska <mliska@suse.cz>
* check.c (gfc_check_c_funloc): Remove
dead assignemts.
* decl.c (variable_decl): Likewise.
* resolve.c (resolve_typebound_function): Likewise.
* simplify.c (gfc_simplify_matmul): Likewise.
(gfc_simplify_scan): Likewise.
* trans-array.c (gfc_could_be_alias): Likewise.
* trans-common.c (add_equivalences): Likewise.
* trans-expr.c (trans_class_vptr_len_assignment): Likewise.
(gfc_trans_array_constructor_copy): Likewise.
(gfc_trans_assignment_1): Likewise.
* trans-intrinsic.c (conv_intrinsic_atomic_op): Likewise.
* trans-openmp.c (gfc_omp_finish_clause): Likewise.
* trans-types.c (gfc_get_array_descriptor_base): Likewise.
* trans.c (gfc_build_final_call): Likewise.
2019-07-03 Martin Liska <mliska@suse.cz>
* line-map.c (linemap_get_expansion_filename): Remove
dead assignemts.
* mkdeps.c (make_write): Likewise.
From-SVN: r272994
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 6 | ||||
-rw-r--r-- | libcpp/line-map.c | 3 | ||||
-rw-r--r-- | libcpp/mkdeps.c | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index a3185e3..ff5f0aa 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,9 @@ +2019-07-03 Martin Liska <mliska@suse.cz> + + * line-map.c (linemap_get_expansion_filename): Remove + dead assignemts. + * mkdeps.c (make_write): Likewise. + 2019-07-02 qing zhao <qing.zhao@oracle.com> PR preprocessor/90581 diff --git a/libcpp/line-map.c b/libcpp/line-map.c index 31439f4..8ab873b 100644 --- a/libcpp/line-map.c +++ b/libcpp/line-map.c @@ -1160,8 +1160,7 @@ linemap_get_expansion_filename (struct line_maps *set, if (location < RESERVED_LOCATION_COUNT) return NULL; - location = - linemap_macro_loc_to_exp_point (set, location, &map); + linemap_macro_loc_to_exp_point (set, location, &map); return LINEMAP_FILE (map); } diff --git a/libcpp/mkdeps.c b/libcpp/mkdeps.c index 676ae12..50f0fb2 100644 --- a/libcpp/mkdeps.c +++ b/libcpp/mkdeps.c @@ -378,7 +378,7 @@ make_write (const struct mkdeps *d, FILE *fp, bool phony, unsigned int colmax) column = make_write_vec (d->targets, fp, 0, colmax, d->quote_lwm); fputs (":", fp); column++; - column = make_write_vec (d->deps, fp, column, colmax); + make_write_vec (d->deps, fp, column, colmax); fputs ("\n", fp); if (phony) for (unsigned i = 1; i < d->deps.size (); i++) |