1 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com>
2 Nick Clifton <nickc@redhat.com>
4 * config/v850/constraints.md (Q): Define as a memory constraint.
5 * config/v850/predicates.md (label_ref_operand): New predicate.
6 (e3v5_shift_operand): New predicate.
7 (ior_operator): New predicate.
8 * config/v850/t-v850: Add e3v5 multilib.
9 * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype.
10 (v850_gen_movdi): Prototype.
11 * config/v850/v850.c: Add support for e3v5 architecture.
12 Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to
14 (construct_save_jarl): Add e3v5 long JARL support.
15 (v850_adjust_insn_length): New function. Adjust length of call
16 insns when using e3v5 instructions.
17 (v850_gen_movdi): New function: Generate instructions to move a
19 * config/v850/v850.h (TARGET_CPU_v850e3v5): Define.
20 (CPP_SPEC): Define __v850e3v5__ as appropriate.
21 (TARGET_USE_FPU): Enable for e3v5.
22 (CONST_OK_FOR_W): New macro.
23 (ADJUST_INSN_LENGTH): Define.
24 * config/v850/v850.md (UNSPEC_LOOP): Define.
25 (attr cpu): Add v850e3v5.
26 Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP.
28 (movdi_internal): New pattern.
29 (cbranchsf4): Conditionalize on TARGET_USE_FPU.
30 (cbranchdf4): Conditionalize on TARGET_USE_FPU.
31 (cstoresf4): Likewise.
32 (cstoredf4): Likewise.
34 (rotlso3_a): New pattern.
35 (rotlsi3_b): New pattern
36 (rotlsi3_v850e3v5): New pattern.
37 (doloop_begin): New pattern.
38 (fix_loop_counter): New pattern.
39 (doloop_end): New pattern.
40 (branch_normal): Add e3v5 long branch support.
41 (branch_invert): Likewise.
42 (branch_z_normal): Likewise.
43 (branch_z_invert): Likewise.
44 (branch_nz_normal): Likewise.
45 (branch_nz_invert): Likewise.
46 (call_internal_short): Add e3v5 register-indirect JARL support.
47 (call_internal_long): Likewise.
48 (call_value_internal_short): Likewise.
49 (call_value_internal_long): Likewise.
50 * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options.
52 * config.gcc: Add support for configuring v840e3v5 target.
53 * doc/invoke.texi: Document new v850 specific command line
56 2013-01-31 Paul Koning <ni1d@arrl.net>
60 * dwarf2out.c (prune_unused_types_mark): Mark all of parent's
61 children if parent is a class.
62 (prune_unused_types_prune): Don't add DW_AT_declaration.
64 2013-01-31 Richard Biener <rguenther@suse.de>
66 PR tree-optimization/56157
67 * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to
68 match up operand with SLP child.
70 2013-01-31 Jason Merrill <jason@redhat.com>
73 * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template
74 parameters the first time.
75 (gen_scheduled_generic_parms_dies): Check completeness here.
77 2013-01-31 Richard Biener <rguenther@suse.de>
80 * common.opt (faggressive-loop-optimizations): New flag,
82 * doc/invoke.texi (faggressive-loop-optimizations): Document.
83 * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard
84 infer_loop_bounds_from_undefined by it.
86 2013-01-31 Richard Biener <rguenther@suse.de>
88 PR tree-optimization/56150
89 * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not
90 visit virtual operands.
91 (find_uses_to_rename_bb): Likewise.
93 2013-01-31 Richard Biener <rguenther@suse.de>
95 PR tree-optimization/56150
96 * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle
97 mixed store non-store stmts.
99 2013-01-30 Jakub Jelinek <jakub@redhat.com>
102 * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if
103 LIBASAN_EARLY_SPEC is defined.
104 (LIBASAN_EARLY_SPEC): Define to empty string if not already defined.
105 (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address,
107 * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define.
110 * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose
111 invalid args instead of ICEing on it.
112 (ix86_valid_target_attribute_tree): Return error_mark_node if
113 ix86_valid_target_attribute_inner_p failed.
114 (ix86_valid_target_attribute_p): Return false only if
115 ix86_valid_target_attribute_tree returned error_mark_node. Allow
116 target("default") attribute.
117 (sorted_attr_string): Change argument from const char * to tree,
118 merge in all target attribute arguments rather than just one.
119 Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC
120 instead of free. Avoid using strcat.
121 (ix86_mangle_function_version_assembler_name): Mangle
122 target("default") as if no target attribute is present. Adjust
123 sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC
124 instead of xmalloc and XDELETEVEC instead of free.
125 (ix86_function_versions): Don't return true if one of the decls
126 doesn't have target attribute. If they don't and one of the decls
127 is DECL_FUNCTION_VERSIONED, report an error. Adjust
128 sorted_attr_string caller. Use XDELETEVEC instead of free.
129 (ix86_supports_function_versions): Remove.
130 (make_name): Fix up formatting.
131 (make_dispatcher_decl): Remove resolver_name and its initialization.
132 Avoid leaking memory.
133 (is_function_default_version): Return true if there is
134 target("default") attribute rather than no target attribute at all.
135 (make_resolver_func): Avoid leaking memory.
136 (ix86_generate_version_dispatcher_body): Likewise.
137 (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove.
138 * target.def (supports_function_versions): Remove.
139 * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove.
140 * doc/tm.texi: Regenerated.
142 2013-01-30 Vladimir Makarov <vmakarov@redhat.com>
144 PR rtl-optimization/56144
145 * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo
146 for values with side effects.
148 2013-01-30 Richard Biener <rguenther@suse.de>
150 * sparseset.h (sparseset_bit_p): Use gcc_checking_assert.
151 (sparseset_pop): Likewise.
152 * cfganal.c (compute_idf): Likewise. Increase work-stack size
153 to be able to use quick_push in the worker loop.
155 2013-01-30 Marek Polacek <polacek@redhat.com>
157 * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs.
159 2013-01-30 Richard Biener <rguenther@suse.de>
162 * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN
165 2013-01-30 Georg-Johann Lay <avr@gjlay.de>
167 PR tree-optimization/56064
168 * fixed-value.c (fixed_from_double_int): New function.
169 * fixed-value.h (fixed_from_double_int): New prototype.
170 (const_fixed_from_double_int): New static inline function.
171 * fold-const.c (native_interpret_fixed): New static function.
172 (native_interpret_expr) <FIXED_POINT_TYPE>: Use it.
173 (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true.
174 (native_encode_fixed): New static function.
175 (native_encode_expr) <FIXED_CST>: Use it.
176 (native_interpret_int): Move double_int worker code to...
177 * double-int.c (double_int::from_buffer): ...this new static method.
178 * double-int.h (double_int::from_buffer): Prototype it.
180 2013-01-30 Richard Biener <rguenther@suse.de>
182 * tree-ssa-structalias.c (final_solutions, final_solutions_obstack):
183 New pointer-map and obstack.
184 (init_alias_vars): Allocate pointer-map and obstack.
185 (delete_points_to_sets): Free them.
186 (find_what_var_points_to): Cache result.
187 (find_what_p_points_to): Adjust for changed interface of
188 find_what_var_points_to.
189 (compute_points_to_sets): Likewise.
190 (ipa_pta_execute): Likewise.
192 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
194 * configure.ac (HAVE_AS_SPARC_NOBITS): New test.
195 * configure: Regenerate.
196 * config.in: Regenerate.
197 * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit
198 #nobits/#progbits if supported.
200 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org>
203 * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a,
204 bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a,
205 bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition.
207 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
209 * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove.
210 (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all.
212 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
214 * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL.
215 * config/arm/cortex-a7.md (cortex_a7_call): Update required units.
217 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
219 * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New
221 * config/arm/arm.c (arm_mac_accumulator_is_result): New function.
222 * config/arm/cortex-a7.md: New bypasses using
223 arm_mac_accumulator_is_result.
225 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
227 * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation.
228 (cortex_a7_neon_mla): Likewise.
229 (cortex_a7_fpfmad): New reservation.
230 (cortex_a7_fpmacs): Use ffmas and update required units.
231 (cortex_a7_fpmuld): Update required units and latency.
232 (cortex_a7_fpmacd): Likewise.
233 (cortex_a7_fdivs, cortex_a7_fdivd): Likewise.
234 (cortex_a7_neon). Likewise.
235 (bypass) Update participating units.
237 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
239 * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute.
240 * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type
242 * config/arm/vfp11.md (vfp_farith): Use ffmas.
243 (vfp_fmul): Use ffmad.
244 * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas.
245 (cortex_r4_fmacd): Use ffmad.
246 * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas.
247 * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas.
248 (cortex_a9_fmacd): Use ffmad.
249 * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas.
250 (cortex_a8_vfp_macd): Use ffmad.
251 * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas.
252 (cortex_a5_fpmacd): Use ffmad.
253 * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas.
254 (cortex_a15_vfp_macd): Use ffmad.
255 * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad.
257 2013-01-29 Jason Merrill <jason@redhat.com>
260 * varasm.c (default_assemble_visibility): Don't warn about
261 visibility on artificial decls.
263 2013-01-29 Richard Biener <rguenther@suse.de>
265 PR tree-optimization/56113
266 * tree-ssa-structalias.c (equiv_class_lookup): Also return
268 (label_visit): Free duplicate bitmaps and record the leader instead.
269 (perform_var_substitution): Adjust.
271 2013-01-29 Richard Biener <rguenther@suse.de>
273 PR tree-optimization/55270
274 * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed
275 the CFG, schedule loops for fixup.
277 2013-01-29 Nick Clifton <nickc@redhat.com>
279 * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow
282 2013-01-28 Leif Ekblad <leif@rdos.net>
284 * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets.
285 * config/i386/i386.h (TARGET_RDOS): New macro.
286 (DEFAULT_LARGE_SECTION_THRESHOLD): New macro.
287 * config/i386/i386.c (ix86_option_override_internal): For 64bit
288 TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1.
289 * config/i386/i386.opt (mlarge-data-threshold): Initialize to
290 DEFAULT_LARGE_SECTION_THRESHOLD.
291 * config/i386/i386.md (R14_REG, R15_REG): New constants.
292 * config/i386/rdos.h: New file.
293 * config/i386/rdos64.h: New file.
295 2013-01-28 Bernd Schmidt <bernds@codesourcery.com>
298 * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of
301 2013-01-28 Jakub Jelinek <jakub@redhat.com>
303 PR rtl-optimization/56117
304 * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib
305 call cselib_lookup_from_insn on the MEM before calling
306 add_insn_mem_dependence.
308 2013-01-28 Richard Biener <rguenther@suse.de>
310 * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK
311 to a stmt that didn't have one.
312 (copy_phis_for_bb): Likewise for PHI arguments.
313 (copy_debug_stmt): Likewise for debug stmts.
315 2013-01-28 Richard Biener <rguenther@suse.de>
317 PR tree-optimization/56034
318 * tree-loop-distribution.c (enum partition_kind): Add
320 (partition_builtin_p): Adjust.
321 (generate_code_for_partition): Handle PKIND_REDUCTION. Assert
322 it is the last partition.
323 (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking
324 up the vertex for the definition.
325 (classify_partition): Classify whether a partition is a
326 PKIND_REDUCTION, thus has uses outside of the loop.
327 (ldist_gen): Inherit PKIND_REDUCTION when merging partitions.
328 Merge all PKIND_REDUCTION partitions into the last partition.
329 (tree_loop_distribution): Seed partitions from reductions as well.
331 2013-01-28 Jakub Jelinek <jakub@redhat.com>
333 PR tree-optimization/56125
334 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize
335 pow(x,c) into sqrt(x) * powi(x, n/2) or
336 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when
338 Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or
339 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an
342 PR tree-optimization/56094
343 * gimplify.c (force_gimple_operand_1): Temporarily set input_location
344 to UNKNOWN_LOCATION while gimplifying expr.
346 2013-01-27 Uros Bizjak <ubizjak@gmail.com>
349 * config/i386/i386.md (*movabs<mode>_1): Add square brackets around
350 operand 0 in movabs insn template for -masm=intel asm alternative.
351 (*movabs<mode>_2): Ditto for operand 1.
353 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
356 * config.gcc (microblaze*-linux*): Add tmake_file to allow building
359 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
361 * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update
364 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
366 * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS):
367 Undef to avoid warning.
369 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at>
371 * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
372 * configure: Regenerate.
374 2013-01-25 Jakub Jelinek <jakub@redhat.com>
376 PR tree-optimization/56098
377 * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr
378 for stmts with volatile ops.
379 (cond_store_replacement): Don't optimize if assign has volatile ops.
380 (cond_if_else_store_replacement_1): Don't optimize if either
381 then_assign or else_assign have volatile ops.
382 (hoist_adjacent_loads): Don't optimize if either def1 or def2 have
385 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
387 * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__.
389 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
391 * doc/extend.texi (Example of asm with clobbered asm reg): Fix
392 missing ':' in asm example.
394 2013-01-25 Tejas Belagod <tejas.belagod@arm.com>
396 * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane
397 entries into lane and laneq entries.
398 * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>):
399 Remove AdvSIMD scalar modes.
400 (aarch64_sq<r>dmulh_laneq<mode>): New.
401 (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD
403 * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics'
404 builtin implementations to relfect changes in RTL in aarch64-simd.md.
405 * config/aarch64/iterators.md (VCOND): New.
408 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
411 * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument.
412 Add NULL LIBNAME argument to existing definitions.
413 (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New.
414 * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument.
415 * config/avr/avr.c (DEF_BUILTIN): Same.
416 (avr_init_builtins): Pass down LIBNAME to add_builtin_function.
417 (avr_expand_builtin): Expand to a vanilla call if a libgcc
418 implementation is available (DECL_ASSEMBLER_NAME is set).
419 (avr_fold_absfx): New static function.
420 (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR,
421 AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR,
422 AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK,
424 * config/avr/stdfix.h (abshr, absr, abslr, absllr)
425 (abshk, absk, abslk, absllk): Provide as static inline functions.
427 2013-01-25 Marek Polacek <polacek@redhat.com>
429 PR tree-optimization/56035
430 * cfgloopmanip.c (fix_loop_structure): Remove redundant condition.
432 2012-01-24 Uros Bizjak <ubizjak@gmail.com>
434 * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative.
435 (*movtf_internal_rex64): Add (!o,C) alternative
436 (*movxf_internal_rex64): Ditto.
437 (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives.
439 2013-01-24 Shenghou Ma <minux.ma@gmail.com>
441 * doc/invoke.texi: fix typo.
442 * doc/objc.texi: fix typo.
444 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com>
446 * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
447 for the first two alternatives.
449 2013-01-24 Diego Novillo <dnovillo@google.com>
451 * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o.
452 (ggc-zone.o): Remove.
453 * configure.ac: Remove option --with-gc.
454 * configure: Re-generate.
455 * doc/install.texi: Remove documentation for --with-gc.
456 * gengtype.c (write_enum_defn): Remove. Update all users.
457 (write_Types_process_field): Remove generation of gt_e_* argument.
458 (output_type_enum): Remove. Update all users.
459 (write_enum_defn): Remove. Update all users.
460 (enum alloc_zone): Remove. Update all users.
461 (write_splay_tree_allocator_def): Remove generation of gt_e_* argument.
462 * ggc-common.c (ggc_splay_alloc): Remove first argument.
464 (struct ptr_data): Remove field TYPE. Update all users.
465 (gt_pch_note_object): Remove argument TYPE. Update all users.
466 * ggc-internal.h (ggc_pch_alloc_object): Remove last argument.
468 * ggc-none.c (ggc_alloc_typed_stat): Remove.
469 (struct alloc_zone): Remove.
470 (ggc_internal_alloc_zone_stat): Remove.
471 (ggc_internal_cleared_alloc_zone_stat): Remove.
472 * ggc-page.c (ggc_alloc_typed_stat): Remove.
473 (ggc_pch_count_object): Remove last argument. Update all users.
474 (ggc_pch_alloc_object): Remove last argument. Update all users.
475 (struct alloc_zone): Remove.
476 * ggc-zone.c: Remove.
477 * ggc.h (gt_pch_note_object): Remove last argument. Update all users.
478 (struct alloc_zone): Remove.
479 (ggc_alloc_typed_stat): Remove.
480 (ggc_alloc_typed): Remove.
481 (ggc_splay_alloc): Remove first argument.
482 (rtl_zone): Remove. Update all users.
483 (tree_zone): Remove. Update all users.
484 (tree_id_zone): Remove. Update all users.
485 (ggc_internal_zone_alloc_stat): Remove. Update all users.
486 (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users.
487 (ggc_internal_zone_vec_alloc_stat): Remove. Update all users.
488 * tree-ssanames.c: Remove references to zone allocator in comments.
490 2013-01-24 Georg-Johann Lay <avr@gjlay.de>
492 * config/avr/avr.c (avr_out_fract): Make register numbers that
493 might be outside of source operand signed.
495 2013-01-24 Uros Bizjak <ubizjak@gmail.com>
497 * config/i386/constraints.md (Yf): New constraint.
498 * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead
499 of f constraint to conditionaly disable x87 register preferences.
500 (*movdf_internal): Ditto.
501 (*movsf_internal): Ditto.
503 2013-01-24 Steven Bosscher <steven@gcc.gnu.org>
506 * lra-assigns.c (assign_by_spills): Throw away the pattern of asms
507 that have operands with impossible constraints.
508 Add a FIXME for a speed-up opportunity.
509 * lra-constraints.c (process_alt_operands): Verify that a class
510 selected from constraints on asms is valid for the operand mode.
511 (curr_insn_transform): Remove incorrect comment.
513 2013-01-23 David Edelsohn <dje.gcc@gmail.com>
515 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that
516 TOC operand is a valid symbol ref in the constant pool.
518 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com>
520 * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS
522 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
525 * config/avr/stdfix.h: New file.
526 * t-avr (stdfix-gcc.h): New rule to build it.
527 (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h.
529 2013-01-23 Kostya Serebryany <kcc@google.com>
531 * config/darwin.h: remove dependency on
532 CoreFoundation (asan on Mac OS).
534 2013-01-23 Jakub Jelinek <jakub@redhat.com>
537 * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
538 instead of cmpdi_operand for first comparison operand.
539 Don't assert that comparison operands aren't both constants.
541 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
543 * doc/install.texi (Downloading the Source): Update references to
544 downloading separate components.
546 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
548 * doc/extend.texi (__int128): Improve grammar.
550 2013-01-22 Uros Bizjak <ubizjak@gmail.com>
553 * config/i386/i386.md (*movti_internal_rex64): Change (o,riF)
554 alternative to (o,r).
555 (*movdi_internal_rex64): Remove (!o,n) alternative.
556 (DImode immediate->memory splitter): Remove.
557 (DImode immediate->memory peephole2): Remove.
558 (movtf): Enable for TARGET_64BIT || TARGET_SSE.
559 (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r)
560 alternative to (!o,*r).
561 (*movtf_internal_sse): New pattern.
562 (*movxf_internal_rex64): New pattern.
563 (*movxf_internal): Disable for TARGET_64BIT.
564 (*movdf_internal_rex64): Remove (!o,F) alternative.
566 2013-01-22 Jakub Jelinek <jakub@redhat.com>
569 * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc)
570 isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION.
571 * tree-vect-loop-manip.c (find_loop_location): Also ignore
572 stmt locations where LOCATION_LOCUS of the stmt location is
573 UNKNOWN_LOCATION or BUILTINS_LOCATION.
576 * config/i386/i386.md (UNSPEC_STOS): New.
577 (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1,
578 *strsetqi_1): Add UNSPEC_STOS.
580 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com>
583 * doc/invoke.texi: Remove left over -Wsynth example.
585 2013-01-21 Jakub Jelinek <jakub@redhat.com>
587 PR tree-optimization/56051
588 * fold-const.c (fold_binary_loc): Don't fold
589 X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
590 a narrowing conversion, or widening conversion from signed
593 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
595 PR rtl-optimization/56023
596 * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
597 dependent on debug instruction.
599 2013-01-21 Martin Jambor <mjambor@suse.cz>
602 * function.c (allocate_struct_function): Call
603 invoke_set_current_function_hook earlier.
605 2013-01-21 Jakub Jelinek <jakub@redhat.com>
607 * reload1.c (init_reload): Only initialize reload_obstack
608 during the first call.
610 2013-01-21 Marek Polacek <polacek@redhat.com>
612 * cfgloop.c (verify_loop_structure): Fix up grammar.
614 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com>
616 * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift,
617 pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift.
619 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
622 * config/arm/marvell-pj4.md: Update copyright year.
623 Fix up use of alu to alu_reg and simple_alu_imm.
625 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
627 * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
629 2013-01-20 Vladimir Makarov <vmakarov@redhat.com>
632 * lra-constraints.c (curr_insn_transform): Don't reuse original
633 insn for secondary memory move when memory mode should be different.
635 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
637 * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi,
638 atomic_storedi_1): New patterns.
640 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
642 btver2 pipeline descriptions.
643 * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
645 * config/i386/i386.md (btver2_decode): New type attributes.
646 * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
648 * config/i386/btver2.md: New file describing btver2 pipelines.
650 2013-01-19 Andrew Pinski <apinski@cavium.com>
652 PR tree-optimization/52631
653 * tree-ssa-sccvn (visit_use): Before looking up the original
654 statement, try looking up the simplified expression.
656 2013-01-19 Anthony Green <green@moxielogic.com>
658 * config/moxie/moxie.c (moxie_expand_prologue): Set
659 current_function_static_stack_size.
661 2013-01-18 Jakub Jelinek <jakub@redhat.com>
663 PR tree-optimization/56029
664 * tree-phinodes.c (reserve_phi_args_for_new_edge): Set
665 gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
667 2013-01-18 Sharad Singhai <singhai@google.com>
669 PR tree-optimization/55995
670 * dumpfile.c (dump_loc): Print location only if available.
671 * tree-vectorizer.c (increase_alignment): Intialize vect_location.
673 2013-01-18 Vladimir Makarov <vmakarov@redhat.com>
676 * lra-constraints.c (curr_insn_transform): Reuse original insn for
677 secondary memory move.
678 (inherit_reload_reg): Use rclass instead of cl for
679 check_secondary_memory_needed_p.
681 2013-01-18 Jakub Jelinek <jakub@redhat.com>
684 * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
685 the case where writing real complex part of target modifies op1.
687 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com>
689 * config/aarch64/aarch64-simd.md
690 (aarch64_vcond_internal<mode>): Handle unordered cases.
691 * config/aarch64/iterators.md (v_cmp_result): New.
693 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com>
694 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
696 * config/arm/marvell-pj4.md: New file.
697 * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
698 * config/arm/arm.md (generic_sched): Add marvell_pj4.
699 (generic_vfp): Likewise.
700 * config/arm/arm-cores.def: Add marvell-pj4.
701 * config/arm/arm-tune.md: Regenerate.
702 * config/arm/arm-tables.opt: Regenerate.
703 * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
704 * doc/invoke.texi: Document marvell-pj4.
706 2013-01-18 Tejas Belagod <tejas.belagod@arm.com>
708 * config/aarch64/arm_neon.h: Map scalar types to standard types.
710 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
715 * var-tracking.c (negative_power_of_two_p): New.
716 (global_get_addr_cache, local_get_addr_cache): New.
717 (get_addr_from_global_cache, get_addr_from_local_cache): New.
718 (vt_canonicalize_addr): Rewrite using the above. Adjust the
720 (vt_stack_offset_p): Remove.
721 (vt_canon_true_dep): Always canonicalize loc's address.
722 (clobber_overlapping_mems): Make sure we have a MEM.
723 (local_get_addr_clear_given_value): New.
724 (val_reset): Clear local cached entries.
725 (compute_bb_dataflow): Create and release the local cache.
726 Disable duplicate MEMs clobbering.
727 (emit_notes_in_bb): Clobber MEMs likewise.
728 (vt_emit_notes): Create and release the local cache.
729 (vt_initialize, vt_finalize): Create and release the global
731 * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
733 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
736 * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
737 not found in the symtab.
739 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
742 PR rtl-optimization/55547
743 PR rtl-optimization/53827
746 * alias.c (offset_overlap_p): New, factored out of...
747 (memrefs_conflict_p): ... this. Use absolute sizes. Retain
748 the conservative special case for symbolic constants. Don't
749 adjust zero sizes on alignment.
751 2013-01-18 Bernd Schmidt <bernds@codesourcery.com>
753 PR rtl-optimization/52573
754 * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
755 REG_UNUSED for the same register.
757 2013-01-17 Richard Biener <rguenther@suse.de>
758 Marek Polacek <polacek@redhat.com>
760 PR rtl-optimization/55833
761 * loop-unswitch.c (unswitch_loops): Move loop verification...
762 (unswitch_single_loop): ...here. Call mark_irreducible_loops.
763 * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
764 Set it to true when we're removing a loop from hierarchy tree in
765 an irreducible region.
766 (fix_bb_placements): Adjust caller.
767 (fix_loop_placements): Likewise.
769 2013-01-17 Georg-Johann Lay <avr@gjlay.de>
771 * config/avr/builtins.def (DEF_BUILTIN): Factor out
772 "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
773 Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
774 Remove ID. Adjust comments.
775 * config/avr/avr-c.c (avr_builtin_name): Remove.
776 (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
777 * config/avr/avr.c (avr_tolower): New static function.
778 (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'.
779 Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
780 (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
783 2013-01-17 Jan Hubicka <jh@suse.cz>
785 PR tree-optimization/55273
786 * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
788 2013-01-17 Uros Bizjak <ubizjak@gmail.com>
791 * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
792 store through atomic_store<mode>_1.
793 (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
795 2013-01-17 Martin Jambor <mjambor@suse.cz>
797 PR tree-optimizations/55264
798 * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
800 * ipa.c (symtab_remove_unreachable_nodes): Never return true for
801 virtual methods before inlining is over.
802 * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
804 * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
807 2013-01-16 Vladimir Makarov <vmakarov@redhat.com>
809 PR rtl-optimization/56005
810 * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
811 pending reads for prefetch.
813 2013-01-16 Ian Bolton <ian.bolton@arm.com>
815 * config/aarch64/aarch64.md
816 (*cstoresi_neg_uxtw): New pattern.
817 (*cmovsi_insn_uxtw): New pattern.
818 (*<optab>si3_uxtw): New pattern.
819 (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
820 (*<optab>si3_insn_uxtw): New pattern.
821 (*bswapsi2_uxtw): New pattern.
823 2013-01-16 Richard Biener <rguenther@suse.de>
825 * tree-inline.c (tree_function_versioning): Remove set but
828 2013-01-16 Richard Biener <rguenther@suse.de>
830 PR tree-optimization/55964
831 * tree-flow.h (rename_variables_in_loop): Remove.
832 (rename_variables_in_bb): Likewise.
833 * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
834 (copy_loop_before): Adjust and delete update-ssa status.
835 * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
836 (rename_variables_in_bb): Likewise. Properly walk over predecessors.
837 (rename_variables_in_loop): Remove.
838 (slpeel_update_phis_for_duplicate_loop): Likewise.
839 (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
840 use available cfg machinery instead of duplicating it.
841 Update PHI nodes and perform poor-mans SSA update here.
842 (slpeel_tree_peel_loop_to_edge): Adjust.
844 2013-01-16 Richard Biener <rguenther@suse.de>
846 PR tree-optimization/54767
847 PR tree-optimization/53465
848 * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
849 (vrp_visit_phi_node): For PHI arguments coming via backedges
850 drop all symbolical range information.
851 (execute_vrp): Compute backedges.
853 2013-01-16 Richard Biener <rguenther@suse.de>
855 * doc/install.texi: Update CLooG and ISL requirements to
858 2013-01-16 Christian Bruel <christian.bruel@st.com>
861 * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
862 (broken_move): Handle UNSPECV_SP_SWITCH_B.
863 * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
865 2013-01-16 DJ Delorie <dj@redhat.com>
867 * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
868 (UNSPECV_SP_SWITCH_E): New.
869 (sp_switch_1): Change to an unspec.
870 (sp_switch_2): Change to an unspec. Don't use post-inc when we
873 2013-01-16 Uros Bizjak <ubizjak@gmail.com>
875 * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
876 with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
877 * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
878 (expand_mem_thread_fence): Ditto.
879 (expand_mem_signal_fence): Ditto.
880 (expand_atomic_load): Ditto.
881 (expand_atomic_store): Ditto.
883 2013-01-16 Alexandre Oliva <aoliva@redhat.com>
885 PR rtl-optimization/55547
886 PR rtl-optimization/53827
889 * alias.c (memrefs_conflict_p): Set sizes to negative after
892 2013-01-15 Jakub Jelinek <jakub@redhat.com>
895 * function.c (thread_prologue_and_epilogue_insns): Always
896 add crtl->drap_reg to set_up_by_prologue.set, even if
897 stack_realign_drap is false.
899 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
901 * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
902 and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
903 *call): Fix indention.
905 2013-01-15 Tom de Vries <tom@codesourcery.com>
908 * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
911 2013-01-15 Vladimir Makarov <vmakarov@redhat.com>
913 PR rtl-optimization/55153
914 * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
916 2013-01-15 Martin Jambor <mjambor@suse.cz>
918 PR tree-optimization/55920
919 * tree-sra.c (analyze_access_subtree): Do not mark non-removable
920 accesses as grp_to_be_debug_replaced.
922 2013-01-15 Jakub Jelinek <jakub@redhat.com>
924 PR tree-optimization/55920
925 * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
926 there is non-useless type conversion needed from debug rhs to lhs,
927 use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
929 2013-01-15 Joseph Myers <joseph@codesourcery.com>
930 Mikael Pettersson <mikpe@it.uu.se>
933 * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
935 (ASM_OUTPUT_CASE_LABEL): Remove.
936 (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
937 * final.c (shorten_branches): Update alignment of labels before
938 jump tables if CASE_VECTOR_SHORTEN_MODE.
940 2013-01-15 Richard Biener <rguenther@suse.de>
943 * system.h: Do not include gmp.h for building host tools.
945 2013-01-15 Richard Biener <rguenther@suse.de>
948 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
949 account for bitpos when computing alignment.
951 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com>
953 * config/i386/i386-c.c (ix86_target_macros_internal): New case.
954 (ix86_target_macros_internal): Likewise.
956 * config/i386/i386.c (m_CORE2I7): Removed.
957 (m_CORE_HASWELL): New macro.
958 (m_CORE_ALL): Likewise.
959 (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
960 (initial_ix86_arch_features): Likewise.
961 (processor_target_table): Initializations for Core avx2.
962 (cpu_names): New names "core-avx2".
963 (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
964 PROCESSOR_CORE_HASWELL.
965 (ix86_issue_rate): New case.
966 (ia32_multipass_dfa_lookahead): Likewise.
967 (ix86_sched_init_global): Likewise.
969 * config/i386/i386.h (TARGET_HASWELL): New macro.
970 (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
971 (processor_type): New PROCESSOR_HASWELL.
973 2013-01-15 Jakub Jelinek <jakub@redhat.com>
975 PR tree-optimization/55955
976 * tree-vect-loop.c (vectorizable_reduction): Give up early on
977 *SHIFT_EXPR and *ROTATE_EXPR codes.
979 PR tree-optimization/48766
980 * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
981 -ftrapv disable -fwrapv.
983 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
986 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
987 etc. to 1 and not to __flash.
988 Use LL suffix for __INT24_MAX__ with -mint8.
989 Use ULL suffix for __UINT24_MAX__ with -mint8.
991 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
993 * config/avr/avr-arch.h
994 (struct base_arch_s): Use typedef avr_arch_t instead.
995 (struct arch_info_s): Use typedef avr_arch_info_t instead.
996 (struct mcu_type_s): Use typedef avr_mcu_t instead.
997 * config/avr/avr.c: Same.
998 * config/avr/avr-devices.c: Same.
999 * config/avr/driver-avr.c: Same.
1000 * config/avr/gen-avr-mmcu-texi.c: Same.
1001 * config/avr/avr-mcus.def: Adjust comment.
1003 2013-01-14 Tejas Belagod <tejas.belagod@arm.com>
1005 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
1006 * config/aarch64/iterators.md (VALLDI): New.
1008 2013-01-14 Uros Bizjak <ubizjak@gmail.com>
1009 Andi Kleen <ak@linux.intel.com>
1012 * config/i386/sync.md (atomic_store<mode>_1): New pattern.
1013 (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
1016 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1018 * config/avr/avr-stdint.h: Remove trailing blanks.
1019 * config/avr/avr-log.h: Same.
1020 * config/avr/avr-arch.h: Same.
1021 * config/avr/avr-devices.c: Same.
1022 * config/avr/avr-dimode.md: Same.
1023 * config/avr/predicates.md: Same.
1024 * config/avr/avr-c.c: Same. And fix typo.
1026 * config/avr/avr-protos.h: Same. And:
1027 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
1028 (init_cumulative_args): Rename to avr_init_cumulative_args.
1029 (expand_prologue): Rename to avr_expand_prologue.
1030 (expand_epilogue): Rename to avr_expand_epilogue.
1031 (adjust_insn_length): Rename to avr_adjust_insn_length.
1032 (notice_update_cc): Rename to avr_notice_update_cc.
1033 (final_prescan_insn): Rename to avr_final_prescan_insn.
1034 * config/avr/avr.c: Same.
1035 * config/avr/avr.h: Same.
1036 * config/avr/avr.md: Remove trailing blanks.
1037 (prologue): Use avr_expand_prologue.
1038 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
1040 2013-01-14 Richard Biener <rguenther@suse.de>
1042 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
1043 verify_location, collect_subblocks): New functions.
1044 (verify_gimple_in_cfg): Verify that locations only reference
1045 BLOCKs in the functions BLOCK tree.
1047 2013-01-14 Richard Biener <rguenther@suse.de>
1049 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
1051 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
1053 (insert_out_of_ssa_copy_on_edge): Likewise.
1054 (rewrite_close_phi_out_of_ssa): Likewise.
1055 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
1057 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
1058 propagated constants.
1059 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
1062 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1064 * config/avr/avr-modes.def: Add GPL copyright notice.
1066 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
1068 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
1069 MEMMODEL_MASK to determine memory model.
1070 (atomic_store<mode>): Ditto from operands[2].
1071 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
1073 2013-01-13 Jakub Jelinek <jakub@redhat.com>
1076 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
1077 (fold_gimple_assign): Don't call unshare_expr here.
1078 (fold_ctor_reference): Call unshare_expr.
1080 2013-01-13 Terry Guo <terry.guo@arm.com>
1082 * Makefile.in (s-mlib): New argument MULTILIB_REUSE.
1083 * doc/fragments.texi: Document MULTILIB_REUSE.
1084 * gcc.c (multilib_reuse): New internal spec.
1085 (set_multilib_dir): Also search multilib from multilib_reuse.
1086 * genmultilib (tmpmultilib3): Refactor code.
1087 (tmpmultilib4): Ditto.
1088 (multilib_reuse): New multilib argument.
1090 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
1092 * Makefile.in: Update copyright.
1094 2013-01-12 Tom de Vries <tom@codesourcery.com>
1097 * calls.c (expand_call): Check if arg_nr is valid.
1099 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1101 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
1102 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
1103 documentation. Add missing '__' in front of
1104 __builtin_ia32_packssdw256.
1106 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1109 * config/s390/s390.c (s390_preferred_reload_class): Do not return
1110 NO_REGS for larl operands.
1111 (s390_reload_larl_operand): Use s390_load_address instead of
1114 2013-01-11 Richard Biener <rguenther@suse.de>
1116 * tree-cfg.c (verify_node_sharing_1): Split out from ...
1117 (verify_node_sharing): ... here.
1118 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
1120 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
1122 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
1123 Substitute TREECHECKING.
1124 * configure: Regenerate.
1125 * Makefile.in (TREECHECKING): New.
1127 2013-01-11 Richard Guenther <rguenther@suse.de>
1129 PR tree-optimization/44061
1130 * tree-vrp.c (extract_range_basic): Compute zero as
1131 value-range for __builtin_constant_p of function parameters.
1133 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
1135 Update copyright years.
1137 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
1139 PR rtl-optimization/55672
1140 * lra-eliminations.c (mark_not_eliminable): Permit addition with
1141 const to be eliminable.
1143 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
1145 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
1146 * configure: Regenerate.
1148 2013-01-10 Richard Biener <rguenther@suse.de>
1150 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
1152 2013-01-10 Richard Biener <rguenther@suse.de>
1155 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
1156 locations for virtual PHI arguments.
1157 (rewrite_update_phi_arguments): Likewise.
1159 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
1161 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
1164 2013-01-10 Jakub Jelinek <jakub@redhat.com>
1166 PR tree-optimization/55921
1167 * tree-complex.c (expand_complex_asm): New function.
1168 (expand_complex_operations_1): Call it for GIMPLE_ASM.
1170 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1173 * config/s390/s390.c (s390_symref_operand_p)
1174 (s390_loadrelative_operand_p): Merge the two functions.
1175 (s390_check_qrst_address, print_operand_address): Add parameters
1176 to s390_loadrelative_operand_p invokation.
1177 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
1178 (s390_reload_larl_operand, s390_secondary_reload): Use
1179 s390_loadrelative_operand_p instead of s390_symref_operand_p.
1180 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
1182 2013-01-09 Mike Stump <mikestump@comcast.net>
1184 * dse.c (record_store): Remove unnecessary assert.
1186 2013-01-09 Jan Hubicka <jh@suse.cz>
1188 PR tree-optimization/55569
1189 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
1190 * cfgloop.h (scale_loop_profile): Likewise.
1192 2013-01-09 Jan Hubicka <jh@suse.cz>
1195 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
1197 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
1199 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
1202 * expr.h (maybe_emit_group_store): Declare.
1203 * expr.c (maybe_emit_group_store): New function.
1204 * builtins.c (expand_builtin_int_roundingfn): Call it.
1205 (expand_builtin_int_roundingfn_2): Likewise.
1207 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
1209 PR rtl-optimization/55829
1210 * lra-constraints.c (match_reload): Add code for absent output.
1211 (curr_insn_transform): Add code for reloads of matched inputs
1214 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
1216 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
1217 attribute of movddup insn to DF.
1218 (*vec_interleave_lowv2df): Ditto.
1219 (vec_dupv2df): Ditto.
1221 2013-01-09 Jan Hubicka <jh@suse.cz>
1223 PR tree-optimiation/55875
1224 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
1225 EVERY_ITERATION parameter.
1226 (number_of_iterations_exit): Check if exit is executed every iteration.
1227 (idx_infer_loop_bounds): Similarly here.
1228 (n_of_executions_at_most): Simplify
1229 to only test for cases where statement is dominated by the
1230 particular bound; handle correctly the "postdominance" test.
1231 (scev_probably_wraps_p): Use max loop iterations info
1232 as a global bound first.
1234 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
1235 Nick Clifton <nickc@redhat.com>
1237 * config/v850/v850.md (cbranchsf4): New pattern.
1238 (cstoresf4): New pattern.
1239 (cbranchdf4): New pattern.
1240 (cstoredf4): New pattern.
1241 (movsicc): Disallow floating point comparisons.
1242 (cmpsf_le_insn): Fix order of operators.
1243 (cmpsf_lt_insn): Likewise.
1244 (cmpsf_eq_insn): Likewise.
1245 (cmpdf_le_insn): Likewise.
1246 (cmpdf_lt_insn): Likewise.
1247 (cmpdf_eq_insn): Likewise.
1248 (cmpsf_ge_insn): Use LE comparison.
1249 (cmpdf_ge_insn): Likewise.
1250 (cmpsf_gt_insn): Use LT comparison.
1251 (cmpdf_gt_insn): Likewise.
1252 (cmpsf_ne_insn): Delete pattern.
1253 (cmpdf_ne_insn): Delete pattern.
1254 * config/v850/v850.c (v850_gen_float_compare): Use
1255 gen_cmpdf_eq_insn for NE comparison.
1256 (v850_float_z_comparison_operator)
1257 (v850_float_nz_comparison_operator): Move from here ...
1258 * config/v850/predicates.md: ... to here. Move GT and GE
1259 comparisons into v850_float_z_comparison_operator.
1260 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
1262 (v850_float_nz_comparison_operator): Likewise.
1264 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1266 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
1267 with calls to gen_insvsi/gen_insvdi.
1269 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1271 * config/i386/i386.c (initial_ix86_tune_features): Set up
1272 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
1274 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
1275 Jakub Jelinek <jakub@redhat.com>
1277 PR tree-optimization/48189
1278 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
1279 If nitercst is 0, don't predict the exit edge.
1281 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
1283 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
1284 in asm_fprintf with reg_names.
1285 (aarch64_print_operand_address): Likewise.
1286 (aarch64_return_addr): Likewise.
1287 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
1289 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1291 * config/pa/pa.h (VAL_U6_BITS_P): Define.
1292 (INT_U6_BITS): Likewise.
1293 * config/pa/predicates.md (uint6_operand): New predicate.
1294 (shift5_operand, shift6_operand): Likewise.
1295 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
1297 (lshrdi3): Use shift6_operand.
1298 (shrpsi4, shrpdi4): New insn patterns.
1299 (extzv): Delete expander.
1300 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
1301 predicates in unamed zero extract patterns. Tighten common constraint.
1302 (extv): Delete expander.
1303 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
1304 predicates in unamed sign extract patterns. Tighten common constraint.
1305 (insv): Delete expander.
1306 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
1307 predicates in unamed insert patterns. Tighten common constraint.
1308 Change uint32_operand predicate to uint6_operand predicate in unamed
1309 DImode pattern to insert constant values of type 1...1xxxx.
1311 2013-01-04 Jan Hubicka <jh@suse.cz>
1313 PR tree-optimization/55823
1314 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
1317 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1318 Uros Bizjak <ubizjak@gmail.com>
1320 PR rtl-optimization/55845
1321 * df-problems.c (can_move_insns_across): Stop scanning at
1322 volatile_insn_p source instruction or give up if
1323 across_from .. across_to range contains any volatile_insn_p
1326 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
1328 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
1329 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
1331 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
1332 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
1334 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1337 * asan.c (asan_clear_shadow): New function.
1338 (asan_emit_stack_protection): Use it.
1340 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
1342 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
1343 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
1344 with tab instead of space.
1346 2013-01-08 Nick Clifton <nickc@redhat.com>
1348 * config/rl78/rl78.c (rl78_expand_prologue): Always select
1349 register bank 0 at the start of an interrupt handler.
1350 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
1353 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
1355 * config/aarch64/aarch64-simd.md
1356 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
1357 (aarch64_simd_bsl): Likewise.
1358 (aarch64_vcond_internal<mode>): Likewise.
1359 (vcond<mode><mode>): Likewise.
1360 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
1361 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
1363 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
1365 * config/aarch64/aarch64-builtins.c
1366 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
1368 2013-01-08 Martin Jambor <mjambor@suse.cz>
1371 * tree-sra.c (analyze_access_subtree): Return true also after
1372 potentially creating a debug-only replacement.
1374 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1377 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
1379 PR tree-optimization/54120
1380 * tree-vrp.c (range_fits_type_p): Don't allow
1381 src_precision < precision from signed vr to unsigned_p
1382 if vr->min or vr->max is negative.
1383 (simplify_float_conversion_using_ranges): Test can_float_p
1384 against CODE_FOR_nothing.
1386 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1387 Richard Biener <rguenther@suse.de>
1390 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
1391 types instead of just INTEGER_TYPE types.
1393 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
1395 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
1398 2013-01-07 Steve Ellcey <sellcey@mips.com>
1401 * config/mips/mips.opt: Change mad to mmad to match documentation.
1403 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1406 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
1409 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1412 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
1413 (avr_addrspace_t): Add .section_name field.
1414 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
1416 (avr_addrspace): Same. Initialize .section_name. Remove last
1417 NULL entry. Put __memx into .progmemx.data.
1418 (progmem_section_prefix): Remove.
1419 (avr_asm_init_sections): No need to initialize progmem_section.
1420 (avr_asm_named_section): Use avr_addrspace[].section_name to get
1421 section name prefix.
1422 (avr_asm_select_section): Ditto. And use get_unnamed_section to
1423 retrieve the progmem section.
1424 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
1425 boundary to run over avr_addrspace[].
1426 (avr_register_target_pragmas): Ditto.
1428 2013-01-06 Jakub Jelinek <jakub@redhat.com>
1430 * varasm.c (output_constant_def_contents): For asan_protect_global
1431 protected strings, adjust DECL_ALIGN if needed, before testing for
1433 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
1434 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
1436 (output_object_block): For asan protected decls, emit asan padding
1437 after their contents.
1438 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
1439 (asan_finish_file): Test it here instead.
1441 2013-01-07 Nick Clifton <nickc@redhat.com>
1442 Matthias Klose <doko@debian.org>
1443 Doug Kwan <dougkwan@google.com>
1444 H.J. Lu <hongjiu.lu@intel.com>
1447 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
1449 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
1451 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
1453 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
1455 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
1457 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1460 * doc/install.texi (Cross-Compiler-Specific Options): Document
1463 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
1465 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
1466 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
1467 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
1468 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
1469 vqmovun_high_s64): Fix source operand number and update copyright.
1471 2013-01-07 Richard Biener <rguenther@suse.de>
1474 * gimple.h (gimple_call_builtin_p): New overload.
1475 * gimple.c (validate_call): New function.
1476 (gimple_call_builtin_p): Likewise.
1477 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
1478 Use gimple_call_builtin_p.
1479 (find_func_clobbers): Likewise.
1480 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
1481 (strlen_optimize_stmt): Likewise.
1483 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1485 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
1486 (vld1q_dup_*): Likewise.
1488 (vld1q_*): Likewise.
1489 (vld1_lane_*): Likewise.
1490 (vld1q_lane_*): Likewise.
1492 2013-01-07 Richard Biener <rguenther@suse.de>
1494 * lto-streamer.h (LTO_minor_version): Bump to 2.
1496 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1498 * config/aarch64/aarch64-protos.h
1499 (aarch64_const_double_zero_rtx_p): Rename to...
1500 (aarch64_float_const_zero_rtx_p): ...this.
1501 (aarch64_float_const_representable_p): New.
1502 (aarch64_output_simd_mov_immediate): Likewise.
1503 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
1504 move immediate case.
1505 * config/aarch64/aarch64.c
1506 (aarch64_const_double_zero_rtx_p): Rename to...
1507 (aarch64_float_const_zero_rtx_p): ...this.
1508 (aarch64_print_operand): Allow printing of new constants.
1509 (aarch64_valid_floating_const): New.
1510 (aarch64_legitimate_constant_p): Check for valid floating-point
1512 (aarch64_simd_valid_immediate): Likewise.
1513 (aarch64_vect_float_const_representable_p): New.
1514 (aarch64_float_const_representable_p): Likewise.
1515 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
1516 (aarch64_output_simd_mov_immediate): New.
1517 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
1518 (*movdf_aarch64): Likewise.
1519 * config/aarch64/constraints.md (Ufc): New.
1520 (Y): call aarch64_float_const_zero_rtx.
1521 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
1523 2013-01-07 Richard Biener <rguenther@suse.de>
1525 PR tree-optimization/55888
1526 PR tree-optimization/55862
1527 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
1528 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
1529 not if it is contained therein.
1531 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1533 * config/avr/t-avr: Typo.
1535 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1538 * config/avr/t-avr: Don't automatically rebuild
1539 $(srcdir)/config/avr/t-multilib
1540 $(srcdir)/config/avr/avr-tables.opt
1541 $(srcdir)/doc/avr-mmcu.texi
1542 (avr-mcus): New phony target to build them on request.
1543 (s-avr-mlib, s-avr-mmcu-texi): Remove.
1544 * avr/avr-mcus.def: Adjust comments.
1546 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
1548 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
1550 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1552 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
1554 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1556 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
1558 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
1560 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
1561 to generate profiling.
1562 * config/rs6000/aix64.h (LIB_SPEC): Same.
1564 2013-01-04 Andrew Pinski <apinski@cavium.com>
1566 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
1568 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
1570 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
1572 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
1574 (ix86_expand_move): Ditto.
1575 (ix86_zero_extend_to_Pmode): Ditto.
1576 (ix86_expand_call): Ditto.
1577 (ix86_expand_special_args_builtin): Ditto.
1578 (ix86_expand_builtin): Ditto.
1580 2013-01-04 Richard Biener <rguenther@suse.de>
1582 PR tree-optimization/55862
1583 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
1584 translating them through PHI nodes.
1586 2013-01-04 Martin Jambor <mjambor@suse.cz>
1588 PR tree-optimization/55755
1589 * tree-sra.c (sra_modify_assign): Do not check that an access has no
1590 children when trying to avoid producing a VIEW_CONVERT_EXPR.
1592 2013-01-04 Marek Polacek <polacek@redhat.com>
1595 * opts.c (default_options_optimization): Clarify error message.
1597 2013-01-04 Richard Biener <rguenther@suse.de>
1600 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
1603 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1606 * config/pa/pa.md (movsi): Revert previous change.
1607 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
1610 2013-01-03 Richard Henderson <rth@redhat.com>
1612 * config/i386/i386.c (ix86_expand_move): Always assign to op1
1613 after eliminating TLS symbols.
1615 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
1618 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
1619 * graphite-poly.c (debug_gmp_value): Likewise.
1621 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
1624 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
1625 selected code model, define __code_mode_small__, __code_model_medium__,
1626 __code_model_large__, __code_model_32__ or __code_model_kernel__.
1627 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
1628 xchg temporary register with %k. Declare temporary register as
1630 [__x86_64__]: For medium and large code models, preserve %rbx register.
1632 2013-01-03 Richard Biener <rguenther@suse.de>
1634 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
1635 (dump_subscript): Adjust.
1636 (finalize_ddr_dependent): Do not dump redundant info.
1637 (analyze_siv_subscript): Adjust.
1638 (subscript_dependence_tester): Likewise.
1639 (compute_affine_dependence): Likewise.
1641 2013-01-03 Richard Biener <rguenther@suse.de>
1644 2013-01-03 Richard Biener <rguenther@suse.de>
1646 PR tree-optimization/55857
1647 * tree-vect-stmts.c (vectorizable_load): Do not setup
1648 re-alignment for invariant loads.
1650 2013-01-02 Richard Biener <rguenther@suse.de>
1652 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1653 invariant load do not generate a vector load from the scalar location.
1655 2013-01-03 Richard Biener <rguenther@suse.de>
1657 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
1658 for not vectorizing.
1659 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
1660 not build INDIRECT_REFs, call get_name once only.
1661 (vect_create_data_ref_ptr): Likewise. Dump base object kind
1662 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
1664 2013-01-03 Richard Biener <rguenther@suse.de>
1666 PR tree-optimization/55857
1667 * tree-vect-stmts.c (vectorizable_load): Do not setup
1668 re-alignment for invariant loads.
1670 2013-01-03 Richard Biener <rguenther@suse.de>
1673 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
1674 prefer a built-in decl.
1676 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1678 * gcc.c (process_command): Update copyright notice dates.
1679 * gcov.c (print_version): Likewise.
1680 * gcov-dump.c (print_version): Likewise.
1682 PR rtl-optimization/55838
1683 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
1684 iv0.step, iv1.step and step.
1686 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1687 Marc Glisse <marc.glisse@inria.fr>
1689 PR tree-optimization/55832
1690 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
1691 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
1692 integer_{one,zero}_node.
1694 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1697 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
1698 * var-tracking.c (reverse_op): Don't add reverse ops to
1699 VALUEs that have already
1700 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
1702 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
1704 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
1706 2013-01-02 Teresa Johnson <tejohnson@google.com>
1708 * dumpfile.c (dump_loc): Print filename with location.
1709 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
1710 new location_t parameter to emit complete unroll message with
1712 (canonicalize_loop_induction_variables): Compute loops location
1713 and pass to try_unroll_loop_completely.
1714 * loop-unroll.c (report_unroll_peel): New function.
1715 (peel_loops_completely): Use new dump format with location
1716 for main dumpfile message, and invoke report_unroll_peel on success.
1717 (decide_unrolling_and_peeling): Ditto.
1718 (decide_peel_once_rolling): Remove old dumpfile message subsumed
1719 by report_unroll_peel.
1720 (decide_peel_completely): Ditto.
1721 (decide_unroll_constant_iterations): Ditto.
1722 (decide_unroll_runtime_iterations): Ditto.
1723 (decide_peel_simple): Ditto.
1724 (decide_unroll_stupid): Ditto.
1725 * cfgloop.c (get_loop_location): New function.
1726 * cfgloop.h (get_loop_location): Declare.
1728 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1730 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
1733 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1736 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
1737 BLKmode objects when EXPAND_MEMORY is specified.
1739 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1741 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
1743 (fold_builtin_cpu): Do not share cpu model decls across statements.
1745 2013-01-02 Jason Merrill <jason@redhat.com>
1748 * tree.c (build_array_type_1): Revert earlier change.
1750 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
1752 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
1754 * config/aarch64/aarch64-tune.md: Re-generate.
1756 2013-01-02 Richard Biener <rguenther@suse.de>
1758 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1759 invariant load do not generate a vector load from the scalar location.
1761 2013-01-02 Richard Biener <rguenther@suse.de>
1764 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
1765 * configure: Regenerate.
1767 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1769 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
1770 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
1771 (expand_builtin_int_roundingfn_2): Keep the original target around
1772 for the fallback case.
1774 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1776 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
1777 to be clear for sign changes.
1779 2013-01-01 Jan Hubicka <jh@suse.cz>
1781 * ipa-inline-analysis.c: Fix formatting.
1783 2013-01-01 Jakub Jelinek <jakub@redhat.com>
1785 PR tree-optimization/55831
1786 * tree-vect-loop.c (get_initial_def_for_induction): Use
1787 gsi_after_labels instead of gsi_start_bb.
1789 Copyright (C) 2013 Free Software Foundation, Inc.
1791 Copying and distribution of this file, with or without modification,
1792 are permitted in any medium without royalty provided the copyright
1793 notice and this notice are preserved.