]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
re PR c/58346 (ICE with SIGFPE at -O1 and above on x86_64-linux-gnu (affecting trunk...
[gcc.git] / gcc / ChangeLog
CommitLineData
0a4f04e5
PH
12014-01-23 Pat Haugen <pthaugen@us.ibm.com>
2
3 * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
4 force flag_ira_loop_pressure if set via command line.
5
f9a4c9a6
AV
62014-01-23 Alex Velenko <Alex.Velenko@arm.com>
7
8 * config/aarch64/aarch64-simd-builtins.def (ashr): DI mode removed.
9 (ashr_simd): New builtin handling DI mode.
10 * config/aarch64/aarch64-simd.md (aarch64_ashr_simddi): New pattern.
11 (aarch64_sshr_simddi): New match pattern.
12 * config/aarch64/arm_neon.h (vshr_n_s32): Builtin call modified.
13 (vshrd_n_s64): Likewise.
14 * config/aarch64/predicates.md (aarch64_shift_imm64_di): New predicate.
15
949ad971
NC
162014-01-23 Nick Clifton <nickc@redhat.com>
17
18 * config/msp430/msp430.h (ASM_SPEC): Pass the -mcpu as -mcpu.
19 (LIB_SPEC): Drop use of memory.ld and peripherals.ld scripts in
20 favour of mcu specific scripts.
21 * config/msp430/t-msp430 (MULTILIB_MATCHES): Add more matches for
22 430x multilibs.
23
d5ecead9
JG
242014-01-23 James Greenhalgh <james.greenhalgh@arm.com>
25 Alex Velenko <Alex.Velenko@arm.com>
26
27 * config/aarch64/arm_neon.h (vaddv_s8): __LANE0 cleanup.
28 (vaddv_s16): Likewise.
29 (vaddv_s32): Likewise.
30 (vaddv_u8): Likewise.
31 (vaddv_u16): Likewise.
32 (vaddv_u32): Likewise.
33 (vaddvq_s8): Likewise.
34 (vaddvq_s16): Likewise.
35 (vaddvq_s32): Likewise.
36 (vaddvq_s64): Likewise.
37 (vaddvq_u8): Likewise.
38 (vaddvq_u16): Likewise.
39 (vaddvq_u32): Likewise.
40 (vaddvq_u64): Likewise.
41 (vaddv_f32): Likewise.
42 (vaddvq_f32): Likewise.
43 (vaddvq_f64): Likewise.
44 (vmaxv_f32): Likewise.
45 (vmaxv_s8): Likewise.
46 (vmaxv_s16): Likewise.
47 (vmaxv_s32): Likewise.
48 (vmaxv_u8): Likewise.
49 (vmaxv_u16): Likewise.
50 (vmaxv_u32): Likewise.
51 (vmaxvq_f32): Likewise.
52 (vmaxvq_f64): Likewise.
53 (vmaxvq_s8): Likewise.
54 (vmaxvq_s16): Likewise.
55 (vmaxvq_s32): Likewise.
56 (vmaxvq_u8): Likewise.
57 (vmaxvq_u16): Likewise.
58 (vmaxvq_u32): Likewise.
59 (vmaxnmv_f32): Likewise.
60 (vmaxnmvq_f32): Likewise.
61 (vmaxnmvq_f64): Likewise.
62 (vminv_f32): Likewise.
63 (vminv_s8): Likewise.
64 (vminv_s16): Likewise.
65 (vminv_s32): Likewise.
66 (vminv_u8): Likewise.
67 (vminv_u16): Likewise.
68 (vminv_u32): Likewise.
69 (vminvq_f32): Likewise.
70 (vminvq_f64): Likewise.
71 (vminvq_s8): Likewise.
72 (vminvq_s16): Likewise.
73 (vminvq_s32): Likewise.
74 (vminvq_u8): Likewise.
75 (vminvq_u16): Likewise.
76 (vminvq_u32): Likewise.
77 (vminnmv_f32): Likewise.
78 (vminnmvq_f32): Likewise.
79 (vminnmvq_f64): Likewise.
80
1dd055a2
JG
812014-01-23 James Greenhalgh <james.greenhalgh@arm.com>
82
83 * config/aarch64/aarch64-simd.md
84 (aarch64_dup_lane<mode>): Correct lane number on big-endian.
85 (aarch64_dup_lane_<vswap_widthi_name><mode>): Likewise.
86 (*aarch64_mul3_elt<mode>): Likewise.
87 (*aarch64_mul3_elt<vswap_width_name><mode>): Likewise.
88 (*aarch64_mul3_elt_to_64v2df): Likewise.
89 (*aarch64_mla_elt<mode>): Likewise.
90 (*aarch64_mla_elt_<vswap_width_name><mode>): Likewise.
91 (*aarch64_mls_elt<mode>): Likewise.
92 (*aarch64_mls_elt_<vswap_width_name><mode>): Likewise.
93 (*aarch64_fma4_elt<mode>): Likewise.
94 (*aarch64_fma4_elt_<vswap_width_name><mode>): Likewise.
95 (*aarch64_fma4_elt_to_64v2df): Likewise.
96 (*aarch64_fnma4_elt<mode>): Likewise.
97 (*aarch64_fnma4_elt_<vswap_width_name><mode>): Likewise.
98 (*aarch64_fnma4_elt_to_64v2df): Likewise.
99 (aarch64_sq<r>dmulh_lane<mode>): Likewise.
100 (aarch64_sq<r>dmulh_laneq<mode>): Likewise.
101 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
102 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
103 (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise.
104 (aarch64_sqdmull_lane<mode>_internal): Likewise.
105 (aarch64_sqdmull2_lane<mode>_internal): Likewise.
106
dafb9b64
AV
1072013-01-23 Alex Velenko <Alex.Velenko@arm.com>
108
109 * config/aarch64/aarch64-simd.md
110 (aarch64_be_checked_get_lane<mode>): New define_expand.
111 * config/aarch64/aarch64-simd-builtins.def
112 (BUILTIN_VALL (GETLANE, be_checked_get_lane, 0):
113 New builtin definition.
114 * config/aarch64/arm_neon.h: (__aarch64_vget_lane_any):
115 Use new safe be builtin.
116
89b4515c
AV
1172014-01-23 Alex Velenko <Alex.Velenko@arm.com>
118
119 * config/aarch64/aarch64-simd.md (aarch64_be_ld1<mode>):
120 New define_insn.
121 (aarch64_be_st1<mode>): Likewise.
122 (aarch_ld1<VALL:mode>): Define_expand modified.
123 (aarch_st1<VALL:mode>): Likewise.
124 * config/aarch64/aarch64.md (UNSPEC_LD1): New unspec definition.
125 (UNSPEC_ST1): Likewise.
126
f3eeb82c
DH
1272014-01-23 David Holsgrove <david.holsgrove@xilinx.com>
128
129 * config/microblaze/microblaze.md: Add trap insn and attribute
130
7ecc3eb9
DS
1312014-01-23 Dodji Seketeli <dodji@redhat.com>
132
133 PR preprocessor/58580
134 * input.h (location_get_source_line): Take an additional line_size
135 parameter.
136 (void diagnostics_file_cache_fini): Declare new function.
137 * input.c (struct fcache): New type.
138 (fcache_tab_size, fcache_buffer_size, fcache_line_record_size):
139 New static constants.
140 (diagnostic_file_cache_init, total_lines_num)
141 (lookup_file_in_cache_tab, evicted_cache_tab_entry)
142 (add_file_to_cache_tab, lookup_or_add_file_to_cache_tab)
143 (needs_read, needs_grow, maybe_grow, read_data, maybe_read_data)
144 (get_next_line, read_next_line, goto_next_line, read_line_num):
145 New static function definitions.
146 (diagnostic_file_cache_fini): New function.
147 (location_get_source_line): Take an additional output line_len
148 parameter. Re-write using lookup_or_add_file_to_cache_tab and
149 read_line_num.
150 * diagnostic.c (diagnostic_finish): Call
151 diagnostic_file_cache_fini.
152 (adjust_line): Take an additional input parameter for the length
153 of the line, rather than calculating it with strlen.
154 (diagnostic_show_locus): Adjust the use of
155 location_get_source_line and adjust_line with respect to their new
156 signature. While displaying a line now, do not stop at the first
157 null byte. Rather, display the zero byte as a space and keep
158 going until we reach the size of the line.
159 * Makefile.in: Add vec.o to OBJS-libcommon
160
2196a885
KY
1612014-01-23 Kirill Yukhin <kirill.yukhin@intel.com>
162 Ilya Tocar <ilya.tocar@intel.com>
163
164 * config/i386/avx512fintrin.h (_mm512_kmov): New.
165 * config/i386/i386.c (IX86_BUILTIN_KMOV16): Ditto.
166 (__builtin_ia32_kmov16): Ditto.
167 * config/i386/i386.md (UNSPEC_KMOV): New.
168 (kmovw): Ditto.
169
70473c63
KY
1702014-01-23 Kirill Yukhin <kirill.yukhin@intel.com>
171
172 * config/i386/avx512fintrin.h (_mm512_loadu_si512): Rename.
173 (_mm512_storeu_si512): Ditto.
174
f9ae4df8
RS
1752014-01-23 Richard Sandiford <rdsandiford@googlemail.com>
176
177 PR target/52125
178 * rtl.h (get_referenced_operands): Declare.
179 * recog.c (get_referenced_operands): New function.
180 * config/mips/mips.c (mips_reorg_process_insns): Check which asm
181 operands have been referenced when recording LO_SUM references.
182
e50f5f2e
DH
1832014-01-22 David Holsgrove <david.holsgrove@xilinx.com>
184
185 * config/microblaze/microblaze.md: Correct bswaphi2 insn.
186
33b64438
JH
1872014-01-22 Jan Hubicka <jh@suse.cz>
188
189 * config/i386/x86-tune.def (X86_TUNE_ACCUMULATE_OUTGOING_ARGS):
190 Enable for generic and recent AMD targets.
191
77b7a218
JH
1922014-01-22 Jan Hubicka <jh@suse.cz>
193
194 * combine-stack-adj.c (combine_stack_adjustments_for_block): Remove
195 ARG_SIZE note when adjustment was eliminated.
196
bb50b870
JL
1972014-01-22 Jeff Law <law@redhat.com>
198
199 PR tree-optimization/59597
200 * tree-ssa-threadupdate.c (dump_jump_thread_path): Move to earlier
201 in file. Accept new argument REGISTERING and use it to modify
202 dump output appropriately.
203 (register_jump_thread): Corresponding changes.
204 (mark_threaded_blocks): Reinstate code to cancel unprofitable
205 thread paths involving joiner blocks. Add code to dump cancelled
206 jump threading paths.
207
df2980be
VM
2082014-01-22 Vladimir Makarov <vmakarov@redhat.com>
209
210 PR rtl-optimization/59477
211 * lra-constraints.c (inherit_in_ebb): Process call for living hard
212 regs. Update reloads_num and potential_reload_hard_regs for all
213 insns.
214
1bb99900
TT
2152014-01-22 Tom Tromey <tromey@redhat.com>
216
217 * config/i386/i386-interix.h (i386_pe_unique_section): Don't use
218 PARAMS.
219 * config/cr16/cr16-protos.h (notice_update_cc): Don't use PARAMS.
220
9102dadd
VM
2212014-01-21 Vladimir Makarov <vmakarov@redhat.com>
222
223 PR rtl-optimization/59896
224 * lra-constraints.c (process_alt_operands): Check unused note for
225 matched operands of insn with no output reloads.
226
ca376eb8
RS
2272014-01-21 Richard Sandiford <rdsandiford@googlemail.com>
228
229 * config/mips/mips.c (mips_move_to_gpr_cost): Add M16_REGS case.
230 (mips_move_from_gpr_cost): Likewise.
231
a9711f36
VM
2322014-01-21 Vladimir Makarov <vmakarov@redhat.com>
233
234 PR rtl-optimization/59858
235 * lra-constraints.c (SMALL_REGISTER_CLASS_P): Use
236 ira_class_hard_regs_num.
237 (process_alt_operands): Increase reject for dying matched operand.
238
f8ea7cb0
JJ
2392014-01-21 Jakub Jelinek <jakub@redhat.com>
240
241 PR target/59003
242 * config/i386/i386.c (expand_small_movmem_or_setmem): If mode is
243 smaller than size, perform several stores or loads and stores
244 at dst + count - size to store or copy all of size bytes, rather
245 than just last modesize bytes.
246
84db09e3
DD
2472014-01-20 DJ Delorie <dj@redhat.com>
248
249 * config/rl78/rl78.c (rl78_propogate_register_origins): Verify
250 that CLOBBERs are REGs before propogating their values.
251
1cf11770
L
2522014-01-20 H.J. Lu <hongjiu.lu@intel.com>
253
254 PR middle-end/59789
255 * cgraph.c (cgraph_inline_failed_string): Add type to DEFCIFCODE.
256 (cgraph_inline_failed_type): New function.
257 * cgraph.h (DEFCIFCODE): Add type.
258 (cgraph_inline_failed_type_t): New enum.
259 (cgraph_inline_failed_type): New prototype.
260 * cif-code.def: Add CIF_FINAL_NORMAL to OK, FUNCTION_NOT_CONSIDERED,
261 FUNCTION_NOT_OPTIMIZED, REDEFINED_EXTERN_INLINE,
262 FUNCTION_NOT_INLINE_CANDIDATE, LARGE_FUNCTION_GROWTH_LIMIT,
263 LARGE_STACK_FRAME_GROWTH_LIMIT, MAX_INLINE_INSNS_SINGLE_LIMIT,
264 MAX_INLINE_INSNS_AUTO_LIMIT, INLINE_UNIT_GROWTH_LIMIT,
265 RECURSIVE_INLINING, UNLIKELY_CALL, NOT_DECLARED_INLINED,
266 OPTIMIZING_FOR_SIZE, ORIGINALLY_INDIRECT_CALL,
267 INDIRECT_UNKNOWN_CALL, USES_COMDAT_LOCAL.
268 Add CIF_FINAL_ERROR to UNSPECIFIED, BODY_NOT_AVAILABLE,
269 FUNCTION_NOT_INLINABLE, OVERWRITABLE, MISMATCHED_ARGUMENTS,
270 EH_PERSONALITY, NON_CALL_EXCEPTIONS, TARGET_OPTION_MISMATCH,
271 OPTIMIZATION_MISMATCH.
272 * tree-inline.c (expand_call_inline): Emit errors during
273 early_inlining if cgraph_inline_failed_type returns
274 CIF_FINAL_ERROR.
275
8586e4bd
UB
2762014-01-20 Uros Bizjak <ubizjak@gmail.com>
277
278 PR target/59685
279 * config/i386/sse.md (*andnot<mode>3<mask_name>): Handle MODE_V16SF
280 mode attribute in insn output.
281
99482090
EB
2822014-01-20 Eric Botcazou <ebotcazou@adacore.com>
283
284 * output.h (output_constant): Delete.
285 * varasm.c (output_constant): Make private.
286
ede23272
AV
2872014-01-20 Alex Velenko <Alex.Velenko@arm.com>
288
289 * config/aarch64/aarch64-simd.md (vec_perm<mode>): Add BE check.
290
9a7eefec
JJ
2912014-01-20 Jakub Jelinek <jakub@redhat.com>
292
293 PR middle-end/59860
294 * tree.h (fold_builtin_strcat): New prototype.
295 * builtins.c (fold_builtin_strcat): No longer static. Add len
296 argument, if non-NULL, don't call c_strlen. Optimize
297 directly into __builtin_memcpy instead of __builtin_strcpy.
298 (fold_builtin_2): Adjust fold_builtin_strcat caller.
299 * gimple-fold.c (gimple_fold_builtin): Handle BUILT_IN_STRCAT.
300
3e729145
UB
3012014-01-20 Uros Bizjak <ubizjak@gmail.com>
302
303 * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
304 for SImode_address_operand operands, having only a REG argument.
305
eee0e487
MS
3062014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
307
308 * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): Expand
309 loader name using mbig-endian.
310 (LINUX_TARGET_LINK_SPEC): Pass linker -m flag.
311
9e540e37
JG
3122014-01-20 James Greenhalgh <james.greenhalgh@arm.com>
313
314 * doc/invoke.texi (-march): Clarify documentation for AArch64.
315 (-mtune): Likewise.
316 (-mcpu): Likewise.
317
69675d50
TB
3182014-01-20 Tejas Belagod <tejas.belagod@arm.com>
319
320 * config/aarch64/aarch64-protos.h
321 (aarch64_cannot_change_mode_class_ptr): Declare.
322 * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class,
323 aarch64_cannot_change_mode_class_ptr): New.
324 * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Change to call
325 backend hook aarch64_cannot_change_mode_class.
326
ffee7aa9
JG
3272014-01-20 James Greenhalgh <james.greenhalgh@arm.com>
328
329 * common/config/aarch64/aarch64-common.c
330 (aarch64_handle_option): Don't handle any option order logic here.
331 * config/aarch64/aarch64.c (aarch64_parse_arch): Do not override
332 selected_cpu, warn on architecture version mismatch.
333 (aarch64_override_options): Fix parsing order for option strings.
334
c7169779
JBG
3352014-01-20 Jan-Benedict Glaw <jbglaw@lug-owl.de>
336 Iain Sandoe <iain@codesourcery.com>
337
338 PR bootstrap/59496
339 * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Fix unused variable
340 warning. Amend comment to reflect current functionality.
341
409b6ac1
RB
3422014-01-20 Richard Biener <rguenther@suse.de>
343
344 PR middle-end/59860
345 * builtins.c (fold_builtin_strcat): Remove case better handled
346 by tree-ssa-strlen.c.
347
608df31f
AL
3482014-01-20 Alan Lawrence <alan.lawrence@arm.com>
349
350 * config/aarch64/aarch64.opt
351 (mcpu, march, mtune): Make case-insensitive.
352
0fabe5f3
JJ
3532014-01-20 Jakub Jelinek <jakub@redhat.com>
354
355 PR target/59880
356 * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
357 if operands[1] is a REG or ZERO_EXTEND of a REG.
358
cdafab3d
JH
3592014-01-19 Jan Hubicka <jh@suse.cz>
360
361 * varasm.c (compute_reloc_for_constant): Use targetm.binds_local_p.
362
925cb97d
JDA
3632014-01-19 John David Anglin <danglin@gcc.gnu.org>
364
365 * config/pa/pa.c (pa_attr_length_millicode_call): Correct length of
366 long non-pic millicode calls.
367
f43856db
JBG
3682014-01-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>
369
370 * config/vax/vax.h (FUNCTION_ARG_REGNO_P): Fix unused variable warning.
371
d2be9965
ILT
3722014-01-19 Kito Cheng <kito@0xlab.org>
373
374 * builtins.c (expand_movstr): Check movstr expand done or fail.
375
efc90043
UB
3762014-01-18 Uros Bizjak <ubizjak@gmail.com>
377 H.J. Lu <hongjiu.lu@intel.com>
378
379 PR target/59379
380 * config/i386/i386.md (*lea<mode>): Zero-extend return register
381 to DImode for zero-extended addresses.
382
8fce217e
JJ
3832014-01-19 Jakub Jelinek <jakub@redhat.com>
384
385 PR rtl-optimization/57763
386 * bb-reorder.c (fix_crossing_unconditional_branches): Set JUMP_LABEL
387 on the new indirect jump_insn and increment LABEL_NUSES (label).
388
efc90043 3892014-01-18 H.J. Lu <hongjiu.lu@intel.com>
646bdeab
L
390
391 PR bootstrap/59580
392 PR bootstrap/59583
393 * config.gcc (x86_archs): New variable.
394 (x86_64_archs): Likewise.
395 (x86_cpus): Likewise.
396 Use $x86_archs, $x86_64_archs and $x86_cpus to check valid
397 --with-arch/--with-cpu= options.
398 Support --with-arch=/--with-cpu={nehalem,westmere,
399 sandybridge,ivybridge,haswell,broadwell,bonnell,silvermont}.
400
7f3af6d3
UB
4012014-01-18 Uros Bizjak <ubizjak@gmail.com>
402
403 * config/i386/i386.c (ix86_adjust_cost): Reorder PROCESSOR_K8
404 and PROCESSOR_ATHLON to simplify code. Move "memory" calculation.
405
4062014-01-18 Uros Bizjak <ubizjak@gmail.com>
407
408 * config/i386/i386.md (*swap<mode>): Rename from swap<mode>.
409
fa5d6c75
JJ
4102014-01-18 Jakub Jelinek <jakub@redhat.com>
411
412 PR target/58944
413 * config/i386/i386-c.c (ix86_pragma_target_parse): Temporarily
414 clear cpp_get_options (parse_in)->warn_unused_macros for
415 ix86_target_macros_internal with cpp_define.
416
04da5680
RS
4172014-01-18 Richard Sandiford <rdsandiford@googlemail.com>
418
419 * jump.c (delete_related_insns): Keep (use (insn))s.
420 * reorg.c (redundant_insn): Check for barriers too.
421
1e99bee5
L
4222014-01-17 H.J. Lu <hongjiu.lu@intel.com>
423
7f3af6d3 424 * config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment typo.
1e99bee5 425
fa7d0c60
JDA
4262014-01-17 John David Anglin <danglin@gcc.gnu.org>
427
428 * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short
429 call to $$dyncall when TARGET_LONG_CALLS is true.
430
2043135a
JL
4312014-01-17 Jeff Law <law@redhat.com>
432
433 * ree.c (combine_set_extension): Temporarily disable test for
434 changing number of hard registers.
435
f3e11e05
JH
4362014-01-17 Jan Hubicka <jh@suse.cz>
437
438 PR middle-end/58125
439 * ipa-inline-analysis.c (inline_free_summary):
440 Do not free summary of aliases.
441
664ceb1e
JJ
4422014-01-17 Jakub Jelinek <jakub@redhat.com>
443
444 PR middle-end/59706
445 * gimplify.c (gimplify_expr): Use create_tmp_var
446 instead of create_tmp_var_raw. If cond doesn't have
447 integral type, don't add the IFN_ANNOTATE builtin at all.
448
aef83682
MJ
4492014-01-17 Martin Jambor <mjambor@suse.cz>
450
451 PR ipa/59736
452 * ipa-cp.c (prev_edge_clone): New variable.
453 (grow_next_edge_clone_vector): Renamed to grow_edge_clone_vectors.
454 Also resize prev_edge_clone vector.
455 (ipcp_edge_duplication_hook): Also update prev_edge_clone.
456 (ipcp_edge_removal_hook): New function.
457 (ipcp_driver): Register ipcp_edge_removal_hook.
458
3b9c787b
AP
4592014-01-17 Andrew Pinski <apinski@cavium.com>
460 Steve Ellcey <sellcey@mips.com>
461
462 PR target/59462
463 * config/mips/mips.c (mips_print_operand): Check operand mode instead
464 of operator mode.
465
4ee5c752
JL
4662014-01-17 Jeff Law <law@redhat.com>
467
468 PR middle-end/57904
469 * passes.def: Reorder pass_copy_prop, pass_unrolli, pass_ccp sequence
470 so that pass_ccp runs first.
471
40cfac7c
L
4722014-01-17 H.J. Lu <hongjiu.lu@intel.com>
473
474 * config/i386/i386.c (ix86_lea_outperforms): Use TARGET_XXX.
475 (ix86_adjust_cost): Use !TARGET_XXX.
476 (do_reorder_for_imul): Likewise.
477 (swap_top_of_ready_list): Likewise.
478 (ix86_sched_reorder): Likewise.
479
9a7f94d7
L
4802014-01-17 H.J. Lu <hongjiu.lu@intel.com>
481
482 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
483 PROCESSOR_INTEL. Treat like PROCESSOR_GENERIC.
484 * config/i386/i386.c (intel_memcpy): New. Duplicate slm_memcpy.
485 (intel_memset): New. Duplicate slm_memset.
486 (intel_cost): New. Duplicate slm_cost.
487 (m_INTEL): New macro.
488 (processor_target_table): Add "intel".
489 (ix86_option_override_internal): Replace PROCESSOR_SILVERMONT
490 with PROCESSOR_INTEL for "intel".
491 (ix86_lea_outperforms): Support PROCESSOR_INTEL. Duplicate
492 PROCESSOR_SILVERMONT.
9a7f94d7
L
493 (ix86_issue_rate): Likewise.
494 (ix86_adjust_cost): Likewise.
495 (ia32_multipass_dfa_lookahead): Likewise.
496 (swap_top_of_ready_list): Likewise.
497 (ix86_sched_reorder): Likewise.
8cdcf750
L
498 (ix86_avoid_lea_for_addr): Check TARGET_AVOID_LEA_FOR_ADDR
499 instead of TARGET_OPT_AGU.
9a7f94d7
L
500 * config/i386/i386.h (TARGET_INTEL): New.
501 (TARGET_AVOID_LEA_FOR_ADDR): Likewise.
502 (processor_type): Add PROCESSOR_INTEL.
7f3af6d3
UB
503 * config/i386/x86-tune.def: Support m_INTEL. Duplicate m_SILVERMONT.
504 Add X86_TUNE_AVOID_LEA_FOR_ADDR.
9a7f94d7 505
30078c0a
MP
5062014-01-17 Marek Polacek <polacek@redhat.com>
507
508 PR c/58346
509 * gimple-fold.c (fold_array_ctor_reference): Don't fold if element
510 size is zero.
511
14379e66
RB
5122014-01-17 Richard Biener <rguenther@suse.de>
513
514 PR tree-optimization/46590
515 * opts.c (default_options_table): Add entries for
516 OPT_fbranch_count_reg, OPT_fmove_loop_invariants and OPT_ftree_pta,
517 all enabled at -O1 but not for -Og.
518 * common.opt (fbranch-count-reg): Remove Init(1).
519 (fmove-loop-invariants): Likewise.
520 (ftree-pta): Likewise.
521
f7d594d2
JJ
5222014-01-17 Jakub Jelinek <jakub@redhat.com>
523
88e18bd5
JJ
524 * config/i386/i386.c (ix86_data_alignment): For compatibility with
525 (incorrect) GCC 4.8 and earlier alignment assumptions ensure we align
526 decls to at least the GCC 4.8 used alignments.
527
f7d594d2
JJ
528 PR fortran/59440
529 * tree-nested.c (convert_nonlocal_reference_stmt,
530 convert_local_reference_stmt): For NAMELIST_DECLs in gimple_bind_vars
531 of GIMPLE_BIND stmts, adjust associated decls.
532
32500433
RB
5332014-01-17 Richard Biener <rguenther@suse.de>
534
535 PR tree-optimization/46590
536 * vec.h (vec<>::bseach): New member function implementing
537 binary search according to C89 bsearch.
538 (vec<>::qsort): Avoid calling ::qsort for vectors with sizes 0 or 1.
539 * tree-ssa-loop-im.c (struct mem_ref): Make stored member a
540 bitmap pointer again. Make accesses_in_loop a flat array.
541 (mem_ref_obstack): New global.
542 (outermost_indep_loop): Adjust for mem_ref->stored changes.
543 (mark_ref_stored): Likewise.
544 (ref_indep_loop_p_2): Likewise.
545 (set_ref_stored_in_loop): New helper function.
546 (mem_ref_alloc): Allocate mem_refs on the mem_ref_obstack obstack.
547 (memref_free): Adjust.
548 (record_mem_ref_loc): Simplify.
549 (gather_mem_refs_stmt): Adjust.
550 (sort_locs_in_loop_postorder_cmp): New function.
551 (analyze_memory_references): Sort accesses_in_loop after
552 loop postorder number.
553 (find_ref_loc_in_loop_cmp): New function.
554 (for_all_locs_in_loop): Find relevant cluster of locs in
555 accesses_in_loop and iterate without recursion.
556 (execute_sm): Avoid uninit warning.
557 (struct ref_always_accessed): Simplify.
558 (ref_always_accessed::operator ()): Likewise.
559 (ref_always_accessed_p): Likewise.
560 (tree_ssa_lim_initialize): Initialize mem_ref_obstack, compute
561 loop postorder numbers here.
562 (tree_ssa_lim_finalize): Free mem_ref_obstack and loop postorder
563 numbers.
564
24fcf4bc
JJ
5652014-01-17 Jan Hubicka <hubicka@ucw.cz>
566
567 PR c++/57945
568 * passes.c (rest_of_decl_compilation): Don't call varpool_finalize_decl
569 on decls for which assemble_alias has been called.
570
d4f283a1
NC
5712014-01-17 Nick Clifton <nickc@redhat.com>
572
573 * config/msp430/msp430.opt: (mcpu): New option.
574 * config/msp430/msp430.c (msp430_mcu_name): Use target_mcu.
575 (msp430_option_override): Parse target_cpu. If the MCU name
576 matches a generic string, clear target_mcu.
577 (msp430_attr): Allow numeric interrupt values up to 63.
578 (msp430_expand_epilogue): No longer invert operand 1 of gen_popm.
579 * config/msp430/msp430.h (ASM_SPEC): Convert -mcpu into a -mmcu
580 option.
581 * config/msp430/t-msp430: (MULTILIB_MATCHES): Remove mcu matches.
582 Add mcpu matches.
583 * config/msp430/msp430.md (popm): Use %J rather than %I.
584 (addsi3): Use msp430_nonimmediate_operand for operand 2.
585 (addhi_cy_i): Use immediate_operand for operand 2.
586 * doc/invoke.texi: Document -mcpu option.
587
7be64667
RB
5882014-01-17 Richard Biener <rguenther@suse.de>
589
590 PR rtl-optimization/38518
591 * df.h (df_analyze_loop): Declare.
592 * df-core.c: Include cfgloop.h.
593 (df_analyze_1): Split out main part of df_analyze.
594 (df_analyze): Adjust.
595 (loop_inverted_post_order_compute): New function.
596 (loop_post_order_compute): Likewise.
597 (df_analyze_loop): New function avoiding whole-function
598 postorder computes.
599 * loop-invariant.c (find_defs): Use df_analyze_loop.
600 (find_invariants): Adjust.
601 * loop-iv.c (iv_analysis_loop_init): Use df_analyze_loop.
602
82a197a2
ZC
6032014-01-17 Zhenqiang Chen <zhenqiang.chen@arm.com>
604
605 * config/arm/arm.c (arm_v7m_tune): Set max_insns_skipped to 2.
606 (thumb2_final_prescan_insn): Set max to MAX_INSN_PER_IT_BLOCK.
607
c68b3f52
IE
6082014-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
609
610 * ipa-ref.c (ipa_remove_stmt_references): Fix references
611 traversal when removing references.
612
f910753d
JH
6132014-01-16 Jan Hubicka <jh@suse.cz>
614
615 PR ipa/59775
616 * tree.c (get_binfo_at_offset): Look harder for virtual bases.
617
9e6f9ad6
BS
6182014-01-16 Bernd Schmidt <bernds@codesourcery.com>
619
620 PR middle-end/56791
621 * reload.c (find_reloads_address_1): Do not use RELOAD_OTHER when
622 pushing a reload for an autoinc when we had previously reloaded an
623 inner part of the address.
624
a611d7cb
JJ
6252014-01-16 Jakub Jelinek <jakub@redhat.com>
626
d1417442
JJ
627 * tree-vectorizer.h (struct _loop_vec_info): Add no_data_dependencies
628 field.
629 (LOOP_VINFO_NO_DATA_DEPENDENCIES): Define.
630 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Clear it
631 when not giving up or versioning for alias only because of
632 loop->safelen.
633 (vect_analyze_data_ref_dependences): Set to true.
634 * tree-vect-stmts.c (hoist_defs_of_uses): Return false if def_stmt
635 is a GIMPLE_PHI.
636 (vectorizable_load): Use LOOP_VINFO_NO_DATA_DEPENDENCIES instead of
637 LOOP_REQUIRES_VERSIONING_FOR_ALIAS, add && !nested_in_vect_loop
638 to the condition.
639
42ed6cde
JJ
640 PR middle-end/58344
641 * expr.c (expand_expr_real_1): Handle init == NULL_TREE.
642
a611d7cb 643 PR target/59839
7f3af6d3
UB
644 * config/i386/i386.c (ix86_expand_builtin): If target doesn't satisfy
645 operand 0 predicate for gathers, use a new pseudo as subtarget.
a611d7cb 646
8f21260c
VM
6472014-01-16 Vladimir Makarov <vmakarov@redhat.com>
648
649 PR middle-end/59609
7f3af6d3
UB
650 * lra-constraints.c (process_alt_operands): Add printing debug info.
651 Check absence of input/output reloads for matched operands too.
8f21260c 652
1a788c05
VM
6532014-01-16 Vladimir Makarov <vmakarov@redhat.com>
654
655 PR rtl-optimization/59835
656 * ira.c (ira_init_register_move_cost): Increase cost for
657 impossible modes.
658
4cf24d27
AL
6592014-01-16 Alan Lawrence <alan.lawrence@arm.com>
660
cc3a9f0d 661 * config/arm/arm.opt (mcpu, march, mtune): Make case-insensitive.
4cf24d27 662
030d03b8
RE
6632014-01-16 Richard Earnshaw <rearnsha@arm.com>
664
665 PR target/59780
666 * aarch64.c (aarch64_split_128bit_move): Don't lookup REGNO on
667 non-register objects. Use gen_(high/low)part more consistently.
668 Fix assertions.
669
e78f06a8
MM
6702014-01-16 Michael Meissner <meissner@linux.vnet.ibm.com>
671
672 PR target/59844
673 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Add little
674 endian support, remove tests for WORDS_BIG_ENDIAN.
675 (p8_mfvsrd_3_<mode>): Likewise.
676 (reload_gpr_from_vsx<mode>): Likewise.
677 (reload_gpr_from_vsxsf): Likewise.
678 (p8_mfvsrd_4_disf): Likewise.
679
9d1ae52c
RB
6802014-01-16 Richard Biener <rguenther@suse.de>
681
682 PR rtl-optimization/46590
683 * lcm.c (compute_antinout_edge): Use postorder iteration.
684 (compute_laterin): Use inverted postorder iteration.
685
54c7a7f3
NC
6862014-01-16 Nick Clifton <nickc@redhat.com>
687
688 PR middle-end/28865
689 * varasm.c (output_constant): Return the number of bytes actually
690 emitted.
691 (output_constructor_array_range): Update the field size with the
692 number of bytes emitted by output_constant.
693 (output_constructor_regular_field): Likewise. Also do not
694 complain if the total number of bytes emitted is now greater
695 than the expected fieldpos.
7f3af6d3 696 * output.h (output_constant): Update prototype and descriptive comment.
54c7a7f3 697
5147d10a
MP
6982014-01-16 Marek Polacek <polacek@redhat.com>
699
700 PR middle-end/59827
701 * cgraph.c (gimple_check_call_args): Don't use DECL_ARG_TYPE if
702 it is error_mark_node.
703
4ac005ba
UB
7042014-01-15 Uros Bizjak <ubizjak@gmail.com>
705
706 * config/i386/i386.c (ix86_hard_regno_mode_ok): Use
707 VALID_AVX256_REG_OR_OI_MODE.
708
5d7574fa
PH
7092014-01-15 Pat Haugen <pthaugen@us.ibm.com>
710
711 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Check if
712 current procedure should be profiled.
713
6ee70f81
AP
7142014-01-15 Andrew Pinski <apinski@cavium.com>
715
716 * config/aarch64/aarch64.c (aarch64_register_move_cost): Correct cost
717 of moving from/to the STACK_REG register class.
718
af6e8467
RH
7192014-01-15 Richard Henderson <rth@redhat.com>
720
721 PR debug/54694
722 * reginfo.c (global_regs_decl): Globalize.
723 * rtl.h (global_regs_decl): Declare.
724 * ira.c (do_reload): Diagnose frame_pointer_needed and it
725 reserved via global_regs.
726
4583fada
TJ
7272014-01-15 Teresa Johnson <tejohnson@google.com>
728
729 * tree-ssa-sccvn.c (visit_reference_op_call): Handle NULL vdef.
730
d13dfec8
BS
7312014-01-15 Bill Schmidt <wschmidt@vnet.linux.ibm.com>
732
733 * config/rs6000/altivec.md (mulv8hi3): Explicitly generate vmulesh
734 and vmulosh rather than call gen_vec_widen_smult_*.
735 (vec_widen_umult_even_v16qi): Test VECTOR_ELT_ORDER_BIG rather
736 than BYTES_BIG_ENDIAN to determine use of even or odd instruction.
737 (vec_widen_smult_even_v16qi): Likewise.
738 (vec_widen_umult_even_v8hi): Likewise.
739 (vec_widen_smult_even_v8hi): Likewise.
740 (vec_widen_umult_odd_v16qi): Likewise.
741 (vec_widen_smult_odd_v16qi): Likewise.
742 (vec_widen_umult_odd_v8hi): Likewise.
743 (vec_widen_smult_odd_v8hi): Likewise.
744 (vec_widen_umult_hi_v16qi): Explicitly generate vmuleub and
745 vmuloub rather than call gen_vec_widen_umult_*.
746 (vec_widen_umult_lo_v16qi): Likewise.
747 (vec_widen_smult_hi_v16qi): Explicitly generate vmulesb and
748 vmulosb rather than call gen_vec_widen_smult_*.
749 (vec_widen_smult_lo_v16qi): Likewise.
750 (vec_widen_umult_hi_v8hi): Explicitly generate vmuleuh and vmulouh
751 rather than call gen_vec_widen_umult_*.
752 (vec_widen_umult_lo_v8hi): Likewise.
753 (vec_widen_smult_hi_v8hi): Explicitly gnerate vmulesh and vmulosh
754 rather than call gen_vec_widen_smult_*.
755 (vec_widen_smult_lo_v8hi): Likewise.
756
a6a2d67b
JL
7572014-01-15 Jeff Law <law@redhat.com>
758
759 PR tree-optimization/59747
760 * ree.c (find_and_remove_re): Properly handle case where a second
761 eliminated extension requires widening a copy created for elimination
762 of a prior extension.
763 (combine_set_extension): Ensure that the number of hard regs needed
764 for a destination register does not change when we widen it.
765
aefe4056
SH
7662014-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
767
768 * config.gcc (*-*-rtems*): Add t-rtems to tmake_file.
769 (arm*-*-uclinux*eabi*): Do not override an existing tmake_file.
770 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Likwise.
771 (arm*-*-rtems*): Use t-rtems from existing tmake_file.
772 (avr-*-rtems*): Likewise.
773 (bfin*-rtems*): Likewise.
774 (moxie-*-rtems*): Likewise.
775 (h8300-*-rtems*): Likewise.
776 (i[34567]86-*-rtems*): Likewise.
777 (lm32-*-rtems*): Likewise.
778 (m32r-*-rtems*): Likewise.
779 (m68k-*-rtems*): Likewise.
780 (microblaze*-*-rtems*): Likewise.
781 (mips*-*-rtems*): Likewise.
782 (powerpc-*-rtems*): Likewise.
783 (sh-*-rtems*): Likewise.
784 (sparc-*-rtems*): Likewise.
785 (sparc64-*-rtems*): Likewise.
786 (v850-*-rtems*): Likewise.
787 (m32c-*-rtems*): Likewise.
788
fef37404
VM
7892014-01-15 Vladimir Makarov <vmakarov@redhat.com>
790
791 PR rtl-optimization/59511
792 * ira.c (ira_init_register_move_cost): Use memory costs for some
793 cases of register move cost calculations.
794 * lra-constraints.c (lra_constraints): Use REG_FREQ_FROM_BB
795 instead of BB frequency.
796 * lra-coalesce.c (move_freq_compare_func, lra_coalesce): Ditto.
797 * lra-assigns.c (find_hard_regno_for): Ditto.
798
6b916b36
RB
7992014-01-15 Richard Biener <rguenther@suse.de>
800
801 PR tree-optimization/59822
802 * tree-vect-stmts.c (hoist_defs_of_uses): New function.
803 (vectorizable_load): Use it to hoist defs of uses of invariant
804 loads out of the loop.
805
d103f29b
MGD
8062014-01-15 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
807 Kugan Vivekanandarajah <kuganv@linaro.org>
808
809 PR target/59695
810 * config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect
811 truncation.
812
95cb8697
RB
8132014-01-15 Richard Biener <rguenther@suse.de>
814
815 PR rtl-optimization/59802
816 * lcm.c (compute_available): Use inverted postorder to seed
817 the initial worklist.
818
cb4b6d17
AK
8192014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
820
1c8b5303 821 PR target/59803
cb4b6d17
AK
822 * config/s390/s390.c (s390_preferred_reload_class): Don't return
823 ADDR_REGS for invalid symrefs in non-PIC code.
824
2738b4c7
JJ
8252014-01-15 Jakub Jelinek <jakub@redhat.com>
826
827 PR other/58712
828 * builtins.c (determine_block_size): Initialize *probable_max_size
829 even if len_rtx is CONST_INT.
830
d126a4ae
AP
8312014-01-14 Andrew Pinski <apinski@cavium.com>
832
833 * config/aarch64/aarch64-protos.h (tune_params): Add issue_rate.
834 * config/aarch64/aarch64.c (generic_tunings): Add issue rate of 2.
835 (cortexa53_tunings): Likewise.
836 (aarch64_sched_issue_rate): New function.
837 (TARGET_SCHED_ISSUE_RATE): Define.
838
dc687582
VM
8392014-01-14 Vladimir Makarov <vmakarov@redhat.com>
840
841 * ira-costs.c (find_costs_and_classes): Add missed
842 ira_init_register_move_cost_if_necessary.
843
e940b2ec
VM
8442014-01-14 Vladimir Makarov <vmakarov@redhat.com>
845
846 PR target/59787
847 * config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress.
848
3292e376
L
8492014-01-14 H.J. Lu <hongjiu.lu@intel.com>
850
851 PR target/59794
852 * config/i386/i386.c (type_natural_mode): Add a bool parameter
4ac005ba
UB
853 to indicate if type is used for function return value. Warn ABI
854 change if the vector mode isn't available for function return value.
3292e376
L
855 (ix86_function_arg_advance): Pass false to type_natural_mode.
856 (ix86_function_arg): Likewise.
857 (ix86_gimplify_va_arg): Likewise.
858 (function_arg_32): Don't warn ABI change.
859 (ix86_function_value): Pass true to type_natural_mode.
860 (ix86_return_in_memory): Likewise.
861 (ix86_struct_value_rtx): Removed.
862 (TARGET_STRUCT_VALUE_RTX): Likewise.
863
db930875
RS
8642014-01-14 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
865
866 * jump.c (redirect_jump_2): Remove REG_CROSSING_JUMP notes when
867 converting a conditional jump into a conditional return.
868
a0e35eb0
RB
8692014-01-14 Richard Biener <rguenther@suse.de>
870
871 PR tree-optimization/58921
872 PR tree-optimization/59006
873 * tree-vect-loop-manip.c (vect_loop_versioning): Remove code
874 hoisting invariant stmts.
875 * tree-vect-stmts.c (vectorizable_load): Insert the splat of
876 invariant loads on the preheader edge if possible.
877
a984e92e
JY
8782014-01-14 Joey Ye <joey.ye@arm.com>
879
880 * doc/plugin.texi (Building GCC plugins): Update to C++.
881
c56a42b9
KY
8822014-01-14 Kirill Yukhin <kirill.yukhin@intel.com>
883
3292e376 884 * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): New.
c56a42b9
KY
885 (_mm_rcp28_round_ss): Ditto.
886 (_mm_rsqrt28_round_sd): Ditto.
887 (_mm_rsqrt28_round_ss): Ditto.
888 (_mm_rcp28_sd): Ditto.
889 (_mm_rcp28_ss): Ditto.
890 (_mm_rsqrt28_sd): Ditto.
891 (_mm_rsqrt28_ss): Ditto.
892 * config/i386/avx512fintrin.h (_mm512_stream_load_si512): Ditto.
893 * config/i386/i386-builtin-types.def (V8DI_FTYPE_PV8DI): Ditto.
894 * config/i386/i386.c (IX86_BUILTIN_MOVNTDQA512): Ditto.
895 (IX86_BUILTIN_RCP28SD): Ditto.
896 (IX86_BUILTIN_RCP28SS): Ditto.
897 (IX86_BUILTIN_RSQRT28SD): Ditto.
898 (IX86_BUILTIN_RSQRT28SS): Ditto.
899 (bdesc_special_args): Define __builtin_ia32_movntdqa512,
900 __builtin_ia32_rcp28sd_round, __builtin_ia32_rcp28ss_round,
901 __builtin_ia32_rsqrt28sd_round, __builtin_ia32_rsqrt28ss_round.
902 (ix86_expand_special_args_builtin): Expand new FTYPE.
903 * config/i386/sse.md (define_mode_attr "sse4_1_avx2"): Expand to V8DI.
904 (srcp14<mode>): Make insn unary.
905 (avx512f_vmscalef<mode><round_name>): Use substed predicate.
906 (avx512f_sgetexp<mode><round_saeonly_name>): Ditto.
907 (avx512f_rndscale<mode><round_saeonly_name>): Ditto.
908 (<sse4_1_avx2>_movntdqa): Extend to 512 bits.
909 (avx512er_exp2<mode><mask_name><round_saeonly_name>):
910 Fix rounding: make it SAE only.
4ac005ba
UB
911 (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
912 Ditto.
913 (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
914 Ditto.
c56a42b9
KY
915 (avx512er_vmrcp28<mode><round_saeonly_name>): Ditto.
916 (avx512er_vmrsqrt28<mode><round_saeonly_name>): Ditto.
917 (avx512f_getmant<mode><mask_name><round_saeonly_name>): Ditto.
918 * config/i386/subst.md (round_saeonly_mask_scalar_operand3): Remove.
919 (round_saeonly_mask_scalar_operand4): Ditto.
920 (round_saeonly_mask_scalar_op3): Ditto.
921 (round_saeonly_mask_scalar_op4): Ditto.
922
09fccb62
BS
9232014-01-13 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
924
925 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
926 Implement -maltivec=be for vec_insert and vec_extract.
927
fb28dac0
DD
9282014-01-10 DJ Delorie <dj@redhat.com>
929
930 * config/msp430/msp430.md (call_internal): Don't allow memory
931 references with SP as the base register.
932 (call_value_internal): Likewise.
933 * config/msp430/constraints.md (Yc): New. For memory references
934 that don't use SP as a base register.
935
936 * config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean
937 "an integer without a # prefix"
938 * config/msp430/msp430.md (epilogue_helper): Use it.
939
19e51b40
JJ
9402014-01-13 Jakub Jelinek <jakub@redhat.com>
941
03b9e8e4
JJ
942 PR target/59617
943 * config/i386/i386.c (ix86_vectorize_builtin_gather): Uncomment
944 AVX512F gather builtins.
945 * tree-vect-stmts.c (vectorizable_mask_load_store): For now punt
946 on gather decls with INTEGER_TYPE masktype.
947 (vectorizable_load): For INTEGER_TYPE masktype, put the INTEGER_CST
948 directly into the builtin rather than hoisting it before loop.
949
19e51b40
JJ
950 PR tree-optimization/59387
951 * tree-scalar-evolution.c: Include gimple-fold.h and gimplify-me.h.
952 (scev_const_prop): If folded_casts and type has undefined overflow,
953 use force_gimple_operand instead of force_gimple_operand_gsi and
954 for each added stmt if it is assign with
955 arith_code_with_undefined_signed_overflow, call
956 rewrite_to_defined_overflow.
957 * tree-ssa-loop-im.c: Don't include gimplify-me.h, include
958 gimple-fold.h instead.
959 (arith_code_with_undefined_signed_overflow,
960 rewrite_to_defined_overflow): Moved to ...
961 * gimple-fold.c (arith_code_with_undefined_signed_overflow,
962 rewrite_to_defined_overflow): ... here. No longer static.
963 Include gimplify-me.h.
964 * gimple-fold.h (arith_code_with_undefined_signed_overflow,
965 rewrite_to_defined_overflow): New prototypes.
966
cd794ed4
KT
9672014-01-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
968
969 * config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Fix typo in description.
970
e75fde1a
EB
9712014-01-13 Eric Botcazou <ebotcazou@adacore.com>
972
973 * builtins.c (get_object_alignment_2): Minor tweak.
974 * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Rewrite.
975
eae298d6
CB
9762014-01-13 Christian Bruel <christian.bruel@st.com>
977
978 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Unroll small sizes and
e75fde1a 979 optimized non constant lengths.
eae298d6 980
8175be9a
JJ
9812014-01-13 Jakub Jelinek <jakub@redhat.com>
982
983 PR libgomp/59194
984 * omp-low.c (expand_omp_atomic_pipeline): Expand the initial
985 load as __atomic_load_N if possible.
986
9c111368
DE
9872014-01-11 David Edelsohn <dje.gcc@gmail.com>
988
989 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove
990 target parameter.
991 (rs6000_expand_builtin): Adjust call.
992
c82846bc
DE
9932014-01-11 David Edelsohn <dje.gcc@gmail.com>
994
995 PR target/58115
996 * config/rs6000/rs6000.h (SWITCHABLE_TARGET): Define.
997 * config/rs6000/rs6000.c: Include target-globals.h.
998 (rs6000_set_current_function): Instead of doing target_reinit
999 unconditionally, use save_target_globals_default_opts and
1000 restore_target_globals.
1001
1002 * config/rs6000/rs6000-builtin.def (mffs, mtfsf): Add builtins for
1003 FPSCR.
1004 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): New.
1005 (rs6000_expand_builtin): Handle mffs and mtfsf.
1006 (rs6000_init_builtins): Define mffs and mtfsf.
1007 * config/rs6000/rs6000.md (UNSPECV_MFFS, UNSPECV_MTFSF): New constants.
1008 (rs6000_mffs): New pattern.
1009 (rs6000_mtfsf): New pattern.
1010
2c407426
BC
10112014-01-11 Bin Cheng <bin.cheng@arm.com>
1012
1013 * tree-ssa-loop-ivopts.c (iv_ca_narrow): New parameter.
1014 Start narrowing with START. Apply candidate-use pair
1015 and check overall cost in narrowing.
1016 (iv_ca_prune): Pass new argument.
1017
7e41c852
JL
10182014-01-10 Jeff Law <law@redhat.com>
1019
1020 PR middle-end/59743
1021 * ree.c (combine_reaching_defs): Ensure the defining statement
1022 occurs before the extension when optimizing extensions with
1023 different source and destination hard registers.
1024
b270b096
JH
10252014-01-10 Jan Hubicka <jh@suse.cz>
1026
1027 PR ipa/58585
4ac005ba
UB
1028 * ipa-devirt.c (build_type_inheritance_graph): Also add types of
1029 vtables into the type inheritance graph.
b270b096 1030
0d6d7b9a
JJ
10312014-01-10 Jakub Jelinek <jakub@redhat.com>
1032
1033 PR rtl-optimization/59754
1034 * ree.c (combine_reaching_defs): Disallow !SCALAR_INT_MODE_P
1035 modes in the REGNO != REGNO case.
1036
110132c1
BS
10372014-01-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1038
1039 * config/rs6000/rs6000-builtin.def: Fix pasto for VPKSDUS.
1040
5da96960
JJ
10412014-01-10 Jakub Jelinek <jakub@redhat.com>
1042
4f87d581
JJ
1043 PR tree-optimization/59745
1044 * tree-predcom.c (tree_predictive_commoning_loop): Call
1045 free_affine_expand_cache if giving up because components is NULL.
1046
5da96960
JJ
1047 * target-globals.c (save_target_globals): Allocate < 4KB structs using
1048 GC in payload of target_globals struct instead of allocating them on
1049 the heap and the larger structs separately using GC.
1050 * target-globals.h (struct target_globals): Make regs, hard_regs,
1051 reload, expmed, ira, ira_int and lra_fields GTY((atomic)) instead
1052 of GTY((skip)) and change type to void *.
1053 (reset_target_globals): Cast loads from those fields to corresponding
1054 types.
1055
1aa26aac
SE
10562014-01-10 Steve Ellcey <sellcey@mips.com>
1057
1058 PR plugins/59335
1059 * Makefile.in (PLUGIN_HEADERS): Add gimplify.h, gimple-iterator.h,
1060 gimple-ssa.h, fold-const.h, tree-cfg.h, tree-into-ssa.h,
1061 tree-ssanames.h, print-tree.h, varasm.h, and context.h.
1062
1c992d1e
RE
10632014-01-10 Richard Earnshaw <rearnsha@arm.com>
1064
7783a246 1065 PR target/59744
1c992d1e
RE
1066 * aarch64-modes.def (CC_Zmode): New flags mode.
1067 * aarch64.c (aarch64_select_cc_mode): Only allow NEG when the condition
1068 represents an equality.
7783a246 1069 (aarch64_get_condition_code): Handle CC_Zmode.
1c992d1e
RE
1070 * aarch64.md (compare_neg<mode>): Restrict to equality operations.
1071
86464cbd
AK
10722014-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1073
1074 * config/s390/s390.c (s390_expand_tbegin): Remove jump over CC
1075 extraction in good case.
1076
5e6667b2
RB
10772014-01-10 Richard Biener <rguenther@suse.de>
1078
1079 PR tree-optimization/59374
1080 * tree-vect-slp.c (vect_slp_analyze_bb_1): Move dependence
1081 checking after SLP discovery. Mark stmts not participating
1082 in any SLP instance properly.
1083
5619162c
KT
10842014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1085
1086 * config/arm/arm.c (arm_new_rtx_costs): Use destination mode
1087 when handling a SET rtx.
1088
2d17b99f
KT
10892014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1090
1091 * config/arm/arm-cores.def (cortex-a53): Specify FL_CRC32.
1092 (cortex-a57): Likewise.
1093 (cortex-a57.cortex-a53): Likewise. Remove redundant flags.
1094
bcca645c
KT
10952014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1096
1097 * config/arm/arm.c (arm_init_iwmmxt_builtins): Skip
1098 non-iwmmxt builtins.
1099
a3788dde
JH
11002014-01-10 Jan Hubicka <hubicka@ucw.cz>
1101
1102 PR ipa/58252
1103 PR ipa/59226
1104 * ipa-devirt.c record_target_from_binfo): Take as argument
1105 stack of binfos and lookup matching one for virtual inheritance.
1106 (possible_polymorphic_call_targets_1): Update.
1107
87ed883e
HC
11082014-01-10 Huacai Chen <chenhc@lemote.com>
1109
1110 * config/mips/driver-native.c (host_detect_local_cpu): Handle new
1111 kernel strings for Loongson-2E/2F/3A.
1112
cd4447e2
JJ
11132014-01-10 Jakub Jelinek <jakub@redhat.com>
1114
1115 PR middle-end/59670
1116 * tree-vect-data-refs.c (vect_analyze_data_refs): Check
1117 is_gimple_call before calling gimple_call_internal_p.
1118
3fadf78a
SE
11192014-01-09 Steve Ellcey <sellcey@mips.com>
1120
1121 * Makefile.in (TREE_FLOW_H): Remove.
1122 (TREE_SSA_H): Add file names from tree-flow.h.
1123 * doc/tree-ssa.texi (Annotations): Remove reference to tree-flow.h
1124 * tree.h: Remove tree-flow.h reference.
1125 * hash-table.h: Remove tree-flow.h reference.
1126 * tree-ssa-loop-niter.c (dump_affine_iv): Replace tree-flow.h
1127 reference with tree-ssa-loop.h.
1128
6edc217d
BS
11292014-01-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1130
1131 * doc/invoke.texi: Add -maltivec={be,le} options, and document
1132 default element-order behavior for -maltivec.
1133 * config/rs6000/rs6000.opt: Add -maltivec={be,le} options.
1134 * config/rs6000/rs6000.c (rs6000_option_override_internal): Ensure
1135 that -maltivec={le,be} implies -maltivec; disallow -maltivec=le
1136 when targeting big endian, at least for now.
1137 * config/rs6000/rs6000.h: Add #define of VECTOR_ELT_ORDER_BIG.
1138
a70e9985
JJ
11392014-01-09 Jakub Jelinek <jakub@redhat.com>
1140
3396aba5
JJ
1141 PR middle-end/47735
1142 * cfgexpand.c (expand_one_var): For SSA_NAMEs, if the underlying
1143 var satisfies use_register_for_decl, just take into account type
1144 alignment, rather than decl alignment.
1145
a70e9985
JJ
1146 PR tree-optimization/59622
1147 * gimple-fold.c (gimple_fold_call): Fix a typo in message. For
1148 __builtin_unreachable replace the OBJ_TYPE_REF call with a call to
1149 __builtin_unreachable and add if needed a setter of the lhs SSA_NAME.
1150 Don't devirtualize for inplace at all. For targets.length () == 1,
1151 if the call is noreturn and cfun isn't in SSA form yet, clear lhs.
1152
6e9cc565
L
11532014-01-09 H.J. Lu <hongjiu.lu@intel.com>
1154
1155 * config/i386/i386.md (cpu): Remove the unused btver1.
1156
d1c0e4ac
L
11572014-01-09 H.J. Lu <hongjiu.lu@intel.com>
1158
1159 * gdbasan.in: Put a breakpoint on __sanitizer::Report.
1160
e83b8e2e
JJ
11612014-01-09 Jakub Jelinek <jakub@redhat.com>
1162
1163 PR target/58115
1164 * tree-core.h (struct target_globals): New forward declaration.
1165 (struct tree_target_option): Add globals field.
1166 * tree.h (TREE_TARGET_GLOBALS): Define.
1167 (prepare_target_option_nodes_for_pch): New prototype.
1168 * target-globals.h (struct target_globals): Define even if
1169 !SWITCHABLE_TARGET.
1170 * tree.c (prepare_target_option_node_for_pch,
1171 prepare_target_option_nodes_for_pch): New functions.
1172 * config/i386/i386.h (SWITCHABLE_TARGET): Define.
1173 * config/i386/i386.c: Include target-globals.h.
1174 (ix86_set_current_function): Instead of doing target_reinit
1175 unconditionally, use save_target_globals_default_opts and
1176 restore_target_globals.
1177
2aaed0f3
RB
11782014-01-09 Richard Biener <rguenther@suse.de>
1179
1180 PR tree-optimization/59715
1181 * tree-cfg.h (split_critical_edges): Declare.
1182 * tree-cfg.c (split_critical_edges): Export.
1183 * tree-ssa-sink.c (execute_sink_code): Split critical edges.
1184
b5ebc991
MO
11852014-01-09 Max Ostapenko <m.ostapenko@partner.samsung.com>
1186
4ac005ba 1187 * cfgexpand.c (expand_stack_vars): Optionally disable
b5ebc991
MO
1188 asan stack protection.
1189 (expand_used_vars): Likewise.
1190 (partition_stack_vars): Likewise.
4ac005ba 1191 * asan.c (asan_emit_stack_protection): Optionally disable
b5ebc991 1192 after return stack usage.
7f3af6d3 1193 (instrument_derefs): Optionally disable memory access instrumentation.
b5ebc991
MO
1194 (instrument_builtin_call): Likewise.
1195 (instrument_strlen_call): Likewise.
7f3af6d3 1196 (asan_protect_global): Optionally disable global variables protection.
b5ebc991
MO
1197 * doc/invoke.texi: Added doc for new options.
1198 * params.def: Added new options.
1199 * params.h: Likewise.
1200
b59e0455
JJ
12012014-01-09 Jakub Jelinek <jakub@redhat.com>
1202
1203 PR rtl-optimization/59724
1204 * ifcvt.c (cond_exec_process_if_block): Don't call
1205 flow_find_head_matching_sequence with 0 longest_match.
1206 * cfgcleanup.c (flow_find_head_matching_sequence): Count even
1207 non-active insns if !stop_after.
1208 (try_head_merge_bb): Revert 2014-01-07 changes.
1209
650c4c85
JL
12102014-01-08 Jeff Law <law@redhat.com>
1211
1212 * ree.c (get_sub_rtx): New function, extracted from...
1213 (merge_def_and_ext): Here.
1214 (combine_reaching_defs): Use get_sub_rtx.
1215
ff36fcbe
EB
12162014-01-08 Eric Botcazou <ebotcazou@adacore.com>
1217
1218 * cgraph.h (varpool_variable_node): Do not choke on null node.
1219
9f9d82aa
CM
12202014-01-08 Catherine Moore <clm@codesourcery.com>
1221
4ac005ba
UB
1222 * config/mips/mips.md (simple_return): Attempt to use JRC
1223 for microMIPS.
9f9d82aa
CM
1224 * config/mips/mips.h (MIPS_CALL): Attempt to use JALS for microMIPS.
1225
df6c8808
RS
12262014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
1227
1228 PR rtl-optimization/59137
1229 * reorg.c (steal_delay_list_from_target): Call update_block for
1230 elided insns.
1231 (steal_delay_list_from_fallthrough, relax_delay_slots): Likewise.
1232
6170ceff
BS
12332014-01-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1234
1235 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
1236 two duplicate entries.
1237
3f140f32
RS
12382014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
1239
1240 Revert:
1241 2012-10-07 Richard Sandiford <rdsandiford@googlemail.com>
1242
1243 * config/mips/mips.c (mips_truncated_op_cost): New function.
1244 (mips_rtx_costs): Adjust test for BADDU.
1245 * config/mips/mips.md (*baddu_di<mode>): Push truncates to operands.
1246
1247 2012-10-02 Richard Sandiford <rdsandiford@googlemail.com>
1248
1249 * config/mips/mips.md (*baddu_si_eb, *baddu_si_el): Merge into...
1250 (*baddu_si): ...this new pattern.
1251
c6de6665
JJ
12522014-01-08 Jakub Jelinek <jakub@redhat.com>
1253
1254 PR ipa/59722
1255 * ipa-prop.c (ipa_analyze_params_uses): Ignore uses in debug stmts.
1256
4c437f02
BE
12572014-01-08 Bernd Edlinger <bernd.edlinger@hotmail.de>
1258
1259 PR middle-end/57748
1260 * expr.h (expand_expr_real, expand_expr_real_1): Add new parameter
1261 inner_reference_p.
1262 (expand_expr, expand_normal): Adjust.
1263 * expr.c (expand_expr_real, expand_expr_real_1): Add new parameter
1264 inner_reference_p. Use inner_reference_p to expand inner references.
1265 (store_expr): Adjust.
1266 * cfgexpand.c (expand_call_stmt): Adjust.
1267
4ac005ba 12682014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
1269
1270 * gcov-io.c (gcov_var): Move from gcov-io.h.
1271 (gcov_position): Ditto.
1272 (gcov_is_error): Ditto.
1273 (gcov_rewrite): Ditto.
1274 * gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov
1275 only part to libgcc/libgcov.h.
1276
ab04b46e
MP
12772014-01-08 Marek Polacek <polacek@redhat.com>
1278
1279 PR middle-end/59669
1280 * omp-low.c (simd_clone_adjust): Don't crash if def is NULL.
1281
06636b32
MP
12822014-01-08 Marek Polacek <polacek@redhat.com>
1283
1284 PR sanitizer/59667
1285 * ubsan.c (ubsan_type_descriptor): Call strip_array_types on type2.
1286
c15677b6
JJ
12872014-01-08 Jakub Jelinek <jakub@redhat.com>
1288
1289 PR rtl-optimization/59649
1290 * stor-layout.c (get_mode_bounds): For BImode return
1291 0 and STORE_FLAG_VALUE.
1292
5c944c6c
RB
12932014-01-08 Richard Biener <rguenther@suse.de>
1294
1295 PR middle-end/59630
1296 * gimple.h (is_gimple_builtin_call): Remove.
1297 (gimple_builtin_call_types_compatible_p): New.
1298 (gimple_call_builtin_p): New overload.
1299 * gimple.c (is_gimple_builtin_call): Remove.
1300 (validate_call): Rename to ...
1301 (gimple_builtin_call_types_compatible_p): ... this and export. Also
1302 check return types.
1303 (validate_type): New static function.
1304 (gimple_call_builtin_p): New overload and adjust.
1305 * gimple-fold.c (gimple_fold_builtin): Fold the return value.
1306 (gimple_fold_call): Likewise. Use gimple_call_builtin_p.
1307 (gimple_fold_stmt_to_constant_1): Likewise.
1308 * tsan.c (instrument_gimple): Use gimple_call_builtin_p.
1309
0bd34ae4
RB
13102014-01-08 Richard Biener <rguenther@suse.de>
1311
1312 PR middle-end/59471
1313 * gimplify.c (gimplify_expr): Gimplify register-register type
1314 VIEW_CONVERT_EXPRs to separate stmts.
1315
04af8ab6
JL
13162014-01-07 Jeff Law <law@redhat.com>
1317
3c92da90
JL
1318 PR middle-end/53623
1319 * ree.c (combine_set_extension): Handle case where source
1320 and destination registers in an extension insn are different.
4ac005ba
UB
1321 (combine_reaching_defs): Allow source and destination registers
1322 in extension to be different under limited circumstances.
3c92da90 1323 (add_removable_extension): Remove restriction that the
4ac005ba 1324 source and destination registers in the extension are the same.
3c92da90
JL
1325 (find_and_remove_re): Emit a copy from the extension's
1326 destination to its source after the defining insn if
1327 the source and destination registers are different.
1328
04af8ab6
JL
1329 PR middle-end/59285
1330 * ifcvt.c (merge_if_block): If we are merging a block with more than
1331 one successor with a block with no successors, remove any BARRIER
1332 after the second block.
1333
955b33ed
JL
13342014-01-07 Dan Xio Qiang <ziyan01@163.com>
1335
1336 * hw-doloop.c (reorg_loops): Release the bitmap obstack.
1337
55ada375
JDA
13382014-01-07 John David Anglin <danglin@gcc.gnu.org>
1339
1340 PR target/59652
1341 * config/pa/pa.c (pa_legitimate_address_p): Return false before reload
1342 for 14-bit register offsets when INT14_OK_STRICT is false.
1343
877c72e7
RS
13442014-01-07 Roland Stigge <stigge@antcom.de>
1345 Michael Meissner <meissner@linux.vnet.ibm.com>
1346
1347 PR 57386/target
1348 * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
4ac005ba 1349 Only check TFmode for SPE constants. Don't check TImode or TDmode.
877c72e7 1350
8b2721da
JG
13512014-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1352
1353 * config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
1354 -mcpu.
1355
5d72b79f
YZ
13562014-01-07 Yufeng Zhang <yufeng.zhang@arm.com>
1357
1358 * config/arm/arm.c (arm_expand_neon_args): Call expand_expr
1359 with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned
1360 rtx is const0_rtx or not.
1361
48d53439
RS
13622014-01-07 Richard Sandiford <rdsandiford@googlemail.com>
1363
1364 PR target/58115
1365 * target-globals.c (save_target_globals): Remove this_fn_optab
1366 handling.
1367 * toplev.c: Include optabs.h.
1368 (target_reinit): Temporarily restore the global options if another
1369 set of options are in force.
1370
41626746
JJ
13712014-01-07 Jakub Jelinek <jakub@redhat.com>
1372
a0cbe71e
JJ
1373 PR rtl-optimization/58668
1374 * cfgcleanup.c (flow_find_cross_jump): Don't count
1375 any jumps if dir_p is NULL. Remove p1 variable, use active_insn_p
1376 to determine what is counted.
1377 (flow_find_head_matching_sequence): Use active_insn_p to determine
1378 what is counted.
1379 (try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
1380 counting change.
1381 * ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
1382 determine what is counted.
1383
41626746
JJ
1384 PR tree-optimization/59643
1385 * tree-predcom.c (split_data_refs_to_components): If one dr is
1386 read and one write, determine_offset fails and the write isn't
1387 in the bad component, just put the read into the bad component.
1388
cc349a39
MS
13892014-01-07 Mike Stump <mikestump@comcast.net>
1390 Jakub Jelinek <jakub@redhat.com>
1391
1392 PR pch/59436
1393 * tree-core.h (struct tree_optimization_option): Change optabs
1394 type from unsigned char * to void *.
1395 * optabs.c (init_tree_optimization_optabs): Adjust
1396 TREE_OPTIMIZATION_OPTABS initialization.
1397
529a6471
JJ
13982014-01-06 Jakub Jelinek <jakub@redhat.com>
1399
1400 PR target/59644
1401 * config/i386/i386.h (struct machine_function): Add
1402 no_drap_save_restore field.
1403 * config/i386/i386.c (ix86_save_reg): Use
1404 !cfun->machine->no_drap_save_restore instead of
1405 crtl->stack_realign_needed.
1406 (ix86_finalize_stack_realign_flags): Don't clear drap_reg unless
1407 this function clears frame_pointer_needed. Set
1408 cfun->machine->no_drap_save_restore if clearing frame_pointer_needed
1409 and DRAP reg is needed.
1410
96066ce1
MP
14112014-01-06 Marek Polacek <polacek@redhat.com>
1412
1413 PR c/57773
1414 * doc/implement-c.texi: Mention that other integer types are
1415 permitted as bit-field types in strictly conforming mode.
1416
955b33ed 14172014-01-06 Felix Yang <fei.yang0953@gmail.com>
33444996
FY
1418
1419 * modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it
1420 is newly allocated.
1421
328402a9
RE
14222014-01-06 Richard Earnshaw <rearnsha@arm.com>
1423
1424 * aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
1425
a4e33812
MJ
14262014-01-06 Martin Jambor <mjambor@suse.cz>
1427
1428 PR ipa/59008
1429 * ipa-cp.c (ipcp_discover_new_direct_edges): Changed param_index type
1430 to int.
1431 * ipa-prop.c (ipa_print_node_params): Fix indentation.
1432
b5cd2a02
EB
14332014-01-06 Eric Botcazou <ebotcazou@adacore.com>
1434
1435 PR debug/59350
1436 PR debug/59510
1437 * var-tracking.c (add_stores): Preserve the value of the source even if
1438 we don't record the store.
1439
c7d19c0b
TG
14402014-01-06 Terry Guo <terry.guo@arm.com>
1441
1442 * config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.
1443
e0c70bd7
IS
14442014-01-05 Iain Sandoe <iain@codesourcery.com>
1445
1446 PR bootstrap/59541
1447 * config/darwin.c (darwin_function_section): Adjust return values to
1448 correspond to optimisation changes made in r206070.
1449
c30f016c
UB
14502014-01-05 Uros Bizjak <ubizjak@gmail.com>
1451
1452 * config/i386/i386.c (ix86_data_alignment): Calculate max_align
1453 from prefetch_block tune setting.
1454 (nocona_cost): Correct size of prefetch block to 64.
1455
f2bc252b
EB
14562014-01-04 Eric Botcazou <ebotcazou@adacore.com>
1457
1458 * config/arm/arm.c (arm_get_frame_offsets): Revamp long lines.
1459 (arm_expand_epilogue_apcs_frame): Take into account the number of bytes
1460 used to save the static chain register in the computation of the offset
1461 from which the FP registers need to be restored.
1462
dad5ed2e
JJ
14632014-01-04 Jakub Jelinek <jakub@redhat.com>
1464
39719c84
JJ
1465 PR tree-optimization/59519
1466 * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't
1467 ICE if get_current_def (current_new_name) is already non-NULL, as long
1468 as it is a phi result of some other phi in *new_exit_bb that has
1469 the same argument.
1470
dad5ed2e
JJ
1471 * config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d}
1472 or vmovdqu* for misaligned_operand.
1473 (<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>,
1474 <sse2_avx_avx512f>_loaddqu<mode><mask_name>): Handle <mask_applied>.
1475 * config/i386/i386.c (ix86_expand_special_args_builtin): Set
1476 aligned_mem for AVX512F masked aligned load and store builtins and for
1477 non-temporal moves.
1478
14792014-01-03 Bingfeng Mei <bmei@broadcom.com>
82d89471
BM
1480
1481 PR tree-optimization/59651
c30f016c 1482 * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks):
82d89471
BM
1483 Address range for negative step should be added by TYPE_SIZE_UNIT.
1484
e864837a
AS
14852014-01-03 Andreas Schwab <schwab@linux-m68k.org>
1486
1487 * config/m68k/m68k.c (handle_move_double): Handle pushes with
7f3af6d3 1488 overlapping registers also for registers other than the stack pointer.
e864837a 1489
56a34230
MP
14902014-01-03 Marek Polacek <polacek@redhat.com>
1491
1492 PR other/59661
1493 * doc/extend.texi: Fix the return value of __builtin_FUNCTION and
1494 __builtin_FILE.
1495
039eee3f
JJ
14962014-01-03 Jakub Jelinek <jakub@redhat.com>
1497
3bcdbd50
JJ
1498 PR target/59625
1499 * config/i386/i386.c (ix86_avoid_jump_mispredicts): Don't consider
1500 asm goto as jump.
1501
039eee3f
JJ
1502 * config/i386/i386.md (MODE_SIZE): New mode attribute.
1503 (push splitter): Use <P:MODE_SIZE> instead of
1504 GET_MODE_SIZE (<P:MODE>mode).
1505 (lea splitter): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
1506 (mov -1, reg peephole2): Likewise.
1507 * config/i386/sse.md (*mov<mode>_internal,
1508 <sse>_storeu<ssemodesuffix><avxsizesuffix>,
1509 <sse2_avx_avx512f>_storedqu<mode>, <sse>_andnot<mode>3,
1510 *<code><mode>3, *andnot<mode>3<mask_name>,
1511 <mask_codefor><code><mode>3<mask_name>): Likewise.
1512 * config/i386/subst.md (mask_mode512bit_condition,
1513 sd_mask_mode512bit_condition): Likewise.
1514
927734cf
XDL
15152014-01-02 Xinliang David Li <davidxl@google.com>
1516
1517 PR tree-optimization/59303
039eee3f 1518 * tree-ssa-uninit.c (is_use_properly_guarded): Main cleanup.
927734cf
XDL
1519 (dump_predicates): Better output format.
1520 (pred_equal_p): New function.
1521 (is_neq_relop_p): Ditto.
1522 (is_neq_zero_form_p): Ditto.
1523 (pred_expr_equal_p): Ditto.
1524 (pred_neg_p): Ditto.
1525 (simplify_pred): Ditto.
1526 (simplify_preds_2): Ditto.
1527 (simplify_preds_3): Ditto.
1528 (simplify_preds_4): Ditto.
1529 (simplify_preds): Ditto.
1530 (push_pred): Ditto.
1531 (push_to_worklist): Ditto.
1532 (get_pred_info_from_cmp): Ditto.
1533 (is_degenerated_phi): Ditto.
1534 (normalize_one_pred_1): Ditto.
1535 (normalize_one_pred): Ditto.
1536 (normalize_one_pred_chain): Ditto.
1537 (normalize_preds): Ditto.
1538 (normalize_cond_1): Remove function.
1539 (normalize_cond): Ditto.
1540 (is_gcond_subset_of): Ditto.
1541 (is_subset_of_any): Ditto.
1542 (is_or_set_subset_of): Ditto.
1543 (is_and_set_subset_of): Ditto.
1544 (is_norm_cond_subset_of): Ditto.
1545 (pred_chain_length_cmp): Ditto.
1546 (convert_control_dep_chain_into_preds): Type change.
1547 (find_predicates): Ditto.
1548 (find_def_preds): Ditto.
1549 (destroy_predicates_vecs): Ditto.
1550 (find_matching_predicates_in_rest_chains): Ditto.
1551 (use_pred_not_overlap_with_undef_path_pred): Ditto.
1552 (is_pred_expr_subset): Ditto.
1553 (is_pred_chain_subset_of): Ditto.
1554 (is_included_in): Ditto.
1555 (is_superset_of): Ditto.
1556
23a5b65a
RS
15572014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1558
c30f016c 1559 Update copyright years.
23a5b65a 1560
f9030485
RS
15612014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1562
1563 * common/config/arc/arc-common.c, config/arc/arc-modes.def,
1564 config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
c30f016c
UB
1565 config/arc/arc.md, config/arc/arc.opt,
1566 config/arm/arm_neon_builtins.def, config/arm/crypto.def,
1567 config/i386/avx512cdintrin.h, config/i386/avx512erintrin.h,
1568 config/i386/avx512fintrin.h, config/i386/avx512pfintrin.h,
1569 config/i386/btver2.md, config/i386/shaintrin.h, config/i386/slm.md,
1570 config/linux-protos.h, config/linux.c, config/winnt-c.c,
1571 diagnostic-color.c, diagnostic-color.h, gimple-ssa-isolate-paths.c,
1572 vtable-verify.c, vtable-verify.h: Use the standard form for the
1573 copyright notice.
f9030485 1574
98db73df
TB
15752014-01-02 Tobias Burnus <burnus@net-b.de>
1576
1577 * gcc.c (process_command): Update copyright notice dates.
1578 * gcov-dump.c: Ditto.
1579 * gcov.c: Ditto.
1580 * doc/cpp.texi: Bump @copying's copyright year.
1581 * doc/cppinternals.texi: Ditto.
1582 * doc/gcc.texi: Ditto.
1583 * doc/gccint.texi: Ditto.
1584 * doc/gcov.texi: Ditto.
1585 * doc/install.texi: Ditto.
1586 * doc/invoke.texi: Ditto.
1587
2898d204 15882014-01-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
8ca77de0
JBG
1589
1590 * config/nios2/nios2.h (BITS_PER_UNIT): Don't define it.
1591
dfebbdc6 15922014-01-01 Jakub Jelinek <jakub@redhat.com>
cf3e5a89 1593
726c3546
JJ
1594 * config/i386/sse.md (*mov<mode>_internal): Guard
1595 EXT_REX_SSE_REGNO_P (REGNO ()) uses with REG_P.
1596
dfebbdc6
JJ
1597 PR rtl-optimization/59647
1598 * cse.c (cse_process_notes_1): Don't substitute negative VOIDmode
1599 new_rtx into UNSIGNED_FLOAT rtxes.
ad41bd84 1600\f
970c3b33 1601Copyright (C) 2014 Free Software Foundation, Inc.
ad41bd84
JM
1602
1603Copying and distribution of this file, with or without modification,
1604are permitted in any medium without royalty provided the copyright
1605notice and this notice are preserved.
This page took 6.211356 seconds and 5 git commands to generate.