1 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
3 * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
4 and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
7 2013-01-15 Tom de Vries <tom@codesourcery.com>
10 * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
13 2013-01-15 Vladimir Makarov <vmakarov@redhat.com>
15 PR rtl-optimization/pr55153
16 * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
18 2013-01-15 Martin Jambor <mjambor@suse.cz>
20 PR tree-optimization/55920
21 * tree-sra.c (analyze_access_subtree): Do not mark non-removable
22 accesses as grp_to_be_debug_replaced.
24 2013-01-15 Jakub Jelinek <jakub@redhat.com>
26 PR tree-optimization/55920
27 * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
28 there is non-useless type conversion needed from debug rhs to lhs,
29 use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
31 2013-01-15 Joseph Myers <joseph@codesourcery.com>
32 Mikael Pettersson <mikpe@it.uu.se>
35 * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
37 (ASM_OUTPUT_CASE_LABEL): Remove.
38 (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
39 * final.c (shorten_branches): Update alignment of labels before
40 jump tables if CASE_VECTOR_SHORTEN_MODE.
42 2013-01-15 Richard Biener <rguenther@suse.de>
45 * system.h: Do not include gmp.h for building host tools.
47 2013-01-15 Richard Biener <rguenther@suse.de>
50 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
51 account for bitpos when computing alignment.
53 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com>
55 * config/i386/i386-c.c (ix86_target_macros_internal): New case.
56 (ix86_target_macros_internal): Likewise.
58 * config/i386/i386.c (m_CORE2I7): Removed.
59 (m_CORE_HASWELL): New macro.
60 (m_CORE_ALL): Likewise.
61 (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
62 (initial_ix86_arch_features): Likewise.
63 (processor_target_table): Initializations for Core avx2.
64 (cpu_names): New names "core-avx2".
65 (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
66 PROCESSOR_CORE_HASWELL.
67 (ix86_issue_rate): New case.
68 (ia32_multipass_dfa_lookahead): Likewise.
69 (ix86_sched_init_global): Likewise.
71 * config/i386/i386.h (TARGET_HASWELL): New macro.
72 (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
73 (processor_type): New PROCESSOR_HASWELL.
75 2013-01-15 Jakub Jelinek <jakub@redhat.com>
77 PR tree-optimization/55955
78 * tree-vect-loop.c (vectorizable_reduction): Give up early on
79 *SHIFT_EXPR and *ROTATE_EXPR codes.
81 PR tree-optimization/48766
82 * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
83 -ftrapv disable -fwrapv.
85 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
88 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
89 etc. to 1 and not to __flash.
90 Use LL suffix for __INT24_MAX__ with -mint8.
91 Use ULL suffix for __UINT24_MAX__ with -mint8.
93 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
95 * config/avr/avr-arch.h
96 (struct base_arch_s): Use typedef avr_arch_t instead.
97 (struct arch_info_s): Use typedef avr_arch_info_t instead.
98 (struct mcu_type_s): Use typedef avr_mcu_t instead.
99 * config/avr/avr.c: Same.
100 * config/avr/avr-devices.c: Same.
101 * config/avr/driver-avr.c: Same.
102 * config/avr/gen-avr-mmcu-texi.c: Same.
103 * config/avr/avr-mcus.def: Adjust comment.
105 2013-01-14 Tejas Belagod <tejas.belagod@arm.com>
107 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
108 * config/aarch64/iterators.md (VALLDI): New.
110 2012-01-14 Uros Bizjak <ubizjak@gmail.com>
111 Andi Kleen <ak@linux.intel.com>
114 * config/i386/sync.md (atomic_store<mode>_1): New pattern.
115 (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
118 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
120 * config/avr/avr-stdint.h: Remove trailing blanks.
121 * config/avr/avr-log.h: Same.
122 * config/avr/avr-arch.h: Same.
123 * config/avr/avr-devices.c: Same.
124 * config/avr/avr-dimode.md: Same.
125 * config/avr/predicates.md: Same.
126 * config/avr/avr-c.c: Same. And fix typo.
128 * config/avr/avr-protos.h: Same. And:
129 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
130 (init_cumulative_args): Rename to avr_init_cumulative_args.
131 (expand_prologue): Rename to avr_expand_prologue.
132 (expand_epilogue): Rename to avr_expand_epilogue.
133 (adjust_insn_length): Rename to avr_adjust_insn_length.
134 (notice_update_cc): Rename to avr_notice_update_cc.
135 (final_prescan_insn): Rename to avr_final_prescan_insn.
136 * config/avr/avr.c: Same.
137 * config/avr/avr.h: Same.
138 * config/avr/avr.md: Remove trailing blanks.
139 (prologue): Use avr_expand_prologue.
140 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
142 2013-01-14 Richard Biener <rguenther@suse.de>
144 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
145 verify_location, collect_subblocks): New functions.
146 (verify_gimple_in_cfg): Verify that locations only reference
147 BLOCKs in the functions BLOCK tree.
149 2013-01-14 Richard Biener <rguenther@suse.de>
151 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
153 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
155 (insert_out_of_ssa_copy_on_edge): Likewise.
156 (rewrite_close_phi_out_of_ssa): Likewise.
157 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
159 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
160 propagated constants.
161 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
164 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
166 * config/avr/avr-modes.def: Add GPL copyright notice.
168 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
170 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
171 MEMMODEL_MASK to determine memory model.
172 (atomic_store<mode>): Ditto from operands[2].
173 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
175 2013-01-13 Jakub Jelinek <jakub@redhat.com>
178 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
179 (fold_gimple_assign): Don't call unshare_expr here.
180 (fold_ctor_reference): Call unshare_expr.
182 2013-01-13 Terry Guo <terry.guo@arm.com>
184 * gcc/Makefile.in (s-mlib): New argument MULTILIB_REUSE.
185 * gcc/doc/fragments.texi: Document MULTILIB_REUSE.
186 * gcc/gcc.c (multilib_reuse): New internal spec.
187 (set_multilib_dir): Also search multilib from multilib_reuse.
188 * gcc/genmultilib (tmpmultilib3): Refactor code.
189 (tmpmultilib4): Ditto.
190 (multilib_reuse): New multilib argument.
192 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
194 * Makefile.in: Update copyright.
196 2013-01-12 Tom de Vries <tom@codesourcery.com>
199 * calls.c (expand_call): Check if arg_nr is valid.
201 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
203 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
204 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
205 documentation. Add missing '__' in front of
206 __builtin_ia32_packssdw256.
208 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
211 * config/s390/s390.c (s390_preferred_reload_class): Do not return
212 NO_REGS for larl operands.
213 (s390_reload_larl_operand): Use s390_load_address instead of
216 2013-01-11 Richard Biener <rguenther@suse.de>
218 * tree-cfg.c (verify_node_sharing_1): Split out from ...
219 (verify_node_sharing): ... here.
220 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
222 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
224 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
225 Substitute TREECHECKING.
226 * configure: Regenerate.
227 * Makefile.in (TREECHECKING): New.
229 2012-01-11 Richard Guenther <rguenther@suse.de>
231 PR tree-optimization/44061
232 * tree-vrp.c (extract_range_basic): Compute zero as
233 value-range for __builtin_constant_p of function parameters.
235 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
237 Update copyright years.
239 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
241 PR rtl-optimization/55672
242 * lra-eliminations.c (mark_not_eliminable): Permit addition with
243 const to be eliminable.
245 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
247 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
248 * configure: Regenerate.
250 2013-01-10 Richard Biener <rguenther@suse.de>
252 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
254 2013-01-10 Richard Biener <rguenther@suse.de>
257 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
258 locations for virtual PHI arguments.
259 (rewrite_update_phi_arguments): Likewise.
261 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
263 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
266 2013-01-10 Jakub Jelinek <jakub@redhat.com>
268 PR tree-optimization/55921
269 * tree-complex.c (expand_complex_asm): New function.
270 (expand_complex_operations_1): Call it for GIMPLE_ASM.
272 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
275 * config/s390/s390.c (s390_symref_operand_p)
276 (s390_loadrelative_operand_p): Merge the two functions.
277 (s390_check_qrst_address, print_operand_address): Add parameters
278 to s390_loadrelative_operand_p invokation.
279 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
280 (s390_reload_larl_operand, s390_secondary_reload): Use
281 s390_loadrelative_operand_p instead of s390_symref_operand_p.
282 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
284 2013-01-09 Mike Stump <mikestump@comcast.net>
286 * dse.c (record_store): Remove unnecessary assert.
288 2013-01-09 Jan Hubicka <jh@suse.cz>
290 PR tree-optimization/55569
291 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
292 * cfgloop.h (scale_loop_profile): Likewise.
294 2013-01-09 Jan Hubicka <jh@suse.cz>
297 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
299 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
301 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
304 * expr.h (maybe_emit_group_store): Declare.
305 * expr.c (maybe_emit_group_store): New function.
306 * builtins.c (expand_builtin_int_roundingfn): Call it.
307 (expand_builtin_int_roundingfn_2): Likewise.
309 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
311 PR rtl-optimization/55829
312 * lra-constraints.c (match_reload): Add code for absent output.
313 (curr_insn_transform): Add code for reloads of matched inputs
316 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
318 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
319 attribute of movddup insn to DF.
320 (*vec_interleave_lowv2df): Ditto.
321 (vec_dupv2df): Ditto.
323 2013-01-09 Jan Hubicka <jh@suse.cz>
325 PR tree-optimiation/55875
326 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
327 EVERY_ITERATION parameter.
328 (number_of_iterations_exit): Check if exit is executed every iteration.
329 (idx_infer_loop_bounds): Similarly here.
330 (n_of_executions_at_most): Simplify
331 to only test for cases where statement is dominated by the
332 particular bound; handle correctly the "postdominance" test.
333 (scev_probably_wraps_p): Use max loop iterations info
334 as a global bound first.
336 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
337 Nick Clifton <nickc@redhat.com>
339 * config/v850/v850.md (cbranchsf4): New pattern.
340 (cstoresf4): New pattern.
341 (cbranchdf4): New pattern.
342 (cstoredf4): New pattern.
343 (movsicc): Disallow floating point comparisons.
344 (cmpsf_le_insn): Fix order of operators.
345 (cmpsf_lt_insn): Likewise.
346 (cmpsf_eq_insn): Likewise.
347 (cmpdf_le_insn): Likewise.
348 (cmpdf_lt_insn): Likewise.
349 (cmpdf_eq_insn): Likewise.
350 (cmpsf_ge_insn): Use LE comparison.
351 (cmpdf_ge_insn): Likewise.
352 (cmpsf_gt_insn): Use LT comparison.
353 (cmpdf_gt_insn): Likewise.
354 (cmpsf_ne_insn): Delete pattern.
355 (cmpdf_ne_insn): Delete pattern.
356 * config/v850/v850.c (v850_gen_float_compare): Use
357 gen_cmpdf_eq_insn for NE comparison.
358 (v850_float_z_comparison_operator)
359 (v850_float_nz_comparison_operator): Move from here ...
360 * config/v850/predicates.md: ... to here. Move GT and GE
361 comparisons into v850_float_z_comparison_operator.
362 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
364 (v850_float_nz_comparison_operator): Likewise.
366 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
368 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
369 with calls to gen_insvsi/gen_insvdi.
371 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
373 * config/i386/i386.c (initial_ix86_tune_features): Set up
374 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
376 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
377 Jakub Jelinek <jakub@redhat.com>
379 PR tree-optimization/48189
380 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
381 If nitercst is 0, don't predict the exit edge.
383 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
385 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
386 in asm_fprintf with reg_names.
387 (aarch64_print_operand_address): Likewise.
388 (aarch64_return_addr): Likewise.
389 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
391 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
393 * config/pa/pa.h (VAL_U6_BITS_P): Define.
394 (INT_U6_BITS): Likewise.
395 * config/pa/predicates.md (uint6_operand): New predicate.
396 (shift5_operand, shift6_operand): Likewise.
397 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
399 (lshrdi3): Use shift6_operand.
400 (shrpsi4, shrpdi4): New insn patterns.
401 (extzv): Delete expander.
402 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
403 predicates in unamed zero extract patterns. Tighten common constraint.
404 (extv): Delete expander.
405 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
406 predicates in unamed sign extract patterns. Tighten common constraint.
407 (insv): Delete expander.
408 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
409 predicates in unamed insert patterns. Tighten common constraint.
410 Change uint32_operand predicate to uint6_operand predicate in unamed
411 DImode pattern to insert constant values of type 1...1xxxx.
413 2013-01-04 Jan Hubicka <jh@suse.cz>
415 PR tree-optimization/55823
416 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
419 2012-01-08 Jakub Jelinek <jakub@redhat.com>
420 Uros Bizjak <ubizjak@gmail.com>
422 PR rtl-optimization/55845
423 * df-problems.c (can_move_insns_across): Stop scanning at
424 volatile_insn_p source instruction or give up if
425 across_from .. across_to range contains any volatile_insn_p
428 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
430 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
431 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
433 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
434 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
436 2013-01-08 Jakub Jelinek <jakub@redhat.com>
439 * asan.c (asan_clear_shadow): New function.
440 (asan_emit_stack_protection): Use it.
442 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
444 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
445 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
446 with tab instead of space.
448 2013-01-08 Nick Clifton <nickc@redhat.com>
450 * config/rl78/rl78.c (rl78_expand_prologue): Always select
451 register bank 0 at the start of an interrupt handler.
452 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
455 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
457 * config/aarch64/aarch64-simd.md
458 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
459 (aarch64_simd_bsl): Likewise.
460 (aarch64_vcond_internal<mode>): Likewise.
461 (vcond<mode><mode>): Likewise.
462 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
463 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
465 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
467 * config/aarch64/aarch64-builtins.c
468 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
470 2013-01-08 Martin Jambor <mjambor@suse.cz>
473 * tree-sra.c (analyze_access_subtree): Return true also after
474 potentially creating a debug-only replacement.
476 2013-01-08 Jakub Jelinek <jakub@redhat.com>
479 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
481 PR tree-optimization/54120
482 * tree-vrp.c (range_fits_type_p): Don't allow
483 src_precision < precision from signed vr to unsigned_p
484 if vr->min or vr->max is negative.
485 (simplify_float_conversion_using_ranges): Test can_float_p
486 against CODE_FOR_nothing.
488 2013-01-08 Jakub Jelinek <jakub@redhat.com>
489 Richard Biener <rguenther@suse.de>
492 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
493 types instead of just INTEGER_TYPE types.
495 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
497 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
500 2013-01-07 Steve Ellcey <sellcey@mips.com>
503 * config/mips/mips.opt: Change mad to mmad to match documentation.
505 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
508 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
511 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
514 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
515 (avr_addrspace_t): Add .section_name field.
516 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
518 (avr_addrspace): Same. Initialize .section_name. Remove last
519 NULL entry. Put __memx into .progmemx.data.
520 (progmem_section_prefix): Remove.
521 (avr_asm_init_sections): No need to initialize progmem_section.
522 (avr_asm_named_section): Use avr_addrspace[].section_name to get
524 (avr_asm_select_section): Ditto. And use get_unnamed_section to
525 retrieve the progmem section.
526 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
527 boundary to run over avr_addrspace[].
528 (avr_register_target_pragmas): Ditto.
530 2013-01-06 Jakub Jelinek <jakub@redhat.com>
532 * varasm.c (output_constant_def_contents): For asan_protect_global
533 protected strings, adjust DECL_ALIGN if needed, before testing for
535 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
536 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
538 (output_object_block): For asan protected decls, emit asan padding
539 after their contents.
540 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
541 (asan_finish_file): Test it here instead.
543 2013-01-07 Nick Clifton <nickc@redhat.com>
544 Matthias Klose <doko@debian.org>
545 Doug Kwan <dougkwan@google.com>
546 H.J. Lu <hongjiu.lu@intel.com>
549 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
551 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
553 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
555 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
557 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
559 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
562 * doc/install.texi (Cross-Compiler-Specific Options): Document
565 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
567 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
568 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
569 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
570 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
571 vqmovun_high_s64): Fix source operand number and update copyright.
573 2013-01-07 Richard Biener <rguenther@suse.de>
576 * gimple.h (gimple_call_builtin_p): New overload.
577 * gimple.c (validate_call): New function.
578 (gimple_call_builtin_p): Likewise.
579 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
580 Use gimple_call_builtin_p.
581 (find_func_clobbers): Likewise.
582 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
583 (strlen_optimize_stmt): Likewise.
585 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
587 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
588 (vld1q_dup_*): Likewise.
591 (vld1_lane_*): Likewise.
592 (vld1q_lane_*): Likewise.
594 2013-01-07 Richard Biener <rguenther@suse.de>
596 * lto-streamer.h (LTO_minor_version): Bump to 2.
598 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
600 * config/aarch64/aarch64-protos.h
601 (aarch64_const_double_zero_rtx_p): Rename to...
602 (aarch64_float_const_zero_rtx_p): ...this.
603 (aarch64_float_const_representable_p): New.
604 (aarch64_output_simd_mov_immediate): Likewise.
605 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
607 * config/aarch64/aarch64.c
608 (aarch64_const_double_zero_rtx_p): Rename to...
609 (aarch64_float_const_zero_rtx_p): ...this.
610 (aarch64_print_operand): Allow printing of new constants.
611 (aarch64_valid_floating_const): New.
612 (aarch64_legitimate_constant_p): Check for valid floating-point
614 (aarch64_simd_valid_immediate): Likewise.
615 (aarch64_vect_float_const_representable_p): New.
616 (aarch64_float_const_representable_p): Likewise.
617 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
618 (aarch64_output_simd_mov_immediate): New.
619 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
620 (*movdf_aarch64): Likewise.
621 * config/aarch64/constraints.md (Ufc): New.
622 (Y): call aarch64_float_const_zero_rtx.
623 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
625 2013-01-07 Richard Biener <rguenther@suse.de>
627 PR tree-optimization/55888
628 PR tree-optimization/55862
629 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
630 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
631 not if it is contained therein.
633 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
635 * config/avr/t-avr: Typo.
637 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
640 * config/avr/t-avr: Don't automatically rebuild
641 $(srcdir)/config/avr/t-multilib
642 $(srcdir)/config/avr/avr-tables.opt
643 $(srcdir)/doc/avr-mmcu.texi
644 (avr-mcus): New phony target to build them on request.
645 (s-avr-mlib, s-avr-mmcu-texi): Remove.
646 * avr/avr-mcus.def: Adjust comments.
648 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
650 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
652 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
654 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
656 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
658 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
660 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
662 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
663 to generate profiling.
664 * config/rs6000/aix64.h (LIB_SPEC): Same.
666 2013-01-04 Andrew Pinski <apinski@cavium.com>
668 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
670 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
672 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
674 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
676 (ix86_expand_move): Ditto.
677 (ix86_zero_extend_to_Pmode): Ditto.
678 (ix86_expand_call): Ditto.
679 (ix86_expand_special_args_builtin): Ditto.
680 (ix86_expand_builtin): Ditto.
682 2013-01-04 Richard Biener <rguenther@suse.de>
684 PR tree-optimization/55862
685 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
686 translating them through PHI nodes.
688 2013-01-04 Martin Jambor <mjambor@suse.cz>
690 PR tree-optimization/55755
691 * tree-sra.c (sra_modify_assign): Do not check that an access has no
692 children when trying to avoid producing a VIEW_CONVERT_EXPR.
694 2013-01-04 Marek Polacek <polacek@redhat.com>
697 * opts.c (default_options_optimization): Clarify error message.
699 2013-01-04 Richard Biener <rguenther@suse.de>
702 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
705 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
708 * config/pa/pa.md (movsi): Revert previous change.
709 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
712 2013-01-03 Richard Henderson <rth@redhat.com>
714 * config/i386/i386.c (ix86_expand_move): Always assign to op1
715 after eliminating TLS symbols.
717 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
720 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
721 * graphite-poly.c (debug_gmp_value): Likewise.
723 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
726 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
727 selected code model, define __code_mode_small__, __code_model_medium__,
728 __code_model_large__, __code_model_32__ or __code_model_kernel__.
729 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
730 xchg temporary register with %k. Declare temporary register as
732 [__x86_64__]: For medium and large code models, preserve %rbx register.
734 2013-01-03 Richard Biener <rguenther@suse.de>
736 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
737 (dump_subscript): Adjust.
738 (finalize_ddr_dependent): Do not dump redundant info.
739 (analyze_siv_subscript): Adjust.
740 (subscript_dependence_tester): Likewise.
741 (compute_affine_dependence): Likewise.
743 2013-01-03 Richard Biener <rguenther@suse.de>
746 2013-01-03 Richard Biener <rguenther@suse.de>
748 PR tree-optimization/55857
749 * tree-vect-stmts.c (vectorizable_load): Do not setup
750 re-alignment for invariant loads.
752 2013-01-02 Richard Biener <rguenther@suse.de>
754 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
755 invariant load do not generate a vector load from the scalar location.
757 2013-01-03 Richard Biener <rguenther@suse.de>
759 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
761 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
762 not build INDIRECT_REFs, call get_name once only.
763 (vect_create_data_ref_ptr): Likewise. Dump base object kind
764 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
766 2013-01-03 Richard Biener <rguenther@suse.de>
768 PR tree-optimization/55857
769 * tree-vect-stmts.c (vectorizable_load): Do not setup
770 re-alignment for invariant loads.
772 2013-01-03 Richard Biener <rguenther@suse.de>
775 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
776 prefer a built-in decl.
778 2013-01-03 Jakub Jelinek <jakub@redhat.com>
780 * gcc.c (process_command): Update copyright notice dates.
781 * gcov.c (print_version): Likewise.
782 * gcov-dump.c (print_version): Likewise.
784 PR rtl-optimization/55838
785 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
786 iv0.step, iv1.step and step.
788 2013-01-03 Jakub Jelinek <jakub@redhat.com>
789 Marc Glisse <marc.glisse@inria.fr>
791 PR tree-optimization/55832
792 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
793 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
794 integer_{one,zero}_node.
796 2013-01-03 Jakub Jelinek <jakub@redhat.com>
799 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
800 * var-tracking.c (reverse_op): Don't add reverse ops to
801 VALUEs that have already
802 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
804 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
806 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
808 2013-01-02 Teresa Johnson <tejohnson@google.com>
810 * dumpfile.c (dump_loc): Print filename with location.
811 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
812 new location_t parameter to emit complete unroll message with
814 (canonicalize_loop_induction_variables): Compute loops location
815 and pass to try_unroll_loop_completely.
816 * loop-unroll.c (report_unroll_peel): New function.
817 (peel_loops_completely): Use new dump format with location
818 for main dumpfile message, and invoke report_unroll_peel on success.
819 (decide_unrolling_and_peeling): Ditto.
820 (decide_peel_once_rolling): Remove old dumpfile message subsumed
821 by report_unroll_peel.
822 (decide_peel_completely): Ditto.
823 (decide_unroll_constant_iterations): Ditto.
824 (decide_unroll_runtime_iterations): Ditto.
825 (decide_peel_simple): Ditto.
826 (decide_unroll_stupid): Ditto.
827 * cfgloop.c (get_loop_location): New function.
828 * cfgloop.h (get_loop_location): Declare.
830 2013-01-02 Sriraman Tallam <tmsriram@google.com>
832 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
835 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
838 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
839 BLKmode objects when EXPAND_MEMORY is specified.
841 2013-01-02 Sriraman Tallam <tmsriram@google.com>
843 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
845 (fold_builtin_cpu): Do not share cpu model decls across statements.
847 2013-01-02 Jason Merrill <jason@redhat.com>
850 * tree.c (build_array_type_1): Revert earlier change.
852 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
854 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
856 * config/aarch64/aarch64-tune.md: Re-generate.
858 2013-01-02 Richard Biener <rguenther@suse.de>
860 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
861 invariant load do not generate a vector load from the scalar location.
863 2013-01-02 Richard Biener <rguenther@suse.de>
866 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
867 * configure: Regenerate.
869 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
871 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
872 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
873 (expand_builtin_int_roundingfn_2): Keep the original target around
874 for the fallback case.
876 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
878 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
879 to be clear for sign changes.
881 2013-01-01 Jan Hubicka <jh@suse.cz>
883 * ipa-inline-analysis.c: Fix formatting.
885 2013-01-01 Jakub Jelinek <jakub@redhat.com>
887 PR tree-optimization/55831
888 * tree-vect-loop.c (get_initial_def_for_induction): Use
889 gsi_after_labels instead of gsi_start_bb.
891 Copyright (C) 2013 Free Software Foundation, Inc.
893 Copying and distribution of this file, with or without modification,
894 are permitted in any medium without royalty provided the copyright
895 notice and this notice are preserved.