1 2013-01-14 Richard Biener <rguenther@suse.de>
3 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
4 verify_location, collect_subblocks): New functions.
5 (verify_gimple_in_cfg): Verify that locations only reference
6 BLOCKs in the functions BLOCK tree.
8 2013-01-14 Richard Biener <rguenther@suse.de>
10 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
12 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
14 (insert_out_of_ssa_copy_on_edge): Likewise.
15 (rewrite_close_phi_out_of_ssa): Likewise.
16 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
18 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
20 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
23 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
25 * config/avr/avr-modes.def: Add GPL copyright notice.
27 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
29 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
30 MEMMODEL_MASK to determine memory model.
31 (atomic_store<mode>): Ditto from operands[2].
32 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
34 2013-01-13 Jakub Jelinek <jakub@redhat.com>
37 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
38 (fold_gimple_assign): Don't call unshare_expr here.
39 (fold_ctor_reference): Call unshare_expr.
41 2013-01-13 Terry Guo <terry.guo@arm.com>
43 * gcc/Makefile.in (s-mlib): New argument MULTILIB_REUSE.
44 * gcc/doc/fragments.texi: Document MULTILIB_REUSE.
45 * gcc/gcc.c (multilib_reuse): New internal spec.
46 (set_multilib_dir): Also search multilib from multilib_reuse.
47 * gcc/genmultilib (tmpmultilib3): Refactor code.
48 (tmpmultilib4): Ditto.
49 (multilib_reuse): New multilib argument.
51 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
53 * Makefile.in: Update copyright.
55 2013-01-12 Tom de Vries <tom@codesourcery.com>
58 * calls.c (expand_call): Check if arg_nr is valid.
60 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
62 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
63 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
64 documentation. Add missing '__' in front of
65 __builtin_ia32_packssdw256.
67 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70 * config/s390/s390.c (s390_preferred_reload_class): Do not return
71 NO_REGS for larl operands.
72 (s390_reload_larl_operand): Use s390_load_address instead of
75 2013-01-11 Richard Biener <rguenther@suse.de>
77 * tree-cfg.c (verify_node_sharing_1): Split out from ...
78 (verify_node_sharing): ... here.
79 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
81 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
83 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
84 Substitute TREECHECKING.
85 * configure: Regenerate.
86 * Makefile.in (TREECHECKING): New.
88 2012-01-11 Richard Guenther <rguenther@suse.de>
90 PR tree-optimization/44061
91 * tree-vrp.c (extract_range_basic): Compute zero as
92 value-range for __builtin_constant_p of function parameters.
94 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
96 Update copyright years.
98 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
100 PR rtl-optimization/55672
101 * lra-eliminations.c (mark_not_eliminable): Permit addition with
102 const to be eliminable.
104 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
106 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
107 * configure: Regenerate.
109 2013-01-10 Richard Biener <rguenther@suse.de>
111 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
113 2013-01-10 Richard Biener <rguenther@suse.de>
116 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
117 locations for virtual PHI arguments.
118 (rewrite_update_phi_arguments): Likewise.
120 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
122 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
125 2013-01-10 Jakub Jelinek <jakub@redhat.com>
127 PR tree-optimization/55921
128 * tree-complex.c (expand_complex_asm): New function.
129 (expand_complex_operations_1): Call it for GIMPLE_ASM.
131 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
134 * config/s390/s390.c (s390_symref_operand_p)
135 (s390_loadrelative_operand_p): Merge the two functions.
136 (s390_check_qrst_address, print_operand_address): Add parameters
137 to s390_loadrelative_operand_p invokation.
138 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
139 (s390_reload_larl_operand, s390_secondary_reload): Use
140 s390_loadrelative_operand_p instead of s390_symref_operand_p.
141 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
143 2013-01-09 Mike Stump <mikestump@comcast.net>
145 * dse.c (record_store): Remove unnecessary assert.
147 2013-01-09 Jan Hubicka <jh@suse.cz>
149 PR tree-optimization/55569
150 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
151 * cfgloop.h (scale_loop_profile): Likewise.
153 2013-01-09 Jan Hubicka <jh@suse.cz>
156 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
158 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
160 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
163 * expr.h (maybe_emit_group_store): Declare.
164 * expr.c (maybe_emit_group_store): New function.
165 * builtins.c (expand_builtin_int_roundingfn): Call it.
166 (expand_builtin_int_roundingfn_2): Likewise.
168 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
170 PR rtl-optimization/55829
171 * lra-constraints.c (match_reload): Add code for absent output.
172 (curr_insn_transform): Add code for reloads of matched inputs
175 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
177 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
178 attribute of movddup insn to DF.
179 (*vec_interleave_lowv2df): Ditto.
180 (vec_dupv2df): Ditto.
182 2013-01-09 Jan Hubicka <jh@suse.cz>
184 PR tree-optimiation/55875
185 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
186 EVERY_ITERATION parameter.
187 (number_of_iterations_exit): Check if exit is executed every iteration.
188 (idx_infer_loop_bounds): Similarly here.
189 (n_of_executions_at_most): Simplify
190 to only test for cases where statement is dominated by the
191 particular bound; handle correctly the "postdominance" test.
192 (scev_probably_wraps_p): Use max loop iterations info
193 as a global bound first.
195 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
196 Nick Clifton <nickc@redhat.com>
198 * config/v850/v850.md (cbranchsf4): New pattern.
199 (cstoresf4): New pattern.
200 (cbranchdf4): New pattern.
201 (cstoredf4): New pattern.
202 (movsicc): Disallow floating point comparisons.
203 (cmpsf_le_insn): Fix order of operators.
204 (cmpsf_lt_insn): Likewise.
205 (cmpsf_eq_insn): Likewise.
206 (cmpdf_le_insn): Likewise.
207 (cmpdf_lt_insn): Likewise.
208 (cmpdf_eq_insn): Likewise.
209 (cmpsf_ge_insn): Use LE comparison.
210 (cmpdf_ge_insn): Likewise.
211 (cmpsf_gt_insn): Use LT comparison.
212 (cmpdf_gt_insn): Likewise.
213 (cmpsf_ne_insn): Delete pattern.
214 (cmpdf_ne_insn): Delete pattern.
215 * config/v850/v850.c (v850_gen_float_compare): Use
216 gen_cmpdf_eq_insn for NE comparison.
217 (v850_float_z_comparison_operator)
218 (v850_float_nz_comparison_operator): Move from here ...
219 * config/v850/predicates.md: ... to here. Move GT and GE
220 comparisons into v850_float_z_comparison_operator.
221 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
223 (v850_float_nz_comparison_operator): Likewise.
225 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
227 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
228 with calls to gen_insvsi/gen_insvdi.
230 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
232 * config/i386/i386.c (initial_ix86_tune_features): Set up
233 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
235 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
236 Jakub Jelinek <jakub@redhat.com>
238 PR tree-optimization/48189
239 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
240 If nitercst is 0, don't predict the exit edge.
242 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
244 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
245 in asm_fprintf with reg_names.
246 (aarch64_print_operand_address): Likewise.
247 (aarch64_return_addr): Likewise.
248 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
250 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
252 * config/pa/pa.h (VAL_U6_BITS_P): Define.
253 (INT_U6_BITS): Likewise.
254 * config/pa/predicates.md (uint6_operand): New predicate.
255 (shift5_operand, shift6_operand): Likewise.
256 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
258 (lshrdi3): Use shift6_operand.
259 (shrpsi4, shrpdi4): New insn patterns.
260 (extzv): Delete expander.
261 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
262 predicates in unamed zero extract patterns. Tighten common constraint.
263 (extv): Delete expander.
264 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
265 predicates in unamed sign extract patterns. Tighten common constraint.
266 (insv): Delete expander.
267 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
268 predicates in unamed insert patterns. Tighten common constraint.
269 Change uint32_operand predicate to uint6_operand predicate in unamed
270 DImode pattern to insert constant values of type 1...1xxxx.
272 2013-01-04 Jan Hubicka <jh@suse.cz>
274 PR tree-optimization/55823
275 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
278 2012-01-08 Jakub Jelinek <jakub@redhat.com>
279 Uros Bizjak <ubizjak@gmail.com>
281 PR rtl-optimization/55845
282 * df-problems.c (can_move_insns_across): Stop scanning at
283 volatile_insn_p source instruction or give up if
284 across_from .. across_to range contains any volatile_insn_p
287 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
289 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
290 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
292 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
293 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
295 2013-01-08 Jakub Jelinek <jakub@redhat.com>
298 * asan.c (asan_clear_shadow): New function.
299 (asan_emit_stack_protection): Use it.
301 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
303 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
304 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
305 with tab instead of space.
307 2013-01-08 Nick Clifton <nickc@redhat.com>
309 * config/rl78/rl78.c (rl78_expand_prologue): Always select
310 register bank 0 at the start of an interrupt handler.
311 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
314 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
316 * config/aarch64/aarch64-simd.md
317 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
318 (aarch64_simd_bsl): Likewise.
319 (aarch64_vcond_internal<mode>): Likewise.
320 (vcond<mode><mode>): Likewise.
321 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
322 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
324 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
326 * config/aarch64/aarch64-builtins.c
327 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
329 2013-01-08 Martin Jambor <mjambor@suse.cz>
332 * tree-sra.c (analyze_access_subtree): Return true also after
333 potentially creating a debug-only replacement.
335 2013-01-08 Jakub Jelinek <jakub@redhat.com>
338 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
340 PR tree-optimization/54120
341 * tree-vrp.c (range_fits_type_p): Don't allow
342 src_precision < precision from signed vr to unsigned_p
343 if vr->min or vr->max is negative.
344 (simplify_float_conversion_using_ranges): Test can_float_p
345 against CODE_FOR_nothing.
347 2013-01-08 Jakub Jelinek <jakub@redhat.com>
348 Richard Biener <rguenther@suse.de>
351 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
352 types instead of just INTEGER_TYPE types.
354 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
356 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
359 2013-01-07 Steve Ellcey <sellcey@mips.com>
362 * config/mips/mips.opt: Change mad to mmad to match documentation.
364 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
367 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
370 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
373 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
374 (avr_addrspace_t): Add .section_name field.
375 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
377 (avr_addrspace): Same. Initialize .section_name. Remove last
378 NULL entry. Put __memx into .progmemx.data.
379 (progmem_section_prefix): Remove.
380 (avr_asm_init_sections): No need to initialize progmem_section.
381 (avr_asm_named_section): Use avr_addrspace[].section_name to get
383 (avr_asm_select_section): Ditto. And use get_unnamed_section to
384 retrieve the progmem section.
385 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
386 boundary to run over avr_addrspace[].
387 (avr_register_target_pragmas): Ditto.
389 2013-01-06 Jakub Jelinek <jakub@redhat.com>
391 * varasm.c (output_constant_def_contents): For asan_protect_global
392 protected strings, adjust DECL_ALIGN if needed, before testing for
394 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
395 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
397 (output_object_block): For asan protected decls, emit asan padding
398 after their contents.
399 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
400 (asan_finish_file): Test it here instead.
402 2013-01-07 Nick Clifton <nickc@redhat.com>
403 Matthias Klose <doko@debian.org>
404 Doug Kwan <dougkwan@google.com>
405 H.J. Lu <hongjiu.lu@intel.com>
408 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
410 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
412 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
414 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
416 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
418 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
421 * doc/install.texi (Cross-Compiler-Specific Options): Document
424 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
426 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
427 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
428 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
429 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
430 vqmovun_high_s64): Fix source operand number and update copyright.
432 2013-01-07 Richard Biener <rguenther@suse.de>
435 * gimple.h (gimple_call_builtin_p): New overload.
436 * gimple.c (validate_call): New function.
437 (gimple_call_builtin_p): Likewise.
438 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
439 Use gimple_call_builtin_p.
440 (find_func_clobbers): Likewise.
441 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
442 (strlen_optimize_stmt): Likewise.
444 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
446 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
447 (vld1q_dup_*): Likewise.
450 (vld1_lane_*): Likewise.
451 (vld1q_lane_*): Likewise.
453 2013-01-07 Richard Biener <rguenther@suse.de>
455 * lto-streamer.h (LTO_minor_version): Bump to 2.
457 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
459 * config/aarch64/aarch64-protos.h
460 (aarch64_const_double_zero_rtx_p): Rename to...
461 (aarch64_float_const_zero_rtx_p): ...this.
462 (aarch64_float_const_representable_p): New.
463 (aarch64_output_simd_mov_immediate): Likewise.
464 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
466 * config/aarch64/aarch64.c
467 (aarch64_const_double_zero_rtx_p): Rename to...
468 (aarch64_float_const_zero_rtx_p): ...this.
469 (aarch64_print_operand): Allow printing of new constants.
470 (aarch64_valid_floating_const): New.
471 (aarch64_legitimate_constant_p): Check for valid floating-point
473 (aarch64_simd_valid_immediate): Likewise.
474 (aarch64_vect_float_const_representable_p): New.
475 (aarch64_float_const_representable_p): Likewise.
476 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
477 (aarch64_output_simd_mov_immediate): New.
478 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
479 (*movdf_aarch64): Likewise.
480 * config/aarch64/constraints.md (Ufc): New.
481 (Y): call aarch64_float_const_zero_rtx.
482 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
484 2013-01-07 Richard Biener <rguenther@suse.de>
486 PR tree-optimization/55888
487 PR tree-optimization/55862
488 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
489 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
490 not if it is contained therein.
492 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
494 * config/avr/t-avr: Typo.
496 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
499 * config/avr/t-avr: Don't automatically rebuild
500 $(srcdir)/config/avr/t-multilib
501 $(srcdir)/config/avr/avr-tables.opt
502 $(srcdir)/doc/avr-mmcu.texi
503 (avr-mcus): New phony target to build them on request.
504 (s-avr-mlib, s-avr-mmcu-texi): Remove.
505 * avr/avr-mcus.def: Adjust comments.
507 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
509 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
511 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
513 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
515 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
517 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
519 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
521 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
522 to generate profiling.
523 * config/rs6000/aix64.h (LIB_SPEC): Same.
525 2013-01-04 Andrew Pinski <apinski@cavium.com>
527 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
529 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
531 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
533 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
535 (ix86_expand_move): Ditto.
536 (ix86_zero_extend_to_Pmode): Ditto.
537 (ix86_expand_call): Ditto.
538 (ix86_expand_special_args_builtin): Ditto.
539 (ix86_expand_builtin): Ditto.
541 2013-01-04 Richard Biener <rguenther@suse.de>
543 PR tree-optimization/55862
544 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
545 translating them through PHI nodes.
547 2013-01-04 Martin Jambor <mjambor@suse.cz>
549 PR tree-optimization/55755
550 * tree-sra.c (sra_modify_assign): Do not check that an access has no
551 children when trying to avoid producing a VIEW_CONVERT_EXPR.
553 2013-01-04 Marek Polacek <polacek@redhat.com>
556 * opts.c (default_options_optimization): Clarify error message.
558 2013-01-04 Richard Biener <rguenther@suse.de>
561 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
564 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
567 * config/pa/pa.md (movsi): Revert previous change.
568 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
571 2013-01-03 Richard Henderson <rth@redhat.com>
573 * config/i386/i386.c (ix86_expand_move): Always assign to op1
574 after eliminating TLS symbols.
576 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
579 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
580 * graphite-poly.c (debug_gmp_value): Likewise.
582 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
585 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
586 selected code model, define __code_mode_small__, __code_model_medium__,
587 __code_model_large__, __code_model_32__ or __code_model_kernel__.
588 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
589 xchg temporary register with %k. Declare temporary register as
591 [__x86_64__]: For medium and large code models, preserve %rbx register.
593 2013-01-03 Richard Biener <rguenther@suse.de>
595 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
596 (dump_subscript): Adjust.
597 (finalize_ddr_dependent): Do not dump redundant info.
598 (analyze_siv_subscript): Adjust.
599 (subscript_dependence_tester): Likewise.
600 (compute_affine_dependence): Likewise.
602 2013-01-03 Richard Biener <rguenther@suse.de>
605 2013-01-03 Richard Biener <rguenther@suse.de>
607 PR tree-optimization/55857
608 * tree-vect-stmts.c (vectorizable_load): Do not setup
609 re-alignment for invariant loads.
611 2013-01-02 Richard Biener <rguenther@suse.de>
613 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
614 invariant load do not generate a vector load from the scalar location.
616 2013-01-03 Richard Biener <rguenther@suse.de>
618 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
620 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
621 not build INDIRECT_REFs, call get_name once only.
622 (vect_create_data_ref_ptr): Likewise. Dump base object kind
623 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
625 2013-01-03 Richard Biener <rguenther@suse.de>
627 PR tree-optimization/55857
628 * tree-vect-stmts.c (vectorizable_load): Do not setup
629 re-alignment for invariant loads.
631 2013-01-03 Richard Biener <rguenther@suse.de>
634 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
635 prefer a built-in decl.
637 2013-01-03 Jakub Jelinek <jakub@redhat.com>
639 * gcc.c (process_command): Update copyright notice dates.
640 * gcov.c (print_version): Likewise.
641 * gcov-dump.c (print_version): Likewise.
643 PR rtl-optimization/55838
644 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
645 iv0.step, iv1.step and step.
647 2013-01-03 Jakub Jelinek <jakub@redhat.com>
648 Marc Glisse <marc.glisse@inria.fr>
650 PR tree-optimization/55832
651 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
652 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
653 integer_{one,zero}_node.
655 2013-01-03 Jakub Jelinek <jakub@redhat.com>
658 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
659 * var-tracking.c (reverse_op): Don't add reverse ops to
660 VALUEs that have already
661 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
663 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
665 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
667 2013-01-02 Teresa Johnson <tejohnson@google.com>
669 * dumpfile.c (dump_loc): Print filename with location.
670 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
671 new location_t parameter to emit complete unroll message with
673 (canonicalize_loop_induction_variables): Compute loops location
674 and pass to try_unroll_loop_completely.
675 * loop-unroll.c (report_unroll_peel): New function.
676 (peel_loops_completely): Use new dump format with location
677 for main dumpfile message, and invoke report_unroll_peel on success.
678 (decide_unrolling_and_peeling): Ditto.
679 (decide_peel_once_rolling): Remove old dumpfile message subsumed
680 by report_unroll_peel.
681 (decide_peel_completely): Ditto.
682 (decide_unroll_constant_iterations): Ditto.
683 (decide_unroll_runtime_iterations): Ditto.
684 (decide_peel_simple): Ditto.
685 (decide_unroll_stupid): Ditto.
686 * cfgloop.c (get_loop_location): New function.
687 * cfgloop.h (get_loop_location): Declare.
689 2013-01-02 Sriraman Tallam <tmsriram@google.com>
691 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
694 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
697 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
698 BLKmode objects when EXPAND_MEMORY is specified.
700 2013-01-02 Sriraman Tallam <tmsriram@google.com>
702 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
704 (fold_builtin_cpu): Do not share cpu model decls across statements.
706 2013-01-02 Jason Merrill <jason@redhat.com>
709 * tree.c (build_array_type_1): Revert earlier change.
711 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
713 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
715 * config/aarch64/aarch64-tune.md: Re-generate.
717 2013-01-02 Richard Biener <rguenther@suse.de>
719 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
720 invariant load do not generate a vector load from the scalar location.
722 2013-01-02 Richard Biener <rguenther@suse.de>
725 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
726 * configure: Regenerate.
728 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
730 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
731 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
732 (expand_builtin_int_roundingfn_2): Keep the original target around
733 for the fallback case.
735 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
737 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
738 to be clear for sign changes.
740 2013-01-01 Jan Hubicka <jh@suse.cz>
742 * ipa-inline-analysis.c: Fix formatting.
744 2013-01-01 Jakub Jelinek <jakub@redhat.com>
746 PR tree-optimization/55831
747 * tree-vect-loop.c (get_initial_def_for_induction): Use
748 gsi_after_labels instead of gsi_start_bb.
750 Copyright (C) 2013 Free Software Foundation, Inc.
752 Copying and distribution of this file, with or without modification,
753 are permitted in any medium without royalty provided the copyright
754 notice and this notice are preserved.