]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/ChangeLog
PR tree-optimization/89998
[thirdparty/gcc.git] / gcc / ChangeLog
1 2019-04-09 Jakub Jelinek <jakub@redhat.com>
2
3 PR tree-optimization/89998
4 * gimple-ssa-sprintf.c (try_substitute_return_value): Use lhs type
5 instead of integer_type_node if possible, don't add ranges if return
6 type is not compatible with int.
7 * gimple-fold.c (gimple_fold_builtin_sprintf,
8 gimple_fold_builtin_snprintf): Use lhs type instead of hardcoded
9 integer_type_node.
10
11 2019-04-09 Martin Liska <mliska@suse.cz>
12
13 * Makefile.in: Use GENERATOR_CFLAGS for all generators.
14 * doc/install.texi: Document the new config.
15
16 2019-04-09 Richard Sandiford <richard.sandiford@arm.com>
17
18 * tree-vect-data-refs.c (vect_get_smallest_scalar_type): Always
19 use gimple_expr_type for load and store calls. Skip over the
20 condition argument in a conditional internal function.
21 Protect use of TREE_INT_CST_LOW.
22
23 2019-04-09 Jakub Jelinek <jakub@redhat.com>
24
25 PR target/90015
26 * config/riscv/riscv.c (riscv_get_interrupt_type): Fix comment typo.
27 (riscv_merge_decl_attributes): Fix typo in diagnostics. Remove
28 trailing period from it too.
29
30 2019-04-08 wu yuan <wuyuan5@huawei.com>
31
32 * config/aarch64/aarch64-cores.def (tsv1100): Change scheduling model.
33 * config/aarch64/aarch64.md : Add "tsv110.md"
34 * config/aarch64/tsv110.md: New file.
35
36 2019-04-08 Richard Biener <rguenther@suse.de>
37
38 PR tree-optimization/90006
39 * tree-vect-data-refs.c (vect_get_smallest_scalar_type): Handle
40 calls like lrint.
41
42 2019-04-08 Andrea Corallo <andrea.corallo@arm.com>
43
44 PR target/83033
45 * config/aarch64/cortex-a57-fma-steering.c (fma_forest): Prohibit copy
46 construction.
47 (fma_root_node): Likewise.
48 (func_fma_steering): Likewise.
49
50 2019-04-08 Jakub Jelinek <jakub@redhat.com>
51
52 PR rtl-optimization/89865
53 * config/i386/i386.md: Add peepholes for z = x; x ^= y; x != z.
54
55 PR rtl-optimization/89865
56 * config/i386/i386.md
57 (SWI12 peephole for mem {+,-,&,|,^}= x; mem != 0): Fix up operand
58 numbers not to clash with the additional operands[4].
59 (peepholes for mem {+,-,&,|,^}= x; mem != 0): New peephole2s
60 with extra register copy in the middle.
61
62 2019-04-08 Martin Liska <mliska@suse.cz>
63
64 PR gcov-profile/89961
65 * doc/gcov.texi: Document data_file.
66 * gcov.c (generate_results): Add data_info into JSON output.
67
68 2019-04-01 Bin Cheng <bin.cheng@linux.alibaba.com>
69
70 PR tree-optimization/89725
71 * tree-chrec.c (chrec_contains_symbols): New parameter. Handle outer
72 loop's chrec as invariant symbol.
73 * tree-chrec.h (chrec_contains_symbols): New parameter.
74 * tree-data-ref.c (analyze_miv_subscript): Pass new argument.
75 (build_classic_dist_vector_1, add_other_self_distances): Bypass access
76 function of loops not in DDR's loop_nest.
77 * tree-data-ref.h (index_in_loop_nest): Add unreachable check.
78
79 2019-04-08 Chenghua Xu <paul.hua.gm@gmail.com>
80
81 PR target/89623
82 * config/mips/mips.opt (LOONGSON_EXT2): Use Var instead of
83 Mask.
84
85 2019-04-07 Uroš Bizjak <ubizjak@gmail.com>
86
87 PR target/89945
88 * config/i386/i386.md (anddi_1 to andsi_1_zext splitter):
89 Avoid calling gen_lowpart with SYMBOL_REF and LABEL_REF operand.
90
91 2019-04-05 Joern Rennecke <joern.rennecke@embecosm.com>
92
93 * sched-deps.c (sched_macro_fuse_insns): Check return value of
94 targetm.fixed_condition_code_regs.
95
96 2019-04-05 Richard Biener <rguenther@suse.de>
97
98 PR debug/89892
99 PR debug/89905
100 * tree-cfgcleanup.c (remove_forwarder_block): Always move
101 debug bind stmts but reset them if they are not valid at the
102 destination.
103
104 2019-04-05 Martin Liska <mliska@suse.cz>
105
106 PR translation/89936
107 * collect-utils.c (collect_execute): Use %< and %>, or %qs in
108 order to wrap keywords or arguments.
109 * collect2.c (main): Likewise.
110 (scan_prog_file): Likewise.
111 (scan_libraries): Likewise.
112 * common/config/riscv/riscv-common.c
113 (riscv_subset_list::parsing_subset_version): Likewise.
114 (riscv_subset_list::parse_std_ext): Likewise.
115 * config/aarch64/aarch64.c (aarch64_override_options_internal):
116 Likewise.
117 * config/arm/arm.c (arm_option_override): Likewise.
118 * config/cris/cris.c (cris_print_operand): Likewise.
119 * config/darwin-c.c (darwin_pragma_options): Likewise.
120 (darwin_pragma_unused): Likewise.
121 (darwin_pragma_ms_struct): Likewise.
122 * config/ft32/ft32.c (ft32_print_operand): Likewise.
123 * config/i386/i386.c (print_reg): Likewise.
124 (ix86_print_operand): Likewise.
125 * config/i386/xm-djgpp.h: Likewise.
126 * config/iq2000/iq2000.c (iq2000_print_operand): Likewise.
127 * config/m32c/m32c.c (m32c_option_override): Likewise.
128 * config/msp430/msp430.c (msp430_option_override): Likewise.
129 * config/nds32/nds32.c (nds32_option_override): Likewise.
130 * config/nvptx/mkoffload.c (main): Likewise.
131 * config/rx/rx.c (rx_print_operand): Likewise.
132 (valid_psw_flag): Likewise.
133 * config/vms/vms-c.c (vms_pragma_member_alignment): Likewise.
134 (vms_pragma_nomember_alignment): Likewise.
135 (vms_pragma_extern_model): Likewise.
136 * lto-wrapper.c (compile_offload_image): Likewise.
137 * omp-offload.c (oacc_parse_default_dims): Likewise.
138 * symtab.c (symtab_node::verify_base): Likewise.
139 * tlink.c (recompile_files): Likewise.
140 (start_tweaking): Likewise.
141 * tree-profile.c (parse_profile_filter): Likewise.
142
143 2019-04-05 Richard Sandiford <richard.sandiford@arm.com>
144
145 PR tree-optimization/89956
146 * tree-ssa-math-opts.c (convert_mult_to_fma): Protect against
147 multiple negates of the same value.
148
149 2019-04-04 Martin Sebor <msebor@redhat.com>
150
151 PR middle-end/89957
152 PR middle-end/89911
153 * builtins.c (expand_builtin_strnlen): Make sure wi::ltu_p operands
154 have the same precision since the function crashes otherwise.
155 * calls.c (maybe_warn_nonstring_arg): Avoid assuming strnlen() call
156 has non-zero arguments.
157
158 2019-04-04 Martin Sebor <msebor@redhat.com>
159
160 PR middle-end/89934
161 * gimple-ssa-warn-restrict.c (builtin_access::builtin_access): Bail
162 out if the number of arguments is less than expected.
163
164 2019-04-04 Jeff Law <law@redhat.com>
165
166 PR rtl-optimization/89399
167 * ree.c (combine_set_extension): Use single_set rather than
168 digging into PATTERN for items on the candidate list.
169 (combine_reaching_defs): Likewise.
170
171 2019-04-04 Richard Sandiford <richard.sandiford@arm.com>
172
173 PR rtl-optimization/46590
174 * loop-invariant.c (find_defs): Move df_remove_problem and
175 df_process_deferred_rescans to move_invariants.
176 Move df_live_add_problem and df_live_set_all_dirty calls
177 to move_invariants.
178 (move_invariants): Likewise.
179 (move_loop_invariants): Likewise, making the df_live calls
180 conditional on -O. Remove the problem again if we added it
181 locally.
182
183 2019-04-03 qing zhao <qing.zhao@oracle.com>
184
185 PR tree-optimization/89730
186 * ipa-inline.c (can_inline_edge_p): Delete the checking for
187 -flive-patching=inline-only-static.
188 (can_inline_edge_by_limits_p): Add the checking for
189 -flive-patching=inline-only-static and grant always_inline
190 even when -flive-patching=inline-only-static is specified.
191
192 2019-04-03 Jeff Law <law@redhat.com>
193
194 PR rtl-optimization/81025
195 * reorg.c (skip_consecutive_labels): Do not skip past a BARRIER.
196
197 2019-04-03 Richard Biener <rguenther@suse.de>
198
199 PR tree-optimization/84101
200 * tree-vect-stmts.c: Include explow.h for hard_function_value,
201 regs.h for hard_regno_nregs.
202 (cfun_returns): New helper.
203 (vect_model_store_cost): When vectorizing a store to a decl
204 we return and the function ABI returns in a multi-reg location
205 account for the possible spilling that will happen.
206
207 2019-04-03 Andreas Krebbel <krebbel@linux.ibm.com>
208
209 * config/s390/s390.c (s390_legitimate_address_p): Reject long
210 displacement addresses for vector mode operands.
211
212 2019-04-03 Claudiu Zissulescu <claziss@synopsys.com>
213
214 * config/arc/arc.c (GMASK_LEN): Define.
215 (arc_restore_callee_saves): Restore first blink when
216 !optimize_size.
217
218 2019-04-03 Sudakshina Das <sudi.das@arm.com>
219
220 * doc/extend.texi: Add deprecated comment on sign-return-address
221 function attribute and add mbranch-protection.
222 * doc/invoke.texi: Add bti to the options for mbranch-protection.
223
224 2019-04-03 Richard Biener <rguenther@suse.de>
225
226 PR lto/89896
227 * lto-wrapper.c (run_gcc): Avoid implicit rules making
228 the all target phony.
229
230 2019-04-02 Uroš Bizjak <ubizjak@gmail.com>
231
232 PR target/89902
233 PR target/89903
234 * config/i386/i386.c (dimode_scalar_to_vector_candidate_p):
235 Return false for variable DImode shifts.
236 (dimode_scalar_chain::compute_convert_gain): Do not handle
237 register count operand in variable DImode shifts.
238 (dimode_scalar_chain::make_vector_copies): Remove support to copy
239 count argument of a variable shift instruction to a vector register.
240 (dimode_scalar_chain::convert_reg): Remove support to convert
241 count argument of a variable shift instruction.
242
243 2019-04-02 Andrey Belevantsev <abel@ispras.ru>
244
245 PR rtl-optimization/84206
246 * sel-sched-ir.h (get_all_loop_exits): Avoid the outer loop when
247 iterating over loop headers.
248
249 2019-04-02 Andrey Belevantsev <abel@ispras.ru>
250
251 PR rtl-optimization/85876
252 * sel-sched.c (code_motion_path_driver): Avoid unwinding first_insn
253 beyond the original fence.
254
255 2019-04-02 Ulrich Weigand <uweigand@de.ibm.com>
256
257 * config.gcc: Mark spu* targets as deprecated/obsolete.
258
259 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
260
261 * config/s390/s390-builtin-types.def: New builtin function type
262 definitions. Remove unused types.
263 * config/s390/s390-builtins.def (s390_vcdgb, s390_vcdlgb)
264 (s390_vcgdb, s390_vclgdb): Remove low-level builtin definitions.
265 (s390_vec_float, s390_vec_signed, s390_vec_unsigned): New
266 overloaded builtins.
267 (s390_vcefb, s390_vcdgb, s390_vcelfb, s390_vcdlgb, s390_vcfeb)
268 (s390_vcgdb, s390_vclfeb, s390_vclgdb): New low-level builtins.
269 * config/s390/vecintrin.h (vec_float): New builtin macro definition.
270 (vec_double, vec_signed, vec_unsigned): Define to use the new
271 overloaded builtins.
272 * config/s390/vx-builtins.md ("vec_double_s64", "vec_double_u64"):
273 Remove expanders.
274
275 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
276
277 * config/s390/s390-builtin-types.def: New builtin function type
278 definitions.
279 * config/s390/s390-builtins.def (s390_vec_search_string_cc)
280 (s390_vec_search_string_until_zero_cc): New overloaded builtins.
281 (s390_vstrsb, s390_vstrsh, s390_vstrsf, s390_vstrszb)
282 (s390_vstrszh, s390_vstrszf): New low-level builtins.
283 * config/s390/s390.md (UNSPEC_VEC_VSTRS, UNSPEC_VEC_VSTRSCC): New
284 constant definitions.
285 * config/s390/vecintrin.h (vec_search_string_cc)
286 (vec_search_string_until_zero_cc): New builtin name definitions.
287 * config/s390/vx-builtins.md ("vstrs<mode>", "vstrsz<mode>"): New
288 expanders.
289 ("vec_vstrs<mode>"): New insn definition.
290
291 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
292
293 * config/s390/s390-builtin-types.def: Add new builtin function
294 types.
295 * config/s390/s390-builtins.def (s390_vec_sldb, s390_vec_srdb):
296 New overloaded builtins.
297 (s390_vec_sldb, s390_vec_srdb): New low-level builtins. and
298 s390_vsrd.
299 * config/s390/s390.md (UNSPEC_VEC_SLDB): Rename to ...
300 (UNSPEC_VEC_SLDBYTE): ... this.
301 (UNSPEC_VEC_SLDBIT, UNSPEC_VEC_SRDBIT): New constant definitions.
302 * config/s390/vecintrin.h (vec_sldb, vec_srdb): New builtin name
303 definitions.
304 * config/s390/vx-builtins.md ("vec_sld<mode>", "vec_sldw<mode>"):
305 Rename UNSPEC_VEC_SLDB to UNSPEC_VEC_SLDBYTE.
306 ("vec_sldb<mode>", "vec_srdb<mode>"): New insn definitions.
307
308 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
309
310 ("*vec_splats_bswap_vec<mode>", "*vec_splats_bswap_elem<mode>"):
311 New insn definition.
312 * config/s390/vx-builtins.md (V_HW_HSD): Move to ...
313 * config/s390/vector.md (V_HW_HSD): ... here.
314
315 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
316
317 * config/s390/vecintrin.h: Map vec_vster low-level builtins to vec_vler.
318 * config/s390/vx-builtins.md ("*vec_insert_and_zero_bswap<mode>")
319 ("*vec_set_bswap_elem<mode>", "*vec_set_bswap_vec<mode>")
320 ("*vec_extract_bswap_vec<mode>", "*vec_extract_bswap_elem<mode>"):
321 New insn definitions.
322
323 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
324
325 * config/s390/s390-builtin-types.def: Add new builtin function type.
326 * config/s390/s390-builtins.def: Add overloaded builtin
327 s390_vec_reve and low-level builtins for s390_vler and s390_vster.
328 * config/s390/s390.md (UNSPEC_VEC_ELTSWAP): New constant definition.
329 * config/s390/vecintrin.h (vec_reve): New builtin name definition.
330 * config/s390/vx-builtins.md (V_HW_HSD): New mode iterator.
331 ("eltswap<mode>"): New expander.
332 ("*eltswapv16qi", "*eltswap<mode>", "*eltswap<mode>_emu"): New
333 insn definitions.
334
335 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
336
337 * config/s390/s390-builtin-types.def: Add new builtin function types.
338 * config/s390/s390-builtins.def: Add overloaded builtin
339 s390_vec_revb. Add low-level builtins for vlbr and vstbr
340 instructions.
341 * config/s390/vecintrin.h (vec_revb): New builtin name definition.
342 * config/s390/vector.md (VT_HW_HSDT): New mode iterator.
343 ("bswap<mode>"): New expander.
344 ("*bswap<mode>", "*bswap<mode>_emu"): New insn definitions.
345
346 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
347
348 * config/s390/s390-builtins.def (B_VXE2): New builtin flag definition.
349 * config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Increment
350 vector builtin version number in __VEC__.
351
352 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
353
354 * config/s390/s390.md (VX_CONV_BFP, VX_CONV_INT): New mode
355 iterators.
356 (SFSI): New mode attribute.
357 ("*fixuns_truncdfdi2_vx", "*fix_truncdfdi2_bfp_z13")
358 ("*floatunsdidf2_z13", ): Add support for 32 bit conversions and
359 rename to ...
360 ("*fixuns_trunc<VX_CONV_BFP:mode><VX_CONV_INT:mode>2_z13")
361 ("*fix_trunc<VX_CONV_BFP:mode><VX_CONV_INT:mode>2_bfp_z13")
362 ("*floatuns<VX_CONV_INT:mode><VX_CONV_BFP:mode>2_z13"): ... these.
363 ("floatsi<mode>2"): Add wcefb instruction.
364
365 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
366
367 * config/s390/s390.md ("xde"): Extend mode attribute to vector types.
368 * config/s390/vector.md (VX_VEC_CONV_BFP, VX_VEC_CONV_INT): New
369 mode iterators.
370 ("floatv2div2df2", "floatunsv2div2df2", "fix_truncv2dfv2di2")
371 ("fixuns_truncv2dfv2di2"): Enhance with mode iterator to also
372 support 32 bit fp-int conversions. Rename to ...
373 ("float<VX_VEC_CONV_INT:mode><VX_VEC_CONV_BFP:mode>2")
374 ("floatuns<VX_VEC_CONV_INT:mode><VX_VEC_CONV_BFP:mode>2")
375 ("fix_trunc<VX_VEC_CONV_BFP:mode><VX_VEC_CONV_INT:mode>2")
376 ("fixuns_trunc<VX_VEC_CONV_BFP:mode><VX_VEC_CONV_INT:mode>2"):
377 ... to these.
378
379 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
380
381 * config/s390/s390.c (s390_rtx_costs): Do not add extra costs for
382 if-then-else constructs if we can use the select instruction.
383 * config/s390/s390.md ("*mov<mode>cc"): Add the new instructions.
384
385 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
386
387 * config/s390/s390.md ("*popcountdi_arch13_cc")
388 ("*popcountdi_arch13_cconly", "*popcountdi_arch13"): New insn
389 definition.
390 ("*popcount<mode>", "popcountdi2", "popcountsi2", "popcounthi2"):
391 Append _z196 to make it ...
392 ("*popcount<mode>_z196", "popcountdi2_z196", "popcountsi2_z196")
393 ("popcounthi2_z196"): ... this.
394 ("popcountdi2_z196"): Remove TARGET_64BIT from the insn condition.
395 ("popcountdi2", "popcountsi2", "popcounthi2"): New expanders.
396
397 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
398
399 * config/s390/s390.c (s390_canonicalize_comparison): Convert
400 certain compares for arch13 in order to make use of the condition
401 code result produced by the new instructions.
402 (s390_rtx_costs): Adjust the costs for nnrk, nngrk, nork, nogrk,
403 nxrk, and nxgrk instruction patterns.
404 * config/s390/s390.md (ANDOR, bitops_name, inv_bitops_name)
405 (inv_no): Add new code iterator together with some attributes.
406 ("*andc_split_<mode>"): Disable splitter for arch13.
407 ("*<ANDOR:bitops_name>c<GPR:mode>_cc")
408 ("*<ANDOR:bitops_name>c<GPR:mode>_cconly")
409 ("*<ANDOR:bitops_name>c<GPR:mode>")
410 ("*n<ANDOR:inv_bitops_name><GPR:mode>_cc")
411 ("*n<ANDOR:inv_bitops_name><mode>_cconly")
412 ("*n<ANDOR:inv_bitops_name><mode>", "*nxor<GPR:mode>_cc")
413 ("*nxor<mode>_cconly", "*nxor<mode>"): New insn definitions.
414
415 2019-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
416
417 * common/config/s390/s390-common.c (processor_flags_table): New
418 entry for arch13.
419 * config.gcc: Support arch13 with the --with-arch= configure flag.
420 * config/s390/driver-native.c (s390_host_detect_local_cpu):
421 * config/s390/s390-opts.h (enum processor_type): Add PROCESSOR_ARCH13.
422 * config/s390/s390.c (s390_get_sched_attrmask)
423 (s390_get_unit_mask): Add PROCESSOR_ARCH13.
424 * config/s390/s390.h (enum processor_flags): Add PF_VXE2 and PF_ARCH13.
425 * config/s390/s390.md (TARGET_CPU_ARCH13, TARGET_CPU_ARCH13_P)
426 (TARGET_CPU_VXE2, TARGET_CPU_VXE2_P, TARGET_ARCH13)
427 (TARGET_ARCH13_P, TARGET_VXE2, TARGET_VXE2_P): New macro
428 definitions.
429 * config/s390/s390.opt: Support arch13 as processor type in
430 command line options.
431
432 2019-04-02 Martin Liska <mliska@suse.cz>
433
434 PR translation/89912
435 * params.def (PARAM_GRAPHITE_MAX_ARRAYS_PER_SCOP):
436 Fix param description of graphite-max-arrays-per-scop.
437
438 2019-04-02 Eric Botcazou <ebotcazou@adacore.com>
439
440 * config/sparc/linux64.h (ASAN_REJECT_SPEC): New macro.
441 (ASAN_CC1_SPEC): Use it in 64-bit mode.
442 * config/sparc/sol2.h (ASAN_REJECT_SPEC): Remove superfluous colon.
443
444 2019-04-01 Andrey Belevantsev <abel@ispras.ru>
445
446 PR rtl-optimization/85412
447 * sel-sched.c (sel_sched_region): Assign reset_sched_cycles_p before
448 sel_sched_region_1, not after.
449
450 2019-04-01 Andrey Belevantsev <abel@ispras.ru>
451
452 PR rtl-optimization/86928
453 * sel-sched-ir.c (sel_redirect_edge_and_branch_force): Invoke
454 compute_live if necessary.
455 (sel_redirect_edge_and_branch): Likewise.
456
457 2019-04-01 Vladimir Makarov <vmakarov@redhat.com>
458
459 PR rtl-optimization/89865
460 * ira-costs.c (process_bb_node_for_hard_reg_moves): Skip hard
461 register if it is a part of small class.
462
463 2019-04-01 Andrey Belevantsev <abel@ispras.ru>
464
465 PR rtl-optimization/87273
466 * sel-sched-ir.c (merge_fences): Remove assert.
467
468 2019-04-01 Richard Biener <rguenther@suse.de>
469
470 PR tree-optimization/46590
471 * domwalk.h (dom_walker::dom_walker): Consolidate constructors.
472 (dom_walker::m_reachability): Add in place of...
473 (dom_walker::m_skip_unreachable_blocks): ...this.
474 * domwalk.c (dom_walker::dom_walker): Consoliate constructors.
475 Move complex initialization ...
476 (dom_walker::walk): Here. Especially compute m_bb_to_rpo
477 lazily and initialize edge flags on each invocation.
478 (dom_walker::bb_reachable): Use m_reachability.
479
480 2019-04-01 Martin Liska <mliska@suse.cz>
481
482 PR driver/89861
483 * opt-suggestions.c (option_proposer::build_option_suggestions):
484 Add variant without any argument in order to provide better
485 hints.
486
487 2019-04-01 Richard Biener <rguenther@suse.de>
488
489 PR c/71598
490 * gimple.c: Include langhooks.h.
491 (gimple_get_alias_set): Treat enumeral types as the underlying
492 integer type.
493
494 2019-03-29 Kugan Vivekanandarajah <kuganv@linaro.org>
495 Eric Botcazou <ebotcazou@adacore.com>
496
497 PR rtl-optimization/89862
498 * rtl.h (word_register_operation_p): Exclude CONST_INT from operations
499 that operates on the full registers for WORD_REGISTER_OPERATIONS
500 architectures.
501
502 2019-03-29 Jim Wilson <jimw@sifive.com>
503
504 * common/config/riscv/riscv-common.c (riscv_parse_arch_string):
505 Clear MASK_RVC and then set if C subset supported.
506
507 2019-03-29 Jakub Jelinek <jakub@redhat.com>
508
509 PR c/89872
510 * gimplify.c (gimplify_compound_literal_expr): Don't optimize a
511 non-addressable complit into its initializer if it is volatile.
512
513 2019-03-29 Roman Zhuykov <zhroma@ispras.ru>
514
515 * opts-common.c (integral_argument): Set errno properly in one case.
516
517 2019-03-29 Martin Liska <mliska@suse.cz>
518
519 * doc/invoke.texi: Remove -Wchkp from documentation.
520
521 2019-03-29 Martin Liska <mliska@suse.cz>
522
523 * dbgcnt.c (print_limit_reach): New function.
524 (dbg_cnt): Use it.
525
526 2019-03-29 Martin Liska <mliska@suse.cz>
527
528 * dbgcnt.c (dbg_cnt_process_single_pair): Fix GNU coding style.
529 (dbg_cnt_process_opt): Parse first tokens aas
530 dbg_cnt_process_single_pair is also using strtok.
531
532 2019-03-29 Jakub Jelinek <jakub@redhat.com>
533
534 PR rtl-optimization/87485
535 * function.c (expand_function_end): Move stack_protect_epilogue
536 before loading of return value into hard register(s).
537
538 2019-03-28 Jakub Jelinek <jakub@redhat.com>
539
540 PR middle-end/89621
541 * tree-inline.h (struct copy_body_data): Add
542 dont_remap_vla_if_no_change flag.
543 * tree-inline.c (remap_type_3, remap_type_2): New functions.
544 (remap_type): Don't remap vla types if id->dont_remap_vla_if_no_change
545 and remap_type_2 returns false.
546 * omp-low.c (new_omp_context): Set ctx->cb.dont_remap_vla_if_no_change.
547 Move ctx->cb.adjust_array_error_bounds setting to the outermost ctx
548 only from where it is copied to nested contexts.
549
550 2019-03-28 Uroš Bizjak <ubizjak@gmail.com>
551
552 PR target/89865
553 * config/i386/i386.md (RMW operation with LEA peephole):
554 Use LEAMODE mode attribute instead of SWI mode iterator for
555 LEA pattern.
556
557 2019-03-28 Uroš Bizjak <ubizjak@gmail.com>
558
559 PR target/89848
560 * config/i386/i386.c (dimode_scalar_chain::make_vector_copies):
561 Also process XEXP (src, 0) of a shift insn.
562
563 2019-03-28 David Malcolm <dmalcolm@redhat.com>
564
565 PR middle-end/89725
566 * optinfo-emit-json.cc (optrecord_json_writer::optinfo_to_json):
567 Use DECL_ASSEMBLER_NAME rather than get_fnname_from_decl.
568
569 2019-03-28 Jakub Jelinek <jakub@redhat.com>
570
571 * regcprop.c (copyprop_hardreg_forward_1): Remove redundant INSN_P
572 test.
573 (cprop_hardreg_bb, cprop_hardreg_debug): New functions.
574 (pass_cprop_hardreg::execute): Use those. Don't repeat bb processing
575 immediately after first one with df_analyze in between, but rather
576 process all bbs, queueing ones that need second pass in a worklist,
577 df_analyze, process queued debug insn changes and if second pass is
578 needed, process bbs from worklist, df_analyze, process queued debug
579 insns again.
580
581 * rtl.h (NONDEBUG_INSN_P): Define as NONJUMP_INSN_P or JUMP_P
582 or CALL_P instead of INSN_P && !DEBUG_INSN_P.
583 (INSN_P): Define using NONDEBUG_INSN_P or DEBUG_INSN_P.
584
585 2019-03-28 Jonathan Wakely <jwakely@redhat.com>
586
587 PR c/79022
588 * gengtype.h (create_nested_ptr_option): Fix parameter names to match
589 definition.
590
591 2019-03-27 Mateusz B <mateuszb@poczta.onet.pl>
592
593 PR target/85667
594 * config/i386/i386.c (ix86_function_value_1): Call the newly added
595 function for 32-bit MS_ABI.
596 (function_value_ms_32): New function.
597
598 2019-03-27 Andrew Stubbs <ams@codesourcery.com>
599
600 * config/gcn/gcn.md (CC_SAVE_REG): New constant.
601 (movdi): Call gen_movdi_symbol_save_scc.
602 (gen_movdi_symbol_save_scc): New insn and split.
603
604 2019-03-27 Peter Bergner <bergner@linux.ibm.com>
605
606 PR rtl-optimization/89313
607 * function.c (matching_constraint_num): New static function.
608 (match_asm_constraints_1): Use it. Fixup white space and comment.
609 Don't replace inputs with non-matching constraints which conflict
610 with early clobber outputs.
611
612 2019-03-27 Jeff Law <law@redhat.com>
613
614
615 PR rtl-optimization/87761
616 PR rtl-optimization/89826
617 * regcprop.c (copyprop_hardreg_forward_1): Move may_trap_p test
618 slightly later.
619 (pass_cprop_hardreg::execute): Call df_analyze after adding the
620 note problem to get REG_DEAD/REG_UNUSED notes updated.
621
622 2019-03-27 Richard Biener <rguenther@suse.de>
623
624 PR tree-optimization/89463
625 * tree-ssa-dce.c (remove_dead_stmt): Take output vector to
626 queue edges to remove.
627 (eliminate_unnecessary_stmts): Remove dead PHIs alongside
628 dead stmts. Delay edge removal until PHIs are removed to
629 make debug-stmt creation not confused by seemingly degenerate
630 PHIs.
631
632 2019-03-27 Alan Modra <amodra@gmail.com>
633
634 * config/rs6000/rs6000.h: Rename NON_SPECIAL_REGS to GEN_OR_FLOAT_REGS
635 throughout file.
636 * config/rs6000/darwin.h: Likewise.
637 * config/rs6000/rs6000.c: Likewise.
638
639 2019-03-27 Alan Modra <amodra@gmail.com>
640
641 * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Always
642 assign rs6000_hard_regno_mode_ok_p[m][r]. Formatting.
643
644 2019-03-26 Andrew Waterman <andrew@sifive.com>
645 Jim Wilson <jimw@sifive.com>
646
647 * config/riscv/generic.md (generic_alu, generic_load, generic_store)
648 (generic_xfer, generic_branch, generic_imul, generic_idivsi)
649 (generic_idivdi, generic_fmul_single, generic_fmul_double)
650 (generic_fdiv, generic_fsqrt): Add check for generic tune.
651 (generic_alu): Add auipc to type list.
652 * config/riscv/riscv-opts.h (enum riscv_microarchitecture_type): New.
653 (riscv_microarchitecture): Declare.
654 * config/riscv/riscv-protos.h (riscv_store_data_bypass_p): Declare.
655 * config/riscv/riscv.c (struct riscv_cpu_info): Add microarchitecture
656 field.
657 (riscv_microarchitecture): New.
658 (sifive_7_tune_info): New.
659 (riscv_cpu_info_table): Add microarchitecture value for rocket and
660 size. Add sifive-3-series, sifive-5-series, and sifive-7-series
661 entries.
662 (riscv_store_data_bypass_p): New.
663 (riscv_option_override): Set riscv_microarchitecture from
664 cpu->microarchitecture.
665 * config/riscv/riscv.md: Include sifive-7.md.
666 (type): Add auipc.
667 (tune): New.
668 (auipc<mode>): Change type to auipc.
669 (restore_stack_nonlocal): New.
670 * config/riscv/sifive-7.md: New.
671 * doc/invoke.texi (RISC-V Options): Update mtune docs.
672
673 2019-03-26 Uroš Bizjak <ubizjak@gmail.com>
674
675 PR target/89827
676 * config/i386/i386.c (dimode_scalar_chain::convert_reg):
677 Also process XEXP (src, 0) of a shift insn.
678
679 2019-03-26 Richard Biener <rguenther@suse.de>
680
681 * tree-inline.c (remap_gimple_stmt): Cache gimple_block.
682 (copy_debug_stmt): Likewise.
683 (expand_call_inline): Likewise.
684 (copy_bb): Avoid redundant lookup & set of gimple_block.
685 * gimple-low.c (lower_gimple_return): Likewise.
686 (lower_builtin_setjmp): Likewise.
687
688 2019-03-26 Jakub Jelinek <jakub@redhat.com>
689
690 * hash-table.h (hash_table::m_gather_mem_stats): If GATHER_STATISTICS
691 is constant 0, turn into static const data member initialized to false.
692 (hash_table::hash_table): Only initialize m_gather_mem_stats #if
693 GATHER_STATISTICS. Add ATTRIBUTE_UNUSED to gather_mem_stats param.
694
695 2019-03-26 Jason Merrill <jason@redhat.com>
696 Jakub Jelinek <jakub@redhat.com>
697
698 * mem-stats.h (mem_alloc_description::unregister_descriptor): New
699 method.
700 (mem_alloc_description::release_object_overhead): Fix comment typos.
701 * hash-table.h (hash_table::~hash_table): Call
702 release_instance_overhead only if m_entries is non-NULL, otherwise
703 call unregister_descriptor.
704
705 2019-03-26 Bin Cheng <bin.cheng@linux.alibaba.com>
706
707 PR tree-optimization/81740
708 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence):
709 In case of outer loop vectorization, check for backward dependence
710 at the inner loop if outer loop dependence is reversed.
711
712 2019-03-26 Alan Modra <amodra@gmail.com>
713
714 * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Correct
715 rs6000_vector_mem init. Correct wI and wJ comment.
716
717 2019-03-25 Alexander Monakov <amonakov@ispras.ru>
718
719 PR rtl-optimization/88347
720 PR rtl-optimization/88423
721 * sched-deps.c (sched_analyze_insn): Take into account that for
722 tablejumps the barrier appears after a label and a jump_table_data.
723
724 2019-03-25 Martin Sebor <msebor@redhat.com>
725
726 PR c/89812
727 * c-common.c (check_user_alignment): Rename local. Correct maximum
728 alignment in diagnostic. Avoid assuming argument fits in SHWI,
729 convert it to UHWI when it fits.
730
731 2019-03-25 Johan Karlsson <johan.karlsson@enea.com>
732
733 PR debug/86964
734 * dwarf2out.c (premark_used_variables): New function.
735 (prune_unused_types_walk): Do not mark not premarked external
736 variables.
737 (prune_unused_types): Call premark_used_variables.
738
739 2019-03-25 Vladimir Makarov <vmakarov@redhat.com>
740
741 PR rtl-optimization/89676
742 * lra-constraints.c (curr_insn_transform): Do match reload for
743 early clobbers when the match was successful only for different
744 registers.
745
746 2019-03-25 Martin Sebor <msebor@redhat.com>
747
748 * doc/extend.texi (Common Type Attributes): Document vector_size.
749 (Common Variable Attributes): Mention size constraint. Correct
750 quoting and typos.
751 (Vector Extensions): Use @dfn when defining bas type. Clarify
752 base type and size constraints.
753
754 2019-03-25 Richard Biener <rguenther@suse.de>
755
756 PR tree-optimization/89789
757 * tree-ssa-sccvn.c (set_ssa_val_to): Do not allow lattice
758 changes from non-undefined back to undefined.
759
760 2019-03-25 Thomas Otto <thomas.otto@pdv-fs.de>
761
762 * dwarf2out.c (comp_dir_string): cached_wd could be set to both a
763 heap string and a gc string, but since this variable is unknown to
764 ggc the gc string might get reused and corrupted. Fixed by always
765 using a heap string.
766
767 2019-03-25 Richard Biener <rguenther@suse.de>
768
769 PR tree-optimization/89779
770 * tree-ssa-loop-ivopts.c (remove_unused_ivs): Return
771 to remove IV defs, delay actual removal.
772 (tree_ssa_iv_optimize_loop): Likewise. Avoid SCEV reset.
773 (tree_ssa_iv_optimize): Remove eliminated IV defs at the
774 very end, properly also reset loop control IV information.
775
776 2019-03-25 Richard Biener <rguenther@suse.de>
777
778 PR tree-optimization/89802
779 * tree-ssa-math-opts.c (convert_mult_to_fma_1): Properly
780 move EH data to folded stmt.
781
782 2019-03-25 Andreas Krebbel <krebbel@linux.ibm.com>
783
784 * config/s390/s390-builtin-types.def: Remove few unused types and
785 fix sort order for others.
786
787 2019-03-25 Andreas Krebbel <krebbel@linux.ibm.com>
788
789 * config/s390/s390-c.c (s390_fn_types_compatible): Print the
790 expected and found types with -mdebug during builtin matching.
791
792 2019-03-25 Richard Biener <rguenther@suse.de>
793
794 PR middle-end/89790
795 * fold-const.c (operand_equal_p): Revert last change with
796 updated comment.
797
798 2019-03-24 Segher Boessenkool <segher@kernel.crashing.org>
799
800 * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Add REG_EQUAL
801 notes for the result of the __tls_get_addr calls.
802 * config/rs6000/rs6000.md (unspec UNSPEC_TLS_GET_ADDR): New.
803
804 2019-03-24 Jeff Law <law@redhat.com>
805
806 * config/bfin/bfin.md (movpdi): Fix length for alternative 1.
807
808 PR rtl-optimization/87761
809 * regcprop.c (copyprop_hardreg_forward_1): Check may_trap_p on SET,
810 not INSN. Also check RTX_FRAME_RELATED_P. Queue insns for DF rescan
811 as needed.
812 (pass_cprop_hardreg::execute): Add df note problem and defer insn
813 rescans. Reprocess blocks as needed, calling df_analyze before
814 reprocessing. Always call df_analyze before fixing up debug bind
815 insns.
816
817 2019-03-23 Segher Boessenkool <segher@kernel.crashing.org>
818
819 * config/rs6000/xmmintrin.h (_mm_movemask_pi8): Implement for 32-bit
820 big endian.
821
822 2019-03-22 Andrew Pinski <apinski@marvell.com>
823
824 * config/aarch64/aarch64.md (zero_extendsidi2_aarch64): Fix type
825 attrribute for uxtw.
826
827 2019-03-26 Jeff Law <law@redhat.com>
828
829 PR rtl-optimization/87761
830 * config/mips/mips-protos.h (mips_split_move): Add new argument.
831 (mips_emit_move_or_split): Pass NULL for INSN into mips_split_move.
832 (mips_split_move): Accept new INSN argument. Try to forward SRC
833 into the next instruction.
834 (mips_split_move_insn): Pass INSN through to mips_split_move.
835
836 2019-03-22 Vladimir Makarov <vmakarov@redhat.com>
837
838 PR rtl-optimization/89676
839 * lra-constraints.c (curr_insn_transform): Do match reload for
840 early clobbers even if the match was successful.
841
842 2019-03-22 Jakub Jelinek <jakub@redhat.com>
843
844 PR c++/87481
845 * doc/invoke.texi (-fconstexpr-ops-limit=): Document.
846
847 2019-03-22 Bill Schmidt <wschmidt@linux.ibm.com>
848
849 * config/rs6000/mmintrin.h (_mm_sub_pi32): Fix typo.
850
851 2019-03-22 Jakub Jelinek <jakub@redhat.com>
852
853 * config/i386/sse.md (<avx512>_fmadd_<mode>_mask3<round_name>,
854 <avx512>_fmsub_<mode>_mask3<round_name>,
855 <avx512>_fnmadd_<mode>_mask3<round_name>,
856 <avx512>_fnmsub_<mode>_mask3<round_name>,
857 avx512f_vmfmadd_<mode>_mask3<round_name>,
858 avx512f_vmfmsub_<mode>_mask3<round_name>,
859 *avx512f_vmfnmadd_<mode>_mask3<round_name>): Use <round_nimm_predicate>
860 instead of register_operand and %v instead of v for match_operand 1.
861 (avx512f_vmfnmsub_<mode>_mask3<round_name>): Rename to ...
862 (*avx512f_vmfnmsub_<mode>_mask3<round_name>): ... this. Use
863 <round_nimm_predicate> instead of register_operand and %v instead of v
864 for match_operand 1.
865
866 * config/i386/sse.md (<avx512>_fmadd_<mode>_mask<round_name>,
867 <avx512>_fmadd_<mode>_mask3<round_name>,
868 <avx512>_fmsub_<mode>_mask<round_name>,
869 <avx512>_fmsub_<mode>_mask3<round_name>,
870 <avx512>_fnmadd_<mode>_mask<round_name>,
871 <avx512>_fnmadd_<mode>_mask3<round_name>,
872 <avx512>_fnmsub_<mode>_mask<round_name>,
873 <avx512>_fnmsub_<mode>_mask3<round_name>,
874 <avx512>_fmaddsub_<mode>_mask<round_name>,
875 <avx512>_fmaddsub_<mode>_mask3<round_name>,
876 <avx512>_fmsubadd_<mode>_mask<round_name>,
877 <avx512>_fmsubadd_<mode>_mask3<round_name>): Use
878 <round_nimm_predicate> instead of nonimmediate_operand.
879 (fmai_vmfmadd_<mode><round_name>, fmai_vmfmsub_<mode><round_name>,
880 fmai_vmfnmadd_<mode><round_name>, fmai_vmfnmsub_<mode><round_name>):
881 Use register_operand instead of <round_nimm_predicate> for the
882 operand that needs to match output.
883 (*fmai_fmadd_<mode>, *fmai_fmsub_<mode>,
884 *fmai_fnmadd_<mode><round_name>, *fmai_fnmsub_<mode><round_name>):
885 Likewise. Formatting fixes.
886
887 PR target/89784
888 * config/i386/i386.c (enum ix86_builtins): Remove
889 IX86_BUILTIN_VFMSUBSD3_MASK3 and IX86_BUILTIN_VFMSUBSS3_MASK3.
890 * config/i386/i386-builtin.def (__builtin_ia32_vfmaddsd3_mask,
891 __builtin_ia32_vfmaddsd3_mask3, __builtin_ia32_vfmaddsd3_maskz,
892 __builtin_ia32_vfmsubsd3_mask3, __builtin_ia32_vfmaddss3_mask,
893 __builtin_ia32_vfmaddss3_mask3, __builtin_ia32_vfmaddss3_maskz,
894 __builtin_ia32_vfmsubss3_mask3): New builtins.
895 * config/i386/sse.md (avx512f_vmfmadd_<mode>_mask<round_name>,
896 avx512f_vmfmadd_<mode>_mask3<round_name>,
897 avx512f_vmfmadd_<mode>_maskz_1<round_name>,
898 *avx512f_vmfmsub_<mode>_mask<round_name>,
899 avx512f_vmfmsub_<mode>_mask3<round_name>,
900 *avx512f_vmfmasub_<mode>_maskz_1<round_name>,
901 *avx512f_vmfnmadd_<mode>_mask<round_name>,
902 *avx512f_vmfnmadd_<mode>_mask3<round_name>,
903 *avx512f_vmfnmadd_<mode>_maskz_1<round_name>,
904 *avx512f_vmfnmsub_<mode>_mask<round_name>,
905 avx512f_vmfnmsub_<mode>_mask3<round_name>,
906 *avx512f_vmfnmsub_<mode>_maskz_1<round_name>): New define_insns.
907 (avx512f_vmfmadd_<mode>_maskz<round_expand_name>): New define_expand.
908 * config/i386/avx512fintrin.h (_mm_mask_fmadd_sd, _mm_mask_fmadd_ss,
909 _mm_mask3_fmadd_sd, _mm_mask3_fmadd_ss, _mm_maskz_fmadd_sd,
910 _mm_maskz_fmadd_ss, _mm_mask_fmsub_sd, _mm_mask_fmsub_ss,
911 _mm_mask3_fmsub_sd, _mm_mask3_fmsub_ss, _mm_maskz_fmsub_sd,
912 _mm_maskz_fmsub_ss, _mm_mask_fnmadd_sd, _mm_mask_fnmadd_ss,
913 _mm_mask3_fnmadd_sd, _mm_mask3_fnmadd_ss, _mm_maskz_fnmadd_sd,
914 _mm_maskz_fnmadd_ss, _mm_mask_fnmsub_sd, _mm_mask_fnmsub_ss,
915 _mm_mask3_fnmsub_sd, _mm_mask3_fnmsub_ss, _mm_maskz_fnmsub_sd,
916 _mm_maskz_fnmsub_ss, _mm_mask_fmadd_round_sd, _mm_mask_fmadd_round_ss,
917 _mm_mask3_fmadd_round_sd, _mm_mask3_fmadd_round_ss,
918 _mm_maskz_fmadd_round_sd, _mm_maskz_fmadd_round_ss,
919 _mm_mask_fmsub_round_sd, _mm_mask_fmsub_round_ss,
920 _mm_mask3_fmsub_round_sd, _mm_mask3_fmsub_round_ss,
921 _mm_maskz_fmsub_round_sd, _mm_maskz_fmsub_round_ss,
922 _mm_mask_fnmadd_round_sd, _mm_mask_fnmadd_round_ss,
923 _mm_mask3_fnmadd_round_sd, _mm_mask3_fnmadd_round_ss,
924 _mm_maskz_fnmadd_round_sd, _mm_maskz_fnmadd_round_ss,
925 _mm_mask_fnmsub_round_sd, _mm_mask_fnmsub_round_ss,
926 _mm_mask3_fnmsub_round_sd, _mm_mask3_fnmsub_round_ss,
927 _mm_maskz_fnmsub_round_sd, _mm_maskz_fnmsub_round_ss): New intrinsics.
928
929 2019-03-21 Martin Sebor <msebor@redhat.com>
930
931 PR tree-optimization/89350
932 * builtins.c (compute_objsize): Also ignore offsets whose upper
933 bound is negative.
934 * gimple-ssa-warn-restrict.c (builtin_memref): Add new member.
935 (builtin_memref::builtin_memref): Initialize new member.
936 Allow EXPR to be null.
937 (builtin_memref::extend_offset_range): Replace local with a member.
938 Avoid assuming pointer offsets are unsigned.
939 (builtin_memref::set_base_and_offset): Determine base object
940 before computing offset range.
941 (builtin_access::builtin_access): Handle memset.
942 (builtin_access::generic_overlap): Replace local with a member.
943 (builtin_access::strcat_overlap): Same.
944 (builtin_access::overlap): Same.
945 (maybe_diag_overlap): Same.
946 (maybe_diag_access_bounds): Same.
947 (wrestrict_dom_walker::check_call): Handle memset.
948 (check_bounds_or_overlap): Same.
949
950 2019-03-21 Jan Hubicka <hubicka@ucw.cz>
951 Jakub Jelinek <jakub@redhat.com>
952
953 PR lto/89692
954 * tree.c (fld_type_variant, fld_incomplete_type_of,
955 fld_process_array_type): Call fld->pset.add and don't call
956 add_tree_to_fld_list if it returns true.
957 (free_lang_data_in_type): Similarly with self-recursive call. Purge
958 non-marked types from TYPE_NEXT_VARIANT list.
959 (find_decls_types_r): Call fld_worklist_push for TYPE_CANONICAL (t).
960
961 2019-03-21 Jakub Jelinek <jakub@redhat.com>
962
963 * hash-table.h (hash_table): Add Lazy template parameter defaulted
964 to false, if true, don't alloc_entries during construction, but defer
965 it to the first method that needs m_entries allocated.
966 (hash_table::hash_table, hash_table::~hash_table,
967 hash_table::alloc_entries, hash_table::find_empty_slot_for_expand,
968 hash_table::too_empty_p, hash_table::expand, hash_table::empty_slow,
969 hash_table::clear_slot, hash_table::traverse_noresize,
970 hash_table::traverse, hash_table::iterator::slide): Adjust all methods.
971 * hash-set.h (hash_set): Add Lazy template parameter defaulted to
972 false.
973 (hash_set::contains): If Lazy is true, use find_slot_with_hash with
974 NO_INSERT instead of find_with_hash.
975 (hash_set::traverse, hash_set::iterator, hash_set::iterator::m_iter,
976 hash_set::m_table): Add Lazy to template params of hash_table.
977 (gt_ggc_mx, gt_pch_nx): Use false as Lazy in hash_set template param.
978 * attribs.c (test_attribute_exclusions): Likewise.
979 * hash-set-tests.c (test_set_of_strings): Add iterator tests for
980 hash_set. Add tests for hash_set with Lazy = true.
981
982 2019-03-21 Richard Biener <rguenther@suse.de>
983
984 PR tree-optimization/89779
985 * tree.c (tree_nop_conversion): Consolidate and fix defensive
986 checks with respect to released SSA names now having error_mark_node
987 type.
988 * fold-const.c (operand_equal_p): Likewise.
989
990 2019-03-20 Andreas Krebbel <krebbel@linux.ibm.com>
991
992 PR target/89775
993 * config/s390/s390.c (global_not_special_regno_p): Move to make it
994 available to ...
995 (s390_optimize_register_info): Use global_not_special_regno_p to
996 check for global regs.
997
998 2019-03-20 Jakub Jelinek <jakub@redhat.com>
999
1000 PR target/89752
1001 * lra-constraints.c (process_alt_operands) <reg>: For BLKmode, don't
1002 update this_alternative nor this_alternative_set.
1003
1004 2019-03-19 Jim Wilson <jimw@sifive.com>
1005
1006 PR target/89411
1007 * config/riscv/riscv.c (riscv_valid_lo_sum_p): New arg x. New locals
1008 align, size, offset. Use them to handle a BLKmode reference. Update
1009 comment.
1010 (riscv_classify_address): Pass info->offset to riscv_valid_lo_sum_p.
1011
1012 2019-03-19 Jakub Jelinek <jakub@redhat.com>
1013
1014 PR rtl-optimization/89768
1015 * loop-unroll.c (unroll_loop_constant_iterations): Use gen_int_mode
1016 instead of GEN_INT.
1017 (unroll_loop_runtime_iterations): Likewise.
1018
1019 2019-03-19 Martin Sebor <msebor@redhat.com>
1020
1021 PR tree-optimization/89644
1022 * tree-ssa-strlen.c (handle_builtin_stxncpy): Use full_string_p
1023 rather than endptr as an indicator of nul-termination.
1024
1025 PR tree-optimization/89644
1026 * tree-ssa-strlen.c (handle_builtin_stxncpy): Consider unterminated
1027 arrays in determining sequence sizes in strncpy and stpncpy.
1028
1029 2019-03-19 Martin Liska <mliska@suse.cz>
1030
1031 PR middle-end/89737
1032 * predict.c (combine_predictions_for_bb): Empty likely_edges and
1033 unlikely_edges if there's an edge that belongs to both these sets.
1034
1035 2018-03-19 Segher Boessenkool <segher@kernel.crashing.org>
1036
1037 PR target/89746
1038 * config/rs6000/rs6000.md (fix_trunc<mode>si2_stfiwx): If we have a
1039 non-TARGET_MFCRF target, and the dest is memory but not 32-bit aligned,
1040 go via a stack temporary.
1041
1042 2019-03-19 Jakub Jelinek <jakub@redhat.com>
1043
1044 PR target/89378
1045 * config/mips/mips.c (mips_expand_vec_cond_expr): Use gen_lowpart
1046 instead of gen_rtx_SUBREG.
1047 * config/mips/mips-msa.md (vec_extract<mode><unitmode>): Likewise.
1048
1049 2019-03-19 Richard Biener <rguenther@suse.de>
1050
1051 PR debug/88389
1052 * opts.c (finish_options): Disable -gsplit-dwarf when doing LTO.
1053
1054 2019-03-19 Jan Hubicka <hubicka@ucw.cz>
1055
1056 PR lto/87809
1057 PR lto/89335
1058 * tree.c (free_lang_data_in_decl): Do not free context of C++
1059 destrutors.
1060
1061 2019-03-19 Jakub Jelinek <jakub@redhat.com>
1062
1063 PR target/89506
1064 * config/arm/arm.md (cmpsi2_addneg): Swap the alternatives and use
1065 subs for the first alternative except when operands[3] is 1.
1066
1067 PR target/89752
1068 * gimplify.c (gimplify_asm_expr): For output argument with
1069 TREE_ADDRESSABLE type, clear allows_reg if it allows memory, otherwise
1070 diagnose error.
1071
1072 2019-03-19 Eric Botcazou <ebotcazou@adacore.com>
1073
1074 PR rtl-optimization/89753
1075 * loop-unroll.c (decide_unroll_constant_iterations): Make guard for
1076 explicit unrolling factor even more robust.
1077
1078 2019-03-19 Jakub Jelinek <jakub@redhat.com>
1079
1080 PR target/89726
1081 * config/i386/i386.c (ix86_expand_floorceildf_32): In ceil
1082 compensation use x2 += 1 instead of x2 -= -1 and when honoring
1083 signed zeros, do another copysign after the compensation.
1084
1085 2019-03-18 Martin Sebor <msebor@redhat.com>
1086
1087 PR tree-optimization/89720
1088 * tree-vrp.c (vrp_prop::check_mem_ref): Treat range with max < min
1089 more conservatively, the same as anti-range.
1090
1091 2019-03-18 Richard Biener <rguenther@suse.de>
1092
1093 PR middle-end/88945
1094 * tree-ssanames.c (release_ssa_name_fn): For released SSA names
1095 use a TREE_TYPE of error_mark_node to avoid ICEs when dumping
1096 basic-blocks that are removed. Remove restoring SSA_NAME_VAR.
1097 * tree-outof-ssa.c (eliminate_useless_phis): Remove redundant checking.
1098
1099 2019-03-18 Andrew Stubbs <ams@codesourcery.com>
1100
1101 * config/gcn/gcn-run.c (struct output): Make next_output unsigned.
1102 Extend queue to 1024 entries.
1103 Add "consumed" field.
1104 (gomp_print_output): Remove print_index parameter.
1105 Add final parameter.
1106 Change limit to unsigned.
1107 Use consumed field to implement circular buffer.
1108 Detect interrupted print in final pass.
1109 Flush output at the end.
1110 (run): Update gomp_print_output usage.
1111 (main): Initialize kernargs->output_data.consumed.
1112
1113 2019-03-18 Richard Sandiford <richard.sandiford@arm.com>
1114
1115 * tree-vect-loop.c (vect_estimate_min_profitable_iters): Fix the
1116 calculation of the minimum number of scalar iterations for
1117 fully-predicated loops.
1118
1119 2019-03-18 Martin Jambor <mjambor@suse.cz>
1120
1121 PR tree-optimization/89546
1122 * tree-sra.c (propagate_subaccesses_across_link): Requeue new_acc if
1123 any propagation to its children took place.
1124
1125 2019-03-18 Andrew Burgess <andrew.burgess@embecosm.com>
1126
1127 PR target/89627
1128 * config/riscv/riscv.c (riscv_pass_fpr_single): Add offset
1129 parameter, and make use of it.
1130 (riscv_get_arg_info): Pass offset to riscv_pass_fpr_single.
1131
1132 2019-03-18 Claudiu Zissulescu <claziss@synopsys.com>
1133
1134 * config/arc/arc.opt (mcode-density-frame): Get the inital value
1135 from TARGET_CODE_DENSITY_FRAME_DEFAULT.
1136 * config/arc/elf.h (TARGET_CODE_DENSITY_FRAME_DEFAULT): Define.
1137 * config/arc/linux.h (TARGET_CODE_DENSITY_FRAME_DEFAULT): Define.
1138 * config/arc/arc.md (pop_multi_fp_blink): Adjust constraints to
1139 match what the ops is doing.
1140 (push_multi_fp_blink): Likewise.
1141 * config/arc/arc.c (arc_override_options): Enable enter/leave when
1142 compiling for size and elf target.
1143 (arc_save_callee_enter): Adjust note to match what enter/leave
1144 operation does.
1145
1146 2019-03-18 Claudiu Zissulescu <claziss@synopsys.com>
1147
1148 * config/arc/arc.md (tst_movb): Fix constraint.
1149
1150 2019-03-18 Claudiu Zissulescu <claziss@synopsys.com>
1151
1152 * config/arc/arc.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define.
1153
1154 2019-03-18 Claudiu Zissulescu <claziss@synopsys.com>
1155
1156 * config/arc/arc-protos.h (arc_adjust_reg_alloc_order): Declare.
1157 * config/arc/arc.c (arc_conditional_register_usage): Remove all
1158 reg_alloc_order references.
1159 (size_alloc_order): Define.
1160 (arc_adjust_reg_alloc_order): New function.
1161 * config/arc/arc.h (REG_ALLOC_ORDER): Proper define the register
1162 order.
1163 (ADJUST_REG_ALLOC_ORDER): Define.
1164 (HONOR_REG_ALLOC_ORDER): Likewise.
1165
1166 2019-03-18 Richard Biener <rguenther@suse.de>
1167
1168 PR target/87561
1169 * config/i386/i386.c (ix86_add_stmt_cost): Pessimize strided
1170 loads and stores a bit more.
1171
1172 2019-03-18 Richard Biener <rguenther@suse.de>
1173
1174 PR target/87561
1175 * config/i386/i386.c (ix86_add_stmt_cost): Apply strided
1176 load pessimization to stores as well.
1177
1178 2019-03-18 Andrey Belevantsev <abel@ispras.ru>
1179
1180 PR middle-end/86979
1181 * sel-sched.c (compute_av_set_at_bb_end): When we have an ineligible
1182 successor, use NULL as its av set.
1183
1184 2019-03-15 Segher Boessenkool <segher@kernel.crashing.org>
1185
1186 PR rtl-optimization/89721
1187 * lra-constraints (invariant_p): Return false if side_effects_p holds.
1188
1189 2019-03-15 Kelvin Nilsen <kelvin@gcc.gnu.org>
1190
1191 PR target/87532
1192 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
1193 When handling vec_extract, use modular arithmetic to allow
1194 constant selectors greater than vector length.
1195 * config/rs6000/rs6000.c (rs6000_expand_vector_extract): Allow
1196 V1TImode vectors to have constant selector values greater than 0.
1197 Use modular arithmetic to compute vector index.
1198 (rs6000_split_vec_extract_var): Use modular arithmetic to compute
1199 index for in-memory vectors. Correct code generation for
1200 in-register vectors.
1201 (altivec_expand_vec_ext_builtin): Use modular arithmetic to
1202 compute index.
1203
1204 2019-03-15 Alexandre Oliva <aoliva@redhat.com>
1205
1206 PR c++/88534
1207 PR c++/88537
1208 * dwarf2out.c (generic_parameter_die): Follow DECL_INITIAL of
1209 VAR_DECL args.
1210
1211 2019-03-15 Jakub Jelinek <jakub@redhat.com>
1212
1213 PR c++/89709
1214 * tree.c (inchash::add_expr): Strip any location wrappers.
1215 * fold-const.c (operand_equal_p): Move stripping of location wrapper
1216 after hash verification.
1217
1218 PR debug/89704
1219 * dwarf2out.c (add_const_value_attribute): Return false for MINUS,
1220 SIGN_EXTEND and ZERO_EXTEND.
1221
1222 2019-03-14 Jason Merrill <jason@redhat.com>
1223 Jakub Jelinek <jakub@redhat.com>
1224
1225 * hash-table.h (remove_elt_with_hash): Return if slot is NULL rather
1226 than if is_empty (*slot).
1227 * hash-set-tests.c (test_set_of_strings): Add tests for addition of
1228 existing elt and for elt removal.
1229 * hash-map-tests.c (test_map_of_strings_to_int): Add test for removal
1230 of already removed elt.
1231
1232 2019-03-15 H.J. Lu <hongjiu.lu@intel.com>
1233
1234 PR target/89650
1235 * config/i386/i386.c (remove_partial_avx_dependency): Handle
1236 REG_EH_REGION note.
1237
1238 2019-03-14 Martin Liska <mliska@suse.cz>
1239
1240 PR other/89712
1241 * doc/invoke.texi: Remove -fdump-class-hierarchy option.
1242
1243 2019-03-14 Richard Biener <rguenther@suse.de>
1244
1245 PR target/89711
1246 * config/i386/i386.c (make_resolver_func): Properly set
1247 DECL_CONTEXT on the RESULT_DECL.
1248 * config/rs6000/rs6000.c (make_resolver_func): Likewise.
1249
1250 2019-03-14 Richard Biener <rguenther@suse.de>
1251
1252 * gimple-pretty-print.c: Include cfgloop.h.
1253 (dump_gimple_phi): Adjust.
1254 (dump_gimple_bb_header): Dump loop header for GIMPLE.
1255 (pp_cfg_jump): Adjust.
1256 (dump_implicit_edges): Dump fallthru to next block for GIMPLE as well.
1257 * tree-cfg.c (build_gimple_cfg): Remove lower_phi_internal_fn call.
1258 (lower_phi_internal_fn): Remove.
1259 (verify_gimple_call): Remove IFN_PHI special-casing.
1260 (dump_function_to_file): Dump IL state.
1261 * tree-into-ssa.c (rewrite_add_phi_arguments): Revert changes
1262 done to deal with PHI nodes being present in non-SSA state.
1263
1264 2019-03-14 Jakub Jelinek <jakub@redhat.com>
1265
1266 PR ipa/89684
1267 * multiple_target.c (create_dispatcher_calls): Change
1268 references_to_redirect from vector of ipa_ref * to vector of ipa_ref.
1269 In the node->iterate_referring loop, push *ref rather than ref, call
1270 ref->remove_reference () and always pass 0 to iterate_referring.
1271
1272 PR rtl-optimization/89679
1273 * expmed.c (expand_mult_const): Don't add a REG_EQUAL note if it
1274 would contain a paradoxical SUBREG.
1275
1276 2019-03-14 Richard Biener <rguenther@suse.de>
1277
1278 PR tree-optimization/89710
1279 * tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Use
1280 safe_dyn_cast.
1281
1282 2019-03-14 Martin Liska <mliska@suse.cz>
1283
1284 * coverage.c (coverage_begin_function): Stream also
1285 end_column.
1286 * doc/gcov.texi: Document 2 new fields in JSON file. Improve
1287 documentation about function declaration location.
1288 * gcov-dump.c (tag_function): Print whole range
1289 of function declaration.
1290 * gcov.c (struct function_info): Add end_column field.
1291 (function_info::function_info): Initialize it.
1292 (output_json_intermediate_file): Output {start,end}_column
1293 fields.
1294 (read_graph_file): Read end_column.
1295
1296 2019-03-14 Richard Biener <rguenther@suse.de>
1297
1298 PR middle-end/89698
1299 * fold-const.c (operand_equal_p): For INDIRECT_REF check
1300 that the access types are similar.
1301
1302 2019-03-14 Jakub Jelinek <jakub@redhat.com>
1303
1304 PR tree-optimization/89703
1305 * tree-ssa-strlen.c (valid_builtin_call): Punt if stmt call types
1306 aren't compatible also with builtin_decl_explicit. Check pure
1307 or non-pure status of BUILT_IN_STR{{,N}CMP,N{LEN,{CAT,CPY}{,_CHK}}}
1308 and BUILT_IN_STPNCPY{,_CHK}.
1309
1310 2019-03-14 H.J. Lu <hongjiu.lu@intel.com>
1311
1312 PR target/89523
1313 * config/i386/i386.c (ix86_print_operand): Handle 'M' to add
1314 addr32 prefix to VSIB address for X32.
1315 * config/i386/sse.md (*avx512pf_gatherpf<mode>sf_mask): Prepend
1316 "%M2" to opcode.
1317 (*avx512pf_gatherpf<mode>df_mask): Likewise.
1318 (*avx512pf_scatterpf<mode>sf_mask): Likewise.
1319 (*avx512pf_scatterpf<mode>df_mask): Likewise.
1320 (*avx2_gathersi<mode>): Prepend "%M3" to opcode.
1321 (*avx2_gathersi<mode>_2): Prepend "%M2" to opcode.
1322 (*avx2_gatherdi<mode>): Prepend "%M3" to opcode.
1323 (*avx2_gatherdi<mode>_2): Prepend "%M2" to opcode.
1324 (*avx2_gatherdi<mode>_3): Prepend "%M3" to opcode.
1325 (*avx2_gatherdi<mode>_4): Prepend "%M2" to opcode.`
1326 (*avx512f_gathersi<mode>): Prepend "%M4" to opcode.
1327 (*avx512f_gathersi<mode>_2): Prepend "%M3" to opcode.
1328 (*avx512f_gatherdi<mode>): Prepend "%M4" to opcode.
1329 (*avx512f_gatherdi<mode>_2): Prepend "%M3" to opcode.
1330 (*avx512f_scattersi<mode>): Prepend "%M0" to opcode.
1331 (*avx512f_scatterdi<mode>): Likewise.
1332
1333 2019-03-13 Vladimir Makarov <vmakarov@redhat.com>
1334
1335 PR target/85860
1336 * lra-constraints.c (inherit_in_ebb): Update
1337 potential_reload_hard_regs along with live_hard_regs.
1338
1339 2019-03-13 Jakub Jelinek <jakub@redhat.com>
1340
1341 PR debug/89498
1342 * dwarf2out.c (size_of_die): For dw_val_class_view_list always use
1343 DWARF_OFFSET_SIZE.
1344 (value_format): For dw_val_class_view_list never use DW_FORM_loclistx.
1345
1346 2019-03-13 Martin Sebor <msebor@redhat.com>
1347
1348 PR tree-optimization/89662
1349 * tree-vrp.c (vrp_prop::check_mem_ref): Avoid assuming every type
1350 has a size.
1351
1352 2019-03-13 Richard Biener <rguenther@suse.de>
1353
1354 PR middle-end/89677
1355 * tree-scalar-evolution.c (simplify_peeled_chrec): Do not
1356 throw FP expressions at tree-affine.
1357
1358 2019-03-14 Richard Biener <rguenther@suse.de>
1359
1360 * tree-pretty-print.c (dump_generic_node): For -gimple properly
1361 dump negative integer constants using _Literal (type) -num.
1362
1363 2019-03-13 Jakub Jelinek <jakub@redhat.com>
1364
1365 * ipa-param-manipulation.h (struct ipa_parm_adjustment): Remove
1366 nonlocal_value member.
1367
1368 PR middle-end/88588
1369 * omp-simd-clone.c (ipa_simd_modify_stmt_ops): Handle PHI args.
1370 (ipa_simd_modify_function_body): Handle PHIs.
1371
1372 2019-03-12 Robin Dapp <rdapp@linux.ibm.com>
1373
1374 * config/s390/s390.c (s390_option_override_internal): Use more
1375 aggressive inlining parameters.
1376
1377 2019-03-12 Robin Dapp <rdapp@linux.ibm.com>
1378
1379 * config/s390/3906.md: New file.
1380 * config/s390/s390.c (MAX_SCHED_UNITS): Increase.
1381 (LONGRUNNING_THRESHOLD): Remove.
1382 (MAX_SCHED_MIX_SCORE): Decrease.
1383 (MAX_SCHED_MIX_DISTANCE): Decrease.
1384 (s390_bb_fallthru_entry_likely): Assume fallthru for less than likely.
1385 (struct s390_sched_state): New struct to hold scheduling state.
1386 (S390_SCHED_STATE_NORMAL): Remove.
1387 (S390_SCHED_STATE_CRACKED): Remove.
1388 (S390_SCHED_ATTR_MASK_GROUPOFTWO): Add.
1389 (s390_get_sched_attrmask): Use new attribute.
1390 (s390_get_unit_mask): Use new units.
1391 (s390_is_fpd): New function.
1392 (s390_is_fxd): New function.
1393 (s390_is_longrunning): New function.
1394 (s390_sched_score): Use new functions.
1395 (s390_sched_reorder): Likewise.
1396 (s390_sched_variable_issue): Rework and use new functions.
1397 (s390_sched_init): Use new functions.
1398 * config/s390/s390.h (s390_tune_attr): Add z14.
1399 * config/s390/s390.md: Add z14.
1400
1401 2019-03-12 Robin Dapp <rdapp@linux.ibm.com>
1402
1403 * config/s390/2964.md: Update pipeline description.
1404 * config/s390/s390.c (MAX_SCHED_UNITS): Increase.
1405 (LONGRUNNING_THRESHOLD): Remove.
1406 (LATENCY_FACTOR): Remove.
1407 (s390_get_unit_mask): Add unit.
1408 (s390_sched_score): Use fxd/fpd.
1409 (s390_sched_variable_issue): Use fxd/fpd.
1410
1411 2019-03-12 Martin Liska <mliska@suse.cz>
1412
1413 * config/i386/i386.c: Reword an error message.
1414
1415 2019-03-12 Martin Jambor <mjambor@suse.cz>
1416
1417 * cgraph.c (cgraph_node::dump): Dump more info for former thunks,
1418 terminate with newline.
1419
1420 2019-03-12 Jakub Jelinek <jakub@redhat.com>
1421
1422 PR target/52726
1423 * config/s390/s390.md (tabort): Use %wd instead of
1424 HOST_WIDE_INT_PRINT_DEC in error message, reword to avoid two capital
1425 letters and periods.
1426 * config/tilepro/tilepro.c (tilepro_print_operand): Use %wd in
1427 output_operand_lossage instead of HOST_WIDE_INT_PRINT_DEC, replace
1428 's with %< and %>.
1429
1430 PR middle-end/89663
1431 * builtins.c (expand_builtin_int_roundingfn,
1432 expand_builtin_int_roundingfn_2): Return NULL_RTX instead of
1433 gcc_unreachable if validate_arglist fails.
1434
1435 2019-03-12 Richard Biener <rguenther@suse.de>
1436
1437 PR tree-optimization/89664
1438 * tree-ssa-math-opts.c (execute_cse_reciprocals_1): Properly
1439 free the occurance tree after the early out.
1440
1441 2019-03-11 Jakub Jelinek <jakub@redhat.com>
1442
1443 PR middle-end/89655
1444 PR bootstrap/89656
1445 * vr-values.c (vr_values::update_value_range): If
1446 old_vr->varying_p (), don't update it, make new_vr also VARYING
1447 and return false.
1448
1449 2019-03-11 Martin Liska <mliska@suse.cz>
1450
1451 * config/aarch64/aarch64.c (aarch64_override_options_internal):
1452 Fix double string quoting.
1453
1454 2019-03-11 Martin Liska <mliska@suse.cz>
1455
1456 * collect-utils.c (collect_wait): Wrap apostrophes
1457 in gcc internal format with %'.
1458 * collect2.c (main): Likewise.
1459 (scan_prog_file): Likewise.
1460 (scan_libraries): Likewise.
1461 * config/i386/i386.c (ix86_expand_call): Likewise.
1462 (ix86_handle_interrupt_attribute): Likewise.
1463 * config/nds32/nds32-intrinsic.c (nds32_expand_builtin_impl): Likewise.
1464 * config/nds32/nds32.c (nds32_insert_attributes): Likewise.
1465 * config/rl78/rl78.c (rl78_handle_saddr_attribute): Likewise.
1466 * lto-wrapper.c (find_crtoffloadtable): Likewise.
1467 * symtab.c (symtab_node::verify_base): Likewise.
1468 * tree-cfg.c (verify_gimple_label): Likewise.
1469 * tree.c (verify_type_variant): Likewise.
1470
1471 2019-03-11 Martin Liska <mliska@suse.cz>
1472
1473 * builtins.c (expand_builtin_thread_pointer): Wrap an option name
1474 in a string format message and fix GNU coding style.
1475 (expand_builtin_set_thread_pointer): Likewise.
1476 * common/config/aarch64/aarch64-common.c
1477 (aarch64_rewrite_selected_cpu): Likewise.
1478 * common/config/alpha/alpha-common.c (alpha_handle_option): Likewise.
1479 * common/config/arc/arc-common.c (arc_handle_option): Likewise.
1480 * common/config/arm/arm-common.c (arm_parse_fpu_option): Likewise.
1481 * common/config/bfin/bfin-common.c (bfin_handle_option): Likewise.
1482 * common/config/i386/i386-common.c (ix86_handle_option): Likewise.
1483 * common/config/ia64/ia64-common.c (ia64_handle_option): Likewise.
1484 * common/config/m68k/m68k-common.c (m68k_handle_option): Likewise.
1485 * common/config/msp430/msp430-common.c (msp430_handle_option): Likewise.
1486 * common/config/nds32/nds32-common.c (nds32_handle_option): Likewise.
1487 * common/config/powerpcspe/powerpcspe-common.c (rs6000_handle_option):
1488 Likewise.
1489 * common/config/riscv/riscv-common.c
1490 (riscv_subset_list::parsing_subset_version): Likewise.
1491 (riscv_subset_list::parse_std_ext): Likewise.
1492 (riscv_subset_list::parse_sv_or_non_std_ext): Likewise.
1493 (riscv_subset_list::parse): Likewise.
1494 * common/config/rs6000/rs6000-common.c (rs6000_handle_option): Likewise.
1495 * config/aarch64/aarch64.c (aarch64_parse_one_option_token): Likewise.
1496 (aarch64_override_options_internal): Likewise.
1497 (aarch64_validate_mcpu): Likewise.
1498 (aarch64_validate_march): Likewise.
1499 (aarch64_validate_mtune): Likewise.
1500 (aarch64_override_options): Likewise.
1501 * config/alpha/alpha.c (alpha_option_override): Likewise.
1502 * config/arc/arc.c (arc_init): Likewise.
1503 (parse_mrgf_banked_regs_option): Likewise.
1504 (arc_override_options): Likewise.
1505 (arc_expand_builtin_aligned): Likewise.
1506 * config/arm/arm-builtins.c (arm_expand_neon_builtin): Likewise.
1507 (arm_expand_builtin): Likewise.
1508 * config/arm/arm.c (arm_option_check_internal): Likewise.
1509 (arm_configure_build_target): Likewise.
1510 (arm_option_override): Likewise.
1511 (arm_options_perform_arch_sanity_checks): Likewise.
1512 (arm_handle_cmse_nonsecure_entry): Likewise.
1513 (arm_handle_cmse_nonsecure_call): Likewise.
1514 (arm_tls_referenced_p): Likewise.
1515 (thumb1_expand_prologue): Likewise.
1516 * config/avr/avr.c (avr_option_override): Likewise.
1517 * config/bfin/bfin.c (bfin_option_override): Likewise.
1518 * config/c6x/c6x.c (c6x_option_override): Likewise.
1519 * config/cr16/cr16.c (cr16_override_options): Likewise.
1520 * config/cris/cris.c (cris_option_override): Likewise.
1521 * config/csky/csky.c (csky_handle_isr_attribute): Likewise.
1522 * config/darwin-c.c (macosx_version_as_macro): Likewise.
1523 * config/darwin.c (darwin_override_options): Likewise.
1524 * config/frv/frv.c (frv_expand_builtin): Likewise.
1525 * config/h8300/h8300.c (h8300_option_override): Likewise.
1526 * config/i386/i386.c (parse_mtune_ctrl_str): Likewise.
1527 (ix86_option_override_internal): Likewise.
1528 (warn_once_call_ms2sysv_xlogues): Likewise.
1529 (ix86_expand_prologue): Likewise.
1530 (split_stack_prologue_scratch_regno): Likewise.
1531 (ix86_warn_parameter_passing_abi): Likewise.
1532 * config/ia64/ia64.c (fix_range): Likewise.
1533 * config/m68k/m68k.c (m68k_option_override): Likewise.
1534 * config/microblaze/microblaze.c (microblaze_option_override): Likewise.
1535 * config/mips/mips.c (mips_emit_probe_stack_range): Likewise.
1536 (mips_set_compression_mode): Likewise.
1537 * config/mmix/mmix.c (mmix_option_override): Likewise.
1538 * config/mn10300/mn10300.c (mn10300_option_override): Likewise.
1539 * config/msp430/msp430.c (msp430_option_override): Likewise.
1540 * config/nds32/nds32.c (nds32_option_override): Likewise.
1541 * config/nios2/nios2.c (nios2_custom_check_insns): Likewise.
1542 (nios2_option_override): Likewise.
1543 (nios2_expand_custom_builtin): Likewise.
1544 * config/nvptx/mkoffload.c (main): Likewise.
1545 * config/nvptx/nvptx.c (diagnose_openacc_conflict): Likewise.
1546 * config/pa/pa.c (fix_range): Likewise.
1547 (pa_option_override): Likewise.
1548 * config/riscv/riscv.c (riscv_parse_cpu): Likewise.
1549 (riscv_option_override): Likewise.
1550 * config/rl78/rl78.c (rl78_option_override): Likewise.
1551 * config/rs6000/aix61.h: Likewise.
1552 * config/rs6000/aix71.h: Likewise.
1553 * config/rs6000/aix72.h: Likewise.
1554 * config/rs6000/driver-rs6000.c (elf_platform): Likewise.
1555 * config/rs6000/freebsd64.h: Likewise.
1556 * config/rs6000/linux64.h: Likewise.
1557 * config/rs6000/rs6000.c (rs6000_option_override_internal): Likewise.
1558 (rs6000_expand_zeroop_builtin): Likewise.
1559 (rs6000_expand_mtfsb_builtin): Likewise.
1560 (rs6000_expand_set_fpscr_rn_builtin): Likewise.
1561 (rs6000_expand_set_fpscr_drn_builtin): Likewise.
1562 (rs6000_invalid_builtin): Likewise.
1563 (rs6000_expand_split_stack_prologue): Likewise.
1564 * config/rs6000/rtems.h: Likewise.
1565 * config/rx/rx.c (valid_psw_flag): Likewise.
1566 (rx_expand_builtin): Likewise.
1567 * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Likewise.
1568 * config/s390/s390.c (s390_expand_builtin): Likewise.
1569 (s390_function_profiler): Likewise.
1570 (s390_option_override_internal): Likewise.
1571 (s390_option_override): Likewise.
1572 * config/sh/sh.c (sh_option_override): Likewise.
1573 (sh_builtin_saveregs): Likewise.
1574 (sh_fix_range): Likewise.
1575 * config/sh/vxworks.h: Likewise.
1576 * config/sparc/sparc.c (sparc_option_override): Likewise.
1577 * config/spu/spu.c (spu_option_override): Likewise.
1578 (fix_range): Likewise.
1579 * config/visium/visium.c (visium_option_override): Likewise.
1580 (visium_handle_interrupt_attr): Likewise.
1581 * config/xtensa/xtensa.c (xtensa_option_override): Likewise.
1582 * dbgcnt.c (dbg_cnt_set_limit_by_name): Likewise.
1583 (dbg_cnt_process_opt): Likewise.
1584 * dwarf2out.c (output_dwarf_version): Likewise.
1585 * except.c (expand_eh_return): Likewise.
1586 * gcc.c (defined): Likewise.
1587 (driver_handle_option): Likewise.
1588 (process_command): Likewise.
1589 (compare_files): Likewise.
1590 (driver::prepare_infiles): Likewise.
1591 (driver::do_spec_on_infiles): Likewise.
1592 (driver::maybe_run_linker): Likewise.
1593 * omp-offload.c (oacc_parse_default_dims): Likewise.
1594 * opts-global.c (handle_common_deferred_options): Likewise.
1595 * opts.c (parse_sanitizer_options): Likewise.
1596 (common_handle_option): Likewise.
1597 (enable_warning_as_error): Likewise.
1598 * passes.c (enable_disable_pass): Likewise.
1599 * plugin.c (parse_plugin_arg_opt): Likewise.
1600 (default_plugin_dir_name): Likewise.
1601 * targhooks.c (default_expand_builtin_saveregs): Likewise.
1602 (default_pch_valid_p): Likewise.
1603 * toplev.c (init_asm_output): Likewise.
1604 (process_options): Likewise.
1605 (toplev::run_self_tests): Likewise.
1606 * tree-cfg.c (verify_gimple_call): Likewise.
1607 * tree-inline.c (inline_forbidden_p_stmt): Likewise.
1608 (tree_inlinable_function_p): Likewise.
1609 * var-tracking.c (vt_find_locations): Likewise.
1610
1611 2019-03-11 Andreas Krebbel <krebbel@linux.ibm.com>
1612
1613 * config/s390/s390.c (s390_expand_builtin): Do the copy_to_reg not
1614 only on the else branch.
1615
1616 2019-03-11 Martin Liska <mliska@suse.cz>
1617
1618 * gcov.c (output_intermediate_json_line): Print function
1619 name of each line.
1620 (output_json_intermediate_file): Add new argument.
1621 * doc/gcov.texi: Document the change.
1622
1623 2019-03-11 Eric Botcazou <ebotcazou@adacore.com>
1624
1625 PR rtl-optimization/89588
1626 * loop-unroll.c (decide_unroll_constant_iterations): Make guard for
1627 explicit unrolling factor more robust.
1628
1629 2019-03-11 Richard Biener <rguenther@suse.de>
1630
1631 PR tree-optimization/89649
1632 * tree-vectorizer.h (vect_loop_versioning): Adjust prototype.
1633 * tree-vect-loop-manip.c (vect_do_peeling): Unset force_vectorize
1634 on the prolog and epilog loops.
1635 (vect_loop_versioning): Return copy of loop.
1636 * tree-vect-loop.c (vect_transform_loop): Unset force_vectorize
1637 on the non-vectorized version of the loop.
1638
1639 2019-03-10 Uroš Bizjak <ubizjak@gmail.com>
1640
1641 PR target/68924
1642 * config/i386/sse.md (*vec_extractv2di_0_sse):
1643 Add (=r,x) alternative and corresponding splitter.
1644
1645 2019-03-10 Martin Jambor <mjambor@suse.cz>
1646
1647 PR tree-optimization/85762
1648 PR tree-optimization/87008
1649 PR tree-optimization/85459
1650 * tree-sra.c (contains_vce_or_bfcref_p): New parameter, set the bool
1651 it points to if there is a type changing MEM_REF. Adjust all callers.
1652 (build_accesses_from_assign): Disable total scalarization if
1653 contains_vce_or_bfcref_p returns true through the new parameter, for
1654 both rhs and lhs.
1655
1656 2019-03-09 Jakub Jelinek <jakub@redhat.com>
1657
1658 PR c/88568
1659 * attribs.c (handle_dll_attribute): Don't clear TREE_STATIC for
1660 dllimport on VAR_DECLs with RECORD_TYPE or UNION_TYPE DECL_CONTEXT.
1661
1662 PR target/79645
1663 * common.opt (fdiagnostics-show-labels,
1664 fdiagnostics-show-line-numbers, fdiagnostics-format=,
1665 fdiagnostics-minimum-margin-width=, fgnat-encodings=, gas-loc-support,
1666 gas-locview-support, ginline-points, ginternal-reset-location-views):
1667 Terminate description text with a dot.
1668 * config/microblaze/microblaze.opt (mxl-prefetch): Likewise.
1669 * config/mcore/mcore.opt (m210, m340): Likewise.
1670 * config/epiphany/epiphany.opt (mprefer-short-insn-regs, mcmove,
1671 mnops=): Start description text with a capital letter.
1672 * config/arc/arc.opt (msize-level=): Likewise.
1673 * config/sh/sh.opt (minline-ic_invalidate): Likewise.
1674 * config/rs6000/sysv4.opt (mno-toc, mtoc, mno-traceback, mshlib,
1675 mnewlib): Likewise.
1676 * config/ft32/ft32.opt (msim): Likewise.
1677 (mft32b, mcompress): Likewise. Terminate description text with a dot.
1678 (mnodiv, mnopm): Terminate description text with a dot.
1679 * config/c6x/c6x.opt (c6x_sdata): Terminate Enum description with
1680 a colon.
1681 * config/i386/i386.opt (prefer_vector_width, instrument_return):
1682 Likewise.
1683 * config/rx/rx.opt (nofpu): Remove trailing spaces from description
1684 text.
1685
1686 PR rtl-optimization/89634
1687 * cfgcleanup.c (thread_jump): Punt if registers mentioned in cond1
1688 are modified in BB_END (e->src) instruction.
1689
1690 2019-03-08 David Malcolm <dmalcolm@redhat.com>
1691
1692 PR target/79926
1693 * config/i386/i386.c (ix86_set_current_function): Make "sorry"
1694 messages more amenable to translation, and improve wording.
1695
1696 2019-03-08 Bill Schmidt <wschmidt@linux.ibm.com>
1697
1698 * config/rs6000/rs6000-p8swap.c (rs6000_analyze_swaps): Rebuild
1699 ud- and du-chains between phases.
1700
1701 2019-03-08 Richard Sandiford <richard.sandiford@arm.com>
1702
1703 PR debug/89631
1704 * dwarf2cfi.c (dwarf2out_frame_debug_expr): Use CONST_POLY_INT
1705 instead of POLY_INT_CST.
1706
1707 2019-03-08 Andre Vieira <andre.simoesdiasvieira@arm.com>
1708
1709 * config/arm/arm.h (TARGET_FP16_TO_DOUBLE): Add TARGET_VFP_DOUBLE
1710 requirement.
1711
1712 2019-03-08 Uroš Bizjak <ubizjak@gmail.com>
1713
1714 PR target/68924
1715 PR target/78782
1716 PR target/87558
1717 * config/i386/emmintrin.h (_mm_loadu_si64): New intrinsic.
1718 (_mm_storeu_si64): Ditto.
1719
1720 2019-03-08 Martin Liska <mliska@suse.cz>
1721
1722 PR target/86952
1723 * config/i386/i386.c (ix86_option_override_internal): Disable
1724 jump tables when retpolines are used.
1725
1726 2019-03-08 Jan Hubicka <hubicka@ucw.cz>
1727
1728 PR go/63560
1729 * ipa-split.c (execute_split_functions): Do not split
1730 'noinline' or 'section' function.
1731
1732 2019-03-08 Jakub Jelinek <jakub@redhat.com>
1733
1734 PR target/79846
1735 * config/s390/s390.c (s390_const_operand_ok): Use %wu instead of
1736 HOST_WIDE_INT_PRINT_UNSIGNED and %wd instead of
1737 HOST_WIDE_INT_PRINT_DEC. Formatting fixes.
1738
1739 PR ipa/80000
1740 * ipa-devirt.c (compare_virtual_tables): Remove two trailing spaces
1741 from diagnostics. Formatting fixes.
1742
1743 PR target/85665
1744 * ipa-devirt.c (odr_types_equivalent_p): Fix grammar in
1745 warn_odr diagnostics.
1746
1747 PR other/80058
1748 * lra-constraints.c (process_alt_operands): Avoid one space before
1749 " at the end of line and another after " on another line in a string
1750 literal.
1751 * attribs.c (handle_dll_attribute): Likewise.
1752 * config/avr/avr-devices.c (avr_texinfo): Likewise.
1753
1754 * gimple-ssa-warn-alloca.c (pass_walloca::execute): Don't wrap
1755 warning_at or inform messages in G_() if there is no ?:.
1756
1757 PR tree-optimization/89550
1758 * builtins.c (c_strlen): Only set TREE_NO_WARNING if warning_at
1759 returned true. Formatting fixes.
1760 (expand_builtin_strnlen): Formatting fixes.
1761 * tree-vrp.c (vrp_prop::check_mem_ref): Only set TREE_NO_WARNING
1762 if warning_at returned true.
1763 * tree-cfg.c (pass_warn_function_return::execute): Likewise.
1764
1765 2019-03-08 Richard Biener <rguenther@suse.de>
1766
1767 PR middle-end/89578
1768 * cfgloop.h (struct loop): Add owned_clique field.
1769 * cfgloopmanip.c (copy_loop_info): Copy it.
1770 * tree-cfg.c (gimple_duplicate_bb): Do not remap owned_clique
1771 cliques.
1772 * tree-inline.c (copy_loops): Remap owned_clique.
1773 * lto-streamer-in.c (input_cfg): Stream owned_clique.
1774 * lto-streamer-out.c (output_cfg): Likewise.
1775
1776 2019-03-08 Jakub Jelinek <jakub@redhat.com>
1777
1778 PR target/80190
1779 * config/darwin.c: Include intl.h.
1780 (darwin_build_constant_cfstring): Improve i18n of diagnostics by not
1781 composing the message out of two separate parts.
1782
1783 2019-03-07 Jakub Jelinek <jakub@redhat.com>
1784
1785 PR target/80003
1786 * config/i386/i386.c (ix86_set_func_type): Make sure diagnostics
1787 doesn't start with a capital letter and doesn't end with a dot.
1788 (ix86_function_arg_boundary): Make sure diagnostics doesn't start
1789 with a capital letter.
1790 (ix86_mangle_function_version_assembler_name): Likewise.
1791 (ix86_generate_version_dispatcher_body): Likewise.
1792 (fold_builtin_cpu): Likewise.
1793 (get_builtin_code_for_version): Likewise. Remove extraneous space.
1794 (ix86_handle_interrupt_attribute): Make the diagnostics easier for
1795 translators, wrap full type name in %qs.
1796
1797 PR translation/79999
1798 * gimplify.c (gimplify_omp_ordered): Reword diagnostics to talk about
1799 depend clause with source (or sink) modifier.
1800 * omp-expand.c (expand_omp_ordered_sink): Likewise.
1801
1802 PR target/89602
1803 * config/i386/sse.md (avx512f_mov<ssescalarmodelower>_mask,
1804 *avx512f_load<mode>_mask, avx512f_store<mode>_mask): New define_insns.
1805 (avx512f_load<mode>_mask): New define_expand.
1806 * config/i386/i386-builtin.def (__builtin_ia32_loadsd_mask,
1807 __builtin_ia32_loadss_mask, __builtin_ia32_storesd_mask,
1808 __builtin_ia32_storess_mask, __builtin_ia32_movesd_mask,
1809 __builtin_ia32_movess_mask): New builtins.
1810 * config/i386/avx512fintrin.h (_mm_mask_load_ss, _mm_maskz_load_ss,
1811 _mm_mask_load_sd, _mm_maskz_load_sd, _mm_mask_move_ss,
1812 _mm_maskz_move_ss, _mm_mask_move_sd, _mm_maskz_move_sd,
1813 _mm_mask_store_ss, _mm_mask_store_sd): New intrinsics.
1814
1815 2019-03-07 Martin Jambor <mjambor@suse.cz>
1816
1817 PR lto/87525
1818 * ipa-cp.c (perform_estimation_of_a_value): Account zero time benefit
1819 for extern inline functions.
1820
1821 2019-03-07 Martin Jambor <mjambor@suse.cz>
1822
1823 PR ipa/88235
1824 * cgraph.h (cgraph_node): New inline method former_thunk_p.
1825 * cgraph.c (cgraph_node::dump): Dump a note if node is a former thunk.
1826 (clone_of_p): Treat expanded thunks like thunks, be optimistic if they
1827 have multiple callees. At the end check if declarations match as
1828 opposed to cgraph_nodes.
1829
1830 2019-03-07 Martin Liska <mliska@suse.cz>
1831
1832 * cgraph.c (cgraph_node::verify_node): Verify with a neighbour
1833 which is equivalent to searching for this in clones chain.
1834 * symtab.c (symtab_node::verify_base): Similarly compare ASM
1835 names with a neighbour and special case first node in a chain.
1836
1837 2019-01-25 Jason Merrill <jason@redhat.com>
1838
1839 PR c++/80916 - spurious "static but not defined" warning.
1840 * gimple-fold.c (can_refer_decl_in_current_unit_p): Return false
1841 for an internal symbol with DECL_EXTERNAL.
1842
1843 2019-04-07 Richard Biener <rguenther@suse.de>
1844
1845 PR middle-end/89618
1846 * cfgloopmanip.c (copy_loop_info): Copy forgotten fields.
1847 * tree-inline.c (copy_loops): Simplify.
1848
1849 2019-03-07 Martin Liska <mliska@suse.cz>
1850
1851 * dwarf2out.c (add_AT_vms_delta): Revert function removal.
1852
1853 2019-03-07 Richard Biener <rguenther@suse.de>
1854
1855 PR tree-optimization/89595
1856 * tree-ssa-dom.c (dom_opt_dom_walker::optimize_stmt): Take
1857 stmt iterator as reference, take boolean output parameter to
1858 indicate whether the stmt was removed and thus the iterator
1859 already advanced.
1860 (dom_opt_dom_walker::before_dom_children): Re-iterate over
1861 stmts created by folding.
1862
1863 2019-03-07 Jakub Jelinek <jakub@redhat.com>
1864
1865 PR c++/89585
1866 * doc/extend.texi (Basic Asm): Document qualifiers are not allowed
1867 at toplevel.
1868
1869 2019-03-06 Peter Bergner <bergner@linux.ibm.com>
1870
1871 PR rtl-optimization/88845
1872 * config/rs6000/rs6000.c (rs6000_emit_move_si_sf_subreg): Enable during
1873 LRA.
1874 * lra.c (remove_scratches_1): New function.
1875 (remove_scratches): Use it.
1876 (lra_emit_move): Likewise.
1877
1878 2019-03-06 Claudiu Zissulescu <claziss@synopsys.com>
1879
1880 * config/arc/arc-c.def (__ARC_UNALIGNED__): Set it on
1881 unaligned_access variable.
1882 * config/arc/arc.c (arc_override_options): Set unaligned access
1883 default on for HS CPUs.
1884 * config/arc/arc.h (STRICT_ALIGNMENT): Fix logic.
1885
1886 2019-03-06 Martin Liska <mliska@suse.cz>
1887
1888 PR gcov-profile/89577
1889 * doc/gcov.texi: Prefer to use --coverage.
1890 * doc/sourcebuild.texi: Likewise.
1891
1892 2019-03-02 Jason Merrill <jason@redhat.com>
1893
1894 PR c++/86485 - -Wmaybe-unused with empty class ?:
1895 * gimplify.c (gimplify_cond_expr): Use INIT_EXPR.
1896
1897 2019-03-05 Jakub Jelinek <jakub@redhat.com>
1898
1899 PR target/89587
1900 * config/rs6000/t-linux (MULTIARCH_DIRNAME): Set to non-empty only
1901 if_multiarch.
1902
1903 PR middle-end/89590
1904 * builtins.c (maybe_emit_free_warning): Punt if free doesn't have
1905 exactly one argument.
1906
1907 2019-03-05 Jakub Jelinek <jakub@redhat.com>
1908 Richard Sandiford <richard.sandiford@arm.com>
1909
1910 PR tree-optimization/89570
1911 * match.pd (vec_cond into cond_op simplification): Don't use
1912 get_conditional_internal_fn, use as_internal_fn (cond_op).
1913
1914 2019-03-05 Wilco Dijkstra <wdijkstr@arm.com>
1915
1916 PR target/89222
1917 * config/arm/arm.md (movsi): Use targetm.cannot_force_const_mem
1918 to decide when to split off a non-zero offset from a symbol.
1919 * config/arm/arm.c (arm_cannot_force_const_mem): Disallow offsets
1920 in function symbols.
1921
1922 2019-03-05 Richard Biener <rguenther@suse.de>
1923
1924 PR tree-optimization/89594
1925 * tree-if-conv.c (pass_if_conversion::execute): Handle
1926 case where .LOOP_VECTORIZED_FUNCTION was removed.
1927
1928 2019-03-05 Jakub Jelinek <jakub@redhat.com>
1929
1930 PR bootstrap/89560
1931 * fold-const.c (fold_checksum_tree): Don't use fixed size buffer,
1932 instead alloca it only when needed with the needed size.
1933
1934 PR tree-optimization/89570
1935 * match.pd (vec_cond into cond_op simplification): Guard with
1936 vectorized_internal_fn_supported_p test and #if GIMPLE.
1937
1938 PR tree-optimization/89566
1939 * gimple-ssa-sprintf.c (sprintf_dom_walker::handle_gimple_call):
1940 Set info.fncode to BUILT_IN_NONE if gimple_call_builtin_p failed.
1941 Punt if get_user_idx_format succeeds, but idx_format argument is
1942 not provided or doesn't have pointer type, or if idx_args is above
1943 number of provided arguments.
1944
1945 2019-03-04 Wilco Dijkstra <wdijkstr@arm.com>
1946
1947 PR tree-optimization/89437
1948 * match.pd: Use lt in sin(atan(x)) and cos(atan(x)) simplifications.
1949
1950 2019-03-04 Richard Biener <rguenther@suse.de>
1951
1952 PR middle-end/89572
1953 * tree-scalar-evolution.c: (get_loop_exit_condition): Use
1954 safe_dyn_cast.
1955
1956 2019-03-04 Bin Cheng <bin.cheng@linux.alibaba.com>
1957
1958 PR tree-optimization/89487
1959 * tree-loop-distribution.c (has_nonaddressable_dataref_p): New.
1960 (create_rdg_vertices): Compute has_nonaddressable_dataref_p.
1961 (distribute_loop): Don't do runtime alias check if there is non-
1962 addressable data reference.
1963 * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Check if VAR_DECL
1964 is a register variable.
1965
1966 2019-03-02 Jakub Jelinek <jakub@redhat.com>
1967
1968 PR target/89506
1969 * config/arm/arm.md (cmpsi2_addneg): Use
1970 trunc_int_for_mode (-INTVAL (...), SImode) instead of -INTVAL (...).
1971 If operands[2] is 0 or INT_MIN, force use of subs.
1972 (*compare_scc splitter): Use gen_int_mode.
1973 (*negscc): Likewise.
1974 * config/arm/thumb2.md (*thumb2_negscc): Likewise.
1975
1976 2019-03-01 Kito Cheng <kito.cheng@gmail.com>
1977 Monk Chiang <sh.chiang04@gmail.com>
1978
1979 * common/config/riscv/riscv-common.c: Include sstream.
1980 (riscv_subset_list::to_string): New.
1981 (riscv_arch_str): Likewise.
1982 * config.gcc (riscv*-*-*): Handle --with-riscv-attribute=
1983 * config.in: Regen.
1984 * config/riscv/riscv-protos.h (riscv_arch_str): New.
1985 * config/riscv/riscv.c (INCLUDE_STRING): Defined.
1986 (riscv_emit_attribute): New.
1987 (riscv_file_start): Emit attribute if needed.
1988 (riscv_option_override): Init riscv_emit_attribute_p.
1989 * config/riscv/riscv.opt (mriscv-attribute): New option.
1990 * configure.ac (riscv*-*-*): Check binutils is supporting ELF
1991 * configure: Regen.
1992 * doc/install.texi: Document --with-riscv-attribute.
1993 * doc/invoke.texi: Document -mriscv-attribute.
1994
1995 * common/config/riscv/riscv-common.c:
1996 Include config/riscv/riscv-protos.h.
1997 (INCLUDE_STRING): Defined.
1998 (RISCV_DONT_CARE_VERSION): Defined.
1999 (riscv_subset_t): Declare.
2000 (riscv_subset_t::riscv_subset_t): New.
2001 (riscv_subset_list): Declare.
2002 (riscv_subset_list::riscv_subset_list): New.
2003 (riscv_subset_list::~riscv_subset_list): Likewise.
2004 (riscv_subset_list::parsing_subset_version): Likewise.
2005 (riscv_subset_list::parse_std_ext): Likewise.
2006 (riscv_subset_list::parse_sv_or_non_std_ext): Likewise.
2007 (riscv_subset_list::add): Likewise.
2008 (riscv_subset_list::lookup): Likewise.
2009 (riscv_subset_list::xlen): Likewise.
2010 (riscv_subset_list::parse): Likewise.
2011 (riscv_supported_std_ext): Likewise.
2012 (current_subset_list): Likewise.
2013 (riscv_parse_arch_string): Using riscv_subset_list::parse to
2014 parse.
2015
2016 2019-03-01 Segher Boessenkool <segher@kernel.crashing.org>
2017
2018 * config/rs6000/rs6000.c (rs6000_option_override_internal): If
2019 rs6000_dejagnu_cpu_index is set, use that to override rs6000_cpu_index.
2020 * config/rs6000/rs6000.opt (mdejagnu-cpu=): New option.
2021
2022 2019-03-01 Alexander Monakov <amonakov@ispras.ru>
2023
2024 PR rtl-optimization/85899
2025 * haifa-sched.c (find_fallthru_edge_from): Relax assert to account for
2026 fallthru edges leading to the exit block.
2027
2028 2019-03-01 Tamar Christina <tamar.christina@arm.com>
2029
2030 PR target/89517
2031 * config/aarch64/aarch64-option-extensions.def (fp, simd, crypto, fp16,
2032 rdma, dotprod, sha2, sha3, sm4, fp16fml, sve): Collapse line.
2033
2034 2019-03-01 Richard Sandiford <richard.sandiford@arm.com>
2035
2036 PR tree-optimization/89535
2037 * tree-vect-stmts.c (vectorizable_call): Record the vector types
2038 for each operand. Calculate the fallback choice for mask operands
2039 and pass it to vect_get_vec_def_for_operand.
2040
2041 2019-03-01 Richard Biener <rguenther@suse.de>
2042
2043 PR middle-end/89541
2044 * tree-ssa-operands.c (add_stmt_operand): CONST_DECL may
2045 get virtual operands.
2046 (get_expr_operands): Handle CONST_DECL like other decls.
2047
2048 2019-03-01 Jakub Jelinek <jakub@redhat.com>
2049
2050 PR middle-end/89503
2051 * fold-const.c (fold_checksum_tree): Ignore TREE_NO_WARNING bit
2052 on DECL_P and EXPR_P.
2053
2054 2019-03-01 Richard Biener <rguenther@suse.de>
2055
2056 PR middle-end/89497
2057 * tree-cfgcleanup.h (cleanup_tree_cfg): Add SSA update flags
2058 argument, defaulted to zero.
2059 * passes.c (execute_function_todo): Pass down SSA update flags
2060 to cleanup_tree_cfg.
2061 * tree-cfgcleanup.c: Include tree-into-ssa.h and tree-cfgcleanup.h.
2062 (cleanup_tree_cfg_noloop): After cleanup_control_flow_pre update SSA
2063 form if requested.
2064 (cleanup_tree_cfg): Get and pass down SSA update flags.
2065
2066 2019-03-01 Jakub Jelinek <jakub@redhat.com>
2067
2068 PR bootstrap/89539
2069 * dwarf2out.c (output_comdat_type_unit): Add ATTRIBUTE_UNUSED to
2070 early_lto_debug argument.
2071
2072 2019-02-28 Eric Botcazou <ebotcazou@adacore.com>
2073
2074 PR tree-optimization/89536
2075 * tree-ssa-dom.c (edge_info::derive_equivalences) <BIT_NOT_EXPR>: Test
2076 only whether bit #0 of the value is 0 instead of the entire value.
2077
2078 2019-02-28 Marek Polacek <polacek@redhat.com>
2079
2080 PR c++/87068 - missing diagnostic with fallthrough statement.
2081 * gimplify.c (expand_FALLTHROUGH_r): If IFN_FALLTHROUGH was found
2082 at the end of a seq, save its location to walk_stmt_info.
2083 (expand_FALLTHROUGH): Warn if IFN_FALLTHROUGH is at the end of
2084 a switch.
2085
2086 2019-02-28 Jan Hubicka <hubicka@ucw.cz>
2087
2088 PR lto/88585
2089 * tree.c (find_atomic_core_type): Move ahead in file.
2090 (check_base_type): Correctly compare alignments of atomic types.
2091
2092 2019-02-28 H.J. Lu <hongjiu.lu@intel.com>
2093
2094 PR target/89455
2095 * config/i386/i386.c (get_builtin_code_for_version): Identify
2096 Westmere from PCLMUL, instead of AES.
2097
2098 2019-02-28 Jakub Jelinek <jakub@redhat.com>
2099
2100 PR target/89434
2101 * config/arm/arm.md (*subsi3_carryin_compare_const): Use
2102 trunc_int_for_mode (-INTVAL (...), SImode), just instead of
2103 -UINTVAL (...).
2104
2105 2019-02-28 Tamar Christina <tamar.christina@arm.com>
2106
2107 PR target/88530
2108 * config/aarch64/aarch64-option-extensions.def: Document it.
2109 * config/aarch64/driver-aarch64.c (host_detect_local_cpu): Skip feature
2110 if empty hwcaps.
2111
2112 2019-02-28 Jakub Jelinek <jakub@redhat.com>
2113
2114 PR c/89520
2115 * convert.c (convert_to_real_1, convert_to_integer_1): Punt for
2116 builtins if they don't have a single scalar floating point argument.
2117 Formatting fixes.
2118
2119 2019-02-27 Bernd Edlinger <bernd.edlinger@hotmail.de>
2120
2121 PR rtl-optimization/89490
2122 * varasm.c (get_block_for_section): Bail out for mergeable sections.
2123 (default_use_anchors_for_symbol_p, output_object_block): Assert the
2124 block section is not mergeable.
2125
2126 2019-02-27 Jakub Jelinek <jakub@redhat.com>
2127
2128 PR target/70341
2129 * config/arm/arm.md (arm_casesi_internal): New define_expand. Rename
2130 old define_insn to ...
2131 (*arm_casesi_internal): ... this. Add mode to LABEL_REFs.
2132 * config/arm/thumb2.md (thumb2_casesi_internal): New define_expand.
2133 Rename old define_insn to ...
2134 (*thumb2_casesi_internal): ... this. Add mode to LABEL_REFs.
2135 (thumb2_casesi_internal_pic): New define_expand. Rename old
2136 define_insn to ...
2137 (*thumb2_casesi_internal_pic): ... this. Add mode to LABEL_REFs.
2138 * config/aarch64/aarch64.md (casesi): Create the casesi_dispatch
2139 MEM manually here, set MEM_READONLY_P and MEM_NOTRAP_P on it.
2140
2141 2019-02-27 Richard Biener <rguenther@suse.de>
2142
2143 PR debug/88878
2144 * dwarf2out.c (use_debug_types): Disable when in_lto_p.
2145
2146 2019-02-27 Richard Biener <rguenther@suse.de>
2147
2148 * passes.c (should_skip_pass_p): Do not skip cgraph-edge
2149 building.
2150
2151 2019-02-27 Richard Biener <rguenther@suse.de>
2152
2153 PR debug/88878
2154 * dwarf2out.c (output_comdat_type_unit): Add early_lto_debug
2155 parameter, prefix section name with .gnu.debuglto_ if true.
2156 (dwarf2out_finish): Pass false to output_comdat_type_unit.
2157 (dwarf2out_early_finish): Pass true to output_comdat_type_unit.
2158
2159 2019-02-27 Richard Biener <rguenther@suse.de>
2160
2161 PR debug/89514
2162 * dwarf2out.c (size_of_die): Key on AT_ref (a)->comdat_type_p
2163 rather than on use_debug_types, doing what output_die does.
2164 (value_format): Likewise.
2165
2166 2019-02-27 Martin Jambor <mjambor@suse.cz>
2167 Martin Sebor <msebor@redhat.com>
2168
2169 * doc/invoke.texi (Warning Options): Reword description of
2170 -Wno-absolute-value.
2171
2172 2019-02-27 Jakub Jelinek <jakub@redhat.com>
2173
2174 PR tree-optimization/89280
2175 * tree-cfgcleanup.c (maybe_dead_abnormal_edge_p,
2176 builtin_setjmp_setup_bb): New functions.
2177 (cleanup_control_flow_pre): Ignore maybe_dead_abnormal_edge_p edges.
2178 When visiting __builtin_setjmp_setup block, queue in special
2179 setjmp_vec vector edges from .ABNORMAL_DISPATCHER to corresponding
2180 __builtin_setjmp_receiver. Remove .ABNORMAL_DISPATCHER basic blocks
2181 from visited after the loop if they don't have any visited successor
2182 blocks.
2183
2184 2018-02-26 Steve Ellcey <sellcey@marvell.com>
2185
2186 * config/aarch64/aarch64.c (aarch64_get_multilib_abi_name):
2187 New function.
2188 (TARGET_GET_MULTILIB_ABI_NAME): New macro.
2189
2190 2019-02-26 Jakub Jelinek <jakub@redhat.com>
2191
2192 PR c++/89507
2193 * tree.c (valid_constant_size_p): Deal with size INTEGER_CSTs
2194 with types other than sizetype/ssizetype.
2195
2196 2019-02-26 Eric Botcazou <ebotcazou@adacore.com>
2197
2198 * config/sparc/sparc-opts.h (enum processor_type): Rename to...
2199 (enum sparc_processor_type): ...this.
2200 (enum sparc_code_model_type): New enumeration type.
2201 (enum sparc_memory_model_type): Tweak comments.
2202 * config/sparc/sparc.opt (mcpu): Adjust to above renaming.
2203 (mtune): Likewise.
2204 (mcmodel): Use sparc_code_model enumeration and variable.
2205 (sparc_code_model): New enumeration.
2206 (mdebug): Add Undocumented marker.
2207 * config/sparc/sparc.h (enum cmodel): Delete.
2208 (sparc_cmodel): Likewise.
2209 (TARGET_CM_MEDLOW): Adjust to above renaming.
2210 (TARGET_CM_MEDMID): Likewise.
2211 (TARGET_CM_MEDANY): Likewise.
2212 (TARGET_CM_EMBMEDANY): Likewise.
2213 * config/sparc/sparc.c (sparc_cmodel): Delete.
2214 (sparc_option_override): Remove string/value mapping support for the
2215 code model. Move code and memory model support to after the handling
2216 of target flags. Do private machine setup last.
2217 (sparc_emit_set_symbolic_const64): Use sparc_code_model.
2218 (sparc_legitimize_reload_address): Likewise.
2219 (sparc_output_mi_thunk): Likewise.
2220 * config/sparc/sparc.md (cpu): Adjust comment to above renaming.
2221
2222 2019-02-26 Jakub Jelinek <jakub@redhat.com>
2223
2224 PR tree-optimization/89500
2225 * tree-ssa-strlen.c (stridx_strlenloc): Adjust comment.
2226 (handle_builtin_strlen): Remove noncst_bound variable. Always
2227 optimize strnlen (x, 0) to 0. Optimize strnlen (x, cst) to
2228 cst if the first cst bytes starting at x are known to be non-zero,
2229 even if the string is not zero terminated. Don't try to modify
2230 *si for strnlen. Update strlen_to_stridx only for strlen or if
2231 we can prove strnlen returns the same value as strlen would.
2232
2233 2019-02-26 Martin Liska <mliska@suse.cz>
2234
2235 * alloc-pool.h (struct pool_usage): Remove extra
2236 print_dash_line.
2237 * bitmap.h (struct bitmap_usage): Likewise.
2238 * ggc-common.c (struct ggc_usage): Likewise.
2239 * mem-stats.h (struct mem_usage): Likewise.
2240 (mem_alloc_description::dump): Print dash lines
2241 here and repeat header at the end of a table report.
2242 It's then more readable.
2243 * tree-phinodes.c (phinodes_print_statistics): Make
2244 horizontal alignment.
2245 * tree-ssanames.c (ssanames_print_statistics): Likewise.
2246 * vec.c (struct vec_usage): Remove extra print_dash_line.
2247 * vec.h (vec_safe_grow_cleared): Pass PASS_MEM_STAT.
2248
2249 2019-02-26 Uroš Bizjak <ubizjak@gmail.com>
2250
2251 * doc/extend.texi (__builtin_object_size):
2252 Use @pxref instead of @xref inside parenthesis.
2253 (__builtin_has_attribute): Add missing comma after @xref.
2254 (__builtin_object_size): Ditto.
2255 * doc/md.texi (cond_*{mode}): Use @samp instead of @var around op1[i].
2256 * fortran/invoke.texi (-ffpe-trap): Use @var for every item
2257 in the list.
2258
2259 2019-02-26 Jeff Law <law@redhat.com>
2260
2261 PR rtl-optimization/87761
2262 * regcprop.c (copyprop_hardreg_forward_1): Use REG_UNUSED notes to
2263 detect obviously dead insns and delete them.
2264
2265 2019-02-26 Richard Biener <rguenther@suse.de>
2266
2267 PR tree-optimization/89505
2268 * tree-ssa-structalias.c (compute_dependence_clique): Make sure
2269 to handle restrict pointed-to vars with multiple subvars
2270 correctly.
2271
2272 2019-02-26 Richard Biener <rguenther@suse.de>
2273
2274 PR tree-optimization/89489
2275 * tree-parloops.c (create_loop_fn): Copy over last_clique.
2276
2277 2019-02-26 Eric Botcazou <ebotcazou@adacore.com>
2278
2279 * tree-ssa-dom.c (edge_info::derive_equivalences) <BIT_IOR_EXPR>: Fix
2280 and move around comment.
2281 <BIT_AND_EXPR>: Likewise.
2282 <BIT_NOT_EXPR>: Add specific handling for boolean types.
2283
2284 2019-02-26 Jakub Jelinek <jakub@redhat.com>
2285
2286 PR target/89474
2287 * config/i386/i386.c (remove_partial_avx_dependency): Call
2288 df_analyze etc. before creation of the v4sf_const0 pseudo, rather than
2289 after changing possibly many instructions to use that pseudo. Fix up
2290 insertion of v4sf_const0 setter at the start of bb.
2291
2292 2019-02-25 Sandra Loosemore <sandra@codesourcery.com>
2293
2294 PR c/80409
2295 * doc/extend.texi (Variadic Pointer Args): New section.
2296
2297 2019-02-25 Sandra Loosemore <sandra@codesourcery.com>
2298 Martin Sebor <msebor@gmail.com>
2299
2300 * common.opt (Wattribute-alias): Likewise.
2301 * doc/invoke.texi (Option Summary): List general form of
2302 -Wattribute-alias=. List positive form of -Wmissing-attributes.
2303 (-Wmissing-attributes): Invert entry, rewrite and correct default.
2304 Add cross-references.
2305 (-Wattribute-alias): Rewrite and correct default. Mention
2306 considered attributes (same as for -Wmissing-attributes).
2307
2308 2019-02-25 Paul A. Clarke <pc@us.ibm.com>
2309
2310 * config/rs6000/emmintrin.h (_mm_cvtpd_epi32): Fix big endian.
2311 (_mm_cvtpd_ps): Likewise.
2312 (_mm_cvttpd_epi32): Likewise.
2313
2314 PR target/89338
2315 * config/rs6000/xmmintrin.h (_mm_cvtss_f32): Fix type mismatch.
2316 (_mm_cvt_ss2si): Fix type mismatch and 32-bit.
2317
2318 PR target/89339
2319 * config/rs6000/xmmintrin.h (_mm_movemask_pi8): Fix 32-bit.
2320
2321 2019-02-25 Tamar Christina <tamar.christina@arm.com>
2322
2323 PR target/88530
2324 * common/config/aarch64/aarch64-common.c
2325 (struct aarch64_option_extension): Add is_synthetic.
2326 (all_extensions): Use it.
2327 (TARGET_OPTION_INIT_STRUCT): Define hook.
2328 (struct gcc_targetm_common): Moved to end.
2329 (all_extensions_by_on): New.
2330 (opt_ext_cmp, typedef opt_ext): New.
2331 (aarch64_option_init_struct): New.
2332 (aarch64_contains_opt): New.
2333 (aarch64_get_extension_string_for_isa_flags): Output smallest set.
2334 * config/aarch64/aarch64-option-extensions.def
2335 (AARCH64_OPT_EXTENSION): Explicitly include AES and SHA2 in crypto.
2336 (fp, simd, crc, lse, fp16, rcpc, rdma, dotprod, aes, sha2, sha3,
2337 sm4, fp16fml, sve, profile, rng, memtag, sb, ssbs, predres):
2338 Set is_synthetic to false.
2339 (crypto): Set is_synthetic to true.
2340 * config/aarch64/driver-aarch64.c (AARCH64_OPT_EXTENSION): Add
2341 SYNTHETIC.
2342
2343 2019-02-25 Tamar Christina <tamar.christina@arm.com>
2344
2345 * config/arm/arm_neon.h (vfmlal_low_u32, vfmlsl_low_u32,
2346 vfmlal_high_u32, vfmlsl_high_u32, vfmlalq_low_u32, vfmlslq_low_u32,
2347 vfmlalq_high_u32, vfmlslq_high_u32, vfmlal_lane_low_u32,
2348 vfmlal_lane_high_u32, vfmlalq_laneq_low_u32, vfmlalq_lane_low_u32,
2349 vfmlal_laneq_low_u32, vfmlalq_laneq_high_u32, vfmlalq_lane_high_u32,
2350 vfmlal_laneq_high_u32, vfmlsl_lane_low_u32, vfmlsl_lane_high_u32,
2351 vfmlslq_laneq_low_u32, vfmlslq_lane_low_u32, vfmlsl_laneq_low_u32,
2352 vfmlslq_laneq_high_u32, vfmlslq_lane_high_u32, vfmlsl_laneq_high_u32):
2353 Rename ...
2354 (vfmlal_low_f16, vfmlsl_low_f16, vfmlal_high_f16, vfmlsl_high_f16,
2355 vfmlalq_low_f16, vfmlslq_low_f16, vfmlalq_high_f16, vfmlslq_high_f16,
2356 vfmlal_lane_low_f16, vfmlal_lane_high_f16, vfmlalq_laneq_low_f16,
2357 vfmlalq_lane_low_f16, vfmlal_laneq_low_f16, vfmlalq_laneq_high_f16,
2358 vfmlalq_lane_high_f16, vfmlal_laneq_high_f16, vfmlsl_lane_low_f16,
2359 vfmlsl_lane_high_f16, vfmlslq_laneq_low_f16, vfmlslq_lane_low_f16,
2360 vfmlsl_laneq_low_f16, vfmlslq_laneq_high_f16, vfmlslq_lane_high_f16,
2361 vfmlsl_laneq_high_f16): ... To this.
2362 * config/arm/neon.md: Update comments.
2363
2364 2019-02-25 Tamar Christina <tamar.christina@arm.com>
2365
2366 * config/aarch64/arm_neon.h (vfmlal_low_u32, vfmlsl_low_u32,
2367 vfmlalq_low_u32, vfmlslq_low_u32, vfmlal_high_u32, vfmlsl_high_u32,
2368 vfmlalq_high_u32, vfmlslq_high_u32, vfmlal_lane_low_u32,
2369 vfmlsl_lane_low_u32, vfmlal_laneq_low_u32, vfmlsl_laneq_low_u32,
2370 vfmlalq_lane_low_u32, vfmlslq_lane_low_u32, vfmlalq_laneq_low_u32,
2371 vfmlslq_laneq_low_u32, vfmlal_lane_high_u32, vfmlsl_lane_high_u32,
2372 vfmlal_laneq_high_u32, vfmlsl_laneq_high_u32, vfmlalq_lane_high_u32,
2373 vfmlslq_lane_high_u32, vfmlalq_laneq_high_u32, vfmlslq_laneq_high_u32):
2374 Rename ...
2375 (vfmlal_low_f16, vfmlsl_low_f16, vfmlalq_low_f16, vfmlslq_low_f16,
2376 vfmlal_high_f16, vfmlsl_high_f16, vfmlalq_high_f16, vfmlslq_high_f16,
2377 vfmlal_lane_low_f16, vfmlsl_lane_low_f16, vfmlal_laneq_low_f16,
2378 vfmlsl_laneq_low_f16, vfmlalq_lane_low_f16, vfmlslq_lane_low_f16,
2379 vfmlalq_laneq_low_f16, vfmlslq_laneq_low_f16, vfmlal_lane_high_f16,
2380 vfmlsl_lane_high_f16, vfmlal_laneq_high_f16, vfmlsl_laneq_high_f16,
2381 vfmlalq_lane_high_f16, vfmlslq_lane_high_f16, vfmlalq_laneq_high_f16,
2382 vfmlslq_laneq_high_f16): ... To this.
2383
2384 2019-02-25 Alexander Monakov <amonakov@ispras.ru>
2385
2386 PR rtl-optimization/86096
2387 * df-scan.c (df_mw_compare): Do not check mw_reg fields when
2388 comparing mw_order values.
2389
2390 2019-02-25 Jakub Jelinek <jakub@redhat.com>
2391
2392 PR target/89434
2393 * config/arm/arm.md (*subsi3_carryin_const): Use
2394 arm_neg_immediate_operand predicate instead of
2395 arm_not_immediate_operand, "L" constraint instead of "K" and
2396 print it using %n2 instead of %B2.
2397 (*subsi3_carryin_const0): New define_insn.
2398 (*subsi3_carryin_compare_const): Use const_int_I_operand predicate
2399 instead of arm_not_operand and "I" constraint instead of "K" and
2400 print it using %n3 instead of %B2. Instead of using match_dup 2 add
2401 another match_operand and in the condition check that it is negation
2402 of operands[2].
2403 (*subsi3_carryin_compare_const0): New define_ins.
2404 (*subdi_di_zesidi): Adjust to use *subsi3_carryin_const0 instead of
2405 *subsi3_carryin_const.
2406 (*arm_cmpdi_insn): Fix splitting into *subsi3_carryin_compare_const,
2407 split into *subsi3_carryin_compare_const0 if the highpart is zero.
2408
2409 PR target/89438
2410 * config/arm.vfp.md (*negdf2_vfp): Use
2411 gen_int_mode (0x80000000, SImode) instead of GEN_INT (0x80000000).
2412 * config/arm/neon.md (neon_copysignf<mode>): Likewise.
2413
2414 2019-02-24 Jakub Jelinek <jakub@redhat.com>
2415
2416 PR rtl-optimization/89445
2417 * simplify-rtx.c (simplify_ternary_operation): Don't use
2418 simplify_merge_mask on operands that may trap.
2419 * rtlanal.c (may_trap_p_1): Use FLOAT_MODE_P instead of
2420 SCALAR_FLOAT_MODE_P checks. For integral division by zero, if
2421 second operand is CONST_VECTOR, check if any element could be zero.
2422 Don't expect traps for VEC_{MERGE,SELECT,CONCAT,DUPLICATE} unless
2423 their operands can trap.
2424
2425 2019-02-23 Martin Sebor <msebor@redhat.com>
2426
2427 * gimple-ssa-sprintf.c (target_strtol): Rename...
2428 (target_strtohwi): ...to this. Handle values up to HOST_WIDE_INT_MAX.
2429 (parse_directive): Adjust to name change. Use HOST_WIDE_INT_MAX to
2430 check for range error.
2431
2432 2019-02-23 H.J. Lu <hongjiu.lu@intel.com>
2433
2434 PR driver/69471
2435 * opts-common.c (prune_options): Also prune joined switches
2436 with Negative and RejectNegative.
2437 * config/i386/i386.opt (march=): Add Negative(march=).
2438 (mtune=): Add Negative(mtune=).
2439 * doc/options.texi: Document Negative used together with Joined
2440 and RejectNegative.
2441
2442 2019-02-22 Martin Sebor <msebor@redhat.com>
2443
2444 * doc/extend.texi (Other Builtins): Add
2445 __builtin_is_constant_evaluated.
2446
2447 2019-02-22 Richard Biener <rguenther@suse.de>
2448
2449 PR tree-optimization/87609
2450 * tree-cfg.c (gimple_duplicate_bb): Only remap inlined cliques.
2451
2452 2019-02-22 Jeff Law <law@redhat.com>
2453
2454 PR rtl-optimization/87761
2455 * config/mips/mips.md: Add new combiner pattern to recognize
2456 a bitfield extraction using (ashiftrt (truncate (ashift (...)))).
2457
2458 2019-02-22 Matthew Malcomson <matthew.malcomson@arm.com>
2459
2460 PR target/89324
2461 * config/aarch64/aarch64.md: Use aarch64_general_reg predicate on
2462 destination register in peepholes generating patterns for ADDS/SUBS.
2463 (add<mode>3_compare0,
2464 *addsi3_compare0_uxtw, add<mode>3_compareC,
2465 add<mode>3_compareV_imm, add<mode>3_compareV,
2466 *adds_<optab><ALLX:mode>_<GPI:mode>,
2467 *subs_<optab><ALLX:mode>_<GPI:mode>,
2468 *adds_<optab><ALLX:mode>_shift_<GPI:mode>,
2469 *subs_<optab><ALLX:mode>_shift_<GPI:mode>,
2470 *adds_<optab><mode>_multp2, *subs_<optab><mode>_multp2,
2471 *sub<mode>3_compare0, *subsi3_compare0_uxtw,
2472 sub<mode>3_compare1): Allow stack pointer for source register.
2473 * config/aarch64/predicates.md (aarch64_general_reg): New predicate.
2474
2475 2019-02-22 Martin Sebor <msebor@redhat.com>
2476
2477 PR tree-optimization/88993
2478 PR tree-optimization/88853
2479 * gimple-ssa-sprintf.c (sprintf_dom_walker::call_info::is_file_func):
2480 New helper.
2481 (sprintf_dom_walker::call_info::is_string_func): New helper.
2482 (format_directive): Only issue "may exceed" 4095/INT_MAX warnings
2483 for formatted string functions.
2484 (sprintf_dom_walker::handle_gimple_call): Fix a typo in a comment.
2485
2486 2019-02-22 Martin Sebor <msebor@redhat.com>
2487
2488 PR c/89425
2489 * c-parser.c (sizeof_ptr_memacc_comptypes): Avoid warning in
2490 unreachable subexpressions.
2491
2492 2019-02-22 H.J. Lu <hongjiu.lu@intel.com>
2493 Hongtao Liu <hongtao.liu@intel.com>
2494 Sunil K Pandey <sunil.k.pandey@intel.com>
2495
2496 PR target/87007
2497 * config/i386/i386-passes.def: Add
2498 pass_remove_partial_avx_dependency.
2499 * config/i386/i386-protos.h
2500 (make_pass_remove_partial_avx_dependency): New.
2501 * config/i386/i386.c (make_pass_remove_partial_avx_dependency):
2502 New function.
2503 (pass_data_remove_partial_avx_dependency): New.
2504 (pass_remove_partial_avx_dependency): Likewise.
2505 (make_pass_remove_partial_avx_dependency): Likewise.
2506 * config/i386/i386.md (avx_partial_xmm_update): New attribute.
2507 (*extendsfdf2): Add avx_partial_xmm_update.
2508 (truncdfsf2): Likewise.
2509 (*float<SWI48:mode><MODEF:mode>2): Likewise.
2510 (SF/DF conversion splitters): Disabled for TARGET_AVX.
2511
2512 2019-02-22 Aldy Hernandez <aldyh@redhat.com>
2513
2514 PR middle-end/85598
2515 * gimple-ssa-sprintf.c (pass_sprintf_length::execute): Enable loop
2516 analysis for pass.
2517
2518 2019-02-22 Thiago Macieira <thiago.macieira@intel.com>
2519
2520 PR target/89444
2521 * config/i386/i386.h (PTA_WESTMERE): Remove PTA_AES.
2522 (PTA_SKYLAKE): Add PTA_AES.
2523 (PTA_GOLDMONT): Likewise.
2524
2525 2019-02-22 Sudakshina Das <sudi.das@arm.com>
2526
2527 * config/aarch64/aarch64.c (aarch64_output_mi_thunk): Add bti
2528 instruction if enabled.
2529 (aarch64_override_options): Remove reference to return address key.
2530
2531 2019-02-22 Richard Biener <rguenther@suse.de>
2532
2533 PR tree-optimization/89440
2534 * tree-vect-loop.c (vect_create_epilog_for_reduction): Remove
2535 not necessary assert.
2536
2537 2019-02-22 Thomas Schwinge <thomas@codesourcery.com>
2538
2539 PR fortran/72741
2540 * omp-general.c (oacc_replace_fn_attrib): Mostly split out into...
2541 (oacc_replace_fn_attrib_attr): ... this new function.
2542 * omp-general.h (oacc_replace_fn_attrib_attr): New prototype.
2543 * config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): Revert workaround.
2544
2545 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2546
2547 * config/arm/arm-cpus.in (ares): Rename to...
2548 (neoverse-n1): ... This. Add ares as alias.
2549 * config/arm/arm-tables.opt: Regenerate.
2550 * config/arm/arm-tune.md: Likewise.
2551 * doc/invoke.txt (ARM Options): Document neoverse-n1.
2552
2553 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2554
2555 * config/aarch64/aarch64-cores.def (neoverse-e1): Define.
2556 * config/aarch64/aarch64-tune.md: Regenerate.
2557 * doc/invoke.texi (AArch64 Options): Document neoverse-e1 -mcpu option.
2558
2559 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2560
2561 * config/aarch64/aarch64.c (ares_tunings): Rename to...
2562 (neoversen1_tunings): ... This.
2563 * config/aarch64/aarch64-cores.def (ares): Change tuning to the above.
2564 (neoverse-n1): New CPU.
2565 * config/aarch64/aarch64-tune.md: Regenerate.
2566 * doc/invoke.txt (AArch64 Options): Document neoverse-n1.
2567
2568 2019-02-22 Richard Biener <rguenther@suse.de>
2569
2570 PR middle-end/87609
2571 * cfghooks.h (dependence_hash): New typedef.
2572 (struct copy_bb_data): New type.
2573 (cfg_hooks::duplicate_block): Adjust to take a copy_bb_data argument.
2574 (duplicate_block): Likewise.
2575 * cfghooks.c (duplicate_block): Pass down copy_bb_data.
2576 (copy_bbs): Create and pass down copy_bb_data.
2577 * cfgrtl.c (cfg_layout_duplicate_bb): Adjust.
2578 (rtl_duplicate_bb): Likewise.
2579 * tree-cfg.c (gimple_duplicate_bb): If the copy_bb_data arg is not NULL
2580 remap dependence info.
2581
2582 2019-02-22 Richard Biener <rguenther@suse.de>
2583
2584 PR tree-optimization/87609
2585 * tree-core.h (tree_base): Document special clique values.
2586 * tree-inline.c (remap_dependence_clique): Do not use the
2587 special clique value of one.
2588 (maybe_set_dependence_info): Use clique one.
2589 (clear_dependence_clique): New callback.
2590 (compute_dependence_clique): Clear clique one from all refs
2591 before assigning it (again).
2592
2593 2019-02-21 Martin Sebor <msebor@redhat.com>
2594
2595 * doc/extend.texi (__clear_cache): Correct signature.
2596
2597 2019-02-21 Ian Lance Taylor <iant@golang.org>
2598
2599 PR go/89170
2600 * varasm.c (decode_addr_const): Call lookup_constant_def rather
2601 than output_constant_def.
2602 (add_constant_to_table): New static function.
2603 (output_constant_def): Call add_constant_to_table.
2604 (tree_output_constant_def): Likewise.
2605
2606 2019-02-21 Jakub Jelinek <jakub@redhat.com>
2607
2608 PR c++/89285
2609 * builtins.c (fold_builtin_arith_overflow): If first two args are
2610 INTEGER_CSTs, set intres and ovfres to constants rather than calls
2611 to ifn.
2612
2613 2019-02-21 H.J. Lu <hongjiu.lu@intel.com>
2614
2615 PR target/87412
2616 * config/i386/i386.c (ix86_set_indirect_branch_type): Issue an
2617 error for -mindirect-branch/-mfunction-return with incompatible
2618 -fcf-protection.
2619
2620 2019-02-21 Jakub Jelinek <jakub@redhat.com>
2621
2622 PR bootstrap/88714
2623 * constraints.md (q): Remove.
2624 * config/arm/ldrdstrd.md (*arm_ldrd, *arm_strd): Use rk constraint
2625 instead of q.
2626
2627 2019-02-21 Martin Jambor <mjambor@suse.cz>
2628
2629 PR hsa/89302
2630 * omp-general.c (omp_extract_for_data): Removed a duplicate call
2631 to omp_adjust_for_condition, moved NE_EXPR code_cond processing...
2632 (omp_adjust_for_condition): ...here. Added necessary parameters.
2633 * omp-general.h (omp_adjust_for_condition): Updated declaration.
2634 * omp-grid.c (grid_attempt_target_gridification): Adjust to pass
2635 proper values to new parameters of omp_adjust_for_condition.
2636
2637 2019-02-20 Jakub Jelinek <jakub@redhat.com>
2638
2639 PR middle-end/89412
2640 * expr.c (expand_assignment): If result is a MEM, use change_address
2641 instead of simplify_gen_subreg.
2642
2643 2019-02-20 Jakub Jelinek <jakub@redhat.com>
2644 David Malcolm <dmalcolm@redhat.com>
2645
2646 PR middle-end/89091
2647 * fold-const.c (decode_field_reference): Return NULL_TREE if
2648 lang_hooks.types.type_for_size returns NULL. Check it before
2649 overwriting *exp_. Use return NULL_TREE instead of return 0.
2650
2651 2019-02-20 Jakub Jelinek <jakub@redhat.com>
2652
2653 PR middle-end/88074
2654 PR middle-end/89415
2655 * toplev.c (do_compile): Double the emin/emax exponents to workaround
2656 buggy mpc_norm.
2657
2658 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2659
2660 PR target/89397
2661 * config/i386/i386.c (ix86_atomic_assign_expand_fenv): Check
2662 TARGET_SSE in addition to TARGET_SSE_MATH.
2663
2664 (ix86_excess_precision): Ditto.
2665 (ix86_float_exceptions_rounding_supported_p): Ditto.
2666 (use_rsqrt_p): Ditto.
2667 * config/i386/sse.md (rsqrt<mode>2): Ditto.
2668
2669 2019-02-20 David Malcolm <dmalcolm@redhat.com>
2670
2671 PR c/89410
2672 * diagnostic-show-locus.c (layout::calculate_line_spans): Use
2673 linenum_arith_t when determining if two adjacent line spans are
2674 close enough to merge.
2675 (diagnostic_show_locus): Use linenum_arith_t when iterating over
2676 lines within each line_span.
2677
2678 2019-02-20 Andre Vieira <andre.simoesdiasvieira@arm.com>
2679
2680 PR target/86487
2681 * lra-constraints.c(uses_hard_regs_p): Fix handling of
2682 paradoxical SUBREGS.
2683
2684 2019-02-20 Li Jia He <helijia@linux.ibm.com>
2685
2686 PR target/88100
2687 * gcc/config/rs6000/rs6000.c (rs6000_gimple_fold_builtin)
2688 <case ALTIVEC_BUILTIN_VSPLTISB, ALTIVEC_BUILTIN_VSPLTISH,
2689 ALTIVEC_BUILTIN_VSPLTISW>: Don't convert the operand before
2690 range checking it.
2691
2692 2019-02-19 Jonathan Wakely <jwakely@redhat.com>
2693
2694 * config/gcn/gcn.c (print_operand): Fix typo.
2695
2696 2019-02-19 Richard Biener <rguenther@suse.de>
2697
2698 PR middle-end/88074
2699 * toplev.c (do_compile): Initialize mpfr's exponent range
2700 based on available float modes.
2701
2702 2019-02-19 Eric Botcazou <ebotcazou@adacore.com>
2703
2704 * rtlanal.c (get_initial_register_offset): Fall back to the estimate
2705 as long as the epilogue isn't completed.
2706
2707 2019-02-18 Martin Sebor <msebor@redhat.com>
2708
2709 * doc/cpp.texi (Conditional syntax): Add __has_attribute,
2710 __has_cpp_attribute, and __has_include.
2711
2712 2019-02-18 Martin Sebor <msebor@redhat.com>
2713
2714 * doc/invoke.texi (-Wreturn-type): Correct and expand.
2715
2716 2019-02-18 Martin Sebor <msebor@redhat.com>
2717
2718 PR middle-end/89294
2719 * tree.c (valid_constant_size_p): Avoid assuming size is a constant
2720 expression.
2721 * tree.h (cst_size_error): Add the cst_size_not_constant enumerator.
2722
2723 2019-02-18 Richard Biener <rguenther@suse.de>
2724
2725 PR tree-optimization/89296
2726 * tree-ssa-loop-ch.c (ch_base::copy_headers): Restrict setting
2727 of no-warning flag to cases that might emit the bogus warning.
2728
2729 2019-02-18 Jakub Jelinek <jakub@redhat.com>
2730
2731 PR bootstrap/88714
2732 * config/arm/arm.md (*arm_movdi, *movdf_soft_insn): Use "r" instead of
2733 "q" constraint.
2734 * config/arm/vfp.md (*movdi_vfp): Likewise.
2735 * config/arm/ldrdstrd.md (*arm_ldrd, *arm_strd): Use "r" instead of
2736 "q" constraint for operands[0].
2737
2738 PR target/89369
2739 * config/s390/s390.md (*r<noxa>sbg_<mode>_srl_bitmask,
2740 *r<noxa>sbg_<mode>_sll, *r<noxa>sbg_<mode>_srl): Don't construct
2741 pattern in a temporary buffer.
2742 (*r<noxa>sbg_sidi_srl): Likewise. Always use 32 as I3 rather
2743 than 64-operands[2].
2744
2745 PR target/89361
2746 * config/s390/s390.c (s390_indirect_branch_attrvalue,
2747 s390_indirect_branch_settings): Define unconditionally.
2748 (s390_set_current_function): Likewise, but guard the whole body except
2749 the s390_indirect_branch_settings call with
2750 #if S390_USE_TARGET_ATTRIBUTE.
2751 (TARGET_SET_CURRENT_FUNCTION): Redefine unconditionally.
2752
2753 * config/s390/s390.md (*<risbg_n>_ior_and_sr_ze,
2754 *<risbg_n>_<mode>_ior_and_lshiftrt, *<risbg_n>_sidi_ior_and_lshiftrt):
2755 Use HOST_WIDE_INT_M1U instead of ~(0ULL).
2756 (*<risbg_n>_and_subregdi_rotr, *<risbg_n>_and_subregdi_rotl): Use
2757 HOST_WIDE_INT_1U instead of 1ULL.
2758 (*pre_z10_extzv<mode>, *pre_z10_extv<mode>): Change mask type from int
2759 to unsigned HOST_WIDE_INT, use HOST_WIDE_INT_1U instead of 1ul.
2760 (*insv<mode><clobbercc_or_nocc>_appendbitsleft,
2761 z = (x << c) | (y >> d) splitters): Use HOST_WIDE_INT_1U
2762 instead of 1UL.
2763 (*insv<mode>_mem_reg, *insvdi_mem_reghigh): Use HOST_WIDE_INT_1U
2764 instead of 1ul.
2765
2766 2019-02-18 Martin Jambor <mjambor@suse.cz>
2767
2768 PR tree-optimization/89209
2769 * tree-sra.c (create_access_replacement): New optional parameter
2770 reg_tree. Use it as a type if non-NULL and access type is not of
2771 a register type.
2772 (get_repl_default_def_ssa_name): New parameter REG_TYPE, pass it
2773 to create_access_replacement.
2774 (sra_modify_assign): Pass LHS type to get_repl_default_def_ssa_name.
2775 Check lacc is non-NULL before attempting to re-create it on the RHS.
2776
2777 2019-02-18 Martin Liska <mliska@suse.cz>
2778
2779 PR ipa/89306
2780 * cgraph.c (symbol_table::create_edge): Set m_summary_id to -1
2781 by default.
2782 (symbol_table::free_edge): Recycle m_summary_id.
2783 * cgraph.h (get_summary_id): New.
2784 (symbol_table::release_symbol): Set m_summary_id to -1
2785 by default.
2786 (symbol_table::allocate_cgraph_symbol): Recycle m_summary_id.
2787 * ipa-fnsummary.c (ipa_fn_summary_t): Switch from
2788 function_summary to fast_function_summary.
2789 * ipa-fnsummary.h (ipa_fn_summary_t): Likewise.
2790 * ipa-pure-const.c (class funct_state_summary_t):
2791 Switch from function_summary to fast_function_summary.
2792 * ipa-reference.c (class ipa_ref_var_info_summary_t): Likewise.
2793 (class ipa_ref_opt_summary_t): Switch from function_summary
2794 to fast_function_summary.
2795 * symbol-summary.h (class function_summary_base): New class
2796 that is created from base of former function_summary.
2797 (function_summary_base::unregister_hooks): New.
2798 (class function_summary): Inherit from function_summary_base.
2799 (class call_summary_base): New class
2800 that is created from base of former call_summary.
2801 (class call_summary): Inherit from call_summary_base.
2802 (struct is_same): New.
2803 (class fast_function_summary): New summary class.
2804 (class fast_call_summary): New summary class.
2805 * vec.h (vec_safe_grow_cleared): New function.
2806
2807 2019-02-18 Martin Liska <mliska@suse.cz>
2808
2809 * config/i386/i386.c (ix86_get_multilib_abi_name): New function.
2810 (TARGET_GET_MULTILIB_ABI_NAME): New macro defined.
2811 * doc/tm.texi: Document new target hook.
2812 * doc/tm.texi.in: Likewise.
2813 * target.def: Add new target macro.
2814 * gcc.c (find_fortran_preinclude_file): Do not search multilib
2815 suffixes.
2816
2817 2019-02-17 Alan Modra <amodra@gmail.com>
2818
2819 PR target/89271
2820 * config/rs6000/rs6000.md (<bd>_<mode> split): Check for an int
2821 output reg on add insn.
2822 (<bd>tf_<mode> split): Likewise. Match predicates with insn.
2823
2824 2019-02-16 H.J. Lu <hongjiu.lu@intel.com>
2825
2826 PR target/89372
2827 * config/i386/sse.md (ssedoublemode): Remove V4HI.
2828 (PMULHRSW): Likewise.
2829 (<ssse3_avx2>_pmulhrsw<mode>3): Require TARGET_SSSE3, not
2830 TARGET_AVX2.
2831 (ssse3_pmulhrswv4hi3): New expander.
2832
2833 2019-02-16 H.J. Lu <hongjiu.lu@intel.com>
2834
2835 * config/i386/mmx.md (*vec_extractv2si_zext_mem): Doesn't require
2836 MMX. Add isa attribute.
2837
2838 2019-02-16 Jakub Jelinek <jakub@redhat.com>
2839
2840 PR rtl-optimization/66152
2841 * builtins.h (c_readstr): Declare.
2842 * builtins.c (c_readstr): Remove forward declaration. Add
2843 null_terminated_p argument, if false, read all bytes from the
2844 string instead of stopping after '\0'.
2845 * expr.c (string_cst_read_str): New function.
2846 (store_expr): Use string_cst_read_str instead of
2847 builtin_strncpy_read_str. Try to store by pieces the whole
2848 exp_len first, and only if that fails, split it up into
2849 store by pieces followed by clear_storage. Formatting fix.
2850
2851 * config/i386/i386.md (*movqi_internal): Remove static from
2852 buf variable. Use output_asm_insn (buf, operands); return "";
2853 instead of return buf;.
2854 * config/i386/sse.md (<sse>_andnot<mode>3<mask_name>,
2855 *<code><mode>3<mask_name>, *andnot<mode>3, *andnottf3, *<code><mode>3,
2856 *<code>tf3, <mask_codefor><code><mode>3<mask_name>): Likewise.
2857
2858 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2859
2860 * config/sparc/linux.h (ASAN_CC1_SPEC): Define.
2861 (CC1_SPEC): Use GNU_USER_TARGET_CC1_SPEC and ASAN_CC1_SPEC.
2862 * config/sparc/linux64.h (ASAN_CC1_SPEC): Likewise.
2863 (CC1_SPEC): Likewise.
2864 * config/sparc/sparc.c (sparc_asan_shadow_offset): Adjust for 64-bit.
2865
2866 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2867
2868 * asan.c (asan_emit_stack_protection): Use full-sized mask to align
2869 the base address on 64-bit strict-alignment platforms.
2870
2871 2019-02-15 H.J. Lu <hongjiu.lu@intel.com>
2872
2873 * config/i386/i386.h (VALID_MMX_REG_MODE): Correct the misplaced ')'.
2874
2875 2019-02-15 Uroš Bizjak <ubizjak@gmail.com>
2876
2877 * config/i386/darwin.h (TARGET_FPMATH_DEFAULT_P): New define.
2878
2879 2019-02-15 Aaron Sawdey <acsawdey@linux.ibm.com>
2880
2881 PR rtl-optimization/88308
2882 * shrink-wrap.c (move_insn_for_shrink_wrap): Fix LABEL_NUSES counts
2883 on copied instruction.
2884
2885 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2886
2887 * final.c (insn_current_reference_address): Replace test on JUMP_P
2888 with test on jump_to_label_p.
2889 * config/visium/visium-passes.def: New file.
2890 * config/visium/t-visium (PASSES_EXTRA): Define.
2891 * config/visium/visium-protos.h (make_pass_visium_reorg): Declare.
2892 * config/visium/visium.h (TRAMPOLINE_SIZE): Adjust.
2893 (TRAMPOLINE_ALIGNMENT): Define.
2894 * config/visium/visium.c (visium_option_override): Do not register
2895 the machine-specific reorg pass here.
2896 (visium_trampoline_init): Align the BRA insn on a 64-bit boundary
2897 for the GR6.
2898 (output_branch): Adjust threshold for long branch instruction.
2899 * config/visium/visium.md (cpu): Move around.
2900 (length): Adjust for the GR6.
2901
2902 2019-02-15 Richard Biener <rguenther@suse.de>
2903 Jakub Jelinek <jakub@redhat.com>
2904
2905 PR tree-optimization/89278
2906 * tree-loop-distribution.c: Include tree-eh.h.
2907 (generate_memset_builtin, generate_memcpy_builtin): Call
2908 rewrite_to_non_trapping_overflow on builtin->size before passing it
2909 to force_gimple_operand_gsi.
2910
2911 2019-02-15 Jakub Jelinek <jakub@redhat.com>
2912
2913 PR other/89342
2914 * optc-save-gen.awk: Handle optimize_fast like optimize_size or
2915 optimize_debug.
2916 * opth-gen.awk: Likewise.
2917
2918 2019-02-15 Uroš Bizjak <ubizjak@gmail.com>
2919
2920 * config/i386/i386.h (TARGET_SUBTARGET64_ISA_DEFAULT):
2921 Enable MMX, SSE and SSE2 by default.
2922 * config/i386/i386.c (ix86_option_override_internal): Do not
2923 explicitly set MMX, SSE and SSE2 flags for TARGET_64BIT here.
2924
2925 2019-02-14 Jakub Jelinek <jakub@redhat.com>
2926
2927 PR rtl-optimization/89354
2928 * combine.c (make_extraction): Punt if extraction_mode is narrower
2929 than len bits.
2930
2931 2019-02-14 Maya Rashish <coypu@sdf.org>
2932
2933 * config.gcc (*-*-netbsd*): Add netbsd-d.o.
2934 * config/netbsd-d.c: New file.
2935 * config/t-netbsd: Add netbsd-d.o
2936
2937 2018-02-14 Steve Ellcey <sellcey@marvell.com>
2938
2939 * config/aarch64/aarch64.c (aarch64_attribute_table): Change
2940 affects_type_identity to true for aarch64_vector_pcs.
2941 (aarch64_comp_type_attributes): New function.
2942 (TARGET_COMP_TYPE_ATTRIBUTES): New macro.
2943
2944 2019-02-14 Tamar Christina <tamar.christina@arm.com>
2945
2946 PR target/88850
2947 * config/arm/iterators.md (ANY64): Add V4HF.
2948
2949 2019-02-14 Martin Liska <mliska@suse.cz>
2950
2951 PR rtl-optimization/89242
2952 * dce.c (delete_unmarked_insns): Call free_dominance_info we
2953 process a transformation.
2954
2955 2019-02-14 Jakub Jelinek <jakub@redhat.com>
2956
2957 PR tree-optimization/89314
2958 * fold-const.c (fold_binary_loc): Cast strlen argument to
2959 const char * before dereferencing it. Formatting fixes.
2960
2961 PR middle-end/89284
2962 * passes.def: Swap pass_ubsan and pass_early_warn_uninitialized.
2963
2964 2019-02-13 Ian Lance Taylor <iant@golang.org>
2965
2966 * optc-save-gen.awk: Set var_opt_hash for initial optimizations
2967 and set current index for other optimizations.
2968
2969 2019-02-13 Uroš Bizjak <ubizjak@gmail.com>
2970
2971 * config/i386/sse.md (vec_set<VI4F_256_512:mode>_0): Use
2972 nonimmediate_operand as operand 2 predicate.
2973 (vec_set<VF2_512_256:mode>_0): Ditto.
2974 (vec_set<VI8_AVX_AVX512F:mode>_0): Ditto.
2975 (*vec_concatv2si): Remove alternative 2.
2976 (*vec_concatv4si_0): Use vm constraint for alternative 0.
2977 (*vec_concatv4si_0): Remove preferred_for_speed attribute.
2978 (vec_concatv2di): Split alternatives 4,5,6 to ...
2979 (*vec_concatv2di_0) ... new pattern.
2980
2981 2019-02-13 Wilco Dijkstra <wdijkstr@arm.com>
2982
2983 PR target/89190
2984 * config/arm/arm.c (ldm_stm_operation_p) Set
2985 addr_reg_in_reglist correctly for first register.
2986 (load_multiple_sequence): Remove dead base check.
2987 (gen_ldm_seq): Correctly set write_back for Thumb-1.
2988
2989 2019-02-13 Tamar Christina <tamar.christina@arm.com>
2990
2991 PR target/88847
2992 * config/aarch64/aarch64-sve.md (*pred_mov<mode>, pred_mov<mode>):
2993 Expose as @aarch64_pred_mov.
2994 * config/aarch64/aarch64.c (aarch64_classify_address):
2995 Use expand_insn which legitimizes operands.
2996
2997 2019-02-13 Martin Liska <mliska@suse.cz>
2998
2999 * builtins.h (expand_builtin_with_bounds): Remove declaration.
3000 * calls.c (struct arg_data): Remove special_slot, pointer_arg
3001 and pointer_offset fields.
3002 (initialize_argument_information): Remove usage of dead
3003 fields.
3004 * cgraph.h (struct cgraph_thunk_info): Remove
3005 add_pointer_bounds_args.
3006 * cgraphunit.c (cgraph_node::expand_thunk): Remove usage of dead
3007 fields.
3008 (cgraph_node::assemble_thunks_and_aliases): Remove usage of dead
3009 fields.
3010 * config/i386/i386.c (ix86_function_arg_advance): Remove
3011 unrelated comment.
3012 (struct builtin_isa): Remove leaf_p and nothrow_p fields.
3013 (def_builtin): Remove usage of dead
3014 fields.
3015 (ix86_add_new_builtins): Likewise.
3016 * ipa-fnsummary.c (compute_fn_summary): Likewise.
3017 * ipa-icf.c (sem_function::equals_wpa): Likewise.
3018 (sem_function::init): Likewise.
3019 (sem_variable::merge): Likewise.
3020 * ipa-visibility.c (function_and_variable_visibility): Likewise.
3021 * ipa.c (symbol_table::remove_unreachable_nodes): Likewise.
3022 * lto-cgraph.c (lto_output_node): Likewise.
3023 (lto_output_varpool_node): Likewise.
3024 (input_node): Likewise.
3025 (input_varpool_node): Likewise.
3026 * lto-streamer-out.c (lto_output): Likewise.
3027 * tree-inline.c (expand_call_inline): Remove usage of
3028 assign_stmts.
3029 * tree-inline.h (struct copy_body_data): Likewise.
3030 * varpool.c (varpool_node::dump): Likewise.
3031
3032 2019-02-13 Jakub Jelinek <jakub@redhat.com>
3033
3034 PR middle-end/89303
3035 * tree-ssa-structalias.c (set_uids_in_ptset): Or in vi->is_heap_var
3036 into pt->vars_contains_escaped_heap instead of setting
3037 pt->vars_contains_escaped_heap to it.
3038
3039 PR middle-end/89281
3040 * optabs.c (prepare_cmp_insn): Use UINTVAL (size) instead of
3041 INTVAL (size), compare it to GET_MODE_MASK instead of
3042 1 << GET_MODE_BITSIZE.
3043
3044 PR target/89290
3045 * config/i386/predicates.md (x86_64_immediate_operand): Allow
3046 TLS UNSPECs offsetted by signed 32-bit CONST_INT even with
3047 -mcmodel=large.
3048
3049 2019-02-13 Martin Liska <mliska@suse.cz>
3050
3051 PR lto/88858
3052 * cfgrtl.c (remove_barriers_from_footer): New function.
3053 (try_redirect_by_replacing_jump): Use it.
3054 (cfg_layout_redirect_edge_and_branch): Likewise.
3055
3056 2019-02-13 Xiong Hu Luo <luoxhu@linux.vnet.ibm.com>
3057
3058 * config/rs6000/altivec.h (vec_sbox_be, vec_cipher_be,
3059 vec_cipherlast_be, vec_ncipher_be, vec_ncipherlast_be): New #defines.
3060 * config/rs6000/crypto.md (CR_vqdi): New define_mode_iterator.
3061 (crypto_vsbox_<mode>, crypto_<CR_insn>_<mode>): New define_insns.
3062 * config/rs6000/rs6000-builtin.def (VSBOX_BE): New BU_CRYPTO_1.
3063 (VCIPHER_BE, VCIPHERLAST_BE, VNCIPHER_BE, VNCIPHERLAST_BE):
3064 New BU_CRYPTO_2.
3065 * config/rs6000/rs6000.c (builtin_function_type)
3066 <CRYPTO_BUILTIN_VSBOX_BE, CRYPTO_BUILTIN_VCIPHER_BE,
3067 CRYPTO_BUILTIN_VCIPHERLAST_BE, CRYPTO_BUILTIN_VNCIPHER_BE,
3068 CRYPTO_BUILTIN_VNCIPHERLAST_BE>: New switch options.
3069 * doc/extend.texi (vec_sbox_be, vec_cipher_be, vec_cipherlast_be,
3070 vec_ncipher_be, vec_ncipherlast_be): New builtin functions.
3071
3072 2019-02-12 Pat Haugen <pthaugen@us.ibm.com>
3073
3074 * doc/invoke.texi (RS/6000 and PowerPC Options): Remove duplicate
3075 -maltivec. Delete -maltivec=be and -maltivec=le documentation.
3076
3077 2019-02-12 H.J. Lu <hongjiu.lu@intel.com>
3078
3079 PR target/89229
3080 * config/i386/i386.md (*movoi_internal_avx): Revert revision
3081 268678 and revision 268657.
3082 (*movti_internal): Likewise.
3083
3084 2019-02-12 Ilya Leoshkevich <iii@linux.ibm.com>
3085
3086 PR target/89233
3087 * config/s390/s390.c (s390_decompose_address): Update comment.
3088 (s390_check_qrst_address): Reject invalid address forms after
3089 LRA.
3090
3091 2019-02-12 Martin Liska <mliska@suse.cz>
3092
3093 PR lto/88876
3094 * ipa-pure-const.c (propagate_pure_const): Revert hunk as
3095 we need default values of funct_state for a function that
3096 is not optimized.
3097
3098 2019-02-12 Eric Botcazou <ebotcazou@adacore.com>
3099
3100 * asan.c (asan_expand_mark_ifn): Take into account the alignment of
3101 the object to pick the size of stores on strict-alignment platforms.
3102
3103 * config/sparc/sparc.md (*movsi_insn): Minor tweak.
3104 (*movdi_insn_sp32): Likewise.
3105 (*movdi_insn_sp64): Likewise.
3106
3107 2019-02-12 Jan Hubicka <hubicka@ucw.cz>
3108
3109 PR lto/88677
3110 * cgraphunit.c (analyze_functions): Clear READONLY flag for external
3111 types that needs constructiong.
3112 * tree.h (may_be_aliased): Do not check TYPE_NEEDS_CONSTRUCTING.
3113
3114 2019-02-12 Richard Biener <rguenther@suse.de>
3115
3116 PR tree-optimization/89253
3117 * tree-ssa-loop-split.c (tree_ssa_split_loops): Check we can
3118 duplicate the loop.
3119
3120 2019-02-11 David Malcolm <dmalcolm@redhat.com>
3121
3122 PR lto/88147
3123 * input.c (selftest::test_line_offset_overflow): New selftest.
3124 (selftest::input_c_tests): Call it.
3125
3126 2019-02-11 Martin Sebor <msebor@redhat.com>
3127
3128 PR tree-optimization/88771
3129 * gimple-ssa-warn-restrict.c (pass_wrestrict::gate): Also enable
3130 when -Wstringop-overflow is set.
3131 (builtin_memref::builtin_memref): Adjust excessive upper bound
3132 only when lower bound is not excessive.
3133 (maybe_diag_overlap): Detect and diagnose excessive bounds via
3134 -Wstringop-ovefflow.
3135 (maybe_diag_offset_bounds): Rename...
3136 (maybe_diag_access_bounds): ...to this.
3137 (check_bounds_or_overlap): Adjust for name change above.
3138
3139 2019-02-11 Martin Sebor <msebor@redhat.com>
3140
3141 PR c++/87996
3142 * builtins.c (max_object_size): Move from here...
3143 * builtins.h (max_object_size): ...and here...
3144 * tree.c (max_object_size): ...to here...
3145 * tree.h (max_object_size): ...and here.
3146
3147 2019-02-11 Bill Schmidt <wschmidt@linux.ibm.com>
3148
3149 * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Shift-right
3150 and shift-left vector built-ins need to include a TRUNC_MOD_EXPR
3151 for correct semantics.
3152
3153 2019-02-11 Alan Modra <amodra@gmail.com>
3154
3155 * doc/invoke.texi (man page RS/6000 and PowerPC Options): Mention
3156 -mlongcall and -mpltseq.
3157 (RS/6000 and PowerPC Options <-mlongcall>): Mention inline PLT calls.
3158 (RS/6000 and PowerPC Options <-mpltseq>): Document.
3159 * config/rs6000/rs6000.h (TARGET_PLTSEQ): Define.
3160 * config/rs6000/sysv4.opt (mpltseq): New option.
3161 * config/rs6000/sysv4.h (TARGET_PLTSEQ): Redefine.
3162 (SUBTARGET_OVERRIDE_OPTIONS): Error if given -mpltseq when assembler
3163 support is lacking. Don't allow -mpltseq with -mbss-plt.
3164 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Warn if
3165 -mpltseq given for ELFv1.
3166 * config/rs6000/rs6000.c (rs6000_call_aix): Comment on UNSPEC_PLTSEQ.
3167 Only use UNSPEC_PLTSEQ for inline PLT calls.
3168 (rs6000_call_sysv, rs6000_sibcall_sysv): Expand comments. Only
3169 use UNSPEC_PLTSEQ for inline PLT calls.
3170 (rs6000_indirect_call_template_1, rs6000_longcall_ref),
3171 (rs6000_call_aix, rs6000_call_sysv, rs6000_sibcall_sysv): Replace
3172 uses of HAVE_AS_PLTSEQ with TARGET_PLTSEQ, simplifying.
3173 * config/rs6000/rs6000.md (pltseq_tocsave_<mode>),
3174 (pltseq_plt16_ha_<mode>, pltseq_plt16_lo_<mode>),
3175 (pltseq_mtctr_<mode>): Likewise.
3176
3177 2019-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3178
3179 * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Use 8-byte strings with
3180 Solaris ld.
3181 * configure: Regenerate.
3182
3183 2019-02-11 Jakub Jelinek <jakub@redhat.com>
3184
3185 PR bootstrap/88714
3186 * config/arm/ldrdstrd.md (*arm_ldrd, *arm_strd): Use q constraint
3187 instead of r.
3188
3189 2019-02-11 Hans-Peter Nilsson <hp@axis.com>
3190
3191 * function.c (assign_parm_setup_block): Use the stored
3192 size, not the passed size, when allocating stack-space,
3193 also for a parameter with alignment larger than
3194 MAX_SUPPORTED_STACK_ALIGNMENT.
3195
3196 2019-02-11 Martin Liska <mliska@suse.cz>
3197
3198 PR ipa/89009
3199 * ipa-cp.c (build_toporder_info): Remove usage of a param.
3200 * ipa-inline.c (inline_small_functions): Likewise.
3201 * ipa-pure-const.c (propagate_pure_const): Likewise.
3202 (propagate_nothrow): Likewise.
3203 * ipa-reference.c (propagate): Likewise.
3204 * ipa-utils.c (struct searchc_env): Remove unused field.
3205 (searchc): Always search across AVAIL_INTERPOSABLE.
3206 (ipa_reduced_postorder): Always allow AVAIL_INTERPOSABLE as
3207 the only called IPA pure const can properly not propagate
3208 across interposable boundary.
3209 * ipa-utils.h (ipa_reduced_postorder): Remove param.
3210
3211 2019-02-11 Chung-Ju Wu <jasonwucj@gmail.com>
3212
3213 * config/nds32/nds32.md (call_internal, call_value_internal,
3214 sibcall_internal, sibcall_value_internal): Use SImode for mem rtx.
3215
3216 2019-02-11 Hans-Peter Nilsson <hp@axis.com>
3217
3218 * config/cris/cris.c (cris_preferred_minimum_alignment): Fix name
3219 typo.
3220
3221 2019-02-10 H.J. Lu <hongjiu.lu@intel.com>
3222
3223 * config/i386/constraints.md (Yd): Replace AVX512BW with AVX512DQ
3224 in comments
3225
3226 2019-02-10 Chung-Ju Wu <jasonwucj@gmail.com>
3227
3228 * config.gcc (with_nds32_lib): Set default --with-nds32-lib correctly.
3229
3230 2019-02-10 Jakub Jelinek <jakub@redhat.com>
3231
3232 PR tree-optimization/89268
3233 * tree-if-conv.c (version_loop_for_if_conversion): Push to preds only
3234 if preds is non-NULL.
3235
3236 2019-02-09 Jan Hubicka <hubicka@ucw.cz>
3237
3238 PR lto/89272
3239 * tree.c (fld_simplified_type_name): Also keep TYPE_DECL for
3240 polymorphic types.
3241
3242 2019-02-10 Monk Chiang <sh.chiang04@gmail.com>
3243
3244 * config/nds32/nds32.md (trap): New pattern.
3245
3246 2019-02-10 Monk Chiang <sh.chiang04@gmail.com>
3247
3248 * config/nds32/nds32.c (nds32_dwarf_register_span): Refine register
3249 dwarf span.
3250
3251 2019-02-10 Chung-Ju Wu <jasonwucj@gmail.com>
3252
3253 * config/nds32/nds32-md-auxiliary.c (nds32_spilt_doubleword): Support
3254 to split POST_INC.
3255
3256 2019-02-09 Jan Hubicka <hubicka@ucw.cz>
3257
3258 * ipa-visibility.c (localize_node): Also do not localize
3259 LDPR_PREVAILING_DEF_IRONLY_EXP.
3260
3261 2019-02-09 Jan Hubicka <hubicka@ucw.cz>
3262
3263 PR lto/87957
3264 * tree.c (fld_simplified_type_name): Use DECL_ASSEMBLER_NAME_SET_P
3265 instead of type_with_linkage.
3266
3267 2019-02-09 Jan Hubicka <hubicka@ucw.cz>
3268
3269 PR ipa/88755
3270 * params.def (uninlined-function-insns, uninlined-function-time,
3271 uninlined-thunk-insns, uninlined-thunk-time): Add artificial upper
3272 bound so we don't get overflows.
3273
3274 2019-02-09 Aaron Sawdey <acsawdey@linux.ibm.com>
3275
3276 * config/rs6000/rs6000-string.c (expand_compare_loop,
3277 expand_block_compare): Insert REG_BR_PROB notes in inline expansion of
3278 memcmp/strncmp.
3279
3280 2019-02-09 Jakub Jelinek <jakub@redhat.com>
3281
3282 PR middle-end/89246
3283 * config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen):
3284 If !node->definition and TYPE_ARG_TYPES is non-NULL, use
3285 TYPE_ARG_TYPES instead of DECL_ARGUMENTS.
3286
3287 2019-02-09 Alan Modra <amodra@gmail.com>
3288
3289 PR target/88343
3290 * config/rs6000/rs6000.c (save_reg_p): Correct calls_eh_return
3291 case. Match logic in rs6000_emit_prologue emitting pic_offset_table
3292 setup.
3293
3294 2019-02-08 Vladimir Makarov <vmakarov@redhat.com>
3295
3296 PR middle-end/88560
3297 * lra-constraints.c (process_alt_operands): Don't increase reject
3298 for memory when offset memory is required.
3299
3300 2019-02-08 Robin Dapp <rdapp@linux.ibm.com>
3301
3302 * config/s390/vector.md: Implement vector copysign.
3303
3304 2019-02-08 H.J. Lu <hongjiu.lu@intel.com>
3305
3306 * expr.c (expand_constructor): Correct indentations.
3307
3308 2019-02-08 Richard Biener <rguenther@suse.de>
3309
3310 PR tree-optimization/89247
3311 * tree-if-conv.c: Include tree-cfgcleanup.h.
3312 (version_loop_for_if_conversion): Record LOOP_VECTORIZED call.
3313 (tree_if_conversion): Pass through predicate vector.
3314 (pass_if_conversion::execute): Do CFG cleanup and SSA update
3315 inline, see if any if-converted loops we refrece in
3316 LOOP_VECTORIZED calls vanished and fixup.
3317 * tree-if-conv.h (tree_if_conversion): Adjust prototype.
3318
3319 2019-02-08 Ilya Leoshkevich <iii@linux.ibm.com>
3320
3321 * config/s390/constraints.md (jdd): New constraint.
3322
3323 2019-02-08 H.J. Lu <hongjiu.lu@intel.com>
3324
3325 PR target/89229
3326 * config/i386/i386.md (*movoi_internal_avx): Set mode to XI for
3327 upper 16 vector registers without TARGET_AVX512VL.
3328 (*movti_internal): Likewise.
3329
3330 2019-02-08 Jakub Jelinek <jakub@redhat.com>
3331
3332 PR rtl-optimization/89234
3333 * except.c (copy_reg_eh_region_note_forward): Return if note_or_insn
3334 is a NOTE, CODE_LABEL etc. - rtx_insn * other than INSN_P.
3335 (copy_reg_eh_region_note_backward): Likewise.
3336
3337 2019-02-08 Richard Biener <rguenther@suse.de>
3338
3339 PR middle-end/89223
3340 * tree-data-ref.c (initialize_matrix_A): Fail if constant
3341 doesn't fit in HWI.
3342 (analyze_subscript_affine_affine): Handle failure from
3343 initialize_matrix_A.
3344
3345 2019-02-08 Jakub Jelinek <jakub@redhat.com>
3346
3347 * cfganal.c (pre_and_rev_post_order_compute_fn): Use fn instead of
3348 cfun everywhere.
3349
3350 2019-02-07 David Malcolm <dmalcolm@redhat.com>
3351
3352 PR tree-optimization/86637
3353 PR tree-optimization/89235
3354 * tree-vect-loop.c (optimize_mask_stores): Add an
3355 auto_purge_vect_location sentinel to ensure that vect_location is
3356 purged on exit.
3357 * tree-vectorizer.c
3358 (auto_purge_vect_location::~auto_purge_vect_location): New dtor.
3359 (try_vectorize_loop_1): Add an auto_purge_vect_location sentinel
3360 to ensure that vect_location is purged on exit.
3361 (pass_slp_vectorize::execute): Likewise, replacing the manual
3362 reset.
3363 * tree-vectorizer.h (class auto_purge_vect_location): New class.
3364
3365 2019-02-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3366
3367 * config/aarch64/iterators.md (max_opp): New code_attr.
3368 (USMAX): New code iterator.
3369 * config/aarch64/predicates.md (aarch64_smin): New predicate.
3370 (aarch64_smax): Likewise.
3371 * config/aarch64/aarch64-simd.md (abd<mode>_3): Rename to...
3372 (*aarch64_<su>abd<mode>_3): ... Change RTL representation to
3373 MINUS (MAX MIN).
3374
3375 2019-02-07 H.J. Lu <hongjiu.lu@intel.com>
3376
3377 PR target/89229
3378 * config/i386/i386.md (*movoi_internal_avx): Set mode to OI
3379 for TARGET_AVX512VL.
3380 (*movti_internal): Set mode to TI for TARGET_AVX512VL.
3381
3382 2019-02-07 Andreas Krebbel <krebbel@linux.ibm.com>
3383
3384 * config/s390/s390-builtin-types.def: Add new types.
3385 * config/s390/s390-builtins.def: (s390_vec_xl, s390_vec_xld2)
3386 (s390_vec_xlw4): Make the memory operand into a const pointer.
3387 (s390_vec_xld2, s390_vec_xlw4): Add a variant for single precision
3388 float.
3389 * config/s390/s390-c.c (s390_expand_overloaded_builtin): Generate
3390 a new vector type with the alignment of the scalar memory operand.
3391
3392 2019-02-07 Matthew Malcomson <matthew.malcomson@arm.com>
3393 Jakub Jelinek <jakub@redhat.com>
3394
3395 PR bootstrap/88714
3396 * config/arm/arm-protos.h (valid_operands_ldrd_strd,
3397 arm_count_ldrdstrd_insns): New declarations.
3398 * config/arm/arm.c (mem_ok_for_ldrd_strd): Remove broken handling of
3399 MINUS.
3400 (valid_operands_ldrd_strd): New function.
3401 (arm_count_ldrdstrd_insns): New function.
3402 * config/arm/ldrdstrd.md: Change peepholes to generate PARALLEL SImode
3403 sets instead of single DImode set and define new insns to match this.
3404
3405 2019-02-07 Tamar Christina <tamar.christina@arm.com>
3406
3407 * config/aarch64/aarch64-builtins.c (aarch64_fcmla_lane_builtin_data):
3408 Make it a C initializer.
3409
3410 2019-02-07 Tamar Christina <tamar.christina@arm.com>
3411
3412 PR/target 88850
3413 * config/arm/neon.md (*neon_mov<mode>): Add r -> r case.
3414
3415 2019-02-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3416
3417 * config/arm/neon.md (neon_<sup>dot<vsi2qi>):
3418 Use neon_dot<q> for type.
3419 (neon_<sup>dot_lane<vsi2qi>): Likewise.
3420
3421 2019-02-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3422
3423 * config/aarch64/aarch64-simd.md (aarch64_<sur>dot<vsi2qi>):
3424 Use neon_dot<q> for type.
3425 (aarch64_<sur>dot_lane<vsi2qi>): Likewise.
3426 (aarch64_<sur>dot_laneq<vsi2qi>): Likewise.
3427
3428 2019-02-06 Vladimir Makarov <vmakarov@redhat.com>
3429
3430 PR rtl-optimization/89225
3431 * lra-constaints.c (simplify_operand_subreg): Add subreg mode
3432 sizes check.
3433
3434 2019-02-06 Eric Botcazou <ebotcazou@adacore.com>
3435
3436 * config/i386/i386.c (ix86_expand_prologue): Emit a memory blockage
3437 after restoring registers saved to allocate the frame on Windows.
3438
3439 2019-02-06 Richard Biener <rguenther@suse.de>
3440
3441 PR tree-optimization/89182
3442 * graphite.h (cached_scalar_evolution_in_region): Declare.
3443 * graphite.c (struct seir_cache_key): New.
3444 (struct sese_scev_hash): Likewise.
3445 (seir_cache): New global.
3446 (cached_scalar_evolution_in_region): New function.
3447 (graphite_transform_loops): Allocate and release seir_cache.
3448 * graphite-isl-ast-to-gimple.c (get_rename_from_scev): Use
3449 cached_scalar_evolution_in_region.
3450 * graphite-scop-detection.c (scop_detection::can_represent_loop):
3451 Simplify.
3452 (scop_detection::graphite_can_represent_expr: Use
3453 cached_scalar_evolution_in_region.
3454 (scop_detection::stmt_simple_for_scop_p): Likewise.
3455 (find_params_in_bb): Likewise.
3456 (gather_bbs::before_dom_children): Likewise.
3457 * graphite-sese-to-poly.c (create_pw_aff_from_tree): Likewise.
3458 (add_loop_constraints): Likewise.
3459
3460 2019-02-06 Jakub Jelinek <jakub@redhat.com>
3461
3462 PR middle-end/89210
3463 * fold-const-call.c (fold_const_vec_convert): Pass true as last
3464 operand to new_unary_operation only if both element types are integral
3465 and it isn't a widening conversion. Return NULL_TREE if
3466 new_unary_operation failed.
3467
3468 2019-02-05 Andreas Krebbel <krebbel@linux.ibm.com>
3469
3470 PR target/88856
3471 * config/s390/s390.md: Remove load and test FP splitter.
3472
3473 2019-02-05 Aaron Sawdey <acsawdey@linux.ibm.com>
3474
3475 PR target/89112
3476 * config/rs6000/rs6000-string.c (do_ifelse, expand_cmp_vec_sequence,
3477 expand_compare_loop, expand_block_compare_gpr,
3478 expand_strncmp_align_check, expand_strncmp_gpr_sequence): Insert
3479 REG_BR_PROB notes in inline expansion of memcmp/strncmp. Add
3480 #include "profile-count.h" and "predict.h" for types and functions
3481 needed to work with REG_BR_PROB notes.
3482
3483 2019-02-05 Aaron Sawdey <acsawdey@linux.ibm.com>
3484
3485 PR target/89112
3486 * config/rs6000/rs6000.md (<bd>tf_<mode>): Generate a local label
3487 for the long branch case.
3488
3489 2019-02-05 Jakub Jelinek <jakub@redhat.com>
3490
3491 PR target/89188
3492 * dce.c (delete_unmarked_insns): Don't remove no-op moves if they
3493 can throw, non-call exceptions are enabled and we can't delete
3494 dead exceptions or alter cfg. Set must_clean if
3495 delete_insn_and_edges returns true, don't set it blindly for calls.
3496 Assert that delete_unreachable_blocks is called only if can_alter_cfg.
3497
3498 PR rtl-optimization/89195
3499 * combine.c (make_extraction): For MEMs, don't extract bytes outside
3500 of the original MEM.
3501
3502 2019-02-05 Martin Liska <mliska@suse.cz>
3503
3504 PR gcov-profile/89000
3505 * gcov.c (function_summary): Remove argument.
3506 (file_summary): New function.
3507 (print_usage): Replace tabs with spaces.
3508 (generate_results): Use new function file_summary.
3509
3510 2019-02-05 Jakub Jelinek <jakub@redhat.com>
3511
3512 PR target/89186
3513 * optabs.c (prepare_cmp_insn): Pass x and y to
3514 emit_block_comp_via_libcall rather than XEXP (x, 0) and XEXP (y, 0).
3515
3516 2019-02-05 Richard Biener <rguenther@suse.de>
3517
3518 PR middle-end/89150
3519 * bitmap.h (struct bitmap_obstack): Do not mark GTY.
3520 (struct bitmap_element): Drop chain_prev so we properly recurse on
3521 the prev member, supporting tree views.
3522 (struct bitmap_head): GTY skip the obstack member.
3523
3524 2019-02-04 Alexander Monakov <amonakov@ispras.ru>
3525
3526 PR c/88698
3527 * doc/extend.texi (Vector Extensions): Add an example of using vector
3528 types together with x86 intrinsics.
3529
3530 2019-02-04 Alan Modra <amodra@gmail.com>
3531
3532 * config/rs6000/rs6000.c (rs6000_indirect_call_template_1): Increase
3533 str[] size to 160, and comment.
3534
3535 2019-02-04 Alan Modra <amodra@gmail.com>
3536
3537 * config/rs6000/rs6000.c (rs6000_indirect_call_template_1),
3538 (rs6000_pltseq_template): Guard output of TLS markers with
3539 TARGET_TLS_MARKERS.
3540 (rs6000_longcall_ref, rs6000_call_aix, rs6000_call_sysv),
3541 (rs6000_sibcall_sysv): Ignore TARGET_TLS_MARKERS when deciding
3542 to use inline PLT sequences.
3543 * config/rs6000/rs6000.md (pltseq_tocsave_<mode>),
3544 (pltseq_plt16_ha_<mode>, pltseq_plt16_lo_<mode>),
3545 (pltseq_mtctr_<mode>): Don't test TARGET_TLS_MARKERS in predicate.
3546
3547 2019-02-04 Martin Liska <mliska@suse.cz>
3548
3549 PR ipa/88985
3550 * ipa-fnsummary.c (estimate_edge_devirt_benefit): Bail
3551 out when ipa_fn_summaries does not contain entry for callee.
3552
3553 2019-02-04 Eric Botcazou <ebotcazou@adacore.com>
3554
3555 * config/sparc/sparc.h: Remove superfluous blank lines.
3556 * config/sparc/sparc.c (global_offset_table_rtx): Rename into...
3557 (got_register_rtx): ...this.
3558 (sparc_got): Adjust to above renaming.
3559 (sparc_tls_got): Likewise.
3560 (sparc_delegitimize_address): Likewise.
3561 (sparc_output_mi_thunk): Likewise.
3562 (sparc_init_pic_reg): Likewise.
3563 (save_local_or_in_reg_p): Fix test on the GOT register.
3564 (USE_HIDDEN_LINKONCE): Move around.
3565 (get_pc_thunk_name): Likewise.
3566 (gen_load_pcrel_sym): Likewise.
3567 (load_got_register): Likewise.
3568
3569 2019-02-04 Kito Cheng <kito.cheng@gmail.com>
3570
3571 * config/nds32/linux.h (GLIBC_DYNAMIC_LINKER): Define the naming rule
3572 of the dynamic linker: "ld-linux-nds32[le|be][f].so.1".
3573
3574 2019-02-04 Chung-Ju Wu <jasonwucj@gmail.com>
3575
3576 * config/nds32/nds32.c (nds32_legitimate_address_p): Add TLS model
3577 into consideration.
3578
3579 2019-02-04 Chung-Ju Wu <jasonwucj@gmail.com>
3580
3581 * config.gcc (with_nds32_lib, glibc):
3582 Remove TARGET_DEFAULT_TLSDESC_TRAMPOLINE=0 setting.
3583 * config/nds32/linux.h (TARGET_DEFAULT_TLSDESC_TRAMPOLINE): Delete.
3584 (NDS32_TLSDESC_TRAMPOLINE_SPEC): Delete.
3585
3586 2019-02-03 Uroš Bizjak <ubizjak@gmail.com>
3587
3588 PR target/89071
3589 * config/i386/i386.md (*sqrt<mode>2_sse): Add (v,0) alternative.
3590 Do not prefer (v,v) alternative for non-AVX targets and (m,v)
3591 alternative for speed when TARGET_SSE_PARTIAL_REG_DEPENDENCY is set.
3592 (*rcpsf2_sse): Ditto.
3593 (*rsqrtsf2_sse): Ditto.
3594 (sse4_1_round<mode<2): Ditto.
3595
3596 2019-02-03 Richard Biener <rguenther@suse.de>
3597
3598 PR debug/87295
3599 * dwarf2out.c (copy_ancestor_tree): Register non-stubs as
3600 orig.
3601
3602 2019-02-02 Jakub Jelinek <jakub@redhat.com>
3603
3604 PR middle-end/87887
3605 * config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen):
3606 Punt with warning on aggregate return or argument types. Ignore
3607 type/mode checking for uniform arguments.
3608
3609 2019-02-01 Segher Boessenkool <segher@kernel.crashing.org>
3610
3611 * combine.c (try_combine): Do not print "Can't combine" messages unless
3612 printing failed combination attempts.
3613
3614 2019-02-01 Martin Jambor <mjambor@suse.cz>
3615
3616 PR hsa/87863
3617 * omp-grid.c (grid_mark_variable_segment): Set assembler name of group
3618 segment and global segment variables before making them static.
3619
3620 2019-02-01 Martin Jambor <mjambor@suse.cz>
3621
3622 * omp-grid.c (grid_target_follows_gridifiable_pattern): Guard two
3623 missed optimization dump with dump_enabled_p.
3624
3625 2019-02-01 Richard Biener <rguenther@suse.de>
3626
3627 PR middle-end/88597
3628 * tree-scalar-evolution.c (analyze_scalar_evolution): Set up
3629 the instantiate cache.
3630 (instantiate_scev_binary): Elide second operand procesing
3631 if equal to the first.
3632 * tree-chrec.c (chrec_contains_symbols): Add visited set.
3633 (chrec_contains_undetermined): Likewise.
3634 (tree_contains_chrecs): Likewise.
3635
3636 2019-02-01 Jan Hubicka <hubicka@ucw.cz>
3637
3638 * parms.def (MAX_INLINE_INSNS_SINGLE): Reduce from 400 to 200.
3639
3640 2019-02-01 Jakub Jelinek <jakub@redhat.com>
3641
3642 PR tree-optimization/89143
3643 * wide-int-range.h (wide_int_range_absu): Declare.
3644 * wide-int-range.cc (wide_int_range_absu): New function.
3645 * tree-vrp.c (extract_range_from_unary_expr): Handle ABSU_EXPR.
3646
3647 PR tree-optimization/88107
3648 * tree-cfg.c (find_outermost_region_in_block): Add ALL argument,
3649 instead of assertion that eh_region_outermost is non-NULL, if it
3650 is NULL, set *ALL to true and return NULL.
3651 (move_sese_region_to_fn): Adjust caller, if all is set, call
3652 duplicate_eh_regions with NULL region.
3653
3654 2019-02-01 Richard Biener <rguenth@suse.de>
3655
3656 PR rtl-optimization/88593
3657 * mode-switching.c (optimize_mode_switching): Free dominators before
3658 calling cleanup_cfg.
3659
3660 2019-02-01 Bin Cheng <bin.cheng@linux.alibaba.com>
3661
3662 PR tree-optimization/88932
3663 * tree-predcom.c (try_combine_chains): Get loop bbs in dom order.
3664
3665 2019-01-31 Jakub Jelinek <jakub@redhat.com>
3666
3667 PR middle-end/89137
3668 * omp-low.c (lower_omp_task_reductions): Drop redundant test to avoid
3669 bogus clang warning.
3670
3671 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3672
3673 PR target/89071
3674 * config/i386/i386.md (*extendsfdf2): Split out reg->reg
3675 alternative to avoid partial SSE register stall for TARGET_AVX.
3676 (truncdfsf2): Ditto.
3677 (sse4_1_round<mode>2): Ditto.
3678
3679 2018-01-31 Bill Schmidt <wschmidt@linux.ibm.com>
3680
3681 PR tree-optimization/89008
3682 * gimple-ssa-strength-reduction.c (slsr_process_mul): Don't
3683 process anything of the form X * 0.
3684
3685 2019-01-31 Richard Biener <rguenther@suse.de>
3686
3687 PR tree-optimization/89135
3688 * tree-ssa-phiprop.c (pass_phiprop::execute): Skip blocks
3689 with abnormal preds.
3690
3691 2019-01-31 Jakub Jelinek <jakub@redhat.com>
3692
3693 PR sanitizer/89124
3694 * ipa-inline.c (sanitize_attrs_match_for_inline_p): Allow inlining
3695 always_inline callees into no_sanitize_address callers.
3696
3697 2019-01-31 Richard Biener <rguenther@suse.de>
3698
3699 PR rtl-optimization/89115
3700 * lra.c (lra_rtx_hash): Properly hash CONST_INT values.
3701
3702 2019-01-30 Martin Sebor <msebor@redhat.com>
3703
3704 PR other/89106
3705 * doc/extend.texi (cast to a union): Correct and expand.
3706
3707 2019-01-30 Vladimir Makarov <vmakarov@redhat.com>
3708
3709 PR rtl-optimization/87246
3710 * lra-constraints.c (simplify_operand_subreg): Reload memory
3711 in subreg if the address became invalid.
3712
3713 2019-01-30 Bill Schmidt <wschmidt@linux.ibm.com>
3714
3715 PR target/87064
3716 * config/rs6000/vsx.md (*vsx_reduc_<VEC_reduc_name>_v4sf_scalar):
3717 Disable for little-endian.
3718
3719 2019-01-30 Richard Biener <rguenther@suse.de>
3720
3721 PR rtl-optimization/89115
3722 * opts.c (default_options_optimization): Reduce
3723 PARAM_MAX_DSE_ACTIVE_LOCAL_STORES by a factor of 10 at -O1.
3724 Make PARAM_LOOP_INVARIANT_MAX_BBS_IN_LOOP reduction relative
3725 to the default.
3726
3727 2019-01-30 Kelvin Nilsen <kelvin@gcc.gnu.org>
3728
3729 * config/rs6000/rs6000-c.c (altivec-resolve_overloaded_builtin):
3730 Change handling of ALTIVEC_BUILTIN_VEC_EXTRACT. Coerce result to
3731 type of vector element when vec_extract is implemented by direct
3732 move.
3733
3734 2019-01-30 Thomas Schwinge <thomas@codesourcery.com>
3735
3736 * doc/invoke.texi (C Language Options): List "-fopenacc-dim".
3737
3738 2019-01-30 Richard Biener <rguenther@suse.de>
3739
3740 PR tree-optimization/89111
3741 * tree-ssa-loop-im.c (gather_mem_refs_stmt): Restrict
3742 canonicalization to appropriately sized access types.
3743
3744 2019-01-30 Jakub Jelinek <jakub@redhat.com>
3745
3746 PR c++/89105
3747 * config/i386/i386.c (ix86_warn_parameter_passing_abi): Don't warn
3748 for arguments to functions that are TU-local and shouldn't be
3749 referenced by assembly.
3750
3751 2019-01-30 Ulrich Drepper <drepper@redhat.com>
3752
3753 * dumpfile.c (opt_info_switch_p_1): Ignore '-' if it appears
3754 after '='.
3755
3756 2019-01-29 Martin Sebor <msebor@redhat.com>
3757
3758 PR c/88956
3759 * gimple-fold.c (fold_array_ctor_reference): Avoid zero-length arrays.
3760
3761 2019-01-29 Jakub Jelinek <jakub@redhat.com>
3762
3763 PR c++/66676
3764 PR ipa/89104
3765 * omp-simd-clone.c (simd_clone_clauses_extract)
3766 <case OMP_CLAUSE_ALIGNED>: Ignore clauses with NULL
3767 OMP_CLAUSE_ALIGNED_ALIGNMENT.
3768
3769 2019-01-29 Vineet Gupta <vgupta@synopsys.com>
3770
3771 * config.gcc: Force .init_array for ARC.
3772
3773 2019-01-29 Richard Biener <rguenther@suse.de>
3774
3775 PR debug/87295
3776 * dwarf2out.c (collect_skeleton_dies): New helper.
3777 (copy_decls_for_unworthy_types): Call it.
3778 (build_abbrev_table): Assert we do not try to replace
3779 DW_AT_signature refs with local refs.
3780
3781 2019-01-28 Jakub Jelinek <jakub@redhat.com>
3782
3783 PR middle-end/89002
3784 * gimplify.c (gimplify_omp_for): When adding OMP_CLAUSE_*_GIMPLE_SEQ
3785 for lastprivate/linear IV, push gimplify context around gimplify_assign
3786 and, if it needed any temporaries, pop it into a gimple bind around the
3787 sequence.
3788
3789 2019-01-28 Bernd Edlinger <bernd.edlinger@hotmail.de>
3790
3791 * common.opt (-Wattribute-alias): Remove "no-" from name.
3792 Make -Wattribute-alias command line option and
3793 #pragma GCC diagnostic ignored "-Wattribute-alias" work again.
3794
3795 2019-01-28 Jakub Jelinek <jakub@redhat.com>
3796
3797 PR target/89073
3798 * doc/invoke.texi (-mclwb, -mprfchw, -mrdpid, -mrdseed, -msgx,
3799 -madx, -mhle, -mavx5124fmaps, -mavx512vnni, -mavx5124vnniw): Document
3800 x86 ISA options.
3801 (bmi2): Add missing @opindex.
3802 * doc/extend.texi (x86 target attribute): Move fma4, lwp, ssse3
3803 options alphabetically. Add missing 3dnow, 3dnowa, adx, avx, avx2,
3804 avx5124fmaps, avx5124vnniw, avx512bitalg, avx512bw, avx512cd,
3805 avx512dq, avx512er, avx512f, avx512ifma, avx512pf, avx512vbmi,
3806 avx512vbmi2, avx512vl, avx512vnni, avx512vpopcntdq, bmi, bmi2,
3807 cldemote, clflushopt, clwb, clzero, crc32, cx16, f16c, fma, fsgsbase,
3808 fxsr, gfni, hle, lzcnt, movbe, movdir64b, movdiri, mwaitx, pconfig,
3809 pku, prefetchwt1, prfchw, ptwrite, rdpid, rdrnd, rdseed, rtm, sahf,
3810 sgx, sha, shstk, tbm, vaes, vpclmulqdq, waitpkg, wbnoinvd, xsave,
3811 xsavec, xsaveopt and xsaves options.
3812
3813 2019-01-28 Richard Biener <rguenther@suse.de>
3814
3815 PR debug/89076
3816 * dwarf2out.c (gen_subprogram_die): Remove leftover from MPX
3817 support removal.
3818
3819 2019-01-28 Richard Biener <rguenther@suse.de>
3820
3821 PR tree-optimization/88739
3822 * tree-cfg.c (verify_types_in_gimple_reference): Verify
3823 BIT_FIELD_REFs only are applied to mode-precision operands
3824 when they are integral.
3825 (verify_gimple_assign_ternary): Likewise for BIT_INSERT_EXPR.
3826 * tree-ssa-sccvn.c (vn_reference_lookup_3): Avoid generating
3827 BIT_FIELD_REFs of non-mode-precision integral operands.
3828
3829 2019-01-27 Jakub Jelinek <jakub@redhat.com>
3830
3831 PR target/87214
3832 * config/i386/sse.md
3833 (<mask_codefor>avx512dq_shuf_<shuffletype>64x2_1<mask_name>,
3834 avx512f_shuf_<shuffletype>64x2_1<mask_name>): Ensure the
3835 first constants in pairs are multiples of 2. Formatting fixes.
3836 (avx512vl_shuf_<shuffletype>32x4_1<mask_name>,
3837 avx512vl_shuf_<shuffletype>32x4_1<mask_name>): Ensure the
3838 first constants in each quadruple are multiples of 4. Formatting fixes.
3839
3840 2019-01-26 Martin Jambor <mjambor@suse.cz>
3841
3842 PR ipa/88933
3843 * tree-inline.c: Include tree-cfgcleanup.h.
3844 (delete_unreachable_blocks_update_callgraph): Move...
3845 * tree-cfgcleanup.c (delete_unreachable_blocks_update_callgraph):
3846 ...here, make externally visible, make second argument bool, adjust
3847 all callers.
3848 * tree-cfgcleanup.c: Include cgraph.h.
3849 * tree-cfgcleanup.h (delete_unreachable_blocks_update_callgraph):
3850 Declare.
3851 * ipa-prop.c: Include tree-cfgcleanup.h.
3852 (ipcp_transform_function): Call
3853 delete_unreachable_blocks_update_callgraph instead of cleaning uo CFG.
3854
3855 2019-01-25 Vladimir Makarov <vmakarov@redhat.com>
3856
3857 PR rtl-optimization/88846
3858 * ira.c (process_set_for_memref_referenced_p): New.
3859 (memref_referenced_p): Add new param. Use
3860 process_set_for_memref_referenced_p. Add new switch cases.
3861 (memref_used_between_p): Pass new arg to memref_referenced_p.
3862
3863 2019-01-25 Richard Earnshaw <rearnsha@arm.com>
3864
3865 PR target/88469
3866 * config/aarch64/aarch64.c (aarch64_function_arg_alignment): Add new
3867 argument ABI_BREAK. Set to true if the calculated alignment has
3868 changed in gcc-9. Check bit-fields for their base type alignment.
3869 (aarch64_layout_arg): Warn if argument passing has changed in gcc-9.
3870 (aarch64_function_arg_boundary): Likewise.
3871 (aarch64_gimplify_va_arg_expr): Likewise.
3872
3873 2019-01-25 Richard Sandiford <richard.sandiford@arm.com>
3874
3875 PR middle-end/89037
3876 * varasm.c (output_constructor_bitfield): Use wi::extract_uhwi
3877 instead of accessing TREE_INT_CST_ELT directly.
3878
3879 2019-01-25 Christophe Lyon <christophe.lyon@linaro.org>
3880
3881 * doc/sourcebuild.texi (Environment attributes): Add fenv and
3882 fenv_exceptions description.
3883
3884 2019-01-25 Wilco Dijkstra <wdijkstr@arm.com>
3885
3886 PR rtl-optimization/87763
3887 * config/aarch64/aarch64.c (aarch64_select_cc_mode):
3888 Allow SUBREG when matching CC_NZmode compare.
3889
3890 2019-01-25 Richard Biener <rguenther@suse.de>
3891
3892 PR tree-optimization/89049
3893 * tree-vect-loop.c (vect_compute_single_scalar_iteration_cost):
3894 Look at the pattern stmt to determine if the stmt is vectorized.
3895
3896 2019-01-25 Richard Sandiford <richard.sandiford@arm.com>
3897
3898 * config/aarch64/aarch64-sve.md (*pred_mov<mode>)
3899 (pred_mov<mode>): Handle all-register forms using both a new
3900 alternative and a split.
3901
3902 2019-01-25 Richard Biener <rguenther@suse.de>
3903
3904 PR tree-optimization/86865
3905 * graphite-scop-detection.c (scop_detection::can_represent_loop):
3906 Reject non-do-while loops.
3907
3908 2019-01-24 Peter Bergner <bergner@linux.ibm.com>
3909
3910 * config/rs6000/altivec.md (build_vector_mask_for_load): Use MEM_P.
3911 * config/rs6000/constraints.md (Q constraint): Use REG_P.
3912 * config/rs6000/darwin.h (PREFERRED_RELOAD_CLASS): Use SYMBOL_REF_P.
3913 * config/rs6000/freebsd64.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Use
3914 SYMBOL_REF_P, CONST_INT_P and CONST_DOUBLE_P.
3915 * config/rs6000/linux64.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Likewise.
3916 * config/rs6000/predicates.md (altivec_register_operand, vint_operand,
3917 vsx_register_operand, vsx_reg_sfsubreg_ok, vfloat_operand,
3918 vlogical_operand, gpc_reg_operand, int_reg_operand,
3919 int_reg_operand_not_pseudo): Use SUBREG_P and HARD_REGISTER_P.
3920 (ca_operand, base_reg_operand, htm_spr_reg_operand, cc_reg_operand,
3921 cc_reg_not_cr0_operand, input_operand): Use SUBREG_P.
3922 (save_world_operation, restore_world_operation, lmw_operation,
3923 stmw_operation): Use MEM_P and REG_P.
3924 (tie_operand): Use MEM_P.
3925 (vrsave_operation, crsave_operation): Use REG_P.
3926 (mfcr_operation, mtcrf_operation): Use REG_P and CONST_INT_P.
3927 (fpr_reg_operand): Use SUBREG_P and HARD_REGISTER_NUM_P.
3928 (quad_int_reg_operand): Use HARD_REGISTER_NUM_P.
3929 (call_operand): Use HARD_REGISTER_P.
3930 (indexed_or_indirect_operand, altivec_indexed_or_indirect_operand):
3931 Use CONST_INT_P.
3932 (lwa_operand): Use SUBREG_P, REG_P and CONST_INT_P.
3933 * config/rs6000/rs6000-p8swap.c (insn_is_load_p, insn_is_store_p,
3934 quad_aligned_load_p, replace_swapped_aligned_store,
3935 recombine_lvx_pattern, replace_swapped_aligned_load,
3936 recombine_stvx_pattern): Use MEM_P.
3937 (const_load_sequence_p, adjust_vperm, replace_swapped_load_constant):
3938 Use MEM_P and SYMBOL_REF_P.
3939 (rtx_is_swappable_p): Use REG_P and CONST_INT_P.
3940 (insn_is_swappable_p): Use REG_P and MEM_P.
3941 (insn_is_swap_p, (alignment_mask): Use CONST_INT_P.
3942 * config/rs6000/rs6000-string.c (expand_block_clear, expand_block_move):
3943 Use CONST_INT_P.
3944 * config/rs6000/rs6000.c (rs6000_secondary_reload, rs6000_emit_cmove):
3945 Use CONST_DOUBLE_P.
3946 (rs6000_output_move_128bit): Use CONST_DOUBLE_P, CONST_INT_P and
3947 CONST_WIDE_INT_P.
3948 (rs6000_legitimize_address): Use CONST_DOUBLE_P, CONST_INT_P,
3949 CONST_WIDE_INT_P, REG_P and SYMBOL_REF_P.
3950 (rs6000_emit_move): Use CONST_DOUBLE_P, CONST_INT_P, HARD_REGISTER_P,
3951 HARD_REGISTER_NUM_P, MEM_P, REG_P, SUBREG_P, SYMBOL_REF_P and
3952 reg_or_subregno:
3953 (output_toc): Use CONST_DOUBLE_P, CONST_INT_P and SYMBOL_REF_P.
3954 (easy_altivec_constant, rs6000_legitimate_offset_address_p,
3955 rs6000_mode_dependent_address, rs6000_expand_mtfsf_builtin,
3956 rs6000_expand_set_fpscr_rn_builtin, rs6000_expand_set_fpscr_drn_builtin,
3957 rs6000_expand_unop_builtin, INT_P, rs6000_generate_compare,
3958 rs6000_machopic_legitimize_pic_address, rs6000_split_logical_inner,
3959 rs6000_split_logical_di): Use CONST_INT_P.
3960 (rs6000_legitimize_reload_address): Use CONST_INT_P, HARD_REGISTER_P,
3961 REG_P and SYMBOL_REF_P.
3962 (setup_incoming_varargs, rs6000_rtx_costs): Use CONST_INT_P and MEM_P.
3963 (print_operand): Use CONST_INT_P, MEM_P and REG_P.
3964 (virtual_stack_registers_memory_p, rs6000_legitimate_address_p,
3965 mems_ok_for_quad_peep): Use CONST_INT_P and REG_P.
3966 (rs6000_secondary_reload_memory): Use CONST_INT_P and SUBREG_P.
3967 (small_data_operand, print_operand_address): Use CONST_INT_P and
3968 SYMBOL_REF_P.
3969 (split_stack_arg_pointer_used_p): Use HARD_REGISTER_P.
3970 (rs6000_init_hard_regno_mode_ok, direct_move_p):
3971 Use HARD_REGISTER_NUM_P.
3972 (rs6000_secondary_reload_gpr): Use HARD_REGISTER_NUM_P and MEM_P.
3973 (rs6000_secondary_reload_class): Use HARD_REGISTER_NUM_P, REG_P,
3974 SUBREG_P and SYMBOL_REF_P.
3975 (register_to_reg_type, rs6000_secondary_reload_inner): Use SUBREG_P
3976 and HARD_REGISTER_NUM_P.
3977 (rs6000_adjust_vec_address): Use HARD_REGISTER_NUM_P and
3978 reg_or_subregno.
3979 (rs6000_adjust_cost, find_mem_ref): Use MEM_P.
3980 (macho_lo_sum_memory_operand, rs6000_eliminate_indexed_memrefs): Use
3981 MEM_P and REG_P.
3982 (legitimate_indirect_address_p, legitimate_lo_sum_address_p,
3983 registers_ok_for_quad_peep, rs6000_output_function_epilogue,
3984 find_addr_reg): Use REG_P.
3985 (altivec_expand_vec_perm_const): Use REG_P and SUBREG_P.
3986 (rs6000_emit_le_vsx_move): Use SUBREG_P.
3987 (offsettable_ok_by_alignment, constant_pool_expr_p,
3988 legitimate_small_data_p, rs6000_output_dwarf_dtprel,
3989 rs6000_delegitimize_address, rs6000_const_not_ok_for_debug_p,
3990 rs6000_cannot_force_const_mem, rs6000_output_addr_const_extra,
3991 rs6000_assemble_integer, create_TOC_reference,
3992 rs6000_emit_allocate_stack, rs6000_xcoff_encode_section_info,
3993 rs6000_call_aix, rs6000_call_aix): Use SYMBOL_REF_P.
3994 (rs6000_split_vec_extract_var): Use reg_or_subregno.
3995 * config/rs6000/rtems.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Use
3996 CONST_DOUBLE_P, CONST_INT_P and SYMBOL_REF_P.
3997 * config/rs6000/sysv4.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Likewise.
3998 * config/rs6000/xcoff.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Likewise.
3999 * config/rs6000/rs6000.h (RS6000_SYMBOL_REF_TLS_P): Use SYMBOL_REF_P.
4000 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Use HARD_REGISTER_NUM_P.
4001 (INT_REG_OK_FOR_INDEX_P, INT_REG_OK_FOR_BASE_P): Use HARD_REGISTER_P.
4002 (CONSTANT_ADDRESS_P): Use CONST_INT_P and SYMBOL_REF_P.
4003 * config/rs6000/rs6000.md (define_expands strlensi, mod<mode>3
4004 and cbranch<mode>4): Use CONST_INT_P.
4005 (multiple define_splits): Use REG_P and SUBREG_P.
4006 (define_expands call, call_value): Use MEM_P.
4007 (define_expands sibcall, sibcall_value): Use CONST_INT_P and MEM_P.
4008 (define insn *mtcrfsi): Use CONST_INT_P and REG_P.
4009 * config/rs6000/vsx.md (*vsx_le_perm_load_<mode>,
4010 *vsx_le_perm_load_v8hi, *vsx_le_perm_load_v16qi): Use HARD_REGISTER_P
4011 and HARD_REGISTER_NUM_P.
4012 (multiple define_splits): Use HARD_REGISTER_NUM_P.
4013
4014 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4015
4016 PR rtl-optimization/88948
4017 * rtl.h (prepare_copy_insn): New prototype.
4018 * gcse.c (prepare_copy_insn): New function, split out from
4019 process_insert_insn.
4020 (process_insert_insn): Use prepare_copy_insn.
4021 * store-motion.c (replace_store_insn): Use prepare_copy_insn
4022 instead of gen_move_insn.
4023
4024 2019-01-24 Jakub Jelinek <jakub@redhat.com>
4025
4026 PR debug/89006
4027 * config/i386/i386.c (ix86_pic_register_p): Return true for
4028 UNSPEC_SET_GOT too.
4029
4030 PR tree-optimization/88964
4031 * gimple-loop-interchange.cc (loop_cand::analyze_induction_var): Also
4032 punt if HONOR_SNANS (chrec).
4033
4034 PR middle-end/89015
4035 * tree-nested.c (convert_nonlocal_reference_stmt,
4036 convert_local_reference_stmt, convert_tramp_reference_stmt,
4037 convert_gimple_call) <case GIMPLE_OMP_TEAMS>: Treat
4038 gimple_omp_teams_host teams stmts like GIMPLE_OMP_PARALLEL
4039 or GIMPLE_OMP_TASK.
4040
4041 PR tree-optimization/89027
4042 * tree-inline.c (add_clobbers_to_eh_landing_pad): Don't add clobbers
4043 for "omp simd array" variables.
4044
4045 2019-01-24 Richard Earnshaw <rearnsha@arm.com>
4046
4047 PR target/88469
4048 * profile-count.h (profile_count): On ARM systems using GCC 6/7/8
4049 force the alignment of m_val.
4050
4051 2019-01-24 Richard Biener <rguenther@suse.de>
4052
4053 PR lto/87187
4054 * tree-streamer-out.c (write_ts_decl_common_tree_pointers):
4055 When in "legacy" debug mode make sure to reset self-origins.
4056
4057 2019-01-24 Martin Liska <mliska@suse.cz>
4058
4059 PR gcov-profile/88994
4060 * gcov-io.c (mangle_path): Do not allocate a bigger buffer,
4061 result will be always smaller or equal to the original.
4062 * gcov.c (mangle_name): Fix else branch where we should
4063 also copy to PTR and shift the pointer.
4064
4065 2019-01-24 Xiong Hu Luo <luoxhu@linux.vnet.ibm.com>
4066
4067 * tree-ssa-dom.c (test_for_singularity): Fix a comment typo.
4068 * vr-values.c (find_case_label_ranges): Fix a comment typo.
4069
4070 2019-01-23 Bin Cheng <bin.cheng@arm.com>
4071 Steve Ellcey <sellcey@marvell.com>
4072
4073 PR target/85711
4074 * recog.c (address_operand): Return false on wrong mode for address.
4075 (constrain_operands): Check for mode with 'p' constraint.
4076
4077 2019-01-23 Uroš Bizjak <ubizjak@gmail.com>
4078
4079 PR target/88998
4080 * config/i386/sse.md (sse2_cvtpi2pd): Add SSE alternatives.
4081 Disparage MMX alternative.
4082 (sse2_cvtpd2pi): Ditto.
4083 (sse2_cvttpd2pi): Ditto.
4084
4085 2019-01-23 David Malcolm <dmalcolm@redhat.com>
4086
4087 PR driver/89014
4088 * config/aarch64/driver-aarch64.c (host_detect_local_cpu): Fix
4089 use-after-free of the result of
4090 aarch64_get_extension_string_for_isa_flags.
4091
4092 2019-01-23 Jakub Jelinek <jakub@redhat.com>
4093
4094 PR c/44715
4095 * doc/extend.texi: Document break and continue behavior in
4096 statement expressions.
4097
4098 2019-01-23 Richard Biener <rguenther@suse.de>
4099
4100 PR tree-optimization/89008
4101 * tree-ssa-reassoc.c (eliminate_using_constants): For * 0 do
4102 not leave another stray operand.
4103
4104 2019-01-23 Jakub Jelinek <jakub@redhat.com>
4105
4106 * BASE-VER: Bump to 9.0.1.
4107
4108 2019-01-23 Eric Botcazou <ebotcazou@adacore.com>
4109
4110 * cgraphunit.c (cgraph_node::expand_thunk): When expanding a GIMPLE
4111 thunk that returns by reference, use the type of the return object
4112 of the thunk instead of that of the alias to build the dereference.
4113
4114 2019-01-23 Vineet Gupta <vgupta@synopsys.com>
4115
4116 * config/arc/atomic.md: Add operand to DMB instruction.
4117
4118 2019-01-23 Jakub Jelinek <jakub@redhat.com>
4119
4120 PR tree-optimization/88964
4121 * gimple-loop-interchange.cc (loop_cand::analyze_induction_var): Use
4122 build_zero_cst instead of build_int_cst. Return false for loop
4123 invariants which honor signed zeros.
4124
4125 2019-01-22 Segher Boessenkool <segher@kernel.crashing.org>
4126
4127 * doc/invoke.texi (-fsplit-paths): This is enabled by default at -O3.
4128
4129 2019-01-22 Jakub Jelinek <jakub@redhat.com>
4130
4131 PR target/88965
4132 * config/rs6000/rs6000.c: Include tree-vrp.h and tree-ssanames.h.
4133 (rs6000_gimple_fold_builtin): If MEM_REF address doesn't satisfy
4134 is_gimple_mem_ref_addr predicate, force it into a SSA_NAME first.
4135
4136 PR middle-end/88968
4137 * gimplify.c (gimplify_omp_atomic): Handle bitfield atomics with
4138 non-integral DECL_BIT_FIELD_REPRESENTATIVEs.
4139
4140 PR target/87064
4141 * config/rs6000/vsx.md (*vsx_reduc_<VEC_reduc_name>_v2df_scalar):
4142 Disable for little endian.
4143
4144 2019-01-22 Richard Earnshaw <rearnsha@arm.com>
4145
4146 PR target/88469
4147 * config/arm/arm.c (arm_needs_double_word_align): Check
4148 DECL_BIT_FIELD_TYPE.
4149
4150 2019-01-22 Hongtao Liu <hongtao.liu@intel.com>
4151 H.J. Lu <hongjiu.lu@intel.com>
4152
4153 PR target/88909
4154 * config/i386/i386-builtin.def: Add mask2 to all builtin
4155 initializations. Merge ARGS2 and SPECIAL_ARGS2 into ARGS and
4156 SPECIAL_ARGS.
4157 * config/i386/i386.c (BDESC): Add mask2 to the definition.
4158 (BDESC_FIRST): Likewise.
4159 (define_builtin): Add an argument for mask2. Updated to handle
4160 both ix86_isa_flags and ix86_isa_flags2.
4161 (define_builtin_const): Likewise.
4162 (define_builtin_pure): Likewise.
4163 (define_builtin2): Deleted.
4164 (define_builtin_const2): Likewise.
4165 (builtin_description): Add a member, mask2.
4166 (bdesc_*): Add mask2 to builtin initializations.
4167 (ix86_init_mmx_sse_builtins): Update calls to def_builtin,
4168 def_builtin_const and def_builtin_pure. Remove SPECIAL_ARGS2
4169 support.
4170 (ix86_get_builtin_func_type): Remove SPECIAL_ARGS2 support.
4171
4172 2019-01-22 H.J. Lu <hongjiu.lu@intel.com>
4173
4174 PR target/88954
4175 * config/i386/i386.c (ix86_force_load_from_GOT_p): Also check
4176 noplt attribute.
4177
4178 2019-01-22 Richard Earnshaw <rearnsha@arm.com>
4179
4180 PR target/88469
4181 * config/arm/arm.c (arm_needs_doubleword_align): Return 2 if a record's
4182 alignment is dominated by a bitfield with 64-bit aligned base type.
4183 (arm_function_arg): Emit a warning if the alignment has changed since
4184 earlier GCC releases.
4185 (arm_function_arg_boundary): Likewise.
4186 (arm_setup_incoming_varargs): Likewise.
4187
4188 2019-01-22 Richard Biener <rguenther@suse.de>
4189
4190 PR tree-optimization/88862
4191 * graphite-scop-detection.c
4192 (scop_detection::graphite_can_represent_scev): Reject ADDR_EXPR.
4193
4194 2019-01-22 Andrew Stubbs <ams@codesourcery.com>
4195
4196 * doc/extend.tex (AMD GCN Function Attributes): New section.
4197 * doc/install.texi (amdgcn-unknown-amdhsa): New instructions.
4198 * doc/invoke.texi (AMD GCN Options): New section.
4199 * doc/md.texi (Constraints for Particular Machines): Add AMD GCN.
4200
4201 2019-01-22 Eric Botcazou <ebotcazou@adacore.com>
4202
4203 * config/sparc/sparc.c (parc_delegitimize_address): Recognize the GOT
4204 register and decoded HIGH/LO_SUM combinations for labels in PIC mode.
4205
4206 2019-01-22 Jakub Jelinek <jakub@redhat.com>
4207
4208 PR tree-optimization/88044
4209 * tree-ssa-loop-niter.c (number_of_iterations_cond): If condition
4210 is false in the first iteration, but !every_iteration, return false
4211 instead of true with niter->niter zero.
4212
4213 PR rtl-optimization/88904
4214 * cfgcleanup.c (thread_jump): Verify cond2 doesn't mention
4215 any nonequal registers before processing BB_END (b).
4216
4217 PR target/88905
4218 * optabs.c (add_equal_note): Add op0_mode argument, use it instead of
4219 GET_MODE (op0).
4220 (expand_binop_directly, expand_doubleword_clz,
4221 expand_doubleword_popcount, expand_ctz, expand_ffs,
4222 expand_unop_direct, maybe_emit_unop_insn): Adjust callers.
4223
4224 PR rtl-optimization/49429
4225 PR target/49454
4226 PR rtl-optimization/86334
4227 PR target/88906
4228 * expr.c (emit_block_move_hints): Move marking of MEM_EXPRs
4229 addressable from here...
4230 (emit_block_op_via_libcall): ... to here.
4231
4232 2019-01-22 Richard Biener <rguenther@suse.de>
4233
4234 * tree-vect-loop.c (vect_analyze_loop_operations): Use
4235 auto_vec for cost vector to fix memleak.
4236 (vectorize_fold_left_reduction): Properly gather SLP defs.
4237 (vectorizable_comparison): Do not swap operands to properly
4238 gather SLP defs.
4239
4240 2019-01-22 Alan Modra <amodra@gmail.com>
4241
4242 PR target/88614
4243 * config/rs6000/predicates.md (unspec_tls): Ensure GOT reg
4244 stays a reg. Allow a const_int.
4245 * config/rs6000/rs6000-protos.h (rs6000_output_tlsargs): Declare.
4246 * config/rs6000/rs6000.h (IS_V4_FP_ARGS): Define.
4247 (IS_NOMARK_TLSGETADDR): Define.
4248 * config/rs6000/rs6000.c (edit_tls_call_insn): Delete.
4249 (rs6000_output_tlsargs): New function.
4250 (rs6000_legitimize_tls_address): Don't say a !TARGET_TLS_MARKERS
4251 __tls_get_addr call takes an arg.
4252 (rs6000_call_sysv): Generate sysv4 secure plt call pattern here..
4253 * config/rs6000/rs6000.md (call_nonlocal_sysv): ..rather than here,
4254 delete split..
4255 (call_value_nonlocal_sysv): ..or here, delete split.
4256 (tls_gdld_nomark): Delete.
4257 (call_value_indirect_nonlocal_sysv): Use unspec_tls as operand2
4258 predicate. Call rs6000_output_tlsargs. Adjust length to suit.
4259 (call_value_nonlocal_sysv): Likewise.
4260 (call_value_nonlocal_sysv_secure): Likewise.
4261 (call_value_nonlocal_aix): Likewise.
4262 (call_value_indirect_aix): Likewise.
4263 (call_value_indirect_elfv2): Likewise.
4264 (call_value_local32, call_value_local64): Disable for no-mark tls.
4265 (call_value_local_aix): Likewise.
4266
4267 2019-01-21 Uroš Bizjak <ubizjak@gmail.com>
4268
4269 PR target/88938
4270 * config/i386/i386.c (ix86_expand_builtin) [case IX86_BUILTIN_BEXTRI32,
4271 case IX86_BUILTIN_BEXTRI64]: Sanitize operands.
4272
4273 2019-01-21 Michael Ploujnikov <michael.ploujnikov@oracle.com>
4274
4275 * hash-map-tests.c (test_map_of_strings_to_int): Show how to use
4276 string contents as hash_map keys.
4277
4278 2019-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
4279
4280 PR c/88928
4281 * c-warn.c (check_alignment_of_packed_member): Add a boolean parameter
4282 for rvalue context. Handle rvalues correctly. Use min_align_of_type
4283 instead of TYPE_ALIGN.
4284 (check_address_or_pointer_of_packed_member): Handle rvalues coorrectly.
4285 Use min_align_of_type instead of TYPE_ALIGN_UNIT. Check for NULL
4286 pointer from TYPE_STUB_DECL.
4287
4288 2019-01-21 Richard Biener <rguenther@suse.de>
4289
4290 PR tree-optimization/88934
4291 * tree-vect-slp.c (vect_mask_constant_operand_p): Always look
4292 at the possibly non-constant operand.
4293 (vect_get_constant_vectors): Adjust.
4294
4295 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4296
4297 PR target/71659
4298 * config/i386/adxintrin.h: Just check _IMMINTRIN_H_INCLUDED.
4299 * config/i386/clflushoptintrin.h: Check _IMMINTRIN_H_INCLUDED
4300 instead of _X86INTRIN_H_INCLUDED.
4301 * onfig/i386/clwbintrin.h: Likewise.
4302 * config/i386/pkuintrin.h: Likewise.
4303 * config/i386/prfchwintrin.h: Likewise.
4304 * config/i386/rdseedintrin.h: Likewise.
4305 * config/i386/wbnoinvdintrin.h: Likewise.
4306 * config/i386/xsavecintrin.h: Likewise.
4307 * config/i386/xsavesintrin.h: Likewise.
4308 * config/i386/fxsrintrin.h: Enable _IMMINTRIN_H_INCLUDED check.
4309 * config/i386/xsaveintrin.h: Likewise.
4310 * config/i386/xsaveoptintrin.h: Likewise.
4311 * config/i386/x86intrin.h: Move "#include" <rdseedintrin.h>,
4312 <prfchwintrin.h>, <fxsrintrin.h>, <xsaveintrin.h>,
4313 <xsaveoptintrin.h>, <adxintrin.h>, <clwbintrin.h>,
4314 <clflushoptintrin.h>, <xsavesintrin.h>, <xsavecintrin.h>,
4315 <wbnoinvdintrin.h> and <pkuintrin.h> to ...
4316 * config/i386/immintrin.h: Here.
4317
4318 2019-01-20 Martin Jambor <mjambor@suse.cz>
4319
4320 PR ipa/87615
4321 * ipa-prop.h (struct ipa_func_body_info): Replaced field aa_walked
4322 with aa_walk_budget.
4323 * cgraph.h (ipa_polymorphic_call_context::get_dynamic_type): Add
4324 aa_walk_budget_p parameter.
4325 * ipa-fnsummary.c (unmodified_parm_1): New parameter fbi. Limit AA
4326 walk. Updated all callers.
4327 (unmodified_parm): New parameter fbi, pass it to unmodified_parm_1.
4328 (eliminated_by_inlining_prob): New parameter fbi, pass it on to
4329 unmodified_parm.
4330 (will_be_nonconstant_expr_predicate): New parameter fbi, removed
4331 parameter info. Extract info from fbi. Pass fbi to recursive calls
4332 and to unmodified_parm.
4333 (phi_result_unknown_predicate): New parameter fbi, removed parameter
4334 info, updated call to will_be_nonconstant_expr_predicate.
4335 (param_change_prob): New parameter fbi, limit AA walking.
4336 (analyze_function_body): Initialize aa_walk_budget in fbi. Update
4337 calls to various above functions.
4338 * ipa-polymorphic-call.c (get_dynamic_type): Add aa_walk_budget_p
4339 parameter. Use it to limit AA walking.
4340 * ipa-prop.c (detect_type_change_from_memory_writes): New parameter
4341 fbi, limit AA walk.
4342 (detect_type_change): New parameter fbi, pass it on to
4343 detect_type_change_from_memory_writes.
4344 (detect_type_change_ssa): Likewise.
4345 (aa_overwalked): Removed.
4346 (parm_preserved_before_stmt_p): Assume fbi is never NULL, stream line
4347 accordingly, adjust to the neew AA limiting scheme.
4348 (parm_ref_data_preserved_p): Likewise.
4349 (ipa_compute_jump_functions_for_edge): Adjust call to
4350 get_dynamic_type.
4351 (ipa_analyze_call_uses): Likewise.
4352 (ipa_analyze_virtual_call_uses): Pass fbi to detect_type_change_ssa.
4353 (ipa_analyze_node): Initialize aa_walk_budget.
4354 (ipcp_transform_function): Likewise.
4355 * tree-ssa-sccvn.c (eliminate_dom_walker::eliminate_stmt): Update call
4356 to get_dynamic_type.
4357
4358 2019-01-19 Jakub Jelinek <jakub@redhat.com>
4359
4360 * config/aarch64/aarch64.c (aarch64_stack_protect_guard): Move
4361 outside of #if CHECKING_P code.
4362
4363 2019-01-19 Richard Sandiford <richard.sandiford@arm.com>
4364
4365 * gimple-loop-versioning.cc (loop_versioning::dump_inner_likelihood):
4366 New function, split out from...
4367 (loop_versioning::analyze_stride): ...here.
4368 (loop_versioning::find_per_loop_multiplication): Use gassign.
4369 (loop_versioning::analyze_term_using_scevs): Return a success code.
4370 (loop_versioning::analyze_arbitrary_term): New function.
4371 (loop_versioning::analyze_address_fragment): Use
4372 analyze_arbitrary_term if all else fails.
4373
4374 2019-01-18 Segher Boessenkool <segher@kernel.crashing.org>
4375
4376 PR target/88892
4377 * config/rs6000/rs6000.md (*movsi_from_df): Allow only register
4378 operands.
4379
4380 2019-01-18 Richard Biener <rguenther@suse.de>
4381
4382 PR tree-optimization/88903
4383 * tree-vect-stmts.c (vectorizable_shift): Verify we see all
4384 scalar stmts a SLP shift amount is composed of when detecting
4385 shifts by scalars.
4386
4387 2019-01-18 Richard Earnshaw <rearnsha@arm.com>
4388
4389 PR target/88799
4390 * config/arm/arm-cpus.in (mp): New feature.
4391 (sec): New feature.
4392 (fgroup ARMv7ve): Add mp and sec features.
4393 (arch armv7-a): Add options to allow mp and sec extensions.
4394 (cpu generic-armv7-a): Add options to allow mp and sec extensions.
4395 (cpu cortex-a5, cpu cortex-7, cpu cortex-a9): Add mp and sec
4396 extenstions to the base architecture.
4397 (cpu cortex-a8): Add sec extension to the base architecture.
4398 (cpu marvell-pj4): Add mp and sec extensions to the base architecture.
4399 * config/arm/t-aprofile (MULTILIB_MATCHES): Map all armv7-a arch
4400 variants down to the base v7-a varaint.
4401 * config/arm/t-multilib (v7_a_arch_variants): New variable.
4402 * doc/invoke.texi (ARM Options): Add +mp and +sec to the list
4403 of permitted extensions for -march=armv7-a and for
4404 -mcpu=generic-armv7-a.
4405
4406 2019-01-18 Martin Liska <mliska@suse.cz>
4407
4408 * params.def: Fix comment.
4409 * tree-profile.c (gimple_init_gcov_profiler): Bump function
4410 name.
4411 (gimple_gen_ic_func_profiler): Likewise.
4412
4413 2019-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4414
4415 * config/aarch64/aarch64-opts.h (enum stack_protector_guard): New
4416 * config/aarch64/aarch64.c (aarch64_override_options_internal): Handle
4417 and put in error checks for stack protector guard options.
4418 (aarch64_stack_protect_guard): New.
4419 (TARGET_STACK_PROTECT_GUARD): Define.
4420 * config/aarch64/aarch64.md (UNSPEC_SSP_SYSREG): New.
4421 (reg_stack_protect_address<mode>): New.
4422 (stack_protect_set): Adjust for SSP_GLOBAL.
4423 (stack_protect_test): Likewise.
4424 * config/aarch64/aarch64.opt (-mstack-protector-guard-reg): New.
4425 (-mstack-protector-guard): Likewise.
4426 (-mstack-protector-guard-offset): Likewise.
4427
4428 2019-01-18 Jakub Jelinek <jakub@redhat.com>
4429
4430 PR tree-optimization/86214
4431 * tree-inline.h (struct copy_body_data): Add
4432 add_clobbers_to_eh_landing_pads member.
4433 * tree-inline.c (add_clobbers_to_eh_landing_pad): New function.
4434 (copy_edges_for_bb): Call it if EH edge destination is <
4435 id->add_clobbers_to_eh_landing_pads. Fix a comment typo.
4436 (expand_call_inline): Set id->add_clobbers_to_eh_landing_pads
4437 if flag_stack_reuse != SR_NONE and clear it afterwards.
4438
4439 2019-01-18 Christophe Lyon <christophe.lyon@linaro.org>
4440
4441 PR target/85596
4442 * doc/install.texi (with-multilib-list): Document for aarch64.
4443
4444 2019-01-18 Jakub Jelinek <jakub@redhat.com>
4445
4446 PR target/88734
4447 * config/arm/arm_neon.h: Fix #pragma GCC target syntax - replace
4448 (("..."))) with ("...").
4449
4450 2019-01-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
4451
4452 * doc/extend.texi (Built-in Functions for Memory Model Aware
4453 Atomic Operations): Document atomic fetch and nand.
4454
4455 2019-01-18 Martin Liska <mliska@suse.cz>
4456 Richard Biener <rguenther@suse.de>
4457
4458 PR middle-end/88587
4459 * cgraph.h (create_version_clone_with_body): Add new argument
4460 with attributes.
4461 * cgraphclones.c (cgraph_node::create_version_clone): Add
4462 DECL_ATTRIBUTES to a newly created decl. And call
4463 valid_attribute_p so that proper cl_target_optimization_node
4464 is set for the newly created declaration.
4465 * multiple_target.c (create_target_clone): Set DECL_ATTRIBUTES
4466 for declaration.
4467 (expand_target_clones): Do not call valid_attribute_p, it must
4468 be already done.
4469 * tree-inline.c (copy_decl_for_dup_finish): Reset mode for
4470 vector types.
4471
4472 2019-01-17 Jakub Jelinek <jakub@redhat.com>
4473
4474 PR target/88734
4475 * config/aarch64/arm_neon.h: Fix #pragma GCC target syntax - replace
4476 (("..."))) with ("..."). Use arch=armv8.2-a+sha3 instead of
4477 arch=armv8.2-a+crypto for vsha512hq_u64 etc. intrinsics.
4478
4479 2019-01-17 Martin Sebor <msebor@redhat.com>
4480
4481 PR middle-end/88273
4482 * gimple-ssa-warn-restrict.c (builtin_memref::extend_offset_range):
4483 Handle anti-ranges the same as no range at all.
4484
4485 2018-01-17 Steve Ellcey <sellcey@cavium.com>
4486
4487 * config/aarch64/aarch64.c (cgraph.h): New include.
4488 (intl.h): New include.
4489 (supported_simd_type): New function.
4490 (currently_supported_simd_type): Ditto.
4491 (aarch64_simd_clone_compute_vecsize_and_simdlen): Ditto.
4492 (aarch64_simd_clone_adjust): Ditto.
4493 (aarch64_simd_clone_usable): Ditto.
4494 (TARGET_SIMD_CLONE_COMPUTE_VECSIZE_AND_SIMDLEN): New macro.
4495 (TARGET_SIMD_CLONE_ADJUST): Ditto.
4496 (TARGET_SIMD_CLONE_USABLE): Ditto.
4497 * config/i386/i386.c (ix86_simd_clone_adjust): Add definition check.
4498 * omp-simd-clone.c (expand_simd_clones): Add targetm.simd_clone.adjust
4499 call.
4500
4501 2019-01-17 Martin Sebor <msebor@redhat.com>
4502
4503 PR tree-optimization/88800
4504 * gimple-fold.c (gimple_fold_builtin_memory_op): Avoid checking
4505 NO_WARNING bit here. Avoid folding out-of-bounds calls.
4506 * gimple-ssa-warn-restrict.c (maybe_diag_offset_bounds): Remove
4507 redundant argument. Add new argument and issue diagnostics under
4508 its control. Detect out-of-bounds access even with warnings
4509 disabled.
4510 (check_bounds_or_overlap): Change return type. Add argument.
4511 (wrestrict_dom_walker::check_call): Adjust.
4512 * gimple-ssa-warn-restrict.h (check_bounds_or_overlap): Add argument.
4513 * tree-ssa-strlen.c (handle_builtin_strcpy): Adjust to change in
4514 check_bounds_or_overlap's return value.
4515 (handle_builtin_stxncpy): Same.
4516 (handle_builtin_strcat): Same.
4517
4518 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
4519 Kwok Cheung Yeung <kcy@codesourcery.com>
4520 Julian Brown <julian@codesourcery.com>
4521 Tom de Vries <tom@codesourcery.com>
4522
4523 * doc/sourcebuild.texi: Document dg-add-options sqrt_insn.
4524
4525 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
4526
4527 * doc/sourcebuild.texi: Document dg-require-effective-target
4528 llvm_binutils and offload_gcn.
4529
4530 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
4531 Kwok Cheung Yeung <kcy@codesourcery.com>
4532 Julian Brown <julian@codesourcery.com>
4533 Tom de Vries <tom@codesourcery.com>
4534
4535 * doc/sourcebuild.texi: Document dg-required-effective-target
4536 exceptions.
4537
4538 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
4539 Kwok Cheung Yeung <kcy@codesourcery.com>
4540 Julian Brown <julian@codesourcery.com>
4541 Tom de Vries <tom@codesourcery.com>
4542 Jan Hubicka <hubicka@ucw.cz>
4543 Martin Jambor <mjambor@suse.cz>
4544
4545 * config.gcc: Add amdgcn*-*-amdhsa configuration.
4546 * configure.ac: Check for dlopen.
4547 * configure: Regenerate.
4548
4549 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
4550 Kwok Cheung Yeung <kcy@codesourcery.com>
4551 Julian Brown <julian@codesourcery.com>
4552 Tom de Vries <tom@codesourcery.com>
4553 Jan Hubicka <hubicka@ucw.cz>
4554 Martin Jambor <mjambor@suse.cz>
4555
4556 * common/config/gcn/gcn-common.c: New file.
4557 * config/gcn/driver-gcn.c: New file.
4558 * config/gcn/gcn-builtins.def: New file.
4559 * config/gcn/gcn-hsa.h: New file.
4560 * config/gcn/gcn-modes.def: New file.
4561 * config/gcn/gcn-opts.h: New file.
4562 * config/gcn/gcn-passes.def: New file.
4563 * config/gcn/gcn-protos.h: New file.
4564 * config/gcn/gcn-run.c: New file.
4565 * config/gcn/gcn-tree.c: New file.
4566 * config/gcn/gcn.c: New file.
4567 * config/gcn/gcn.h: New file.
4568 * config/gcn/gcn.opt: New file.
4569 * config/gcn/t-gcn-hsa: New file.
4570
4571 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
4572 Kwok Cheung Yeung <kcy@codesourcery.com>
4573 Julian Brown <julian@codesourcery.com>
4574 Tom de Vries <tom@codesourcery.com>
4575 Jan Hubicka <hubicka@ucw.cz>
4576 Martin Jambor <mjambor@suse.cz>
4577
4578 * config/gcn/constraints.md: New file.
4579 * config/gcn/gcn-valu.md: New file.
4580 * config/gcn/gcn.md: New file.
4581 * config/gcn/predicates.md: New file.
4582
4583 2019-01-17 Eric Botcazou <ebotcazou@adacore.com>
4584
4585 * gimple-ssa-isolate-paths.c (stmt_uses_name_in_undefined_way): Replace
4586 flag_non_call_exceptions with cfun->can_throw_non_call_exceptions.
4587 (stmt_uses_0_or_null_in_undefined_way): Likewise.
4588 * tree-ssa-alias.c (same_addr_size_stores_p): Likewise.
4589
4590 2019-01-17 Tamar Christina <tamar.christina@arm.com>
4591
4592 PR target/88851
4593 * config/aarch64/aarch64.md (STACK_CLASH_SVE_CFA_REGNUM): New.
4594 * config/aarch64/aarch64.c (aarch64_allocate_and_probe_stack_space): Use
4595 it and document registers.
4596
4597 2019-01-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4598
4599 * config/aarch64/aarch64.c (ares_tunings): Define.
4600 * config/aarch64/aarch64-cores.def (ares): Use the above.
4601
4602 2019-01-17 Wei Xiao <wei3.xiao@intel.com>
4603
4604 PR target/88794
4605 Revert:
4606 2018-11-06 Wei Xiao <wei3.xiao@intel.com>
4607
4608 * config/i386/avx512fintrin.h: Update VFIXUPIMM* intrinsics.
4609 (_mm512_fixupimm_round_pd): Update parameters and builtin.
4610 (_mm512_maskz_fixupimm_round_pd): Ditto.
4611 (_mm512_fixupimm_round_ps): Ditto.
4612 (_mm512_maskz_fixupimm_round_ps): Ditto.
4613 (_mm_fixupimm_round_sd): Ditto.
4614 (_mm_maskz_fixupimm_round_sd): Ditto.
4615 (_mm_fixupimm_round_ss): Ditto.
4616 (_mm_maskz_fixupimm_round_ss): Ditto.
4617 (_mm512_fixupimm_pd): Ditto.
4618 (_mm512_maskz_fixupimm_pd): Ditto.
4619 (_mm512_fixupimm_ps): Ditto.
4620 (_mm512_maskz_fixupimm_ps): Ditto.
4621 (_mm_fixupimm_sd): Ditto.
4622 (_mm_maskz_fixupimm_sd): Ditto.
4623 (_mm_fixupimm_ss): Ditto.
4624 (_mm_maskz_fixupimm_ss): Ditto.
4625 (_mm512_mask_fixupimm_round_pd): Update builtin.
4626 (_mm512_mask_fixupimm_round_ps): Ditto.
4627 (_mm_mask_fixupimm_round_sd): Ditto.
4628 (_mm_mask_fixupimm_round_ss): Ditto.
4629 (_mm512_mask_fixupimm_pd): Ditto.
4630 (_mm512_mask_fixupimm_ps): Ditto.
4631 (_mm_mask_fixupimm_sd): Ditto.
4632 (_mm_mask_fixupimm_ss): Ditto.
4633 * config/i386/avx512vlintrin.h:
4634 (_mm256_fixupimm_pd): Update parameters and builtin.
4635 (_mm256_maskz_fixupimm_pd): Ditto.
4636 (_mm256_fixupimm_ps): Ditto.
4637 (_mm256_maskz_fixupimm_ps): Ditto.
4638 (_mm_fixupimm_pd): Ditto.
4639 (_mm_maskz_fixupimm_pd): Ditto.
4640 (_mm_fixupimm_ps): Ditto.
4641 (_mm_maskz_fixupimm_ps): Ditto.
4642 (_mm256_mask_fixupimm_pd): Update builtin.
4643 (_mm256_mask_fixupimm_ps): Ditto.
4644 (_mm_mask_fixupimm_pd): Ditto.
4645 (_mm_mask_fixupimm_ps): Ditto.
4646 * config/i386/i386-builtin-types.def: Add new types and remove useless ones.
4647 * config/i386/i386-builtin.def: Update builtin definitions.
4648 * config/i386/i386.c: Handle new builtin types and remove useless ones.
4649 * config/i386/sse.md: Update VFIXUPIMM* patterns.
4650 (<avx512>_fixupimm<mode>_maskz<round_saeonly_expand_name>): Update.
4651 (<avx512>_fixupimm<mode><sd_maskz_name><round_saeonly_name>): Update.
4652 (<avx512>_fixupimm<mode>_mask<round_saeonly_name>): Update.
4653 (avx512f_sfixupimm<mode>_maskz<round_saeonly_expand_name>): Update.
4654 (avx512f_sfixupimm<mode><sd_maskz_name><round_saeonly_name>): Update.
4655 (avx512f_sfixupimm<mode>_mask<round_saeonly_name>): Update.
4656 * config/i386/subst.md:
4657 (round_saeonly_sd_mask_operand4): Add new subst_attr.
4658 (round_saeonly_sd_mask_op4): Ditto.
4659 (round_saeonly_expand_operand5): Ditto.
4660 (round_saeonly_expand): Update.
4661
4662 2019-01-17 Wei Xiao <wei3.xiao@intel.com>
4663
4664 PR target/88794
4665 Revert:
4666 2018-11-12 Wei Xiao <wei3.xiao@intel.com>
4667
4668 * config/i386/sse.md: Combine VFIXUPIMM* patterns
4669 (<avx512>_fixupimm<mode>_maskz<round_saeonly_expand_name>): Update.
4670 (<avx512>_fixupimm<mode><sd_maskz_name><round_saeonly_name>): Update.
4671 (<avx512>_fixupimm<mode>_mask<round_saeonly_name>): Remove.
4672 (avx512f_sfixupimm<mode>_maskz<round_saeonly_expand_name>): Update.
4673 (avx512f_sfixupimm<mode><sd_maskz_name><round_saeonly_name>): Update.
4674 (avx512f_sfixupimm<mode>_mask<round_saeonly_name>): Remove.
4675
4676 2019-01-17 Wei Xiao <wei3.xiao@intel.com>
4677
4678 PR target/88794
4679 Revert:
4680 2018-12-15 Jakub Jelinek <jakub@redhat.com>
4681
4682 PR target/88489
4683 * config/i386/sse.md (UNSPEC_SFIXUPIMM): New unspec enumerator.
4684 (avx512f_sfixupimm<mode><mask_name><round_saeonly_name>): Use it
4685 instead of UNSPEC_FIXUPIMM.
4686
4687 2019-01-17 Richard Biener <rguenther@suse.de>
4688
4689 PR lto/86736
4690 * dwarf2out.c (want_pubnames): Never generate pubnames sections
4691 and friends for the LTO part of debug info.
4692
4693 2019-01-17 Jakub Jelinek <jakub@redhat.com>
4694
4695 PR tree-optimization/86214
4696 * cfgexpand.c (add_stack_var_conflict): Don't add any conflicts
4697 if x == y.
4698
4699 PR rtl-optimization/88870
4700 * dce.c (deletable_insn_p): Never delete const/pure calls that can
4701 throw if we can't alter the cfg or delete dead exceptions.
4702 (mark_insn): Don't call find_call_stack_args for such calls.
4703
4704 2019-01-17 Kewen Lin <linkw@gcc.gnu.org>
4705
4706 * doc/extend.texi: Add four new prototypes for vec_ld and seven new
4707 prototypes for vec_st.
4708 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add entries
4709 for scalar address type variants of altivec_vec_ld/altivec_vec_st,
4710 mainly on signed/unsigned long long and double.
4711
4712 2019-01-16 David Malcolm <dmalcolm@redhat.com>
4713
4714 PR target/88861
4715 * combine.c (delete_noop_moves): Convert to "bool" return,
4716 returning true if any edges are eliminated.
4717 (combine_instructions): Also return true if delete_noop_moves
4718 returns true.
4719
4720 2019-01-16 Tamar Christina <tamar.christina@arm.com>
4721
4722 * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args): Use
4723 correct max nunits for endian swap.
4724 (aarch64_expand_fcmla_builtin): Correct subreg code.
4725 * config/aarch64/aarch64-simd.md (aarch64_fcmla_lane<rot><mode>,
4726 aarch64_fcmla_laneq<rot>v4hf, aarch64_fcmlaq_lane<rot><mode>): Correct
4727 lane endianness.
4728
4729 2019-01-16 Uroš Bizjak <ubizjak@gmail.com>
4730
4731 * config/alpha/alpha.c (alpha_gimplify_va_arg):
4732 Handle split indirect COMPLEX_TYPE arguments.
4733
4734 2019-01-16 Richard Earnshaw <rearnsha@arm.com>
4735
4736 PR target/86891
4737 * config/aarch64/aarch64-modes.def: Add comment about how the carry
4738 bit is set by add and compare.
4739 (CC_ADC): New CC_MODE.
4740 * config/aarch64/aarch64.c (aarch64_select_cc_mode): Use variables
4741 to cache the code and mode of X. Adjust the shape of a CC_Cmode
4742 comparison. Add detection for CC_ADCmode.
4743 (aarch64_get_condition_code_1): Update code support for CC_Cmode. Add
4744 CC_ADCmode.
4745 * config/aarch64/aarch64.md (uaddv<mode>4): Use LTU with CCmode.
4746 (uaddvti4): Comparison result is in CC_ADCmode and the condition is GEU.
4747 (add<mode>3_compareC_cconly_imm): Delete. Merge into...
4748 (add<mode>3_compareC_cconly): ... this. Restructure the comparison
4749 to eliminate the need for zero-extending the operands.
4750 (add<mode>3_compareC_imm): Delete. Merge into ...
4751 (add<mode>3_compareC): ... this. Restructure the comparison to
4752 eliminate the need for zero-extending the operands.
4753 (add<mode>3_carryin): Use LTU for the overflow detection.
4754 (add<mode>3_carryinC): Use CC_ADCmode for the result of the carry out.
4755 Reexpress comparison for overflow.
4756 (add<mode>3_carryinC_zero): Update for change to add<mode>3_carryinC.
4757 (add<mode>3_carryinC): Likewise.
4758 (add<mode>3_carryinV): Use LTU for carry between partials.
4759 * config/aarch64/predicates.md (aarch64_carry_operation): Update
4760 handling of CC_Cmode and add CC_ADCmode.
4761 (aarch64_borrow_operation): Likewise.
4762
4763 2019-01-16 Tamar Christina <tamar.christina@arm.com>
4764
4765 * config/arm/arm-protos.h (neon_vcmla_lane_prepare_operands): Remove patternmode.
4766 * config/arm/arm.c (neon_vcmla_lane_prepare_operands): Likewise.
4767 * config/arm/neon.md (neon_vcmla_lane<rot><mode>, neon_vcmla_laneq<rot><mode>,
4768 neon_vcmlaq_lane<rot><mode>): Remove endianness conversion.
4769
4770 2019-01-16 Martin Liska <mliska@suse.cz>
4771
4772 * Makefile.in: Set TOOL_INCLUDE_DIR and NATIVE_SYSTEM_HEADER_DIR
4773 for GCC driver.
4774 * config/gnu-user.h (TARGET_F951_OPTIONS): Add 'finclude%s/' as
4775 a new argument.
4776 * gcc.c (add_sysrooted_hdrs_prefix): New function.
4777 (path_prefix_reset): Move up in the source file.
4778 (find_fortran_preinclude_file): Make complex search for the
4779 fortran header files.
4780
4781 2019-01-15 Nikhil Benesch <nikhil.benesch@gmail.com>
4782
4783 * godump.c (go_output_typedef): When outputting a typedef, refer
4784 to the underlying type by its name and not its structure.
4785
4786 2019-01-15 David Malcolm <dmalcolm@redhat.com>
4787
4788 PR c++/88795
4789 * tree.c (build_function_type): Assert that arg_types is not
4790 error_mark_node.
4791
4792 2019-01-15 Richard Sandiford <richard.sandiford@arm.com>
4793
4794 PR inline-asm/52813
4795 * doc/extend.texi: Document that listing the stack pointer in the
4796 clobber list of an asm is a deprecated feature.
4797 * common.opt (Wdeprecated): Moved from c-family/c.opt.
4798 * cfgexpand.c (asm_clobber_reg_is_valid): Issue a -Wdeprecated
4799 warning instead of an error for clobbers of the stack pointer.
4800 Add a note explaining why.
4801
4802 2019-01-15 Richard Biener <rguenther@suse.de>
4803
4804 PR debug/88046
4805 * dwarf2out.c (gen_member_die): Do not generate inheritance
4806 DIEs late.
4807
4808 2019-01-15 Richard Biener <rguenther@suse.de>
4809
4810 PR tree-optimization/88855
4811 * tree-if-conv.c (combine_blocks): Collect
4812 SSA_NAME_OCCURS_IN_ABNORMAL_PHI from propagated out virtuals.
4813
4814 2019-01-15 Tom de Vries <tdevries@suse.de>
4815
4816 PR target/80547
4817 * config/nvptx/nvptx.c (nvptx_goacc_reduction_init): Handle
4818 lhs == NULL_TREE for gang-level reduction.
4819
4820 2019-01-15 Richard Biener <rguenther@suse.de>
4821 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
4822
4823 PR ipa/88788
4824 * ipa-pure-const.c (malloc_candidate_p_1): Add parameter visited and
4825 return true if SSA_NAME is already marked in visited bitmap.
4826 (malloc_candidate_p): Pass visited to malloc_candidate_p_1.
4827
4828 2019-01-15 Jakub Jelinek <jakub@redhat.com>
4829
4830 PR tree-optimization/88775
4831 * match.pd (cmp (convert1?@2 addr@0) (convert2? addr@1)): Optimize
4832 equal == 0 equality pointer comparisons some more if compared in
4833 integral types and either one points to an automatic var and the
4834 other to a global, or we can prove at least one points to the middle
4835 or both point to start or both point to end.
4836
4837 2019-01-14 Andi Kleen <ak@linux.intel.com>
4838
4839 * Makefile.in: Lower autofdo sampling rate by 10x.
4840 * Makefile.tpl: Dito.
4841
4842 2019-01-14 Tom Honermann <tom@honermann.net>
4843
4844 * defaults.h: Define CHAR8_TYPE.
4845
4846 2019-01-14 Martin Sebor <msebor@redhat.com>
4847
4848 PR target/88638
4849 * doc/extend.texi (Darwin Format Checks): Clarify.
4850
4851 2019-01-14 Richard Biener <rguenther@suse.de>
4852
4853 * genmatch.c (dt_simplify::gen_1): Change dumping dependent on
4854 whether we are in (simplify ...) or (match ...) context.
4855
4856 2019-01-14 Jakub Jelinek <jakub@redhat.com>
4857
4858 PR rtl-optimization/88796
4859 * emit-rtl.h (struct rtl_data): Add stack_protect_guard_decl field.
4860 * cfgexpand.c (stack_protect_prologue): Initialize
4861 crtl->stack_protect_guard_decl.
4862 * function.c (stack_protect_epilogue): Use it instead of calling
4863 targetm.stack_protect_guard again.
4864 * dse.c (check_mem_read_rtx): Ignore MEM_VOLATILE_P reads from
4865 MEMs with MEM_EXPR equal to crtl->stack_protect_guard or
4866 crtl->stack_protect_guard_decl.
4867 * config/i386/i386.c (ix86_stack_protect_guard): Set TREE_THIS_VOLATILE
4868 on the returned MEM_EXPR.
4869
4870 2019-01-12 Tom de Vries <tdevries@suse.de>
4871
4872 * config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): Alow setting
4873 vector length using -fopenacc-dim.
4874
4875 2019-01-12 Tom de Vries <tdevries@suse.de>
4876
4877 * config/nvptx/nvptx.c (nvptx_goacc_validate_dims): Take larger vector
4878 lengths into account.
4879
4880 2019-01-12 Svante Signell <svante.signell@gmail.com>
4881
4882 * config/i386/gnu.h (TARGET_THREAD_SSP_OFFSET): Define.
4883 (TARGET_CAN_SPLIT_STACK): Define.
4884 (TARGET_THREAD_SPLIT_STACK_OFFSET): Define.
4885
4886 2019-01-05 Jan Hubicka <hubicka@ucw.cz>
4887
4888 * params.def (inline-unit-growth): Set to 40.
4889
4890 2019-01-12 Jakub Jelinek <jakub@redhat.com>
4891
4892 * tree-ssa-loop-ivopts.c (find_inv_vars): Fix a comment typo.
4893
4894 2019-01-12 Tom de Vries <tdevries@suse.de>
4895
4896 * config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): In offloading
4897 region calling vector-partitionable routine, set default_vector_length
4898 to WARP_SIZE.
4899
4900 2019-01-12 Tom de Vries <tdevries@suse.de>
4901
4902 * config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): Add an use new
4903 variable default_vector_length.
4904
4905 2019-01-12 Tom de Vries <tdevries@suse.de>
4906
4907 PR middle-end/88703
4908 * config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): Apply defaults
4909 from oacc_default_dims, as oacc_validate_dims would do it, and apply
4910 dimensions limits.
4911
4912 2019-01-12 Tom de Vries <tdevries@suse.de>
4913
4914 * config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1)
4915 (nvptx_goacc_validate_dims): Add used parameter.
4916 * doc/tm.texi: Regenerate.
4917 * omp-offload.c (oacc_parse_default_dims, oacc_validate_dims): Add
4918 argument to call to targetm.goacc.validate_dims.
4919 (default_goacc_validate_dims): Add used
4920 parameter.
4921 * target.def (validate_dims): Add used parameter in DEFHOOK.
4922 * targhooks.h (default_goacc_validate_dims): Add used parameter.
4923
4924 2019-01-11 Jakub Jelinek <jakub@redhat.com>
4925
4926 PR middle-end/85956
4927 PR lto/88733
4928 * tree-inline.h (struct copy_body_data): Add adjust_array_error_bounds
4929 field.
4930 * tree-inline.c (remap_type_1): Formatting fix. If TYPE_MAX_VALUE of
4931 ARRAY_TYPE's TYPE_DOMAIN is newly error_mark_node, replace it with
4932 a dummy "omp dummy var" variable if id->adjust_array_error_bounds.
4933 * omp-low.c (new_omp_context): Set cb.adjust_array_error_bounds.
4934
4935 2019-01-11 Vladimir Makarov <vmakarov@redhat.com>
4936
4937 PR rtl-optimization/87305
4938 * lra-assigns.c
4939 (setup_live_pseudos_and_spill_after_risky_transforms): Add code
4940 for little endian pseudos used as paradoxical subreg.
4941
4942 2019-01-11 Jakub Jelinek <jakub@redhat.com>
4943
4944 PR tree-optimization/88693
4945 * tree-ssa-strlen.c (get_min_string_length): Don't set *full_string_p
4946 for STRING_CSTs that don't contain any NUL characters in the first
4947 TREE_STRING_LENGTH bytes.
4948
4949 2019-01-11 Alan Modra <amodra@gmail.com>
4950
4951 PR 88777
4952 PR 88614
4953 * genattrtab.c (min_fn): Don't translate values.
4954 (min_attr_value): Return INT_MAX when the value can't be calculated.
4955 Return minimum among any values that can be calculated.
4956 (max_attr_value): Adjust.
4957
4958 2019-01-11 Jakub Jelinek <jakub@redhat.com>
4959
4960 * Makefile.in (PLUGIN_HEADERS): Add $(INSN_ATTR_H).
4961
4962 2019-01-11 Steve Ellcey <sellcey@marvell.com>
4963
4964 * config/aarch64/aarch64.c (aarch64_simd_call_p): New function.
4965 (aarch64_hard_regno_call_part_clobbered): Add insn argument.
4966 (aarch64_return_call_with_max_clobbers): New function.
4967 (TARGET_RETURN_CALL_WITH_MAX_CLOBBERS): New macro.
4968 * config/avr/avr.c (avr_hard_regno_call_part_clobbered): Add insn
4969 argument.
4970 * config/i386/i386.c (ix86_hard_regno_call_part_clobbered): Ditto.
4971 * config/mips/mips.c (mips_hard_regno_call_part_clobbered): Ditto.
4972 * config/rs6000/rs6000.c (rs6000_hard_regno_call_part_clobbered): Ditto.
4973 * config/s390/s390.c (s390_hard_regno_call_part_clobbered): Ditto.
4974 * cselib.c (cselib_process_insn): Add argument to
4975 targetm.hard_regno_call_part_clobbered call.
4976 * ira-conflicts.c (ira_build_conflicts): Ditto.
4977 * ira-costs.c (ira_tune_allocno_costs): Ditto.
4978 * lra-constraints.c (inherit_reload_reg): Ditto.
4979 * lra-int.h (struct lra_reg): Add call_insn field, remove call_p field.
4980 * lra-lives.c (check_pseudos_live_through_calls): Add call_insn
4981 argument. Call targetm.return_call_with_max_clobbers.
4982 Add argument to targetm.hard_regno_call_part_clobbered call.
4983 (calls_have_same_clobbers_p): New function.
4984 (process_bb_lives): Add call_insn and last_call_insn variables.
4985 Pass call_insn to check_pseudos_live_through_calls.
4986 Modify if stmt to check targetm.return_call_with_max_clobbers.
4987 Update setting of flush variable.
4988 (lra_create_live_ranges_1): Set call_insn to NULL instead of call_p
4989 to false.
4990 * lra.c (initialize_lra_reg_info_element): Set call_insn to NULL.
4991 * regcprop.c (copyprop_hardreg_forward_1): Add argument to
4992 targetm.hard_regno_call_part_clobbered call.
4993 * reginfo.c (choose_hard_reg_mode): Ditto.
4994 * regrename.c (check_new_reg_p): Ditto.
4995 * reload.c (find_equiv_reg): Ditto.
4996 * reload1.c (emit_reload_insns): Ditto.
4997 * sched-deps.c (deps_analyze_insn): Ditto.
4998 * sel-sched.c (init_regs_for_mode): Ditto.
4999 (mark_unavailable_hard_regs): Ditto.
5000 * targhooks.c (default_dwarf_frame_reg_mode): Ditto.
5001 * target.def (hard_regno_call_part_clobbered): Add insn argument.
5002 (return_call_with_max_clobbers): New target function.
5003 * doc/tm.texi: Regenerate.
5004 * doc/tm.texi.in (TARGET_RETURN_CALL_WITH_MAX_CLOBBERS): New hook.
5005 * hooks.c (hook_bool_uint_mode_false): Change to
5006 hook_bool_insn_uint_mode_false.
5007 * hooks.h (hook_bool_uint_mode_false): Ditto.
5008
5009 2019-01-11 Steve Ellcey <sellcey@marvell.com>
5010
5011 * config/aarch64/aarch64.c (aarch64_simd_call_p): New function.
5012 (aarch64_remove_extra_call_preserved_regs): New function.
5013 (TARGET_REMOVE_EXTRA_CALL_PRESERVED_REGS): New macro.
5014 * doc/tm.texi.in (TARGET_REMOVE_EXTRA_CALL_PRESERVED_REGS): New hook.
5015 * doc/tm.texi: Regenerate.
5016 * final.c (get_call_reg_set_usage): Call new hook.
5017 * target.def (remove_extra_call_preserved_regs): New hook.
5018 * targhooks.c (default_remove_extra_call_preserved_regs): New function.
5019 * targhooks.h (default_remove_extra_call_preserved_regs): New function.
5020
5021 2019-01-11 Jakub Jelinek <jakub@redhat.com>
5022
5023 PR bootstrap/88714
5024 * passes.c (finish_optimization_passes): Call print_combine_total_stats
5025 inside of pass_combine_1 dump rather than pass_profile_1.
5026
5027 2019-01-11 Tom de Vries <tdevries@suse.de>
5028
5029 * config/nvptx/nvptx.c (PTX_CTA_NUM_BARRIERS, PTX_PER_CTA_BARRIER)
5030 (PTX_NUM_PER_CTA_BARRIER, PTX_FIRST_PER_WORKER_BARRIER)
5031 (PTX_NUM_PER_WORKER_BARRIERS): Define.
5032 (nvptx_apply_dim_limits): Prevent vector_length 64 and
5033 num_workers 16.
5034
5035 2019-01-11 Tom de Vries <tdevries@suse.de>
5036
5037 * config/nvptx/nvptx.c (PTX_CTA_SIZE): Move up.
5038
5039 2019-01-11 Jan Beulich <jbeulich@suse.com>
5040
5041 * config/i386/i386.md (rex64suffix): Add L suffix for SI.
5042 * config/i386/sse.md (cvtusi2<ssescalarmodesuffix>32<round_name>,
5043 sse2_cvtsi2sd): Add {l}.
5044 (sse2_cvtsi2sdq<round_name>): Make q conditional upon AT&T
5045 syntax.
5046
5047 2019-01-10 Jakub Jelinek <jakub@redhat.com>
5048
5049 PR target/88785
5050 * config/i386/sse.md (float<floatunssuffix>v2div2sf2): Turn into
5051 define_expand.
5052 (*float<floatunssuffix>v2div2sf2): New define_insn.
5053 (float<floatunssuffix>v2div2sf2_mask): Turn into define_expand.
5054 (*float<floatunssuffix>v2div2sf2_mask): New define_insn.
5055 (*float<floatunssuffix>v2div2sf2_mask_1): Replace
5056 subrtxes (const_vector:V2SF [(const_int 0) (const_int 0)]) with
5057 match_operands with "const0_operand" "C".
5058
5059 2019-01-10 Tamar Christina <tamar.christina@arm.com>
5060
5061 * config/aarch64/aarch64-builtins.c
5062 (aarch64_init_builtins): Move aarch64_init_fcmla_laneq_builtins...
5063 (aarch64_init_simd_builtins): ...Here
5064
5065 2019-01-10 Vladimir Makarov <vmakarov@redhat.com>
5066
5067 PR rtl-optimization/87305
5068 * lra-assigns.c
5069 (setup_live_pseudos_and_spill_after_risky_transforms): Check
5070 allocation for big endian pseudos used as paradoxical subregs and
5071 spill them if it is wrong.
5072 * lra-constraints.c (lra_constraints): Add a comment.
5073
5074 2019-01-10 Richard Biener <rguenther@suse.de>
5075
5076 PR tree-optimization/88792
5077 * tree-ssa-pre.c (get_representative_for): Do not return a
5078 value-number here.
5079
5080 2019-01-10 Jakub Jelinek <jakub@redhat.com>
5081
5082 PR middle-end/84877
5083 PR bootstrap/88450
5084 * function.c (assign_stack_local_1): Revert the 2018-11-21 changes.
5085 (assign_parm_setup_block): Do the argument slot realignment here
5086 instead.
5087
5088 2019-01-10 Stefan Agner <stefan@agner.ch>
5089
5090 PR target/88648
5091 * config/arm/arm.c (arm_option_override_internal): Force
5092 opts->x_inline_asm_unified to true only if TARGET_THUMB2_P.
5093
5094 2019-01-10 Jakub Jelinek <jakub@redhat.com>
5095
5096 PR c/88568
5097 * attribs.c (handle_dll_attribute): Clear TREE_STATIC after setting
5098 DECL_EXTERNAL.
5099
5100 2019-01-10 Tamar Christina <tamar.christina@arm.com>
5101
5102 * config/arm/arm-builtins.c
5103 (enum arm_type_qualifiers): Add qualifier_lane_pair_index.
5104 (MAC_LANE_PAIR_QUALIFIERS): New.
5105 (arm_expand_builtin_args): Use it.
5106 (arm_expand_builtin_1): Likewise.
5107 * config/arm/arm-protos.h (neon_vcmla_lane_prepare_operands): New.
5108 * config/arm/arm.c (neon_vcmla_lane_prepare_operands): New.
5109 * config/arm/arm-c.c (arm_cpu_builtins): Add __ARM_FEATURE_COMPLEX.
5110 * config/arm/arm_neon.h:
5111 (vcadd_rot90_f16): New.
5112 (vcaddq_rot90_f16): New.
5113 (vcadd_rot270_f16): New.
5114 (vcaddq_rot270_f16): New.
5115 (vcmla_f16): New.
5116 (vcmlaq_f16): New.
5117 (vcmla_lane_f16): New.
5118 (vcmla_laneq_f16): New.
5119 (vcmlaq_lane_f16): New.
5120 (vcmlaq_laneq_f16): New.
5121 (vcmla_rot90_f16): New.
5122 (vcmlaq_rot90_f16): New.
5123 (vcmla_rot90_lane_f16): New.
5124 (vcmla_rot90_laneq_f16): New.
5125 (vcmlaq_rot90_lane_f16): New.
5126 (vcmlaq_rot90_laneq_f16): New.
5127 (vcmla_rot180_f16): New.
5128 (vcmlaq_rot180_f16): New.
5129 (vcmla_rot180_lane_f16): New.
5130 (vcmla_rot180_laneq_f16): New.
5131 (vcmlaq_rot180_lane_f16): New.
5132 (vcmlaq_rot180_laneq_f16): New.
5133 (vcmla_rot270_f16): New.
5134 (vcmlaq_rot270_f16): New.
5135 (vcmla_rot270_lane_f16): New.
5136 (vcmla_rot270_laneq_f16): New.
5137 (vcmlaq_rot270_lane_f16): New.
5138 (vcmlaq_rot270_laneq_f16): New.
5139 (vcadd_rot90_f32): New.
5140 (vcaddq_rot90_f32): New.
5141 (vcadd_rot270_f32): New.
5142 (vcaddq_rot270_f32): New.
5143 (vcmla_f32): New.
5144 (vcmlaq_f32): New.
5145 (vcmla_lane_f32): New.
5146 (vcmla_laneq_f32): New.
5147 (vcmlaq_lane_f32): New.
5148 (vcmlaq_laneq_f32): New.
5149 (vcmla_rot90_f32): New.
5150 (vcmlaq_rot90_f32): New.
5151 (vcmla_rot90_lane_f32): New.
5152 (vcmla_rot90_laneq_f32): New.
5153 (vcmlaq_rot90_lane_f32): New.
5154 (vcmlaq_rot90_laneq_f32): New.
5155 (vcmla_rot180_f32): New.
5156 (vcmlaq_rot180_f32): New.
5157 (vcmla_rot180_lane_f32): New.
5158 (vcmla_rot180_laneq_f32): New.
5159 (vcmlaq_rot180_lane_f32): New.
5160 (vcmlaq_rot180_laneq_f32): New.
5161 (vcmla_rot270_f32): New.
5162 (vcmlaq_rot270_f32): New.
5163 (vcmla_rot270_lane_f32): New.
5164 (vcmla_rot270_laneq_f32): New.
5165 (vcmlaq_rot270_lane_f32): New.
5166 (vcmlaq_rot270_laneq_f32): New.
5167 * config/arm/arm_neon_builtins.def (vcadd90, vcadd270, vcmla0, vcmla90,
5168 vcmla180, vcmla270, vcmla_lane0, vcmla_lane90, vcmla_lane180,
5169 vcmla_lane270, vcmla_laneq0, vcmla_laneq90, vcmla_laneq180,
5170 vcmla_laneq270, vcmlaq_lane0, vcmlaq_lane90, vcmlaq_lane180,
5171 vcmlaq_lane270): New.
5172 * config/arm/neon.md (neon_vcmla_lane<rot><mode>,
5173 neon_vcmla_laneq<rot><mode>, neon_vcmlaq_lane<rot><mode>): New.
5174 * config/arm/arm.c (arm_arch8_3, arm_arch8_4): New.
5175 * config/arm/arm.h (TARGET_COMPLEX, arm_arch8_3, arm_arch8_4): New.
5176 (arm_option_reconfigure_globals): Use them.
5177 * config/arm/iterators.md (VDF, VQ_HSF): New.
5178 (VCADD, VCMLA): New.
5179 (VF_constraint, rot, rotsplit1, rotsplit2): Add V4HF and V8HF.
5180 * config/arm/neon.md (neon_vcadd<rot><mode>, neon_vcmla<rot><mode>):
5181 New.
5182 * config/arm/unspecs.md (UNSPEC_VCADD90, UNSPEC_VCADD270,
5183 UNSPEC_VCMLA, UNSPEC_VCMLA90, UNSPEC_VCMLA180, UNSPEC_VCMLA270): New.
5184
5185 2019-01-10 Tamar Christina <tamar.christina@arm.com>
5186
5187 * config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers):
5188 Add qualifier_lane_pair_index.
5189 (emit-rtl.h): Include.
5190 (TYPES_QUADOP_LANE_PAIR): New.
5191 (aarch64_simd_expand_args): Use it.
5192 (aarch64_simd_expand_builtin): Likewise.
5193 (AARCH64_SIMD_FCMLA_LANEQ_BUILTINS, aarch64_fcmla_laneq_builtin_datum):
5194 New.
5195 (FCMLA_LANEQ_BUILTIN, AARCH64_SIMD_FCMLA_LANEQ_BUILTIN_BASE,
5196 AARCH64_SIMD_FCMLA_LANEQ_BUILTINS, aarch64_fcmla_lane_builtin_data,
5197 aarch64_init_fcmla_laneq_builtins, aarch64_expand_fcmla_builtin): New.
5198 (aarch64_init_builtins): Add aarch64_init_fcmla_laneq_builtins.
5199 (aarch64_expand_buildin): Add AARCH64_SIMD_BUILTIN_FCMLA_LANEQ0_V2SF,
5200 AARCH64_SIMD_BUILTIN_FCMLA_LANEQ90_V2SF,
5201 AARCH64_SIMD_BUILTIN_FCMLA_LANEQ180_V2SF,
5202 AARCH64_SIMD_BUILTIN_FCMLA_LANEQ2700_V2SF,
5203 AARCH64_SIMD_BUILTIN_FCMLA_LANEQ0_V4HF,
5204 AARCH64_SIMD_BUILTIN_FCMLA_LANEQ90_V4HF,
5205 AARCH64_SIMD_BUILTIN_FCMLA_LANEQ180_V4HF,
5206 AARCH64_SIMD_BUILTIN_FCMLA_LANEQ270_V4HF.
5207 * config/aarch64/iterators.md (FCMLA_maybe_lane): New.
5208 * config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins):
5209 Add __ARM_FEATURE_COMPLEX.
5210 * config/aarch64/aarch64-simd-builtins.def (fcadd90, fcadd270, fcmla0,
5211 fcmla90, fcmla180, fcmla270, fcmla_lane0, fcmla_lane90, fcmla_lane180,
5212 fcmla_lane270, fcmla_laneq0, fcmla_laneq90, fcmla_laneq180,
5213 fcmla_laneq270, fcmlaq_lane0, fcmlaq_lane90, fcmlaq_lane180,
5214 fcmlaq_lane270): New.
5215 * config/aarch64/aarch64-simd.md (aarch64_fcmla_lane<rot><mode>,
5216 aarch64_fcmla_laneq<rot>v4hf, aarch64_fcmlaq_lane<rot><mode>,
5217 aarch64_fcadd<rot><mode>, aarch64_fcmla<rot><mode>): New.
5218 * config/aarch64/arm_neon.h:
5219 (vcadd_rot90_f16): New.
5220 (vcaddq_rot90_f16): New.
5221 (vcadd_rot270_f16): New.
5222 (vcaddq_rot270_f16): New.
5223 (vcmla_f16): New.
5224 (vcmlaq_f16): New.
5225 (vcmla_lane_f16): New.
5226 (vcmla_laneq_f16): New.
5227 (vcmlaq_lane_f16): New.
5228 (vcmlaq_rot90_lane_f16): New.
5229 (vcmla_rot90_laneq_f16): New.
5230 (vcmla_rot90_lane_f16): New.
5231 (vcmlaq_rot90_f16): New.
5232 (vcmla_rot90_f16): New.
5233 (vcmlaq_laneq_f16): New.
5234 (vcmla_rot180_laneq_f16): New.
5235 (vcmla_rot180_lane_f16): New.
5236 (vcmlaq_rot180_f16): New.
5237 (vcmla_rot180_f16): New.
5238 (vcmlaq_rot90_laneq_f16): New.
5239 (vcmlaq_rot270_laneq_f16): New.
5240 (vcmlaq_rot270_lane_f16): New.
5241 (vcmla_rot270_laneq_f16): New.
5242 (vcmlaq_rot270_f16): New.
5243 (vcmla_rot270_f16): New.
5244 (vcmlaq_rot180_laneq_f16): New.
5245 (vcmlaq_rot180_lane_f16): New.
5246 (vcmla_rot270_lane_f16): New.
5247 (vcadd_rot90_f32): New.
5248 (vcaddq_rot90_f32): New.
5249 (vcaddq_rot90_f64): New.
5250 (vcadd_rot270_f32): New.
5251 (vcaddq_rot270_f32): New.
5252 (vcaddq_rot270_f64): New.
5253 (vcmla_f32): New.
5254 (vcmlaq_f32): New.
5255 (vcmlaq_f64): New.
5256 (vcmla_lane_f32): New.
5257 (vcmla_laneq_f32): New.
5258 (vcmlaq_lane_f32): New.
5259 (vcmlaq_laneq_f32): New.
5260 (vcmla_rot90_f32): New.
5261 (vcmlaq_rot90_f32): New.
5262 (vcmlaq_rot90_f64): New.
5263 (vcmla_rot90_lane_f32): New.
5264 (vcmla_rot90_laneq_f32): New.
5265 (vcmlaq_rot90_lane_f32): New.
5266 (vcmlaq_rot90_laneq_f32): New.
5267 (vcmla_rot180_f32): New.
5268 (vcmlaq_rot180_f32): New.
5269 (vcmlaq_rot180_f64): New.
5270 (vcmla_rot180_lane_f32): New.
5271 (vcmla_rot180_laneq_f32): New.
5272 (vcmlaq_rot180_lane_f32): New.
5273 (vcmlaq_rot180_laneq_f32): New.
5274 (vcmla_rot270_f32): New.
5275 (vcmlaq_rot270_f32): New.
5276 (vcmlaq_rot270_f64): New.
5277 (vcmla_rot270_lane_f32): New.
5278 (vcmla_rot270_laneq_f32): New.
5279 (vcmlaq_rot270_lane_f32): New.
5280 (vcmlaq_rot270_laneq_f32): New.
5281 * config/aarch64/aarch64.h (TARGET_COMPLEX): New.
5282 * config/aarch64/iterators.md (UNSPEC_FCADD90, UNSPEC_FCADD270,
5283 UNSPEC_FCMLA, UNSPEC_FCMLA90, UNSPEC_FCMLA180, UNSPEC_FCMLA270): New.
5284 (FCADD, FCMLA): New.
5285 (rot): New.
5286 * config/arm/types.md (neon_fcadd, neon_fcmla): New.
5287
5288 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
5289
5290 PR other/16615
5291
5292 * config/pa/pa.c: Change "can not" to "cannot".
5293 * gimple-ssa-evrp-analyze.c: Likewise.
5294 * ipa-icf.c: Likewise.
5295 * ipa-polymorphic-call.c: Likewise.
5296 * ipa-pure-const.c: Likewise.
5297 * lra-constraints.c: Likewise.
5298 * lra-remat.c: Likewise.
5299 * reload1.c: Likewise.
5300 * reorg.c: Likewise.
5301 * tree-ssa-uninit.c: Likewise.
5302
5303 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
5304
5305 PR other/16615
5306
5307 * Makefile.in: Mechanically replace "can not" with "cannot".
5308 * alias.c: Likewise.
5309 * builtins.c: Likewise.
5310 * calls.c: Likewise.
5311 * cgraph.c: Likewise.
5312 * cgraph.h: Likewise.
5313 * cgraphclones.c: Likewise.
5314 * cgraphunit.c: Likewise.
5315 * combine-stack-adj.c: Likewise.
5316 * combine.c: Likewise.
5317 * common/config/i386/i386-common.c: Likewise.
5318 * config/aarch64/aarch64.c: Likewise.
5319 * config/alpha/sync.md: Likewise.
5320 * config/arc/arc.c: Likewise.
5321 * config/arc/predicates.md: Likewise.
5322 * config/arm/arm-c.c: Likewise.
5323 * config/arm/arm.c: Likewise.
5324 * config/arm/arm.h: Likewise.
5325 * config/arm/arm.md: Likewise.
5326 * config/arm/cortex-r4f.md: Likewise.
5327 * config/csky/csky.c: Likewise.
5328 * config/csky/csky.h: Likewise.
5329 * config/darwin-f.c: Likewise.
5330 * config/epiphany/epiphany.md: Likewise.
5331 * config/i386/i386.c: Likewise.
5332 * config/i386/sol2.h: Likewise.
5333 * config/m68k/m68k.c: Likewise.
5334 * config/mcore/mcore.h: Likewise.
5335 * config/microblaze/microblaze.md: Likewise.
5336 * config/mips/20kc.md: Likewise.
5337 * config/mips/sb1.md: Likewise.
5338 * config/nds32/nds32.c: Likewise.
5339 * config/nds32/predicates.md: Likewise.
5340 * config/pa/pa.c: Likewise.
5341 * config/rs6000/e300c2c3.md: Likewise.
5342 * config/rs6000/rs6000.c: Likewise.
5343 * config/s390/s390.h: Likewise.
5344 * config/sh/sh.c: Likewise.
5345 * config/sh/sh.md: Likewise.
5346 * config/spu/vmx2spu.h: Likewise.
5347 * cprop.c: Likewise.
5348 * dbxout.c: Likewise.
5349 * df-scan.c: Likewise.
5350 * doc/cfg.texi: Likewise.
5351 * doc/extend.texi: Likewise.
5352 * doc/fragments.texi: Likewise.
5353 * doc/gty.texi: Likewise.
5354 * doc/invoke.texi: Likewise.
5355 * doc/lto.texi: Likewise.
5356 * doc/md.texi: Likewise.
5357 * doc/objc.texi: Likewise.
5358 * doc/rtl.texi: Likewise.
5359 * doc/tm.texi: Likewise.
5360 * dse.c: Likewise.
5361 * emit-rtl.c: Likewise.
5362 * emit-rtl.h: Likewise.
5363 * except.c: Likewise.
5364 * expmed.c: Likewise.
5365 * expr.c: Likewise.
5366 * fold-const.c: Likewise.
5367 * genautomata.c: Likewise.
5368 * gimple-fold.c: Likewise.
5369 * hard-reg-set.h: Likewise.
5370 * ifcvt.c: Likewise.
5371 * ipa-comdats.c: Likewise.
5372 * ipa-cp.c: Likewise.
5373 * ipa-devirt.c: Likewise.
5374 * ipa-fnsummary.c: Likewise.
5375 * ipa-icf.c: Likewise.
5376 * ipa-inline-transform.c: Likewise.
5377 * ipa-inline.c: Likewise.
5378 * ipa-polymorphic-call.c: Likewise.
5379 * ipa-profile.c: Likewise.
5380 * ipa-prop.c: Likewise.
5381 * ipa-pure-const.c: Likewise.
5382 * ipa-reference.c: Likewise.
5383 * ipa-split.c: Likewise.
5384 * ipa-visibility.c: Likewise.
5385 * ipa.c: Likewise.
5386 * ira-build.c: Likewise.
5387 * ira-color.c: Likewise.
5388 * ira-conflicts.c: Likewise.
5389 * ira-costs.c: Likewise.
5390 * ira-int.h: Likewise.
5391 * ira-lives.c: Likewise.
5392 * ira.c: Likewise.
5393 * ira.h: Likewise.
5394 * loop-invariant.c: Likewise.
5395 * loop-unroll.c: Likewise.
5396 * lower-subreg.c: Likewise.
5397 * lra-assigns.c: Likewise.
5398 * lra-constraints.c: Likewise.
5399 * lra-eliminations.c: Likewise.
5400 * lra-lives.c: Likewise.
5401 * lra-remat.c: Likewise.
5402 * lra-spills.c: Likewise.
5403 * lra.c: Likewise.
5404 * lto-cgraph.c: Likewise.
5405 * lto-streamer-out.c: Likewise.
5406 * postreload-gcse.c: Likewise.
5407 * predict.c: Likewise.
5408 * profile-count.h: Likewise.
5409 * profile.c: Likewise.
5410 * recog.c: Likewise.
5411 * ree.c: Likewise.
5412 * reload.c: Likewise.
5413 * reload1.c: Likewise.
5414 * reorg.c: Likewise.
5415 * resource.c: Likewise.
5416 * rtl.def: Likewise.
5417 * rtl.h: Likewise.
5418 * rtlanal.c: Likewise.
5419 * sched-deps.c: Likewise.
5420 * sched-ebb.c: Likewise.
5421 * sched-rgn.c: Likewise.
5422 * sel-sched-ir.c: Likewise.
5423 * sel-sched.c: Likewise.
5424 * shrink-wrap.c: Likewise.
5425 * simplify-rtx.c: Likewise.
5426 * symtab.c: Likewise.
5427 * target.def: Likewise.
5428 * toplev.c: Likewise.
5429 * tree-call-cdce.c: Likewise.
5430 * tree-cfg.c: Likewise.
5431 * tree-complex.c: Likewise.
5432 * tree-core.h: Likewise.
5433 * tree-eh.c: Likewise.
5434 * tree-inline.c: Likewise.
5435 * tree-loop-distribution.c: Likewise.
5436 * tree-nrv.c: Likewise.
5437 * tree-profile.c: Likewise.
5438 * tree-sra.c: Likewise.
5439 * tree-ssa-alias.c: Likewise.
5440 * tree-ssa-dce.c: Likewise.
5441 * tree-ssa-dom.c: Likewise.
5442 * tree-ssa-forwprop.c: Likewise.
5443 * tree-ssa-loop-im.c: Likewise.
5444 * tree-ssa-loop-ivcanon.c: Likewise.
5445 * tree-ssa-loop-ivopts.c: Likewise.
5446 * tree-ssa-loop-niter.c: Likewise.
5447 * tree-ssa-phionlycprop.c: Likewise.
5448 * tree-ssa-phiopt.c: Likewise.
5449 * tree-ssa-propagate.c: Likewise.
5450 * tree-ssa-threadedge.c: Likewise.
5451 * tree-ssa-threadupdate.c: Likewise.
5452 * tree-ssa-uninit.c: Likewise.
5453 * tree-ssanames.c: Likewise.
5454 * tree-streamer-out.c: Likewise.
5455 * tree.c: Likewise.
5456 * tree.h: Likewise.
5457 * vr-values.c: Likewise.
5458
5459 2019-01-09 Uroš Bizjak <ubizjak@gmail.com>
5460
5461 * config/i386/i386-protos.h (ix86_expand_xorsign): New prototype.
5462 (ix86_split_xorsign): Ditto.
5463 * config/i386/i386.c (ix86_expand_xorsign): New function.
5464 (ix86_split_xorsign): Ditto.
5465 * config/i386/i386.md (UNSPEC_XORSIGN): New unspec.
5466 (xorsign<mode>3): New expander.
5467 (xorsign<mode>3_1): New insn_and_split pattern.
5468 * config/i386/sse.md (xorsign<mode>3): New expander.
5469
5470 2019-01-09 Eric Botcazou <ebotcazou@adacore.com>
5471
5472 * config/sparc/sparc.md (*tablejump_sp32): Merge into...
5473 (*tablejump_sp64): Likewise.
5474 (*tablejump<P:mode>): ...this.
5475 (*call_address_sp32): Merge into...
5476 (*call_address_sp64): Likewise.
5477 (*call_address<P:mode>): ...this.
5478 (*call_symbolic_sp32): Merge into...
5479 (*call_symbolic_sp64): Likewise.
5480 (*call_symbolic<P:mode>): ...this.
5481 (call_value): Remove constraint and add predicate.
5482 (*call_value_address_sp32): Merge into...
5483 (*call_value_address_sp64): Likewise.
5484 (*call_value_address<P:mode>): ...this.
5485 (*call_value_symbolic_sp32): Merge into...
5486 (*call_value_symbolic_sp64): Likewise.
5487 (*call_value_symbolic<P:mode>): ...this.
5488 (*sibcall_symbolic_sp32): Merge into...
5489 (*sibcall_symbolic_sp64): Likewise.
5490 (*sibcall_symbolic<P:mode>): ...this.
5491 (sibcall_value): Remove constraint and add predicate.
5492 (*sibcall_value_symbolic_sp32): Merge into...
5493 (*sibcall_value_symbolic_sp64): Likewise.
5494 (*sibcall_value_symbolic<P:mode>): ...this.
5495 (window_save): Minor tweak.
5496 (*branch_sp32): Merge into...
5497 (*branch_sp64): Likewise.
5498 (*branch<P:mode>): ...this.
5499
5500 2019-01-09 Eric Botcazou <ebotcazou@adacore.com>
5501 James Clarke <jrtc27@jrtc27.com>
5502
5503 PR target/84010
5504 * config/sparc/sparc.c (sparc_legitimize_tls_address): Only use Pmode
5505 consistently in TLS address generation and adjust code to the renaming
5506 of patterns. Mark calls to __tls_get_addr as const.
5507 * config/sparc/sparc.md (tgd_hi22): Turn into...
5508 (tgd_hi22<P:mode>): ...this and use Pmode throughout.
5509 (tgd_lo10): Turn into...
5510 (tgd_lo10<P:mode>): ...this and use Pmode throughout.
5511 (tgd_add32): Merge into...
5512 (tgd_add64): Likewise.
5513 (tgd_add<P:mode>): ...this and use Pmode throughout.
5514 (tldm_hi22): Turn into...
5515 (tldm_hi22<P:mode>): ...this and use Pmode throughout.
5516 (tldm_lo10): Turn into...
5517 (tldm_lo10<P:mode>): ...this and use Pmode throughout.
5518 (tldm_add32): Merge into...
5519 (tldm_add64): Likewise.
5520 (tldm_add<P:mode>): ...this and use Pmode throughout.
5521 (tldm_call32): Merge into...
5522 (tldm_call64): Likewise.
5523 (tldm_call<P:mode>): ...this and use Pmode throughout.
5524 (tldo_hix22): Turn into...
5525 (tldo_hix22<P:mode>): ...this and use Pmode throughout.
5526 (tldo_lox10): Turn into...
5527 (tldo_lox10<P:mode>): ...this and use Pmode throughout.
5528 (tldo_add32): Merge into...
5529 (tldo_add64): Likewise.
5530 (tldo_add<P:mode>): ...this and use Pmode throughout.
5531 (tie_hi22): Turn into...
5532 (tie_hi22<P:mode>): ...this and use Pmode throughout.
5533 (tie_lo10): Turn into...
5534 (tie_lo10<P:mode>): ...this and use Pmode throughout.
5535 (tie_ld64): Use DImode throughout.
5536 (tie_add32): Merge into...
5537 (tie_add64): Likewise.
5538 (tie_add<P:mode>): ...this and use Pmode throughout.
5539 (tle_hix22_sp32): Merge into...
5540 (tle_hix22_sp64): Likewise.
5541 (tle_hix22<P:mode>): ...this and use Pmode throughout.
5542 (tle_lox22_sp32): Merge into...
5543 (tle_lox22_sp64): Likewise.
5544 (tle_lox22<P:mode>): ...this and use Pmode throughout.
5545 (*tldo_ldub_sp32): Merge into...
5546 (*tldo_ldub_sp64): Likewise.
5547 (*tldo_ldub<P:mode>): ...this and use Pmode throughout.
5548 (*tldo_ldub1_sp32): Merge into...
5549 (*tldo_ldub1_sp64): Likewise.
5550 (*tldo_ldub1<P:mode>): ...this and use Pmode throughout.
5551 (*tldo_ldub2_sp32): Merge into...
5552 (*tldo_ldub2_sp64): Likewise.
5553 (*tldo_ldub2<P:mode>): ...this and use Pmode throughout.
5554 (*tldo_ldsb1_sp32): Merge into...
5555 (*tldo_ldsb1_sp64): Likewise.
5556 (*tldo_ldsb1<P:mode>): ...this and use Pmode throughout.
5557 (*tldo_ldsb2_sp32): Merge into...
5558 (*tldo_ldsb2_sp64): Likewise.
5559 (*tldo_ldsb2<P:mode>): ...this and use Pmode throughout.
5560 (*tldo_ldub3_sp64): Use DImode throughout.
5561 (*tldo_ldsb3_sp64): Likewise.
5562 (*tldo_lduh_sp32): Merge into...
5563 (*tldo_lduh_sp64): Likewise.
5564 (*tldo_lduh<P:mode>): ...this and use Pmode throughout.
5565 (*tldo_lduh1_sp32): Merge into...
5566 (*tldo_lduh1_sp64): Likewise.
5567 (*tldo_lduh1<P:mode>): ...this and use Pmode throughout.
5568 (*tldo_ldsh1_sp32): Merge into...
5569 (*tldo_ldsh1_sp64): Likewise.
5570 (*tldo_ldsh1<P:mode>): ...this and use Pmode throughout.
5571 (*tldo_lduh2_sp64): Use DImode throughout.
5572 (*tldo_ldsh2_sp64): Likewise.
5573 (*tldo_lduw_sp32): Merge into...
5574 (*tldo_lduw_sp64): Likewise.
5575 (*tldo_lduw<P:mode>): ...this and use Pmode throughout.
5576 (*tldo_lduw1_sp64): Use DImode throughout.
5577 (*tldo_ldsw1_sp64): Likewise.
5578 (*tldo_ldx_sp64): Likewise.
5579 (*tldo_stb_sp32): Merge into...
5580 (*tldo_stb_sp64): Likewise.
5581 (*tldo_stb<P:mode>): ...this and use Pmode throughout.
5582 (*tldo_sth_sp32): Merge into...
5583 (*tldo_sth_sp64): Likewise.
5584 (*tldo_sth<P:mode>): ...this and use Pmode throughout.
5585 (*tldo_stw_sp32): Merge into...
5586 (*tldo_stw_sp64): Likewise.
5587 (*tldo_stw<P:mode>): ...this and use Pmode throughout.
5588 (*tldo_stx_sp64): Use DImode throughout.
5589
5590 2018-01-09 Sudakshina Das <sudi.das@arm.com>
5591
5592 * config/aarch64/aarch64.c (aarch64_override_options): Add case to
5593 check configure option to set BTI and Return Address Signing.
5594 * configure.ac: Add --enable-standard-branch-protection and
5595 --disable-standard-branch-protection.
5596 * configure: Regenerated.
5597 * doc/install.texi: Document the same.
5598
5599 2018-01-09 Sudakshina Das <sudi.das@arm.com>
5600 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5601
5602 * config.gcc (aarch64*-*-*): Add aarch64-bti-insert.o.
5603 * config/aarch64/aarch64.h: Update comment for TRAMPOLINE_SIZE.
5604 * config/aarch64/aarch64.c (aarch64_asm_trampoline_template): Update
5605 if bti is enabled.
5606 * config/aarch64/aarch64-bti-insert.c: New file.
5607 * config/aarch64/aarch64-passes.def (INSERT_PASS_BEFORE): Insert bti
5608 pass.
5609 * config/aarch64/aarch64-protos.h (make_pass_insert_bti): Declare the
5610 new bti pass.
5611 * config/aarch64/aarch64.md (unspecv): Add UNSPECV_BTI_NOARG,
5612 UNSPECV_BTI_C, UNSPECV_BTI_J and UNSPECV_BTI_JC.
5613 (bti_noarg, bti_j, bti_c, bti_jc): New define_insns.
5614 * config/aarch64/t-aarch64: Add rule for aarch64-bti-insert.o.
5615
5616 2018-01-09 Sudakshina Das <sudi.das@arm.com>
5617
5618 * config/aarch64/aarch64-protos.h (aarch64_bti_enabled): Declare.
5619 * config/aarch64/aarch64.c (aarch64_handle_no_branch_protection):
5620 Disable bti for -mbranch-protection=none.
5621 (aarch64_handle_standard_branch_protection): Enable bti for
5622 -mbranch-protection=standard.
5623 (aarch64_handle_bti_protection): Enable bti for "bti" in the string to
5624 -mbranch-protection.
5625 (aarch64_bti_enabled): Check if bti is enabled.
5626 * config/aarch64/aarch64.opt: Declare target variable.
5627 * doc/invoke.texi: Add bti to the -mbranch-protection documentation.
5628
5629 2018-01-09 Sudakshina Das <sudi.das@arm.com>
5630
5631 * config/aarch64/aarch64.c (aarch64_expand_prologue): Use new
5632 epilogue/prologue scratch registers EP0_REGNUM and EP1_REGNUM.
5633 (aarch64_expand_epilogue): Likewise.
5634 (aarch64_output_mi_thunk): Likewise
5635 * config/aarch64/aarch64.h (REG_CLASS_CONTENTS): Change
5636 TAILCALL_ADDR_REGS to x16 and x17.
5637 * config/aarch64/aarch64.md: Define EP0_REGNUM and EP1_REGNUM.
5638
5639 2018-01-09 Sudakshina Das <sudi.das@arm.com>
5640
5641 * config/aarch64/aarch64-option-extensions.def: Define
5642 AARCH64_OPT_EXTENSION for memtag, rng, sb, ssbs and predres.
5643 * config/aarch64/aarch64.h (AARCH64_FL_RNG): New.
5644 (AARCH64_FL_MEMTAG, ARCH64_FL_SB, AARCH64_FL_SSBS): New.
5645 (AARCH64_FL_PREDRES): New.
5646 (AARCH64_FL_FOR_ARCH8_5): Add AARCH64_FL_SB, AARCH64_FL_SSBS and
5647 AARCH64_FL_PREDRES by default.
5648 * doc/invoke.texi: Document rng, memtag, sb, ssbs and predres.
5649
5650 2018-01-09 Sudakshina Das <sudi.das@arm.com>
5651
5652 * config/aarch64/aarch64-arches.def: Define AARCH64_ARCH for
5653 ARMv8.5-A.
5654 * config/aarch64/aarch64.h (AARCH64_FL_V8_5): New.
5655 (AARCH64_FL_FOR_ARCH8_5, AARCH64_ISA_V8_5): New.
5656 * doc/invoke.texi: Document ARMv8.5-A.
5657
5658 2019-01-09 Alejandro Martinez <alejandro.martinezvicente@arm.com>
5659
5660 * config/aarch64/aarch64-sve.md (copysign<mode>3): New define_expand.
5661 (xorsign<mode>3): Likewise.
5662
5663 2019-01-09 Jelinek <jakub@redhat.com>
5664
5665 PR middle-end/88758
5666 * tree.c (initializer_each_zero_or_onep) <case VECTOR_CST>: Use
5667 vector_cst_elt instead of VECTOR_CST_ENCODED_ELT.
5668
5669 PR rtl-optimization/88331
5670 * function.c (assign_stack_local_1): Don't set dynamic_align_addr if
5671 not currently_expanding_to_rtl.
5672
5673 2019-01-09 Eric Botcazou <ebotcazou@adacore.com>
5674
5675 * doc/invoke.texi (-Os): Remove trailing spaces.
5676 (-finline-functions): Remove reference to -O2.
5677
5678 2019-01-08 Jakub Jelinek <jakub@redhat.com>
5679
5680 PR rtl-optimization/79593
5681 * config/i386/i386.md (reg = mem; mem = reg): New define_peephole2.
5682
5683 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Delegitimize
5684 UNSPEC_FUSION_GPR to its argument. Formatting fixes.
5685
5686 2019-01-08 Eric Botcazou <ebotcazou@adacore.com>
5687
5688 PR bootstrap/88721
5689 * config/sparc/sparc.c (function_arg_slotno): Set *PPREGNO & *PPADDING
5690 to -1 on entry.
5691
5692 PR debug/88723
5693 * config/sparc/sparc.c (sparc_delegitimize_address): Deal with naked
5694 UNSPECs and UNSPEC_MOVE_GOTDATA specifically.
5695
5696 2019-01-08 H.J. Lu <hongjiu.lu@intel.com>
5697
5698 PR target/88717
5699 * config/i386/i386.c (ix86_avx_u128_mode_exit): Call
5700 ix86_avx_u128_mode_entry.
5701
5702 2019-01-08 Martin Liska <mliska@suse.cz>
5703
5704 PR tree-optimization/88753
5705 * tree-switch-conversion.c (switch_conversion::build_one_array):
5706 Come up with local variable constructor. Convert first to
5707 type of constructor values.
5708
5709 2019-01-08 Richard Biener <rguenther@suse.de>
5710
5711 PR tree-optimization/86554
5712 * tree-ssa-sccvn.c (eliminate_dom_walker, rpo_elim,
5713 rpo_avail): Move earlier.
5714 (visit_nary_op): When value-numbering to expressions
5715 with different overflow behavior make sure there's an
5716 available expression on the path.
5717
5718 2019-01-08 Sam Tebbs <sam.tebbs@arm.com>
5719
5720 * config/aarch64/aarch64.c (BRANCH_PROTECT_STR_MAX,
5721 aarch64_parse_branch_protection,
5722 struct aarch64_branch_protect_type,
5723 aarch64_handle_no_branch_protection,
5724 aarch64_handle_standard_branch_protection,
5725 aarch64_validate_mbranch_protection,
5726 aarch64_handle_pac_ret_protection,
5727 aarch64_handle_attr_branch_protection,
5728 accepted_branch_protection_string,
5729 aarch64_pac_ret_subtypes,
5730 aarch64_branch_protect_types,
5731 aarch64_handle_pac_ret_leaf): Define.
5732 (aarch64_override_options_after_change_1, aarch64_override_options):
5733 Add check for accepted_branch_protection_string.
5734 (aarch64_option_save): Save accepted_branch_protection_string.
5735 (aarch64_option_restore): Save accepted_branch_protection_string.
5736 * config/aarch64/aarch64.c (aarch64_attributes): Add branch-protection.
5737 * config/aarch64/aarch64.opt: Add mbranch-protection. Deprecate
5738 msign-return-address.
5739 * doc/invoke.texi: Add mbranch-protection.
5740
5741 2019-01-08 Alan Modra <amodra@gmail.com>
5742
5743 PR target/88614
5744 * genattrtab.c (max_attr_value, min_attr_value, or_attr_value):
5745 Delete "unknownp" parameter. Adjust callers. Handle
5746 CONST_INT, PLUS, MINUS, and MULT.
5747 (attr_value_aligned): Renamed from or_attr_value.
5748 (min_attr_value): Return INT_MIN for unhandled rtl case..
5749 (min_fn): ..and translate to INT_MAX here.
5750 (write_length_unit_log): Modify to cope without "unknown".
5751 (write_attr_value): Handle IF_THEN_ELSE.
5752
5753 2019-01-07 Richard Sandiford <richard.sandiford@arm.com>
5754
5755 * tree-vect-stmts.c (vectorizable_store): Don't use the dataref_offset
5756 optimization for masked stores.
5757
5758 2019-01-07 Richard Sandiford <richard.sandiford@arm.com>
5759
5760 PR middle-end/88567
5761 * tree-vect-loop.c (get_initial_defs_for_reduction): Pass the
5762 output vector directly to duplicate_and_interleave instead of
5763 going through a temporary. Postpone insertion of ctor_seq to
5764 the end of the loop.
5765
5766 2019-01-07 Richard Earnshaw <rearnsha@arm.com>
5767
5768 PR target/86891
5769 * config/aarch64/aarch64.c (aarch64_expand_subvti): New parameter
5770 unsigned_p. Handle signed and unsigned overflow correction as
5771 required.
5772 * config/aarch64/aarch64-protos.h (aarch64_expand_subvti): Update
5773 prototype.
5774 * config/aarch64/aarch64.md (addv<mode>4): Use aarch64_plus_operand
5775 for operand 2.
5776 (add<mode>3_compareV_imm): Make this callable for expanding.
5777 (subv<GPI:mode>4): Use register_operand for operand 1. Use
5778 aarch64_plus_operand for operand 2.
5779 (subv<GPI:mode>_insn): New insn pattern.
5780 (subv<GPI:mode>_imm): Likewise.
5781 (negv<GPI:mode>3): New expand pattern.
5782 (negv<GPI:mode>_insn): New insn pattern.
5783 (negv<GPI:mode>_cmp_only): Likewise.
5784 (cmpv<GPI:mode>_insn): Likewise.
5785 (subvti4): Use register_operand for operand 1. Update call to
5786 aarch64_expand_subvti.
5787 (usubvti4): Likewise.
5788 (negvti3): New expand pattern.
5789 (negdi_carryout): New insn pattern.
5790 (negvdi_carryinV): New insn pattern.
5791 (sub<mode3>_compare1_imm): Delete named insn pattern, make anonymous
5792 version the named version.
5793 (peepholes to convert to sub<mode3>_compare1_imm): Adjust order of
5794 operands.
5795 (usub<GPI:mode>3_carryinC, usub<GPI:mode>3_carryinC_z1): New insn
5796 patterns.
5797 (usub<GPI:mode>3_carryinC_z2, usub<GPI:mode>3_carryinC): New insn
5798 patterns.
5799 (sub<mode>3_carryinCV, sub<mode>3_carryinCV_z1_z2): Delete.
5800 (sub<mode>3_carryinCV_z1, sub<mode>3_carryinCV_z2): Delete.
5801 (sub<mode>3_carryinCV): Delete.
5802 (sub<GPI:mode>3_carryinV): New expand pattern.
5803 sub<mode>3_carryinV, sub<mode>3_carryinV_z2): New insn patterns.
5804
5805 2019-01-07 Richard Biener <rguenther@suse.de>
5806
5807 * tree-ssa-uncprop.c (ssa_equip_hash_traits): Remove in favor
5808 of tree_operand_hash.
5809
5810 2019-01-07 Richard Sandiford <richard.sandiford@arm.com>
5811
5812 PR tree-optimization/88598
5813 * tree.h (single_nonzero_element): Declare.
5814 * tree.c (single_nonzero_element): New function.
5815 * match.pd: Fold certain reductions of X & CST to X[I] & CST[I]
5816 if I is the only nonzero element of CST.
5817
5818 2019-01-07 Richard Sandiford <richard.sandiford@arm.com>
5819
5820 PR tree-optimization/88598
5821 * tree.h (initializer_each_zero_or_onep): Declare.
5822 * tree.c (initializer_each_zero_or_onep): New function.
5823 (signed_or_unsigned_type_for): Handle float types too.
5824 (unsigned_type_for, signed_type_for): Update comments accordingly.
5825 * match.pd: Fold x * { 0 or 1, 0 or 1, ...} to
5826 x & { 0 or -1, 0 or -1, ... }.
5827
5828 2019-01-07 Jonathan Wakely <jwakely@redhat.com>
5829
5830 * doc/install.texi: Replace references to x86_64-unknown-linux-gnu
5831 with x86_64-pc-linux-gnu.
5832
5833 2019-01-07 Tom de Vries <tdevries@suse.de>
5834
5835 PR target/85486
5836 * config/nvptx/nvptx.c (has_vector_partitionable_routine_calls_p): New
5837 function.
5838 (nvptx_goacc_validate_dims): Force vl32 if calling vector-partitionable
5839 routines.
5840
5841 2019-01-07 Jakub Jelinek <jakub@redhat.com>
5842
5843 * config/i386/sse.md (vec_extract<mode><ssehalfvecmodelower>): Use
5844 V_256_512 iterator instead of V_512 and TARGET_AVX instead of
5845 TARGET_AVX512F as condition.
5846
5847 PR debug/88723
5848 * dwarf2out.c (const_ok_for_output_1): Remove redundant call to
5849 const_not_ok_for_debug_p target hook.
5850 (mem_loc_descriptor) <case UNSPEC>: Only call const_ok_for_output_1
5851 on UNSPEC and subexpressions thereof if all subexpressions of the
5852 UNSPEC are CONSTANT_P.
5853
5854 PR tree-optimization/88676
5855 * tree-ssa-phiopt.c (two_value_replacement): New function.
5856 (tree_ssa_phiopt_worker): Call it.
5857
5858 PR sanitizer/88619
5859 * cfgexpand.c (expand_stack_vars): Only align prev_offset to
5860 ASAN_MIN_RED_ZONE_SIZE, not to maximum of that and alignb.
5861
5862 PR c++/85052
5863 * tree-vect-generic.c: Include insn-config.h and recog.h.
5864 (expand_vector_piecewise): Add defaulted ret_type argument,
5865 if non-NULL, use that in preference to type for the result type.
5866 (expand_vector_parallel): Formatting fix.
5867 (do_vec_conversion, do_vec_narrowing_conversion,
5868 expand_vector_conversion): New functions.
5869 (expand_vector_operations_1): Call expand_vector_conversion
5870 for VEC_CONVERT ifn calls.
5871 * internal-fn.def (VEC_CONVERT): New internal function.
5872 * internal-fn.c (expand_VEC_CONVERT): New function.
5873 * fold-const-call.c (fold_const_vec_convert): New function.
5874 (fold_const_call): Use it for CFN_VEC_CONVERT.
5875 * doc/extend.texi (__builtin_convertvector): Document.
5876
5877 2019-01-07 Tom de Vries <tdevries@suse.de>
5878
5879 * config/nvptx/nvptx-protos.h (nvptx_output_red_partition): Declare.
5880 * config/nvptx/nvptx.c (vector_red_size, vector_red_align,
5881 vector_red_partition, vector_red_sym): New global variables.
5882 (nvptx_option_override): Initialize vector_red_sym.
5883 (nvptx_declare_function_name): Restore red_partition register.
5884 (nvptx_file_end): Emit code to declare the vector reduction variables.
5885 (nvptx_output_red_partition): New function.
5886 (nvptx_expand_shared_addr): Add vector argument. Use it to handle
5887 large vector reductions.
5888 (enum nvptx_builtins): Add NVPTX_BUILTIN_VECTOR_ADDR.
5889 (nvptx_init_builtins): Add VECTOR_ADDR.
5890 (nvptx_expand_builtin): Update call to nvptx_expand_shared_addr.
5891 Handle nvptx_expand_shared_addr.
5892 (nvptx_get_shared_red_addr): Add vector argument and handle large
5893 vectors.
5894 (nvptx_goacc_reduction_setup): Add offload_attrs argument and handle
5895 large vectors.
5896 (nvptx_goacc_reduction_init): Likewise.
5897 (nvptx_goacc_reduction_fini): Likewise.
5898 (nvptx_goacc_reduction_teardown): Likewise.
5899 (nvptx_goacc_reduction): Update calls to nvptx_goacc_reduction_{setup,
5900 init,fini,teardown}.
5901 (nvptx_init_axis_predicate): Initialize vector_red_partition.
5902 (nvptx_set_current_function): Init vector_red_partition.
5903 * config/nvptx/nvptx.md (UNSPECV_RED_PART): New unspecv.
5904 (nvptx_red_partition): New insn.
5905 * config/nvptx/nvptx.h (struct machine_function): Add red_partition.
5906
5907 2019-01-07 Tom de Vries <tdevries@suse.de>
5908
5909 PR target/85381
5910 * config/nvptx/nvptx.c (nvptx_process_pars): Don't emit barriers for
5911 empty loops.
5912
5913 2019-01-07 Tom de Vries <tdevries@suse.de>
5914
5915 * config/nvptx/nvptx.c (oacc_bcast_partition): Declare.
5916 (nvptx_option_override): Init oacc_bcast_partition.
5917 (nvptx_init_oacc_workers): New function.
5918 (nvptx_declare_function_name): Call nvptx_init_oacc_workers.
5919 (nvptx_needs_shared_bcast): New function.
5920 (nvptx_find_par): Generalize to enable vectors to use shared-memory
5921 to propagate state.
5922 (nvptx_shared_propagate): Initialize vector bcast partition and
5923 synchronization state.
5924 (nvptx_single): Generalize to enable vectors to use shared-memory
5925 to propagate state.
5926 (nvptx_process_pars): Likewise.
5927 (nvptx_set_current_function): Initialize oacc_broadcast_partition.
5928 * config/nvptx/nvptx.h (struct machine_function): Add
5929 bcast_partition and sync_bar members.
5930
5931 2019-01-07 Tom de Vries <tdevries@suse.de>
5932
5933 * config/nvptx/nvptx.c (nvptx_welformed_vector_length_p)
5934 (nvptx_apply_dim_limits): New function.
5935 (nvptx_goacc_validate_dims_1): Allow PTX_MAX_VECTOR_LENGTH larger than
5936 PTX_WARP_SIZE.
5937
5938 2019-01-07 Tom de Vries <tdevries@suse.de>
5939
5940 * config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): Move warnings to
5941 as late as possible.
5942
5943 2019-01-07 Tom de Vries <tdevries@suse.de>
5944
5945 * config/nvptx/nvptx.c (PTX_VECTOR_LENGTH): Remove.
5946 (PTX_DEFAULT_VECTOR_LENGTH, PTX_MAX_VECTOR_LENGTH): Define.
5947 (nvptx_goacc_validate_dims_1, nvptx_dim_limit)
5948 (nvptx_goacc_reduction_fini): Use PTX_DEFAULT_VECTOR_LENGTH,
5949 PTX_MAX_VECTOR_LENGTH and PTX_WARP_SIZE instead of PTX_VECTOR_LENGTH.
5950
5951 2019-01-07 Tom de Vries <tdevries@suse.de>
5952
5953 * config/nvptx/nvptx.c (nvptx_goacc_validate_dims): Add asserts.
5954
5955 2019-01-07 Tom de Vries <tdevries@suse.de>
5956
5957 * omp-offload.c (oacc_get_min_dim): New function.
5958 * omp-offload.h (oacc_get_min_dim): Declare.
5959
5960 2018-12-26 Mateusz B <mateuszb@poczta.onet.pl>
5961
5962 PR target/88521
5963 * config/i386/i386.c (function_value_ms_64): Return small sturct in
5964 AX_REG and float/double in FIRST_SSE_REG for 4 or 8 byte modes.
5965
5966 2019-01-05 Jan Hubicka <hubicka@ucw.cz>
5967
5968 PR tree-opt/86020
5969 Revert:
5970 2017-05-22 Jan Hubicka <hubicka@ucw.cz>
5971
5972 * ipa-inline.c (edge_badness): Use inlined_time instead of
5973 inline_summaries->get.
5974
5975 2019-01-05 Jan Hubicka <hubicka@ucw.cz>
5976
5977 * opts.c (enable_fdo_optimizations): Enable
5978 version-loops-for-strides, loop-interchange, unrol-and-jam
5979 and tree-loop-distribution.
5980 * invoke.texi: Document newly enabled options.
5981
5982 2019-01-05 Jan Hubicka <hubicka@ucw.cz>
5983
5984 * doc/invoke.texi (max-inline-insns-small): New parameters.
5985 * ipa-inline.c (want_early_inline_function_p): simplify.
5986 (want_inline_small_function_p): Fix pasto from previous patch;
5987 use max-inline-insns-small bound.
5988 * params.def (max-inline-insns-small): New param.
5989 * ipa-fnsummary.c (analyze_function_body): Initialize time/size
5990 variables correctly.
5991
5992 2019-01-05 Jan Hubicka <hubicka@ucw.cz>
5993
5994 * doc/invoke.texi: Document max-inline-insns-size,
5995 uninlined-function-insns, uninlined-function-time,
5996 uninlined-thunk-insns and uninlined-thunk-time.
5997 * params.def: Add max-inline-insns-size,
5998 uninlined-function-insns, uninlined-function-time,
5999 uninlined-thunk-insns and uninlined-thunk-time.
6000 * ipa-fnsummary.c (compute_fn_summary, analyze_function_body): Use
6001 new parameters.
6002 * ipa-inline.c (can_inline_edge_by_limits_p,
6003 want_inline_small_function_p): Use new parameters.
6004
6005 2019-01-05 Jan Hubicka <hubicka@ucw.cz>
6006
6007 * ipa-fnsummary.c (analyze_function_body): Fix accounting of time.
6008
6009 2019-01-05 Jakub Jelinek <jakub@redhat.com>
6010
6011 PR middle-end/82564
6012 PR target/88620
6013 * expr.c (expand_assignment): For calls returning VLA structures
6014 if to_rtx is not a MEM, force it into a stack temporary.
6015
6016 PR debug/88635
6017 * dwarf2out.c (const_ok_for_output_1): Reject MINUS that contains
6018 SYMBOL_REF, CODE_LABEL or UNSPEC in subexpressions of second argument.
6019 Reject PLUS that contains SYMBOL_REF, CODE_LABEL or UNSPEC in
6020 subexpressions of both operands.
6021 (mem_loc_descriptor): Handle UNSPEC if target hook acks it and all the
6022 subrtxes are CONSTANT_P.
6023 * config/i386/i386.c (ix86_const_not_ok_for_debug_p): Revert
6024 2018-11-09 changes.
6025
6026 2019-01-04 Jan Hubicka <hubicka@ucw.cz>
6027
6028 * params.def (hot-bb-count-ws-permille): Set to 990.
6029
6030 2019-01-04 Martin Sebor <msebor@redhat.com>
6031
6032 PR c/88546
6033 * attribs.c (decls_mismatched_attributes): Avoid warning for attribute
6034 leaf.
6035
6036 2019-01-04 Martin Sebor <msebor@redhat.com>
6037
6038 PR c/88363
6039 * doc/extend.texi (attribute alloc_align, alloc_size): Update.
6040
6041 2019-01-04 Jakub Jelinek <jakub@redhat.com>
6042
6043 * gdbinit.in: Turn off pagination for the skip commands, restore
6044 it to previous state afterwards.
6045
6046 2019-01-04 Jakub Jelinek <jakub@redhat.com>
6047
6048 PR target/88594
6049 * config/i386/i386.c (ix86_expand_divmod_libfunc): Use mode instead
6050 of GET_MODE (opN) as modes of the libcall arguments.
6051
6052 2019-01-04 Jan Beulich <jbeulich@suse.com>
6053
6054 * config/i386/sse.md
6055 (<avx512>_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>,
6056 <avx512>_cmp<mode>3<mask_scalar_merge_name>,
6057 <avx512>_ucmp<mode>3<mask_scalar_merge_name>,
6058 <avx512>_ucmp<mode>3<mask_scalar_merge_name>,
6059 avx512f_vmcmp<mode>3<round_saeonly_name>,
6060 avx512f_vmcmp<mode>3_mask<round_saeonly_name>,
6061 avx512f_maskcmp<mode>3,
6062 <avx512>_cvt<ssemodesuffix>2mask<mode>,
6063 <avx512>_cvt<ssemodesuffix>2mask<mode>,
6064 *<avx512>_cvtmask2<ssemodesuffix><mode>,
6065 *<avx512>_cvtmask2<ssemodesuffix><mode>,
6066 <avx512>_eq<mode>3<mask_scalar_merge_name>_1,
6067 <avx512>_eq<mode>3<mask_scalar_merge_name>_1,
6068 <avx512>_gt<mode>3<mask_scalar_merge_name>,
6069 <avx512>_gt<mode>3<mask_scalar_merge_name>,
6070 <avx512>_testm<mode>3<mask_scalar_merge_name>,
6071 <avx512>_testnm<mode>3<mask_scalar_merge_name>,
6072 *<avx512>_testm<VI1248_AVX512VLBW:mode>3_zext,
6073 *<avx512>_testm<VI1248_AVX512VLBW:mode>3_zext_mask,
6074 *<avx512>_testnm<VI1248_AVX512VLBW:mode>3_zext,
6075 *<avx512>_testnm<VI1248_AVX512VLBW:mode>3_zext_mask,
6076 avx512cd_maskb_vec_dup<mode>,
6077 avx512cd_maskw_vec_dup<mode>,
6078 avx512dq_fpclass<mode><mask_scalar_merge_name>,
6079 avx512dq_vmfpclass<mode>,
6080 avx512vl_vpshufbitqmb<mode><mask_scalar_merge_name>): Use =k
6081 instead of =Yk.
6082
6083 2019-01-03 Martin Sebor <msebor@redhat.com>
6084
6085 PR tree-optimization/88659
6086 * calls.c (maybe_warn_nonstring_arg): Avoid assuming maxlen is set.
6087
6088 2019-01-03 Aaron Sawdey <acsawdey@linux.ibm.com>
6089
6090 * config/rs6000/rs6000-string.c (expand_block_move): Don't use
6091 unaligned vsx and avoid lxvd2x/stxvd2x.
6092 (gen_lvx_v4si_move): New function.
6093
6094 2019-01-03 Tom de Vries <tdevries@suse.de>
6095
6096 * config/nvptx/nvptx.c (MACH_VECTOR_LENGTH, MACH_MAX_WORKERS): Define.
6097 (init_axis_dim, nvptx_mach_max_workers, nvptx_mach_vector_length): New
6098 function.
6099 * config/nvptx/nvptx.h (struct machine_function): Add axis_dims.
6100
6101 2019-01-03 Tom de Vries <tdevries@suse.de>
6102
6103 * config/nvptx/nvptx.c (struct offload_attrs): New.
6104 (populate_offload_attrs): New function. Factor mask extraction out of
6105 nvptx_reorg. Add extraction of dimensions.
6106 (nvptx_reorg): Use populate_offload_attrs.
6107
6108 2019-01-03 Tom de Vries <tdevries@suse.de>
6109
6110 * config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): Add early-out
6111 cases for oacc_min_dims_p and routine_p. Add asserts for
6112 oacc_default_dims_p and offload_region_p.
6113
6114 2019-01-03 Tom de Vries <tdevries@suse.de>
6115
6116 * config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): New function,
6117 factored out of ...
6118 (nvptx_goacc_validate_dims): ... here.
6119
6120 2019-01-03 Jan Hubicka <hubicka@ucw.cz>
6121
6122 PR tree-optimization/85574
6123 * tree-ssa-uncprop.c (struct equiv_hash_elt): Remove unused
6124 structure.
6125 (struct ssa_equip_hash_traits): Declare.
6126 (val_ssa_equiv): Use custom hash traits using operand_equal_p.
6127
6128 2019-01-03 Jakub Jelinek <jakub@redhat.com>
6129
6130 PR debug/88644
6131 * dwarf2out.c (modified_type_die): If type is equal to sizetype,
6132 change it to qualified_type.
6133
6134 2019-01-03 Jan Hubicka <hubicka@ucw.cz>
6135
6136 * ipa-utils.c (scale_ipa_profile_for_fn): Break out from ...
6137 (ipa_merge_profiles): ... here; do not ICE on thunks and aliases.
6138
6139 2019-01-02 Martin Sebor <msebor@redhat.com>
6140 Jeff Law <law@redhat.com>
6141
6142 * gimple-fold.c (strlen_range_kind): Remove SRK_LENRANGE_2.
6143 (get_range_strlen_tree): Update appropriately.
6144 (get_range_strlen)
6145 * gimple-fold.h (get_range_strlen): Drop unused last argument.
6146
6147 * gimple-fold.c (gimple_fold_builtin_strlen): Use set_strlen_range
6148 rather than set_range_info.
6149 * tree-ssa-strlen.c (set_strlen_range): Extracted from
6150 maybe_set_strlen_range. Handle potentially boundary crossing
6151 cases more conservatively.
6152 (maybe_set_strlen_range): Parts refactored into set_strlen_range.
6153 Call set_strlen_range.
6154 * tree-ssa-strlen.h (set_strlen_range): Add prototype.
6155
6156 PR middle-end/88663
6157 * gimple-fold.c (get_range_strlen): Update prototype to no longer
6158 need the flexp argument.
6159 (get_range_strlen_tree): Drop flexp argument. Drop flexp argument
6160 from calls to get_range_strlen. Update comments. Just update
6161 VAL for an unterminated const char array and let the reset of the
6162 code handle it normally. No longer try to set *flexp. Adjust
6163 return value.
6164 (get_range_strlen): Update for the new get_range_strlen API.
6165 (get_maxval_strlen): Similarly.
6166 (gimple_fold_builtin_strlen): Handle update meaning of return value
6167 from get_range_strlen.
6168 * gimple-ssa-sprintf.c (get_string_length): Update for the new
6169 get_range_strlen API.
6170
6171 2019-01-02 Jan Hubicka <hubicka@ucw.cz>
6172
6173 PR lto/88130
6174 * varpool.c (varpool_node::ctor_useable_for_folding_p): Also return
6175 false at WPA time when body was removed.
6176
6177 2019-01-02 Martin Liska <mliska@suse.cz>
6178
6179 PR tree-optimization/88650
6180 * predict.c (set_even_probabilities): Calculate probability
6181 remainer only when really used.
6182
6183 2019-01-02 Richard Biener <rguenther@suse.de>
6184
6185 PR middle-end/88651
6186 * tree-data-ref.c (analyze_subscript_affine_affine): Use
6187 widest_ints when mangling max_stmt_execution results.
6188
6189 2019-01-02 Richard Biener <rguenther@suse.de>
6190
6191 PR tree-optimization/88621
6192 * tree-ssa-loop-im.c (gather_mem_refs_stmt): Fix pastos, avoid
6193 bitfields when canoncalizing.
6194
6195 2019-01-02 Richard Biener <rguenther@suse.de>
6196
6197 PR target/87545
6198 * config/i386/x86-tune-costs.h (intel_cost): Adjust
6199 cost of cheap SSE instruction.
6200
6201 2019-01-02 Richard Biener <rguenther@suse.de>
6202
6203 PR ipa/85574
6204 * ipa-icf.h (sem_item_optimizer::sort_congruence_split): Declare.
6205 * ipa-icf.c (sem_item_optimizer::sort_congruence_split): New
6206 function.
6207 (sem_item_optimizer::do_congruence_step_f): Sort the congruence
6208 set after UIDs before splitting them.
6209
6210 2019-01-01 Martin Sebor <msebor@redhat.com>
6211 Jeff Law <law@redhat.com>
6212
6213 * gimple-fold.c (get_range_strlen_tree): Record if the computed
6214 length is optimistic. If it is, then arrange to compute the
6215 conservative length as well.
6216
6217 * gimple-fold.h (get_range_strlen): Update prototype.
6218 * builtins.c (check_access): Update call to get_range_strlen to use
6219 c_strlen_data pointer. Change various variable accesses to instead
6220 pull data from the c_strlen_data structure.
6221 (check_strncat_sizes, expand_builtin_strncat): Likewise.
6222 * calls.c (maybe_warn_nonstring_arg): Likewise.
6223 * tree-ssa-strlen.c (maybe_diag_stxncpy_trunc): Likewise. Reset
6224 minimum length if maximum lengh is unknown.
6225 * gimple-ssa-sprintf.c (get_string_length): Likewise. Drop code
6226 that used c_strlen, it's no longer needed. Restructure slightly.
6227 (format_string): Set unlikely range appropriately.
6228 * gimple-fold.c (get_range_strlen): Update comments. Fix minor
6229 formatting issues.
6230 (get_range_strlen): Accept c_strlen_data pointer for external
6231 call sites as well. Pass through to call to internal get_range_strlen.
6232 Adjust minlen, maxlen and maxbound as needed.
6233 (get_maxval_strlen): Update comments.
6234 (gimple_fold_builtin_strlen): Update call to get_range_strlen
6235 to use c_strlen_data pointer. Change variable accesses to instead
6236 use c_strlen_data data members.
6237
6238 * gimple-fold.c (get_range_strlen): Update prototype.
6239 (get_range_strlen_tree): Update prototype. Drop minlen/maxlen
6240 local variables. Use pdata to return information to caller.
6241 Update calls to get_range_strlen. Update pdata->maxbound.
6242 (get_range_strlen -- static version): Similarly.
6243 (get_range_strlen -- extern version): Update for internal
6244 get_range_strlen API change. Convert to external data format.
6245 (get_maxval_strlen): Similarly.
6246
6247 2019-01-01 Jan Hubicka <hubicka@ucw.cz>
6248
6249 * coverage.c (get_coverage_counts): Use current_function_decl.
6250 * profile.c (read_thunk_profile): New function.
6251 (branch_prob): Add THUNK parameter.
6252 * tree-profile.c (tree_profiling): Handle thunks.
6253 * value-prof.c (init_node_map): Handle thunks.
6254 * value-prof.h (branch_prob): Upate prototype.
6255 (read_thunk_profile): Declare.
6256
6257 2019-01-01 Jakub Jelinek <jakub@redhat.com>
6258
6259 Update copyright years.
6260
6261 * gcc.c (process_command): Update copyright notice dates.
6262 * gcov-dump.c (print_version): Ditto.
6263 * gcov.c (print_version): Ditto.
6264 * gcov-tool.c (print_version): Ditto.
6265 * gengtype.c (create_file): Ditto.
6266 * doc/cpp.texi: Bump @copying's copyright year.
6267 * doc/cppinternals.texi: Ditto.
6268 * doc/gcc.texi: Ditto.
6269 * doc/gccint.texi: Ditto.
6270 * doc/gcov.texi: Ditto.
6271 * doc/install.texi: Ditto.
6272 * doc/invoke.texi: Ditto.
6273 \f
6274 Copyright (C) 2019 Free Software Foundation, Inc.
6275
6276 Copying and distribution of this file, with or without modification,
6277 are permitted in any medium without royalty provided the copyright
6278 notice and this notice are preserved.