5568ec6c1a46546fba7f8e963a5deaaafdc98fed
[gcc.git] / gcc / ChangeLog
1 2017-01-04 Kelvin Nilsen <kelvin@gcc.gnu.org>
2
3 PR target/78056
4 * doc/sourcebuild.texi (PowerPC-specific attributes): Add
5 documentation of the powerpc_popcntb_ok attribute.
6 * config/rs6000/rs6000.c (rs6000_option_override_internal): Add
7 code to issue warning messages if a requested CPU configuration is
8 not supported by the binary (assembler and loader) toolchain.
9 (spe_init_builtins): Add two assertions to prevent ICE if attempt is
10 made to define a built-in function that has been disabled.
11 (paired_init_builtins): Add assertion to prevent ICE if attempt is
12 made to define a built-in function that has been disabled.
13 (altivec_init_builtins): Add comment explaining why definition
14 of the DST built-in functions is not preceded by an assertion
15 check. Add assertions to prevent ICE if attempts are made to
16 define an altivec predicate or an abs* built-in function that has
17 been disabled.
18 (htm_init_builtins): Add comment explaining why definition of the
19 htm built-in functions is not preceded by an assertion check.
20
21 2017-01-04 Jeff Law <law@redhat.com>
22
23 PR tree-optimizatin/67955
24 * tree-ssa-alias.c (same_addr_size_stores_p): Check offsets first.
25 Allow any SSA_VAR_P as the base objects. Use integer_zerop. Verify
26 the points-to solution does not include pt_null. Use DECL_PT_UID
27 unconditionally.
28
29 2017-01-04 Uros Bizjak <ubizjak@gmail.com>
30
31 * config/i386/i386.md (HI/SImode test with imm to QImode splitters):
32 Use gen_int_mode instead of gen_lopwart for const_int operands.
33
34 2017-01-04 Jakub Jelinek <jakub@redhat.com>
35
36 PR tree-optimization/71563
37 * match.pd: Simplify X << Y into X if Y is known to be 0 or
38 out of range value - has low bits known to be zero.
39
40 2017-01-04 Alan Modra <amodra@gmail.com>
41
42 * Makefile.in (aclocal_deps): Update and order as per aclocal.m4.
43 * configure: Regenerate.
44 * config.in: Regenerate.
45
46 2017-01-04 Jakub Jelinek <jakub@redhat.com>
47
48 PR bootstrap/77569
49 * input.c (ebcdic_execution_charset::on_error): Don't use strstr for
50 a substring of the message, but strcmp with the whole message. Ifdef
51 ENABLE_NLS, translate the message first using dgettext.
52
53 2017-01-03 Jeff Law <law@redhat.com>
54
55 PR tree-optimizatin/78856
56 * tree-ssa-threadupdate.c: Include tree-vectorizer.h.
57 (mark_threaded_blocks): Remove code to truncate thread paths that
58 cross multiple loop headers. Instead invalidate the cached loop
59 iteration information and handle case of a thread path walking
60 into an irreducible region.
61
62 2017-01-03 Michael Meissner <meissner@linux.vnet.ibm.com>
63
64 PR target/78900
65 * config/rs6000/rs6000.c (rs6000_split_signbit): Change some
66 assertions. Add support for doing the signbit if the IEEE 128-bit
67 floating point value is in a GPR.
68 * config/rs6000/rs6000.md (Fsignbit): Delete.
69 (signbit<mode>2_dm): Delete using <Fsignbit> and just use "wa".
70 Update the length attribute if the value is in a GPR.
71 (signbit<mode>2_dm_<su>ext): Add combiner pattern to eliminate
72 the sign or zero extension instruction, since the value is always
73 0/1.
74 (signbit<mode>2_dm2): Delete using <Fsignbit>.
75
76 PR target/78953
77 * config/rs6000/vsx.md (vsx_extract_<mode>_store_p9): If we are
78 extracting SImode to a GPR register so that we can generate a
79 store, limit the vector to be in a traditional Altivec register
80 for the vextuwrx instruction.
81
82 2017-01-03 Ian Lance Taylor <iant@google.com>
83
84 * godump.c (go_format_type): Treat ENUMERAL_TYPE like
85 INTEGER_TYPE.
86
87 2017-01-03 Martin Sebor <msebor@redhat.com>
88
89 PR tree-optimization/78696
90 * gimple-ssa-sprintf.c (format_floating): Correct handling of
91 precision. Use MPFR for %f for greater fidelity. Correct handling
92 of %g.
93 (pass_sprintf_length::compute_format_length): Set width and precision
94 specified by asrerisk to void_node for vararg functions.
95 (try_substitute_return_value): Adjust dump output.
96
97 2017-01-03 David Edelsohn <dje.gcc@gmail.com>
98
99 * doc/invoke.texi (RS6000 options): LRA is enabled by default.
100
101 2017-01-03 Eric Botcazou <ebotcazou@adacore.com>
102
103 * doc/invoke.texi (SPARC options): Document -mlra as the default.
104 * config/sparc/sparc.c (sparc_option_override): Force LRA unless
105 -mlra/-mno-lra was passed to the compiler.
106
107 2017-01-03 James Cowgill <James.Cowgill@imgtec.com>
108
109 PR rtl-optimization/65618
110 * emit-rtl.c (try_split): Move initialization of "before" and
111 "after" to just before the call to emit_insn_after_setloc.
112
113 2017-01-03 Gerald Pfeifer <gerald@pfeifer.com>
114
115 * doc/md.texi (Standard Names): Remove reference to Java frontend.
116
117 2017-01-03 Pierre-Marie de Rodat <derodat@adacore.com>
118
119 * dwarf2out.c (gen_enumeration_type_die): When
120 -gno-strict-dwarf, add a DW_AT_encoding attribute.
121
122 2017-01-03 Jakub Jelinek <jakub@redhat.com>
123
124 PR tree-optimization/78965
125 * gimple-ssa-sprintf.c (pass_sprintf_length::compute_format_length):
126 Change first argument from const call_info & to call_info &. For %n
127 set info.nowrite to false.
128
129 PR middle-end/78901
130 * gimple-ssa-sprintf.c (try_substitute_return_value): Don't change
131 possibly throwing calls.
132
133 * genmatch.c (dt_node::gen_kids_1): If generic_exprs include SSA_NAME
134 and exprs_len || fns_len, emit the code for SSA_NAME next to the exprs
135 and fns handling, rather than in a separate case SSA_NAME.
136
137 2017-01-02 Jeff Law <law@redhat.com>
138
139 * config/darwin-driver.c (darwin_driver_init): Const-correctness
140 fixes for first_period and second_period variables.
141
142 2017-01-02 Uros Bizjak <ubizjak@gmail.com>
143
144 PR target/78967
145 * config/i386/i386.md (UNSPEC_NOREX_MEM): New unspec.
146 (*insvqi_1): New insn pattern.
147 (*insvqi_1_mem_rex64): Ditto.
148 (*insvqi_2): Ditto.
149 (*insvqi_3): Rename from *insvqi.
150
151 (*extzvqi_mem_rex64): Add UNSPEC_NOREX_MEM tag.
152
153 2017-01-02 Gerald Pfeifer <gerald@pfeifer.com>
154
155 * doc/cfg.texi (Edges): Remove reference to Java.
156 (Maintaining the CFG): Ditto.
157
158 2017-01-01 Jan Hubicka <hubicka@ucw.cz>
159
160 PR middle-end/77674
161 * symtab.c (symtab_node::binds_to_current_def_p): Fix handling of
162 transparent aliases.
163
164 2017-01-01 Jan Hubicka <hubicka@ucw.cz>
165
166 PR middle-end/77484
167 * predict.def (PRED_CALL): Update hitrate.
168 (PRED_INDIR_CALL, PRED_POLYMORPHIC_CALL): New predictors.
169 * predict.c (tree_estimate_probability_bb): Split CALL predictor
170 into direct/indirect/polymorphic variants.
171
172 2017-01-01 Jakub Jelinek <jakub@redhat.com>
173
174 Update copyright years.
175
176 * gcc.c (process_command): Update copyright notice dates.
177 * gcov-dump.c (print_version): Ditto.
178 * gcov.c (print_version): Ditto.
179 * gcov-tool.c (print_version): Ditto.
180 * gengtype.c (create_file): Ditto.
181 * doc/cpp.texi: Bump @copying's copyright year.
182 * doc/cppinternals.texi: Ditto.
183 * doc/gcc.texi: Ditto.
184 * doc/gccint.texi: Ditto.
185 * doc/gcov.texi: Ditto.
186 * doc/install.texi: Ditto.
187 * doc/invoke.texi: Ditto.
188 \f
189 Copyright (C) 2017 Free Software Foundation, Inc.
190
191 Copying and distribution of this file, with or without modification,
192 are permitted in any medium without royalty provided the copyright
193 notice and this notice are preserved.