PR tree-optimization/71563
[official-gcc.git] / gcc / ChangeLog
blob864c30b9ccd2c05b004ca1099eb85fff24c3df97
1 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
3         PR tree-optimization/71563
4         * match.pd: Simplify X << Y into X if Y is known to be 0 or
5         out of range value - has low bits known to be zero.
7 2017-01-04  Alan Modra  <amodra@gmail.com>
9         * Makefile.in (aclocal_deps): Update and order as per aclocal.m4.
10         * configure: Regenerate.
11         * config.in: Regenerate.
13 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
15         PR bootstrap/77569
16         * input.c (ebcdic_execution_charset::on_error): Don't use strstr for
17         a substring of the message, but strcmp with the whole message.  Ifdef
18         ENABLE_NLS, translate the message first using dgettext.
20 2017-01-03  Jeff Law  <law@redhat.com>
22         PR tree-optimizatin/78856
23         * tree-ssa-threadupdate.c: Include tree-vectorizer.h.
24         (mark_threaded_blocks): Remove code to truncate thread paths that
25         cross multiple loop headers.  Instead invalidate the cached loop
26         iteration information and handle case of a thread path walking
27         into an irreducible region.
29 2017-01-03  Michael Meissner  <meissner@linux.vnet.ibm.com>
31         PR target/78900
32         * config/rs6000/rs6000.c (rs6000_split_signbit): Change some
33         assertions.  Add support for doing the signbit if the IEEE 128-bit
34         floating point value is in a GPR.
35         * config/rs6000/rs6000.md (Fsignbit): Delete.
36         (signbit<mode>2_dm): Delete using <Fsignbit> and just use "wa".
37         Update the length attribute if the value is in a GPR.
38         (signbit<mode>2_dm_<su>ext): Add combiner pattern to eliminate
39         the sign or zero extension instruction, since the value is always
40         0/1.
41         (signbit<mode>2_dm2): Delete using <Fsignbit>.
43         PR target/78953
44         * config/rs6000/vsx.md (vsx_extract_<mode>_store_p9): If we are
45         extracting SImode to a GPR register so that we can generate a
46         store, limit the vector to be in a traditional Altivec register
47         for the vextuwrx instruction.
49 2017-01-03  Ian Lance Taylor  <iant@google.com>
51         * godump.c (go_format_type): Treat ENUMERAL_TYPE like
52         INTEGER_TYPE.
54 2017-01-03  Martin Sebor  <msebor@redhat.com>
56         PR tree-optimization/78696
57         * gimple-ssa-sprintf.c (format_floating): Correct handling of
58         precision.  Use MPFR for %f for greater fidelity.  Correct handling
59         of %g.
60         (pass_sprintf_length::compute_format_length): Set width and precision
61         specified by asrerisk to void_node for vararg functions.
62         (try_substitute_return_value): Adjust dump output.
64 2017-01-03  David Edelsohn  <dje.gcc@gmail.com>
66         * doc/invoke.texi (RS6000 options): LRA is enabled by default.
68 2017-01-03  Eric Botcazou  <ebotcazou@adacore.com>
70         * doc/invoke.texi (SPARC options): Document -mlra as the default.
71         * config/sparc/sparc.c (sparc_option_override): Force LRA unless
72         -mlra/-mno-lra was passed to the compiler.
74 2017-01-03  James Cowgill  <James.Cowgill@imgtec.com>
76         PR rtl-optimization/65618
77         * emit-rtl.c (try_split): Move initialization of "before" and
78         "after" to just before the call to emit_insn_after_setloc.
80 2017-01-03  Gerald Pfeifer  <gerald@pfeifer.com>
82         * doc/md.texi (Standard Names): Remove reference to Java frontend.
84 2017-01-03  Pierre-Marie de Rodat  <derodat@adacore.com>
86         * dwarf2out.c (gen_enumeration_type_die): When
87         -gno-strict-dwarf, add a DW_AT_encoding attribute.
89 2017-01-03  Jakub Jelinek  <jakub@redhat.com>
91         PR tree-optimization/78965
92         * gimple-ssa-sprintf.c (pass_sprintf_length::compute_format_length):
93         Change first argument from const call_info & to call_info &.  For %n
94         set info.nowrite to false.
96         PR middle-end/78901
97         * gimple-ssa-sprintf.c (try_substitute_return_value): Don't change
98         possibly throwing calls.
100         * genmatch.c (dt_node::gen_kids_1): If generic_exprs include SSA_NAME
101         and exprs_len || fns_len, emit the code for SSA_NAME next to the exprs
102         and fns handling, rather than in a separate case SSA_NAME.
104 2017-01-02  Jeff Law  <law@redhat.com>
106         * config/darwin-driver.c (darwin_driver_init): Const-correctness
107         fixes for first_period and second_period variables.
109 2017-01-02  Uros Bizjak  <ubizjak@gmail.com>
111         PR target/78967
112         * config/i386/i386.md (UNSPEC_NOREX_MEM): New unspec.
113         (*insvqi_1): New insn pattern.
114         (*insvqi_1_mem_rex64): Ditto.
115         (*insvqi_2): Ditto.
116         (*insvqi_3): Rename from *insvqi.
118         (*extzvqi_mem_rex64): Add UNSPEC_NOREX_MEM tag.
120 2017-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
122         * doc/cfg.texi (Edges): Remove reference to Java.
123         (Maintaining the CFG): Ditto.
125 2017-01-01  Jan Hubicka  <hubicka@ucw.cz>
127         PR middle-end/77674
128         * symtab.c (symtab_node::binds_to_current_def_p): Fix handling of
129         transparent aliases.
131 2017-01-01  Jan Hubicka  <hubicka@ucw.cz>
133         PR middle-end/77484
134         * predict.def (PRED_CALL): Update hitrate.
135         (PRED_INDIR_CALL, PRED_POLYMORPHIC_CALL): New predictors.
136         * predict.c (tree_estimate_probability_bb): Split CALL predictor
137         into direct/indirect/polymorphic variants.
139 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
141         Update copyright years.
143         * gcc.c (process_command): Update copyright notice dates.
144         * gcov-dump.c (print_version): Ditto.
145         * gcov.c (print_version): Ditto.
146         * gcov-tool.c (print_version): Ditto.
147         * gengtype.c (create_file): Ditto.
148         * doc/cpp.texi: Bump @copying's copyright year.
149         * doc/cppinternals.texi: Ditto.
150         * doc/gcc.texi: Ditto.
151         * doc/gccint.texi: Ditto.
152         * doc/gcov.texi: Ditto.
153         * doc/install.texi: Ditto.
154         * doc/invoke.texi: Ditto.
156 Copyright (C) 2017 Free Software Foundation, Inc.
158 Copying and distribution of this file, with or without modification,
159 are permitted in any medium without royalty provided the copyright
160 notice and this notice are preserved.