1 2013-02-01 Eric Botcazou <ebotcazou@adacore.com>
3 * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the
4 range isn't testing for zero.
6 2013-01-31 Steven Bosscher <steven@gcc.gnu.org>
9 * fwprop.c (fwprop_init): Set up loops without CFG modifications.
11 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com>
12 Nick Clifton <nickc@redhat.com>
14 * config/v850/constraints.md (Q): Define as a memory constraint.
15 * config/v850/predicates.md (label_ref_operand): New predicate.
16 (e3v5_shift_operand): New predicate.
17 (ior_operator): New predicate.
18 * config/v850/t-v850: Add e3v5 multilib.
19 * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype.
20 (v850_gen_movdi): Prototype.
21 * config/v850/v850.c: Add support for e3v5 architecture.
22 Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to
24 (construct_save_jarl): Add e3v5 long JARL support.
25 (v850_adjust_insn_length): New function. Adjust length of call
26 insns when using e3v5 instructions.
27 (v850_gen_movdi): New function: Generate instructions to move a
29 * config/v850/v850.h (TARGET_CPU_v850e3v5): Define.
30 (CPP_SPEC): Define __v850e3v5__ as appropriate.
31 (TARGET_USE_FPU): Enable for e3v5.
32 (CONST_OK_FOR_W): New macro.
33 (ADJUST_INSN_LENGTH): Define.
34 * config/v850/v850.md (UNSPEC_LOOP): Define.
35 (attr cpu): Add v850e3v5.
36 Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP.
38 (movdi_internal): New pattern.
39 (cbranchsf4): Conditionalize on TARGET_USE_FPU.
40 (cbranchdf4): Conditionalize on TARGET_USE_FPU.
41 (cstoresf4): Likewise.
42 (cstoredf4): Likewise.
44 (rotlso3_a): New pattern.
45 (rotlsi3_b): New pattern
46 (rotlsi3_v850e3v5): New pattern.
47 (doloop_begin): New pattern.
48 (fix_loop_counter): New pattern.
49 (doloop_end): New pattern.
50 (branch_normal): Add e3v5 long branch support.
51 (branch_invert): Likewise.
52 (branch_z_normal): Likewise.
53 (branch_z_invert): Likewise.
54 (branch_nz_normal): Likewise.
55 (branch_nz_invert): Likewise.
56 (call_internal_short): Add e3v5 register-indirect JARL support.
57 (call_internal_long): Likewise.
58 (call_value_internal_short): Likewise.
59 (call_value_internal_long): Likewise.
60 * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options.
62 * config.gcc: Add support for configuring v840e3v5 target.
63 * doc/invoke.texi: Document new v850 specific command line
66 2013-01-31 Paul Koning <ni1d@arrl.net>
70 * dwarf2out.c (prune_unused_types_mark): Mark all of parent's
71 children if parent is a class.
72 (prune_unused_types_prune): Don't add DW_AT_declaration.
74 2013-01-31 Richard Biener <rguenther@suse.de>
76 PR tree-optimization/56157
77 * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to
78 match up operand with SLP child.
80 2013-01-31 Jason Merrill <jason@redhat.com>
83 * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template
84 parameters the first time.
85 (gen_scheduled_generic_parms_dies): Check completeness here.
87 2013-01-31 Richard Biener <rguenther@suse.de>
90 * common.opt (faggressive-loop-optimizations): New flag,
92 * doc/invoke.texi (faggressive-loop-optimizations): Document.
93 * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard
94 infer_loop_bounds_from_undefined by it.
96 2013-01-31 Richard Biener <rguenther@suse.de>
98 PR tree-optimization/56150
99 * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not
100 visit virtual operands.
101 (find_uses_to_rename_bb): Likewise.
103 2013-01-31 Richard Biener <rguenther@suse.de>
105 PR tree-optimization/56150
106 * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle
107 mixed store non-store stmts.
109 2013-01-30 Jakub Jelinek <jakub@redhat.com>
112 * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if
113 LIBASAN_EARLY_SPEC is defined.
114 (LIBASAN_EARLY_SPEC): Define to empty string if not already defined.
115 (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address,
117 * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define.
120 * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose
121 invalid args instead of ICEing on it.
122 (ix86_valid_target_attribute_tree): Return error_mark_node if
123 ix86_valid_target_attribute_inner_p failed.
124 (ix86_valid_target_attribute_p): Return false only if
125 ix86_valid_target_attribute_tree returned error_mark_node. Allow
126 target("default") attribute.
127 (sorted_attr_string): Change argument from const char * to tree,
128 merge in all target attribute arguments rather than just one.
129 Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC
130 instead of free. Avoid using strcat.
131 (ix86_mangle_function_version_assembler_name): Mangle
132 target("default") as if no target attribute is present. Adjust
133 sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC
134 instead of xmalloc and XDELETEVEC instead of free.
135 (ix86_function_versions): Don't return true if one of the decls
136 doesn't have target attribute. If they don't and one of the decls
137 is DECL_FUNCTION_VERSIONED, report an error. Adjust
138 sorted_attr_string caller. Use XDELETEVEC instead of free.
139 (ix86_supports_function_versions): Remove.
140 (make_name): Fix up formatting.
141 (make_dispatcher_decl): Remove resolver_name and its initialization.
142 Avoid leaking memory.
143 (is_function_default_version): Return true if there is
144 target("default") attribute rather than no target attribute at all.
145 (make_resolver_func): Avoid leaking memory.
146 (ix86_generate_version_dispatcher_body): Likewise.
147 (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove.
148 * target.def (supports_function_versions): Remove.
149 * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove.
150 * doc/tm.texi: Regenerated.
152 2013-01-30 Vladimir Makarov <vmakarov@redhat.com>
154 PR rtl-optimization/56144
155 * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo
156 for values with side effects.
158 2013-01-30 Richard Biener <rguenther@suse.de>
160 * sparseset.h (sparseset_bit_p): Use gcc_checking_assert.
161 (sparseset_pop): Likewise.
162 * cfganal.c (compute_idf): Likewise. Increase work-stack size
163 to be able to use quick_push in the worker loop.
165 2013-01-30 Marek Polacek <polacek@redhat.com>
167 * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs.
169 2013-01-30 Richard Biener <rguenther@suse.de>
172 * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN
175 2013-01-30 Georg-Johann Lay <avr@gjlay.de>
177 PR tree-optimization/56064
178 * fixed-value.c (fixed_from_double_int): New function.
179 * fixed-value.h (fixed_from_double_int): New prototype.
180 (const_fixed_from_double_int): New static inline function.
181 * fold-const.c (native_interpret_fixed): New static function.
182 (native_interpret_expr) <FIXED_POINT_TYPE>: Use it.
183 (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true.
184 (native_encode_fixed): New static function.
185 (native_encode_expr) <FIXED_CST>: Use it.
186 (native_interpret_int): Move double_int worker code to...
187 * double-int.c (double_int::from_buffer): ...this new static method.
188 * double-int.h (double_int::from_buffer): Prototype it.
190 2013-01-30 Richard Biener <rguenther@suse.de>
192 * tree-ssa-structalias.c (final_solutions, final_solutions_obstack):
193 New pointer-map and obstack.
194 (init_alias_vars): Allocate pointer-map and obstack.
195 (delete_points_to_sets): Free them.
196 (find_what_var_points_to): Cache result.
197 (find_what_p_points_to): Adjust for changed interface of
198 find_what_var_points_to.
199 (compute_points_to_sets): Likewise.
200 (ipa_pta_execute): Likewise.
202 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
204 * configure.ac (HAVE_AS_SPARC_NOBITS): New test.
205 * configure: Regenerate.
206 * config.in: Regenerate.
207 * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit
208 #nobits/#progbits if supported.
210 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org>
213 * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a,
214 bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a,
215 bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition.
217 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
219 * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove.
220 (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all.
222 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
224 * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL.
225 * config/arm/cortex-a7.md (cortex_a7_call): Update required units.
227 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
229 * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New
231 * config/arm/arm.c (arm_mac_accumulator_is_result): New function.
232 * config/arm/cortex-a7.md: New bypasses using
233 arm_mac_accumulator_is_result.
235 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
237 * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation.
238 (cortex_a7_neon_mla): Likewise.
239 (cortex_a7_fpfmad): New reservation.
240 (cortex_a7_fpmacs): Use ffmas and update required units.
241 (cortex_a7_fpmuld): Update required units and latency.
242 (cortex_a7_fpmacd): Likewise.
243 (cortex_a7_fdivs, cortex_a7_fdivd): Likewise.
244 (cortex_a7_neon). Likewise.
245 (bypass) Update participating units.
247 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
249 * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute.
250 * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type
252 * config/arm/vfp11.md (vfp_farith): Use ffmas.
253 (vfp_fmul): Use ffmad.
254 * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas.
255 (cortex_r4_fmacd): Use ffmad.
256 * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas.
257 * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas.
258 (cortex_a9_fmacd): Use ffmad.
259 * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas.
260 (cortex_a8_vfp_macd): Use ffmad.
261 * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas.
262 (cortex_a5_fpmacd): Use ffmad.
263 * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas.
264 (cortex_a15_vfp_macd): Use ffmad.
265 * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad.
267 2013-01-29 Jason Merrill <jason@redhat.com>
270 * varasm.c (default_assemble_visibility): Don't warn about
271 visibility on artificial decls.
273 2013-01-29 Richard Biener <rguenther@suse.de>
275 PR tree-optimization/56113
276 * tree-ssa-structalias.c (equiv_class_lookup): Also return
278 (label_visit): Free duplicate bitmaps and record the leader instead.
279 (perform_var_substitution): Adjust.
281 2013-01-29 Richard Biener <rguenther@suse.de>
283 PR tree-optimization/55270
284 * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed
285 the CFG, schedule loops for fixup.
287 2013-01-29 Nick Clifton <nickc@redhat.com>
289 * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow
292 2013-01-28 Leif Ekblad <leif@rdos.net>
294 * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets.
295 * config/i386/i386.h (TARGET_RDOS): New macro.
296 (DEFAULT_LARGE_SECTION_THRESHOLD): New macro.
297 * config/i386/i386.c (ix86_option_override_internal): For 64bit
298 TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1.
299 * config/i386/i386.opt (mlarge-data-threshold): Initialize to
300 DEFAULT_LARGE_SECTION_THRESHOLD.
301 * config/i386/i386.md (R14_REG, R15_REG): New constants.
302 * config/i386/rdos.h: New file.
303 * config/i386/rdos64.h: New file.
305 2013-01-28 Bernd Schmidt <bernds@codesourcery.com>
308 * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of
311 2013-01-28 Jakub Jelinek <jakub@redhat.com>
313 PR rtl-optimization/56117
314 * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib
315 call cselib_lookup_from_insn on the MEM before calling
316 add_insn_mem_dependence.
318 2013-01-28 Richard Biener <rguenther@suse.de>
320 * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK
321 to a stmt that didn't have one.
322 (copy_phis_for_bb): Likewise for PHI arguments.
323 (copy_debug_stmt): Likewise for debug stmts.
325 2013-01-28 Richard Biener <rguenther@suse.de>
327 PR tree-optimization/56034
328 * tree-loop-distribution.c (enum partition_kind): Add
330 (partition_builtin_p): Adjust.
331 (generate_code_for_partition): Handle PKIND_REDUCTION. Assert
332 it is the last partition.
333 (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking
334 up the vertex for the definition.
335 (classify_partition): Classify whether a partition is a
336 PKIND_REDUCTION, thus has uses outside of the loop.
337 (ldist_gen): Inherit PKIND_REDUCTION when merging partitions.
338 Merge all PKIND_REDUCTION partitions into the last partition.
339 (tree_loop_distribution): Seed partitions from reductions as well.
341 2013-01-28 Jakub Jelinek <jakub@redhat.com>
343 PR tree-optimization/56125
344 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize
345 pow(x,c) into sqrt(x) * powi(x, n/2) or
346 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when
348 Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or
349 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an
352 PR tree-optimization/56094
353 * gimplify.c (force_gimple_operand_1): Temporarily set input_location
354 to UNKNOWN_LOCATION while gimplifying expr.
356 2013-01-27 Uros Bizjak <ubizjak@gmail.com>
359 * config/i386/i386.md (*movabs<mode>_1): Add square brackets around
360 operand 0 in movabs insn template for -masm=intel asm alternative.
361 (*movabs<mode>_2): Ditto for operand 1.
363 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
366 * config.gcc (microblaze*-linux*): Add tmake_file to allow building
369 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
371 * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update
374 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
376 * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS):
377 Undef to avoid warning.
379 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at>
381 * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
382 * configure: Regenerate.
384 2013-01-25 Jakub Jelinek <jakub@redhat.com>
386 PR tree-optimization/56098
387 * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr
388 for stmts with volatile ops.
389 (cond_store_replacement): Don't optimize if assign has volatile ops.
390 (cond_if_else_store_replacement_1): Don't optimize if either
391 then_assign or else_assign have volatile ops.
392 (hoist_adjacent_loads): Don't optimize if either def1 or def2 have
395 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
397 * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__.
399 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
401 * doc/extend.texi (Example of asm with clobbered asm reg): Fix
402 missing ':' in asm example.
404 2013-01-25 Tejas Belagod <tejas.belagod@arm.com>
406 * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane
407 entries into lane and laneq entries.
408 * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>):
409 Remove AdvSIMD scalar modes.
410 (aarch64_sq<r>dmulh_laneq<mode>): New.
411 (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD
413 * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics'
414 builtin implementations to relfect changes in RTL in aarch64-simd.md.
415 * config/aarch64/iterators.md (VCOND): New.
418 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
421 * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument.
422 Add NULL LIBNAME argument to existing definitions.
423 (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New.
424 * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument.
425 * config/avr/avr.c (DEF_BUILTIN): Same.
426 (avr_init_builtins): Pass down LIBNAME to add_builtin_function.
427 (avr_expand_builtin): Expand to a vanilla call if a libgcc
428 implementation is available (DECL_ASSEMBLER_NAME is set).
429 (avr_fold_absfx): New static function.
430 (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR,
431 AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR,
432 AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK,
434 * config/avr/stdfix.h (abshr, absr, abslr, absllr)
435 (abshk, absk, abslk, absllk): Provide as static inline functions.
437 2013-01-25 Marek Polacek <polacek@redhat.com>
439 PR tree-optimization/56035
440 * cfgloopmanip.c (fix_loop_structure): Remove redundant condition.
442 2012-01-24 Uros Bizjak <ubizjak@gmail.com>
444 * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative.
445 (*movtf_internal_rex64): Add (!o,C) alternative
446 (*movxf_internal_rex64): Ditto.
447 (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives.
449 2013-01-24 Shenghou Ma <minux.ma@gmail.com>
451 * doc/invoke.texi: fix typo.
452 * doc/objc.texi: fix typo.
454 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com>
456 * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
457 for the first two alternatives.
459 2013-01-24 Diego Novillo <dnovillo@google.com>
461 * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o.
462 (ggc-zone.o): Remove.
463 * configure.ac: Remove option --with-gc.
464 * configure: Re-generate.
465 * doc/install.texi: Remove documentation for --with-gc.
466 * gengtype.c (write_enum_defn): Remove. Update all users.
467 (write_Types_process_field): Remove generation of gt_e_* argument.
468 (output_type_enum): Remove. Update all users.
469 (write_enum_defn): Remove. Update all users.
470 (enum alloc_zone): Remove. Update all users.
471 (write_splay_tree_allocator_def): Remove generation of gt_e_* argument.
472 * ggc-common.c (ggc_splay_alloc): Remove first argument.
474 (struct ptr_data): Remove field TYPE. Update all users.
475 (gt_pch_note_object): Remove argument TYPE. Update all users.
476 * ggc-internal.h (ggc_pch_alloc_object): Remove last argument.
478 * ggc-none.c (ggc_alloc_typed_stat): Remove.
479 (struct alloc_zone): Remove.
480 (ggc_internal_alloc_zone_stat): Remove.
481 (ggc_internal_cleared_alloc_zone_stat): Remove.
482 * ggc-page.c (ggc_alloc_typed_stat): Remove.
483 (ggc_pch_count_object): Remove last argument. Update all users.
484 (ggc_pch_alloc_object): Remove last argument. Update all users.
485 (struct alloc_zone): Remove.
486 * ggc-zone.c: Remove.
487 * ggc.h (gt_pch_note_object): Remove last argument. Update all users.
488 (struct alloc_zone): Remove.
489 (ggc_alloc_typed_stat): Remove.
490 (ggc_alloc_typed): Remove.
491 (ggc_splay_alloc): Remove first argument.
492 (rtl_zone): Remove. Update all users.
493 (tree_zone): Remove. Update all users.
494 (tree_id_zone): Remove. Update all users.
495 (ggc_internal_zone_alloc_stat): Remove. Update all users.
496 (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users.
497 (ggc_internal_zone_vec_alloc_stat): Remove. Update all users.
498 * tree-ssanames.c: Remove references to zone allocator in comments.
500 2013-01-24 Georg-Johann Lay <avr@gjlay.de>
502 * config/avr/avr.c (avr_out_fract): Make register numbers that
503 might be outside of source operand signed.
505 2013-01-24 Uros Bizjak <ubizjak@gmail.com>
507 * config/i386/constraints.md (Yf): New constraint.
508 * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead
509 of f constraint to conditionaly disable x87 register preferences.
510 (*movdf_internal): Ditto.
511 (*movsf_internal): Ditto.
513 2013-01-24 Steven Bosscher <steven@gcc.gnu.org>
516 * lra-assigns.c (assign_by_spills): Throw away the pattern of asms
517 that have operands with impossible constraints.
518 Add a FIXME for a speed-up opportunity.
519 * lra-constraints.c (process_alt_operands): Verify that a class
520 selected from constraints on asms is valid for the operand mode.
521 (curr_insn_transform): Remove incorrect comment.
523 2013-01-23 David Edelsohn <dje.gcc@gmail.com>
525 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that
526 TOC operand is a valid symbol ref in the constant pool.
528 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com>
530 * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS
532 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
535 * config/avr/stdfix.h: New file.
536 * t-avr (stdfix-gcc.h): New rule to build it.
537 (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h.
539 2013-01-23 Kostya Serebryany <kcc@google.com>
541 * config/darwin.h: remove dependency on
542 CoreFoundation (asan on Mac OS).
544 2013-01-23 Jakub Jelinek <jakub@redhat.com>
547 * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
548 instead of cmpdi_operand for first comparison operand.
549 Don't assert that comparison operands aren't both constants.
551 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
553 * doc/install.texi (Downloading the Source): Update references to
554 downloading separate components.
556 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
558 * doc/extend.texi (__int128): Improve grammar.
560 2013-01-22 Uros Bizjak <ubizjak@gmail.com>
563 * config/i386/i386.md (*movti_internal_rex64): Change (o,riF)
564 alternative to (o,r).
565 (*movdi_internal_rex64): Remove (!o,n) alternative.
566 (DImode immediate->memory splitter): Remove.
567 (DImode immediate->memory peephole2): Remove.
568 (movtf): Enable for TARGET_64BIT || TARGET_SSE.
569 (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r)
570 alternative to (!o,*r).
571 (*movtf_internal_sse): New pattern.
572 (*movxf_internal_rex64): New pattern.
573 (*movxf_internal): Disable for TARGET_64BIT.
574 (*movdf_internal_rex64): Remove (!o,F) alternative.
576 2013-01-22 Jakub Jelinek <jakub@redhat.com>
579 * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc)
580 isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION.
581 * tree-vect-loop-manip.c (find_loop_location): Also ignore
582 stmt locations where LOCATION_LOCUS of the stmt location is
583 UNKNOWN_LOCATION or BUILTINS_LOCATION.
586 * config/i386/i386.md (UNSPEC_STOS): New.
587 (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1,
588 *strsetqi_1): Add UNSPEC_STOS.
590 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com>
593 * doc/invoke.texi: Remove left over -Wsynth example.
595 2013-01-21 Jakub Jelinek <jakub@redhat.com>
597 PR tree-optimization/56051
598 * fold-const.c (fold_binary_loc): Don't fold
599 X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
600 a narrowing conversion, or widening conversion from signed
603 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
605 PR rtl-optimization/56023
606 * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
607 dependent on debug instruction.
609 2013-01-21 Martin Jambor <mjambor@suse.cz>
612 * function.c (allocate_struct_function): Call
613 invoke_set_current_function_hook earlier.
615 2013-01-21 Jakub Jelinek <jakub@redhat.com>
617 * reload1.c (init_reload): Only initialize reload_obstack
618 during the first call.
620 2013-01-21 Marek Polacek <polacek@redhat.com>
622 * cfgloop.c (verify_loop_structure): Fix up grammar.
624 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com>
626 * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift,
627 pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift.
629 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
632 * config/arm/marvell-pj4.md: Update copyright year.
633 Fix up use of alu to alu_reg and simple_alu_imm.
635 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
637 * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
639 2013-01-20 Vladimir Makarov <vmakarov@redhat.com>
642 * lra-constraints.c (curr_insn_transform): Don't reuse original
643 insn for secondary memory move when memory mode should be different.
645 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
647 * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi,
648 atomic_storedi_1): New patterns.
650 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
652 btver2 pipeline descriptions.
653 * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
655 * config/i386/i386.md (btver2_decode): New type attributes.
656 * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
658 * config/i386/btver2.md: New file describing btver2 pipelines.
660 2013-01-19 Andrew Pinski <apinski@cavium.com>
662 PR tree-optimization/52631
663 * tree-ssa-sccvn (visit_use): Before looking up the original
664 statement, try looking up the simplified expression.
666 2013-01-19 Anthony Green <green@moxielogic.com>
668 * config/moxie/moxie.c (moxie_expand_prologue): Set
669 current_function_static_stack_size.
671 2013-01-18 Jakub Jelinek <jakub@redhat.com>
673 PR tree-optimization/56029
674 * tree-phinodes.c (reserve_phi_args_for_new_edge): Set
675 gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
677 2013-01-18 Sharad Singhai <singhai@google.com>
679 PR tree-optimization/55995
680 * dumpfile.c (dump_loc): Print location only if available.
681 * tree-vectorizer.c (increase_alignment): Intialize vect_location.
683 2013-01-18 Vladimir Makarov <vmakarov@redhat.com>
686 * lra-constraints.c (curr_insn_transform): Reuse original insn for
687 secondary memory move.
688 (inherit_reload_reg): Use rclass instead of cl for
689 check_secondary_memory_needed_p.
691 2013-01-18 Jakub Jelinek <jakub@redhat.com>
694 * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
695 the case where writing real complex part of target modifies op1.
697 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com>
699 * config/aarch64/aarch64-simd.md
700 (aarch64_vcond_internal<mode>): Handle unordered cases.
701 * config/aarch64/iterators.md (v_cmp_result): New.
703 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com>
704 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
706 * config/arm/marvell-pj4.md: New file.
707 * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
708 * config/arm/arm.md (generic_sched): Add marvell_pj4.
709 (generic_vfp): Likewise.
710 * config/arm/arm-cores.def: Add marvell-pj4.
711 * config/arm/arm-tune.md: Regenerate.
712 * config/arm/arm-tables.opt: Regenerate.
713 * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
714 * doc/invoke.texi: Document marvell-pj4.
716 2013-01-18 Tejas Belagod <tejas.belagod@arm.com>
718 * config/aarch64/arm_neon.h: Map scalar types to standard types.
720 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
725 * var-tracking.c (negative_power_of_two_p): New.
726 (global_get_addr_cache, local_get_addr_cache): New.
727 (get_addr_from_global_cache, get_addr_from_local_cache): New.
728 (vt_canonicalize_addr): Rewrite using the above. Adjust the
730 (vt_stack_offset_p): Remove.
731 (vt_canon_true_dep): Always canonicalize loc's address.
732 (clobber_overlapping_mems): Make sure we have a MEM.
733 (local_get_addr_clear_given_value): New.
734 (val_reset): Clear local cached entries.
735 (compute_bb_dataflow): Create and release the local cache.
736 Disable duplicate MEMs clobbering.
737 (emit_notes_in_bb): Clobber MEMs likewise.
738 (vt_emit_notes): Create and release the local cache.
739 (vt_initialize, vt_finalize): Create and release the global
741 * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
743 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
746 * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
747 not found in the symtab.
749 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
752 PR rtl-optimization/55547
753 PR rtl-optimization/53827
756 * alias.c (offset_overlap_p): New, factored out of...
757 (memrefs_conflict_p): ... this. Use absolute sizes. Retain
758 the conservative special case for symbolic constants. Don't
759 adjust zero sizes on alignment.
761 2013-01-18 Bernd Schmidt <bernds@codesourcery.com>
763 PR rtl-optimization/52573
764 * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
765 REG_UNUSED for the same register.
767 2013-01-17 Richard Biener <rguenther@suse.de>
768 Marek Polacek <polacek@redhat.com>
770 PR rtl-optimization/55833
771 * loop-unswitch.c (unswitch_loops): Move loop verification...
772 (unswitch_single_loop): ...here. Call mark_irreducible_loops.
773 * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
774 Set it to true when we're removing a loop from hierarchy tree in
775 an irreducible region.
776 (fix_bb_placements): Adjust caller.
777 (fix_loop_placements): Likewise.
779 2013-01-17 Georg-Johann Lay <avr@gjlay.de>
781 * config/avr/builtins.def (DEF_BUILTIN): Factor out
782 "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
783 Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
784 Remove ID. Adjust comments.
785 * config/avr/avr-c.c (avr_builtin_name): Remove.
786 (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
787 * config/avr/avr.c (avr_tolower): New static function.
788 (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'.
789 Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
790 (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
793 2013-01-17 Jan Hubicka <jh@suse.cz>
795 PR tree-optimization/55273
796 * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
798 2013-01-17 Uros Bizjak <ubizjak@gmail.com>
801 * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
802 store through atomic_store<mode>_1.
803 (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
805 2013-01-17 Martin Jambor <mjambor@suse.cz>
807 PR tree-optimizations/55264
808 * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
810 * ipa.c (symtab_remove_unreachable_nodes): Never return true for
811 virtual methods before inlining is over.
812 * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
814 * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
817 2013-01-16 Vladimir Makarov <vmakarov@redhat.com>
819 PR rtl-optimization/56005
820 * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
821 pending reads for prefetch.
823 2013-01-16 Ian Bolton <ian.bolton@arm.com>
825 * config/aarch64/aarch64.md
826 (*cstoresi_neg_uxtw): New pattern.
827 (*cmovsi_insn_uxtw): New pattern.
828 (*<optab>si3_uxtw): New pattern.
829 (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
830 (*<optab>si3_insn_uxtw): New pattern.
831 (*bswapsi2_uxtw): New pattern.
833 2013-01-16 Richard Biener <rguenther@suse.de>
835 * tree-inline.c (tree_function_versioning): Remove set but
838 2013-01-16 Richard Biener <rguenther@suse.de>
840 PR tree-optimization/55964
841 * tree-flow.h (rename_variables_in_loop): Remove.
842 (rename_variables_in_bb): Likewise.
843 * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
844 (copy_loop_before): Adjust and delete update-ssa status.
845 * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
846 (rename_variables_in_bb): Likewise. Properly walk over predecessors.
847 (rename_variables_in_loop): Remove.
848 (slpeel_update_phis_for_duplicate_loop): Likewise.
849 (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
850 use available cfg machinery instead of duplicating it.
851 Update PHI nodes and perform poor-mans SSA update here.
852 (slpeel_tree_peel_loop_to_edge): Adjust.
854 2013-01-16 Richard Biener <rguenther@suse.de>
856 PR tree-optimization/54767
857 PR tree-optimization/53465
858 * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
859 (vrp_visit_phi_node): For PHI arguments coming via backedges
860 drop all symbolical range information.
861 (execute_vrp): Compute backedges.
863 2013-01-16 Richard Biener <rguenther@suse.de>
865 * doc/install.texi: Update CLooG and ISL requirements to
868 2013-01-16 Christian Bruel <christian.bruel@st.com>
871 * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
872 (broken_move): Handle UNSPECV_SP_SWITCH_B.
873 * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
875 2013-01-16 DJ Delorie <dj@redhat.com>
877 * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
878 (UNSPECV_SP_SWITCH_E): New.
879 (sp_switch_1): Change to an unspec.
880 (sp_switch_2): Change to an unspec. Don't use post-inc when we
883 2013-01-16 Uros Bizjak <ubizjak@gmail.com>
885 * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
886 with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
887 * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
888 (expand_mem_thread_fence): Ditto.
889 (expand_mem_signal_fence): Ditto.
890 (expand_atomic_load): Ditto.
891 (expand_atomic_store): Ditto.
893 2013-01-16 Alexandre Oliva <aoliva@redhat.com>
895 PR rtl-optimization/55547
896 PR rtl-optimization/53827
899 * alias.c (memrefs_conflict_p): Set sizes to negative after
902 2013-01-15 Jakub Jelinek <jakub@redhat.com>
905 * function.c (thread_prologue_and_epilogue_insns): Always
906 add crtl->drap_reg to set_up_by_prologue.set, even if
907 stack_realign_drap is false.
909 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
911 * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
912 and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
913 *call): Fix indention.
915 2013-01-15 Tom de Vries <tom@codesourcery.com>
918 * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
921 2013-01-15 Vladimir Makarov <vmakarov@redhat.com>
923 PR rtl-optimization/55153
924 * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
926 2013-01-15 Martin Jambor <mjambor@suse.cz>
928 PR tree-optimization/55920
929 * tree-sra.c (analyze_access_subtree): Do not mark non-removable
930 accesses as grp_to_be_debug_replaced.
932 2013-01-15 Jakub Jelinek <jakub@redhat.com>
934 PR tree-optimization/55920
935 * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
936 there is non-useless type conversion needed from debug rhs to lhs,
937 use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
939 2013-01-15 Joseph Myers <joseph@codesourcery.com>
940 Mikael Pettersson <mikpe@it.uu.se>
943 * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
945 (ASM_OUTPUT_CASE_LABEL): Remove.
946 (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
947 * final.c (shorten_branches): Update alignment of labels before
948 jump tables if CASE_VECTOR_SHORTEN_MODE.
950 2013-01-15 Richard Biener <rguenther@suse.de>
953 * system.h: Do not include gmp.h for building host tools.
955 2013-01-15 Richard Biener <rguenther@suse.de>
958 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
959 account for bitpos when computing alignment.
961 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com>
963 * config/i386/i386-c.c (ix86_target_macros_internal): New case.
964 (ix86_target_macros_internal): Likewise.
966 * config/i386/i386.c (m_CORE2I7): Removed.
967 (m_CORE_HASWELL): New macro.
968 (m_CORE_ALL): Likewise.
969 (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
970 (initial_ix86_arch_features): Likewise.
971 (processor_target_table): Initializations for Core avx2.
972 (cpu_names): New names "core-avx2".
973 (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
974 PROCESSOR_CORE_HASWELL.
975 (ix86_issue_rate): New case.
976 (ia32_multipass_dfa_lookahead): Likewise.
977 (ix86_sched_init_global): Likewise.
979 * config/i386/i386.h (TARGET_HASWELL): New macro.
980 (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
981 (processor_type): New PROCESSOR_HASWELL.
983 2013-01-15 Jakub Jelinek <jakub@redhat.com>
985 PR tree-optimization/55955
986 * tree-vect-loop.c (vectorizable_reduction): Give up early on
987 *SHIFT_EXPR and *ROTATE_EXPR codes.
989 PR tree-optimization/48766
990 * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
991 -ftrapv disable -fwrapv.
993 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
996 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
997 etc. to 1 and not to __flash.
998 Use LL suffix for __INT24_MAX__ with -mint8.
999 Use ULL suffix for __UINT24_MAX__ with -mint8.
1001 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1003 * config/avr/avr-arch.h
1004 (struct base_arch_s): Use typedef avr_arch_t instead.
1005 (struct arch_info_s): Use typedef avr_arch_info_t instead.
1006 (struct mcu_type_s): Use typedef avr_mcu_t instead.
1007 * config/avr/avr.c: Same.
1008 * config/avr/avr-devices.c: Same.
1009 * config/avr/driver-avr.c: Same.
1010 * config/avr/gen-avr-mmcu-texi.c: Same.
1011 * config/avr/avr-mcus.def: Adjust comment.
1013 2013-01-14 Tejas Belagod <tejas.belagod@arm.com>
1015 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
1016 * config/aarch64/iterators.md (VALLDI): New.
1018 2013-01-14 Uros Bizjak <ubizjak@gmail.com>
1019 Andi Kleen <ak@linux.intel.com>
1022 * config/i386/sync.md (atomic_store<mode>_1): New pattern.
1023 (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
1026 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1028 * config/avr/avr-stdint.h: Remove trailing blanks.
1029 * config/avr/avr-log.h: Same.
1030 * config/avr/avr-arch.h: Same.
1031 * config/avr/avr-devices.c: Same.
1032 * config/avr/avr-dimode.md: Same.
1033 * config/avr/predicates.md: Same.
1034 * config/avr/avr-c.c: Same. And fix typo.
1036 * config/avr/avr-protos.h: Same. And:
1037 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
1038 (init_cumulative_args): Rename to avr_init_cumulative_args.
1039 (expand_prologue): Rename to avr_expand_prologue.
1040 (expand_epilogue): Rename to avr_expand_epilogue.
1041 (adjust_insn_length): Rename to avr_adjust_insn_length.
1042 (notice_update_cc): Rename to avr_notice_update_cc.
1043 (final_prescan_insn): Rename to avr_final_prescan_insn.
1044 * config/avr/avr.c: Same.
1045 * config/avr/avr.h: Same.
1046 * config/avr/avr.md: Remove trailing blanks.
1047 (prologue): Use avr_expand_prologue.
1048 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
1050 2013-01-14 Richard Biener <rguenther@suse.de>
1052 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
1053 verify_location, collect_subblocks): New functions.
1054 (verify_gimple_in_cfg): Verify that locations only reference
1055 BLOCKs in the functions BLOCK tree.
1057 2013-01-14 Richard Biener <rguenther@suse.de>
1059 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
1061 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
1063 (insert_out_of_ssa_copy_on_edge): Likewise.
1064 (rewrite_close_phi_out_of_ssa): Likewise.
1065 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
1067 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
1068 propagated constants.
1069 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
1072 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1074 * config/avr/avr-modes.def: Add GPL copyright notice.
1076 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
1078 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
1079 MEMMODEL_MASK to determine memory model.
1080 (atomic_store<mode>): Ditto from operands[2].
1081 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
1083 2013-01-13 Jakub Jelinek <jakub@redhat.com>
1086 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
1087 (fold_gimple_assign): Don't call unshare_expr here.
1088 (fold_ctor_reference): Call unshare_expr.
1090 2013-01-13 Terry Guo <terry.guo@arm.com>
1092 * Makefile.in (s-mlib): New argument MULTILIB_REUSE.
1093 * doc/fragments.texi: Document MULTILIB_REUSE.
1094 * gcc.c (multilib_reuse): New internal spec.
1095 (set_multilib_dir): Also search multilib from multilib_reuse.
1096 * genmultilib (tmpmultilib3): Refactor code.
1097 (tmpmultilib4): Ditto.
1098 (multilib_reuse): New multilib argument.
1100 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
1102 * Makefile.in: Update copyright.
1104 2013-01-12 Tom de Vries <tom@codesourcery.com>
1107 * calls.c (expand_call): Check if arg_nr is valid.
1109 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1111 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
1112 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
1113 documentation. Add missing '__' in front of
1114 __builtin_ia32_packssdw256.
1116 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1119 * config/s390/s390.c (s390_preferred_reload_class): Do not return
1120 NO_REGS for larl operands.
1121 (s390_reload_larl_operand): Use s390_load_address instead of
1124 2013-01-11 Richard Biener <rguenther@suse.de>
1126 * tree-cfg.c (verify_node_sharing_1): Split out from ...
1127 (verify_node_sharing): ... here.
1128 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
1130 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
1132 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
1133 Substitute TREECHECKING.
1134 * configure: Regenerate.
1135 * Makefile.in (TREECHECKING): New.
1137 2013-01-11 Richard Guenther <rguenther@suse.de>
1139 PR tree-optimization/44061
1140 * tree-vrp.c (extract_range_basic): Compute zero as
1141 value-range for __builtin_constant_p of function parameters.
1143 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
1145 Update copyright years.
1147 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
1149 PR rtl-optimization/55672
1150 * lra-eliminations.c (mark_not_eliminable): Permit addition with
1151 const to be eliminable.
1153 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
1155 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
1156 * configure: Regenerate.
1158 2013-01-10 Richard Biener <rguenther@suse.de>
1160 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
1162 2013-01-10 Richard Biener <rguenther@suse.de>
1165 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
1166 locations for virtual PHI arguments.
1167 (rewrite_update_phi_arguments): Likewise.
1169 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
1171 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
1174 2013-01-10 Jakub Jelinek <jakub@redhat.com>
1176 PR tree-optimization/55921
1177 * tree-complex.c (expand_complex_asm): New function.
1178 (expand_complex_operations_1): Call it for GIMPLE_ASM.
1180 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1183 * config/s390/s390.c (s390_symref_operand_p)
1184 (s390_loadrelative_operand_p): Merge the two functions.
1185 (s390_check_qrst_address, print_operand_address): Add parameters
1186 to s390_loadrelative_operand_p invokation.
1187 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
1188 (s390_reload_larl_operand, s390_secondary_reload): Use
1189 s390_loadrelative_operand_p instead of s390_symref_operand_p.
1190 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
1192 2013-01-09 Mike Stump <mikestump@comcast.net>
1194 * dse.c (record_store): Remove unnecessary assert.
1196 2013-01-09 Jan Hubicka <jh@suse.cz>
1198 PR tree-optimization/55569
1199 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
1200 * cfgloop.h (scale_loop_profile): Likewise.
1202 2013-01-09 Jan Hubicka <jh@suse.cz>
1205 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
1207 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
1209 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
1212 * expr.h (maybe_emit_group_store): Declare.
1213 * expr.c (maybe_emit_group_store): New function.
1214 * builtins.c (expand_builtin_int_roundingfn): Call it.
1215 (expand_builtin_int_roundingfn_2): Likewise.
1217 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
1219 PR rtl-optimization/55829
1220 * lra-constraints.c (match_reload): Add code for absent output.
1221 (curr_insn_transform): Add code for reloads of matched inputs
1224 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
1226 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
1227 attribute of movddup insn to DF.
1228 (*vec_interleave_lowv2df): Ditto.
1229 (vec_dupv2df): Ditto.
1231 2013-01-09 Jan Hubicka <jh@suse.cz>
1233 PR tree-optimiation/55875
1234 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
1235 EVERY_ITERATION parameter.
1236 (number_of_iterations_exit): Check if exit is executed every iteration.
1237 (idx_infer_loop_bounds): Similarly here.
1238 (n_of_executions_at_most): Simplify
1239 to only test for cases where statement is dominated by the
1240 particular bound; handle correctly the "postdominance" test.
1241 (scev_probably_wraps_p): Use max loop iterations info
1242 as a global bound first.
1244 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
1245 Nick Clifton <nickc@redhat.com>
1247 * config/v850/v850.md (cbranchsf4): New pattern.
1248 (cstoresf4): New pattern.
1249 (cbranchdf4): New pattern.
1250 (cstoredf4): New pattern.
1251 (movsicc): Disallow floating point comparisons.
1252 (cmpsf_le_insn): Fix order of operators.
1253 (cmpsf_lt_insn): Likewise.
1254 (cmpsf_eq_insn): Likewise.
1255 (cmpdf_le_insn): Likewise.
1256 (cmpdf_lt_insn): Likewise.
1257 (cmpdf_eq_insn): Likewise.
1258 (cmpsf_ge_insn): Use LE comparison.
1259 (cmpdf_ge_insn): Likewise.
1260 (cmpsf_gt_insn): Use LT comparison.
1261 (cmpdf_gt_insn): Likewise.
1262 (cmpsf_ne_insn): Delete pattern.
1263 (cmpdf_ne_insn): Delete pattern.
1264 * config/v850/v850.c (v850_gen_float_compare): Use
1265 gen_cmpdf_eq_insn for NE comparison.
1266 (v850_float_z_comparison_operator)
1267 (v850_float_nz_comparison_operator): Move from here ...
1268 * config/v850/predicates.md: ... to here. Move GT and GE
1269 comparisons into v850_float_z_comparison_operator.
1270 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
1272 (v850_float_nz_comparison_operator): Likewise.
1274 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1276 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
1277 with calls to gen_insvsi/gen_insvdi.
1279 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1281 * config/i386/i386.c (initial_ix86_tune_features): Set up
1282 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
1284 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
1285 Jakub Jelinek <jakub@redhat.com>
1287 PR tree-optimization/48189
1288 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
1289 If nitercst is 0, don't predict the exit edge.
1291 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
1293 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
1294 in asm_fprintf with reg_names.
1295 (aarch64_print_operand_address): Likewise.
1296 (aarch64_return_addr): Likewise.
1297 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
1299 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1301 * config/pa/pa.h (VAL_U6_BITS_P): Define.
1302 (INT_U6_BITS): Likewise.
1303 * config/pa/predicates.md (uint6_operand): New predicate.
1304 (shift5_operand, shift6_operand): Likewise.
1305 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
1307 (lshrdi3): Use shift6_operand.
1308 (shrpsi4, shrpdi4): New insn patterns.
1309 (extzv): Delete expander.
1310 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
1311 predicates in unamed zero extract patterns. Tighten common constraint.
1312 (extv): Delete expander.
1313 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
1314 predicates in unamed sign extract patterns. Tighten common constraint.
1315 (insv): Delete expander.
1316 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
1317 predicates in unamed insert patterns. Tighten common constraint.
1318 Change uint32_operand predicate to uint6_operand predicate in unamed
1319 DImode pattern to insert constant values of type 1...1xxxx.
1321 2013-01-04 Jan Hubicka <jh@suse.cz>
1323 PR tree-optimization/55823
1324 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
1327 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1328 Uros Bizjak <ubizjak@gmail.com>
1330 PR rtl-optimization/55845
1331 * df-problems.c (can_move_insns_across): Stop scanning at
1332 volatile_insn_p source instruction or give up if
1333 across_from .. across_to range contains any volatile_insn_p
1336 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
1338 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
1339 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
1341 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
1342 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
1344 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1347 * asan.c (asan_clear_shadow): New function.
1348 (asan_emit_stack_protection): Use it.
1350 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
1352 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
1353 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
1354 with tab instead of space.
1356 2013-01-08 Nick Clifton <nickc@redhat.com>
1358 * config/rl78/rl78.c (rl78_expand_prologue): Always select
1359 register bank 0 at the start of an interrupt handler.
1360 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
1363 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
1365 * config/aarch64/aarch64-simd.md
1366 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
1367 (aarch64_simd_bsl): Likewise.
1368 (aarch64_vcond_internal<mode>): Likewise.
1369 (vcond<mode><mode>): Likewise.
1370 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
1371 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
1373 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
1375 * config/aarch64/aarch64-builtins.c
1376 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
1378 2013-01-08 Martin Jambor <mjambor@suse.cz>
1381 * tree-sra.c (analyze_access_subtree): Return true also after
1382 potentially creating a debug-only replacement.
1384 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1387 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
1389 PR tree-optimization/54120
1390 * tree-vrp.c (range_fits_type_p): Don't allow
1391 src_precision < precision from signed vr to unsigned_p
1392 if vr->min or vr->max is negative.
1393 (simplify_float_conversion_using_ranges): Test can_float_p
1394 against CODE_FOR_nothing.
1396 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1397 Richard Biener <rguenther@suse.de>
1400 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
1401 types instead of just INTEGER_TYPE types.
1403 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
1405 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
1408 2013-01-07 Steve Ellcey <sellcey@mips.com>
1411 * config/mips/mips.opt: Change mad to mmad to match documentation.
1413 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1416 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
1419 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1422 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
1423 (avr_addrspace_t): Add .section_name field.
1424 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
1426 (avr_addrspace): Same. Initialize .section_name. Remove last
1427 NULL entry. Put __memx into .progmemx.data.
1428 (progmem_section_prefix): Remove.
1429 (avr_asm_init_sections): No need to initialize progmem_section.
1430 (avr_asm_named_section): Use avr_addrspace[].section_name to get
1431 section name prefix.
1432 (avr_asm_select_section): Ditto. And use get_unnamed_section to
1433 retrieve the progmem section.
1434 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
1435 boundary to run over avr_addrspace[].
1436 (avr_register_target_pragmas): Ditto.
1438 2013-01-06 Jakub Jelinek <jakub@redhat.com>
1440 * varasm.c (output_constant_def_contents): For asan_protect_global
1441 protected strings, adjust DECL_ALIGN if needed, before testing for
1443 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
1444 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
1446 (output_object_block): For asan protected decls, emit asan padding
1447 after their contents.
1448 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
1449 (asan_finish_file): Test it here instead.
1451 2013-01-07 Nick Clifton <nickc@redhat.com>
1452 Matthias Klose <doko@debian.org>
1453 Doug Kwan <dougkwan@google.com>
1454 H.J. Lu <hongjiu.lu@intel.com>
1457 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
1459 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
1461 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
1463 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
1465 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
1467 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1470 * doc/install.texi (Cross-Compiler-Specific Options): Document
1473 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
1475 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
1476 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
1477 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
1478 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
1479 vqmovun_high_s64): Fix source operand number and update copyright.
1481 2013-01-07 Richard Biener <rguenther@suse.de>
1484 * gimple.h (gimple_call_builtin_p): New overload.
1485 * gimple.c (validate_call): New function.
1486 (gimple_call_builtin_p): Likewise.
1487 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
1488 Use gimple_call_builtin_p.
1489 (find_func_clobbers): Likewise.
1490 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
1491 (strlen_optimize_stmt): Likewise.
1493 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1495 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
1496 (vld1q_dup_*): Likewise.
1498 (vld1q_*): Likewise.
1499 (vld1_lane_*): Likewise.
1500 (vld1q_lane_*): Likewise.
1502 2013-01-07 Richard Biener <rguenther@suse.de>
1504 * lto-streamer.h (LTO_minor_version): Bump to 2.
1506 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1508 * config/aarch64/aarch64-protos.h
1509 (aarch64_const_double_zero_rtx_p): Rename to...
1510 (aarch64_float_const_zero_rtx_p): ...this.
1511 (aarch64_float_const_representable_p): New.
1512 (aarch64_output_simd_mov_immediate): Likewise.
1513 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
1514 move immediate case.
1515 * config/aarch64/aarch64.c
1516 (aarch64_const_double_zero_rtx_p): Rename to...
1517 (aarch64_float_const_zero_rtx_p): ...this.
1518 (aarch64_print_operand): Allow printing of new constants.
1519 (aarch64_valid_floating_const): New.
1520 (aarch64_legitimate_constant_p): Check for valid floating-point
1522 (aarch64_simd_valid_immediate): Likewise.
1523 (aarch64_vect_float_const_representable_p): New.
1524 (aarch64_float_const_representable_p): Likewise.
1525 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
1526 (aarch64_output_simd_mov_immediate): New.
1527 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
1528 (*movdf_aarch64): Likewise.
1529 * config/aarch64/constraints.md (Ufc): New.
1530 (Y): call aarch64_float_const_zero_rtx.
1531 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
1533 2013-01-07 Richard Biener <rguenther@suse.de>
1535 PR tree-optimization/55888
1536 PR tree-optimization/55862
1537 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
1538 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
1539 not if it is contained therein.
1541 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1543 * config/avr/t-avr: Typo.
1545 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1548 * config/avr/t-avr: Don't automatically rebuild
1549 $(srcdir)/config/avr/t-multilib
1550 $(srcdir)/config/avr/avr-tables.opt
1551 $(srcdir)/doc/avr-mmcu.texi
1552 (avr-mcus): New phony target to build them on request.
1553 (s-avr-mlib, s-avr-mmcu-texi): Remove.
1554 * avr/avr-mcus.def: Adjust comments.
1556 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
1558 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
1560 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1562 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
1564 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1566 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
1568 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
1570 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
1571 to generate profiling.
1572 * config/rs6000/aix64.h (LIB_SPEC): Same.
1574 2013-01-04 Andrew Pinski <apinski@cavium.com>
1576 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
1578 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
1580 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
1582 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
1584 (ix86_expand_move): Ditto.
1585 (ix86_zero_extend_to_Pmode): Ditto.
1586 (ix86_expand_call): Ditto.
1587 (ix86_expand_special_args_builtin): Ditto.
1588 (ix86_expand_builtin): Ditto.
1590 2013-01-04 Richard Biener <rguenther@suse.de>
1592 PR tree-optimization/55862
1593 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
1594 translating them through PHI nodes.
1596 2013-01-04 Martin Jambor <mjambor@suse.cz>
1598 PR tree-optimization/55755
1599 * tree-sra.c (sra_modify_assign): Do not check that an access has no
1600 children when trying to avoid producing a VIEW_CONVERT_EXPR.
1602 2013-01-04 Marek Polacek <polacek@redhat.com>
1605 * opts.c (default_options_optimization): Clarify error message.
1607 2013-01-04 Richard Biener <rguenther@suse.de>
1610 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
1613 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1616 * config/pa/pa.md (movsi): Revert previous change.
1617 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
1620 2013-01-03 Richard Henderson <rth@redhat.com>
1622 * config/i386/i386.c (ix86_expand_move): Always assign to op1
1623 after eliminating TLS symbols.
1625 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
1628 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
1629 * graphite-poly.c (debug_gmp_value): Likewise.
1631 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
1634 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
1635 selected code model, define __code_mode_small__, __code_model_medium__,
1636 __code_model_large__, __code_model_32__ or __code_model_kernel__.
1637 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
1638 xchg temporary register with %k. Declare temporary register as
1640 [__x86_64__]: For medium and large code models, preserve %rbx register.
1642 2013-01-03 Richard Biener <rguenther@suse.de>
1644 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
1645 (dump_subscript): Adjust.
1646 (finalize_ddr_dependent): Do not dump redundant info.
1647 (analyze_siv_subscript): Adjust.
1648 (subscript_dependence_tester): Likewise.
1649 (compute_affine_dependence): Likewise.
1651 2013-01-03 Richard Biener <rguenther@suse.de>
1654 2013-01-03 Richard Biener <rguenther@suse.de>
1656 PR tree-optimization/55857
1657 * tree-vect-stmts.c (vectorizable_load): Do not setup
1658 re-alignment for invariant loads.
1660 2013-01-02 Richard Biener <rguenther@suse.de>
1662 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1663 invariant load do not generate a vector load from the scalar location.
1665 2013-01-03 Richard Biener <rguenther@suse.de>
1667 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
1668 for not vectorizing.
1669 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
1670 not build INDIRECT_REFs, call get_name once only.
1671 (vect_create_data_ref_ptr): Likewise. Dump base object kind
1672 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
1674 2013-01-03 Richard Biener <rguenther@suse.de>
1676 PR tree-optimization/55857
1677 * tree-vect-stmts.c (vectorizable_load): Do not setup
1678 re-alignment for invariant loads.
1680 2013-01-03 Richard Biener <rguenther@suse.de>
1683 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
1684 prefer a built-in decl.
1686 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1688 * gcc.c (process_command): Update copyright notice dates.
1689 * gcov.c (print_version): Likewise.
1690 * gcov-dump.c (print_version): Likewise.
1692 PR rtl-optimization/55838
1693 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
1694 iv0.step, iv1.step and step.
1696 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1697 Marc Glisse <marc.glisse@inria.fr>
1699 PR tree-optimization/55832
1700 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
1701 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
1702 integer_{one,zero}_node.
1704 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1707 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
1708 * var-tracking.c (reverse_op): Don't add reverse ops to
1709 VALUEs that have already
1710 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
1712 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
1714 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
1716 2013-01-02 Teresa Johnson <tejohnson@google.com>
1718 * dumpfile.c (dump_loc): Print filename with location.
1719 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
1720 new location_t parameter to emit complete unroll message with
1722 (canonicalize_loop_induction_variables): Compute loops location
1723 and pass to try_unroll_loop_completely.
1724 * loop-unroll.c (report_unroll_peel): New function.
1725 (peel_loops_completely): Use new dump format with location
1726 for main dumpfile message, and invoke report_unroll_peel on success.
1727 (decide_unrolling_and_peeling): Ditto.
1728 (decide_peel_once_rolling): Remove old dumpfile message subsumed
1729 by report_unroll_peel.
1730 (decide_peel_completely): Ditto.
1731 (decide_unroll_constant_iterations): Ditto.
1732 (decide_unroll_runtime_iterations): Ditto.
1733 (decide_peel_simple): Ditto.
1734 (decide_unroll_stupid): Ditto.
1735 * cfgloop.c (get_loop_location): New function.
1736 * cfgloop.h (get_loop_location): Declare.
1738 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1740 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
1743 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1746 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
1747 BLKmode objects when EXPAND_MEMORY is specified.
1749 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1751 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
1753 (fold_builtin_cpu): Do not share cpu model decls across statements.
1755 2013-01-02 Jason Merrill <jason@redhat.com>
1758 * tree.c (build_array_type_1): Revert earlier change.
1760 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
1762 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
1764 * config/aarch64/aarch64-tune.md: Re-generate.
1766 2013-01-02 Richard Biener <rguenther@suse.de>
1768 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1769 invariant load do not generate a vector load from the scalar location.
1771 2013-01-02 Richard Biener <rguenther@suse.de>
1774 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
1775 * configure: Regenerate.
1777 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1779 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
1780 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
1781 (expand_builtin_int_roundingfn_2): Keep the original target around
1782 for the fallback case.
1784 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1786 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
1787 to be clear for sign changes.
1789 2013-01-01 Jan Hubicka <jh@suse.cz>
1791 * ipa-inline-analysis.c: Fix formatting.
1793 2013-01-01 Jakub Jelinek <jakub@redhat.com>
1795 PR tree-optimization/55831
1796 * tree-vect-loop.c (get_initial_def_for_induction): Use
1797 gsi_after_labels instead of gsi_start_bb.
1799 Copyright (C) 2013 Free Software Foundation, Inc.
1801 Copying and distribution of this file, with or without modification,
1802 are permitted in any medium without royalty provided the copyright
1803 notice and this notice are preserved.