1 2013-02-04 Alexander Potapenko <glider@google.com>
2 Jack Howarth <howarth@bromo.med.uc.edu>
3 Jakub Jelinek <jakub@redhat.com>
6 * config/darwin.c (sort_ctor_records): Stabilized qsort
7 on constructor priority by using original position.
8 (finalize_ctors): New routine to sort constructors by
9 priority before use in assemble_integer.
10 (machopic_asm_out_constructor): Use finalize_ctors if needed.
12 2013-02-04 Jakub Jelinek <jakub@redhat.com>
15 * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn
16 about visibility on artificial decls.
17 * config/sol2.c (solaris_assemble_visibility): Likewise.
19 2013-02-04 Kai Tietz <ktietz@redhat.com>
22 * config/i386/i386.c (function_value_ms_64): Add additional valtype
23 argument and improve checking of return-argument types for 16-byte
25 (ix86_function_value_1): Add additional valtype argument on call
27 (return_in_memory_ms_64): Sync 16-byte sized mode handling with
28 handling infunction_value_64 function.
30 2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
32 * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue.
34 2013-02-04 Richard Biener <rguenther@suse.de>
36 PR tree-optimization/56188
37 * tree-ssa-structalias.c (label_visit): Consider case with
38 initially non-empty points-to set.
39 (perform_var_substitution): Dump node mapping and clean up.
41 2013-02-04 Richard Guenther <rguenther@suse.de>
44 * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin
45 node prevail as last resort.
46 (lto_symtab_merge_decls): Remove guard on LTRANS here.
47 (lto_symtab_prevailing_decl): Builtins are their own prevailing
50 2013-02-04 Richard Biener <rguenther@suse.de>
52 PR tree-optimization/56113
53 * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add):
55 (equiv_class_lookup_or_add): ... this.
56 (label_visit): Adjust and fix error in previous patch.
57 (perform_var_substitution): Adjust.
59 2013-02-03 Oleg Endo <olegendo@gcc.gnu.org>
61 * config/sh/divtab.c: Fix formatting and comments throughout the file.
62 * config/sh/sh4-300.md: Likewise.
63 * config/sh/sh4a.md: Likewise.
64 * config/sh/constraints.md: Likewise.
65 * config/sh/sh.md: Likewise.
66 * config/sh/netbsd-elf.h: Likewise.
67 * config/sh/predicates.md: Likewise.
68 * config/sh/sh-protos.h: Likewise.
69 * config/sh/ushmedia.h: Likewise.
70 * config/sh/linux.h: Likewise.
71 * config/sh/sh.c: Likewise.
72 * config/sh/superh.h: Likewise.
73 * config/sh/elf.h: Likewise.
74 * config/sh/sh4.md: Likewise.
75 * config/sh/sh.h: Likewise.
77 2013-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
79 * config/pa/constraints.md: Adjust unused letters. Change "T"
80 constraint to match_test floating_point_store_memory_operand().
81 * config/pa/predicates.md (reg_plus_base_memory_operand): New.
82 (base14_operand): New.
83 (floating_point_store_memory_operand): New.
84 (integer_store_memory_operand): Revise to use base14_operand and
85 reg_plus_base_memory_operand.
86 (move_dest_operand): Allow symbolic_memory_operands.
87 (symbolic_memory_operand): Check for LO_SOM.
88 (symbolic_operand): Change default case to break.
89 * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force
90 CONST_DOUBLE values to be reloaded by putting them into memory when
91 the destination is a floating point register.
92 (movdf): Remove code to handle CONST_DOUBLE.
94 (reload_indf_r1): New.
95 (reload_insf_r1): New.
96 Consistently use "Q" and "T" constraints with integer and floating
97 point move instructions, respectively.
99 Change predicate for source operand unamed DImode move from
100 general_operand to move_src_operand.
101 (umulsidi3): Change predicate for destination operand to
103 Likewise for similar unamed patterns.
104 * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare.
105 * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis.
106 (hppa_legitimize_address): Simplify mask calculation.
107 (pa_emit_move_sequence): Revised handling of secondary reloads from
108 REG+D addresses for floating point loads and stores. Directly handle
109 loading CONST0_RTX (mode) to a floating point register.
110 (pa_secondary_reload): Handle reloading DF and SFmode constant values
111 to floating point registers. Don't restrict secondary reloads to
112 floating point registers to integer modes. Revise some comments and
114 (TARGET_LEGITIMATE_ADDRESS_P): Define.
115 (pa_legitimate_address_p): New.
116 (pa_legitimize_reload_address): New.
117 * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New.
118 (STRICT_REG_OK_FOR_BASE_P): New.
119 (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments.
120 (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address.
122 2013-02-03 David Edelsohn <dje.gcc@gmail.com>
123 Andrew Dixie <andrewd@gentrack.com>
125 * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY
128 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
130 * expmed.c (extract_bit_field_1): Pass the full width of the
131 structure to get_best_reg_extraction_insn.
133 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
136 * configure.ac (use_cxa_atexit): Add AIX.
137 * configure: Regenerate.
139 * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o.
141 2013-02-01 Jakub Jelinek <jakub@redhat.com>
144 * final.c (need_profile_function): New variable.
145 (final_start_function): Drop ATTRIBUTE_UNUSED from first argument.
146 If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG
147 is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED
148 notes, targetm.asm_out.function_prologue doesn't emit anything,
149 HAVE_prologue and profiler should be emitted before prologue,
150 set need_profile_function instead of emitting it.
151 (final_scan_insn): If need_profile_function, emit
152 profile_function on the first NOTE_INSN_BASIC_BLOCK or
153 NOTE_INSN_FUNCTION_BEG note.
155 2013-02-01 Richard Henderson <rth@redhat.com>
157 * config/rs6000/rs6000.md (smulditi3): New.
160 * config/alpha/alpha.md (umulditi3): New.
162 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
164 * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2.
165 (ASM_OUTPUT_ALIGNED_LOCAL): New.
167 2013-02-01 Richard Biener <rguenther@suse.de>
169 PR tree-optimization/56113
170 * tree-ssa-structalias.c (label_visit): Reduce work for
171 single-predecessor nodes.
173 2013-02-01 Eric Botcazou <ebotcazou@adacore.com>
175 * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the
176 range isn't testing for zero.
178 2013-01-31 Steven Bosscher <steven@gcc.gnu.org>
181 * fwprop.c (fwprop_init): Set up loops without CFG modifications.
183 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com>
184 Nick Clifton <nickc@redhat.com>
186 * config/v850/constraints.md (Q): Define as a memory constraint.
187 * config/v850/predicates.md (label_ref_operand): New predicate.
188 (e3v5_shift_operand): New predicate.
189 (ior_operator): New predicate.
190 * config/v850/t-v850: Add e3v5 multilib.
191 * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype.
192 (v850_gen_movdi): Prototype.
193 * config/v850/v850.c: Add support for e3v5 architecture.
194 Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to
196 (construct_save_jarl): Add e3v5 long JARL support.
197 (v850_adjust_insn_length): New function. Adjust length of call
198 insns when using e3v5 instructions.
199 (v850_gen_movdi): New function: Generate instructions to move a
201 * config/v850/v850.h (TARGET_CPU_v850e3v5): Define.
202 (CPP_SPEC): Define __v850e3v5__ as appropriate.
203 (TARGET_USE_FPU): Enable for e3v5.
204 (CONST_OK_FOR_W): New macro.
205 (ADJUST_INSN_LENGTH): Define.
206 * config/v850/v850.md (UNSPEC_LOOP): Define.
207 (attr cpu): Add v850e3v5.
208 Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP.
209 (movdi): New pattern.
210 (movdi_internal): New pattern.
211 (cbranchsf4): Conditionalize on TARGET_USE_FPU.
212 (cbranchdf4): Conditionalize on TARGET_USE_FPU.
213 (cstoresf4): Likewise.
214 (cstoredf4): Likewise.
216 (rotlso3_a): New pattern.
217 (rotlsi3_b): New pattern
218 (rotlsi3_v850e3v5): New pattern.
219 (doloop_begin): New pattern.
220 (fix_loop_counter): New pattern.
221 (doloop_end): New pattern.
222 (branch_normal): Add e3v5 long branch support.
223 (branch_invert): Likewise.
224 (branch_z_normal): Likewise.
225 (branch_z_invert): Likewise.
226 (branch_nz_normal): Likewise.
227 (branch_nz_invert): Likewise.
228 (call_internal_short): Add e3v5 register-indirect JARL support.
229 (call_internal_long): Likewise.
230 (call_value_internal_short): Likewise.
231 (call_value_internal_long): Likewise.
232 * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options.
234 * config.gcc: Add support for configuring v840e3v5 target.
235 * doc/invoke.texi: Document new v850 specific command line
238 2013-01-31 Paul Koning <ni1d@arrl.net>
242 * dwarf2out.c (prune_unused_types_mark): Mark all of parent's
243 children if parent is a class.
244 (prune_unused_types_prune): Don't add DW_AT_declaration.
246 2013-01-31 Richard Biener <rguenther@suse.de>
248 PR tree-optimization/56157
249 * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to
250 match up operand with SLP child.
252 2013-01-31 Jason Merrill <jason@redhat.com>
255 * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template
256 parameters the first time.
257 (gen_scheduled_generic_parms_dies): Check completeness here.
259 2013-01-31 Richard Biener <rguenther@suse.de>
262 * common.opt (faggressive-loop-optimizations): New flag,
264 * doc/invoke.texi (faggressive-loop-optimizations): Document.
265 * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard
266 infer_loop_bounds_from_undefined by it.
268 2013-01-31 Richard Biener <rguenther@suse.de>
270 PR tree-optimization/56150
271 * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not
272 visit virtual operands.
273 (find_uses_to_rename_bb): Likewise.
275 2013-01-31 Richard Biener <rguenther@suse.de>
277 PR tree-optimization/56150
278 * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle
279 mixed store non-store stmts.
281 2013-01-30 Jakub Jelinek <jakub@redhat.com>
284 * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if
285 LIBASAN_EARLY_SPEC is defined.
286 (LIBASAN_EARLY_SPEC): Define to empty string if not already defined.
287 (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address,
289 * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define.
292 * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose
293 invalid args instead of ICEing on it.
294 (ix86_valid_target_attribute_tree): Return error_mark_node if
295 ix86_valid_target_attribute_inner_p failed.
296 (ix86_valid_target_attribute_p): Return false only if
297 ix86_valid_target_attribute_tree returned error_mark_node. Allow
298 target("default") attribute.
299 (sorted_attr_string): Change argument from const char * to tree,
300 merge in all target attribute arguments rather than just one.
301 Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC
302 instead of free. Avoid using strcat.
303 (ix86_mangle_function_version_assembler_name): Mangle
304 target("default") as if no target attribute is present. Adjust
305 sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC
306 instead of xmalloc and XDELETEVEC instead of free.
307 (ix86_function_versions): Don't return true if one of the decls
308 doesn't have target attribute. If they don't and one of the decls
309 is DECL_FUNCTION_VERSIONED, report an error. Adjust
310 sorted_attr_string caller. Use XDELETEVEC instead of free.
311 (ix86_supports_function_versions): Remove.
312 (make_name): Fix up formatting.
313 (make_dispatcher_decl): Remove resolver_name and its initialization.
314 Avoid leaking memory.
315 (is_function_default_version): Return true if there is
316 target("default") attribute rather than no target attribute at all.
317 (make_resolver_func): Avoid leaking memory.
318 (ix86_generate_version_dispatcher_body): Likewise.
319 (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove.
320 * target.def (supports_function_versions): Remove.
321 * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove.
322 * doc/tm.texi: Regenerated.
324 2013-01-30 Vladimir Makarov <vmakarov@redhat.com>
326 PR rtl-optimization/56144
327 * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo
328 for values with side effects.
330 2013-01-30 Richard Biener <rguenther@suse.de>
332 * sparseset.h (sparseset_bit_p): Use gcc_checking_assert.
333 (sparseset_pop): Likewise.
334 * cfganal.c (compute_idf): Likewise. Increase work-stack size
335 to be able to use quick_push in the worker loop.
337 2013-01-30 Marek Polacek <polacek@redhat.com>
339 * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs.
341 2013-01-30 Richard Biener <rguenther@suse.de>
344 * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN
347 2013-01-30 Georg-Johann Lay <avr@gjlay.de>
349 PR tree-optimization/56064
350 * fixed-value.c (fixed_from_double_int): New function.
351 * fixed-value.h (fixed_from_double_int): New prototype.
352 (const_fixed_from_double_int): New static inline function.
353 * fold-const.c (native_interpret_fixed): New static function.
354 (native_interpret_expr) <FIXED_POINT_TYPE>: Use it.
355 (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true.
356 (native_encode_fixed): New static function.
357 (native_encode_expr) <FIXED_CST>: Use it.
358 (native_interpret_int): Move double_int worker code to...
359 * double-int.c (double_int::from_buffer): ...this new static method.
360 * double-int.h (double_int::from_buffer): Prototype it.
362 2013-01-30 Richard Biener <rguenther@suse.de>
364 * tree-ssa-structalias.c (final_solutions, final_solutions_obstack):
365 New pointer-map and obstack.
366 (init_alias_vars): Allocate pointer-map and obstack.
367 (delete_points_to_sets): Free them.
368 (find_what_var_points_to): Cache result.
369 (find_what_p_points_to): Adjust for changed interface of
370 find_what_var_points_to.
371 (compute_points_to_sets): Likewise.
372 (ipa_pta_execute): Likewise.
374 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
376 * configure.ac (HAVE_AS_SPARC_NOBITS): New test.
377 * configure: Regenerate.
378 * config.in: Regenerate.
379 * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit
380 #nobits/#progbits if supported.
382 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org>
385 * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a,
386 bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a,
387 bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition.
389 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
391 * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove.
392 (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all.
394 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
396 * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL.
397 * config/arm/cortex-a7.md (cortex_a7_call): Update required units.
399 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
401 * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New
403 * config/arm/arm.c (arm_mac_accumulator_is_result): New function.
404 * config/arm/cortex-a7.md: New bypasses using
405 arm_mac_accumulator_is_result.
407 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
409 * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation.
410 (cortex_a7_neon_mla): Likewise.
411 (cortex_a7_fpfmad): New reservation.
412 (cortex_a7_fpmacs): Use ffmas and update required units.
413 (cortex_a7_fpmuld): Update required units and latency.
414 (cortex_a7_fpmacd): Likewise.
415 (cortex_a7_fdivs, cortex_a7_fdivd): Likewise.
416 (cortex_a7_neon). Likewise.
417 (bypass) Update participating units.
419 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
421 * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute.
422 * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type
424 * config/arm/vfp11.md (vfp_farith): Use ffmas.
425 (vfp_fmul): Use ffmad.
426 * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas.
427 (cortex_r4_fmacd): Use ffmad.
428 * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas.
429 * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas.
430 (cortex_a9_fmacd): Use ffmad.
431 * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas.
432 (cortex_a8_vfp_macd): Use ffmad.
433 * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas.
434 (cortex_a5_fpmacd): Use ffmad.
435 * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas.
436 (cortex_a15_vfp_macd): Use ffmad.
437 * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad.
439 2013-01-29 Jason Merrill <jason@redhat.com>
442 * varasm.c (default_assemble_visibility): Don't warn about
443 visibility on artificial decls.
445 2013-01-29 Richard Biener <rguenther@suse.de>
447 PR tree-optimization/56113
448 * tree-ssa-structalias.c (equiv_class_lookup): Also return
450 (label_visit): Free duplicate bitmaps and record the leader instead.
451 (perform_var_substitution): Adjust.
453 2013-01-29 Richard Biener <rguenther@suse.de>
455 PR tree-optimization/55270
456 * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed
457 the CFG, schedule loops for fixup.
459 2013-01-29 Nick Clifton <nickc@redhat.com>
461 * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow
464 2013-01-28 Leif Ekblad <leif@rdos.net>
466 * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets.
467 * config/i386/i386.h (TARGET_RDOS): New macro.
468 (DEFAULT_LARGE_SECTION_THRESHOLD): New macro.
469 * config/i386/i386.c (ix86_option_override_internal): For 64bit
470 TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1.
471 * config/i386/i386.opt (mlarge-data-threshold): Initialize to
472 DEFAULT_LARGE_SECTION_THRESHOLD.
473 * config/i386/i386.md (R14_REG, R15_REG): New constants.
474 * config/i386/rdos.h: New file.
475 * config/i386/rdos64.h: New file.
477 2013-01-28 Bernd Schmidt <bernds@codesourcery.com>
480 * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of
483 2013-01-28 Jakub Jelinek <jakub@redhat.com>
485 PR rtl-optimization/56117
486 * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib
487 call cselib_lookup_from_insn on the MEM before calling
488 add_insn_mem_dependence.
490 2013-01-28 Richard Biener <rguenther@suse.de>
492 * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK
493 to a stmt that didn't have one.
494 (copy_phis_for_bb): Likewise for PHI arguments.
495 (copy_debug_stmt): Likewise for debug stmts.
497 2013-01-28 Richard Biener <rguenther@suse.de>
499 PR tree-optimization/56034
500 * tree-loop-distribution.c (enum partition_kind): Add
502 (partition_builtin_p): Adjust.
503 (generate_code_for_partition): Handle PKIND_REDUCTION. Assert
504 it is the last partition.
505 (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking
506 up the vertex for the definition.
507 (classify_partition): Classify whether a partition is a
508 PKIND_REDUCTION, thus has uses outside of the loop.
509 (ldist_gen): Inherit PKIND_REDUCTION when merging partitions.
510 Merge all PKIND_REDUCTION partitions into the last partition.
511 (tree_loop_distribution): Seed partitions from reductions as well.
513 2013-01-28 Jakub Jelinek <jakub@redhat.com>
515 PR tree-optimization/56125
516 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize
517 pow(x,c) into sqrt(x) * powi(x, n/2) or
518 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when
520 Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or
521 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an
524 PR tree-optimization/56094
525 * gimplify.c (force_gimple_operand_1): Temporarily set input_location
526 to UNKNOWN_LOCATION while gimplifying expr.
528 2013-01-27 Uros Bizjak <ubizjak@gmail.com>
531 * config/i386/i386.md (*movabs<mode>_1): Add square brackets around
532 operand 0 in movabs insn template for -masm=intel asm alternative.
533 (*movabs<mode>_2): Ditto for operand 1.
535 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
538 * config.gcc (microblaze*-linux*): Add tmake_file to allow building
541 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
543 * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update
546 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
548 * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS):
549 Undef to avoid warning.
551 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at>
553 * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
554 * configure: Regenerate.
556 2013-01-25 Jakub Jelinek <jakub@redhat.com>
558 PR tree-optimization/56098
559 * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr
560 for stmts with volatile ops.
561 (cond_store_replacement): Don't optimize if assign has volatile ops.
562 (cond_if_else_store_replacement_1): Don't optimize if either
563 then_assign or else_assign have volatile ops.
564 (hoist_adjacent_loads): Don't optimize if either def1 or def2 have
567 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
569 * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__.
571 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
573 * doc/extend.texi (Example of asm with clobbered asm reg): Fix
574 missing ':' in asm example.
576 2013-01-25 Tejas Belagod <tejas.belagod@arm.com>
578 * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane
579 entries into lane and laneq entries.
580 * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>):
581 Remove AdvSIMD scalar modes.
582 (aarch64_sq<r>dmulh_laneq<mode>): New.
583 (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD
585 * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics'
586 builtin implementations to relfect changes in RTL in aarch64-simd.md.
587 * config/aarch64/iterators.md (VCOND): New.
590 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
593 * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument.
594 Add NULL LIBNAME argument to existing definitions.
595 (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New.
596 * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument.
597 * config/avr/avr.c (DEF_BUILTIN): Same.
598 (avr_init_builtins): Pass down LIBNAME to add_builtin_function.
599 (avr_expand_builtin): Expand to a vanilla call if a libgcc
600 implementation is available (DECL_ASSEMBLER_NAME is set).
601 (avr_fold_absfx): New static function.
602 (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR,
603 AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR,
604 AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK,
606 * config/avr/stdfix.h (abshr, absr, abslr, absllr)
607 (abshk, absk, abslk, absllk): Provide as static inline functions.
609 2013-01-25 Marek Polacek <polacek@redhat.com>
611 PR tree-optimization/56035
612 * cfgloopmanip.c (fix_loop_structure): Remove redundant condition.
614 2012-01-24 Uros Bizjak <ubizjak@gmail.com>
616 * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative.
617 (*movtf_internal_rex64): Add (!o,C) alternative
618 (*movxf_internal_rex64): Ditto.
619 (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives.
621 2013-01-24 Shenghou Ma <minux.ma@gmail.com>
623 * doc/invoke.texi: fix typo.
624 * doc/objc.texi: fix typo.
626 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com>
628 * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
629 for the first two alternatives.
631 2013-01-24 Diego Novillo <dnovillo@google.com>
633 * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o.
634 (ggc-zone.o): Remove.
635 * configure.ac: Remove option --with-gc.
636 * configure: Re-generate.
637 * doc/install.texi: Remove documentation for --with-gc.
638 * gengtype.c (write_enum_defn): Remove. Update all users.
639 (write_Types_process_field): Remove generation of gt_e_* argument.
640 (output_type_enum): Remove. Update all users.
641 (write_enum_defn): Remove. Update all users.
642 (enum alloc_zone): Remove. Update all users.
643 (write_splay_tree_allocator_def): Remove generation of gt_e_* argument.
644 * ggc-common.c (ggc_splay_alloc): Remove first argument.
646 (struct ptr_data): Remove field TYPE. Update all users.
647 (gt_pch_note_object): Remove argument TYPE. Update all users.
648 * ggc-internal.h (ggc_pch_alloc_object): Remove last argument.
650 * ggc-none.c (ggc_alloc_typed_stat): Remove.
651 (struct alloc_zone): Remove.
652 (ggc_internal_alloc_zone_stat): Remove.
653 (ggc_internal_cleared_alloc_zone_stat): Remove.
654 * ggc-page.c (ggc_alloc_typed_stat): Remove.
655 (ggc_pch_count_object): Remove last argument. Update all users.
656 (ggc_pch_alloc_object): Remove last argument. Update all users.
657 (struct alloc_zone): Remove.
658 * ggc-zone.c: Remove.
659 * ggc.h (gt_pch_note_object): Remove last argument. Update all users.
660 (struct alloc_zone): Remove.
661 (ggc_alloc_typed_stat): Remove.
662 (ggc_alloc_typed): Remove.
663 (ggc_splay_alloc): Remove first argument.
664 (rtl_zone): Remove. Update all users.
665 (tree_zone): Remove. Update all users.
666 (tree_id_zone): Remove. Update all users.
667 (ggc_internal_zone_alloc_stat): Remove. Update all users.
668 (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users.
669 (ggc_internal_zone_vec_alloc_stat): Remove. Update all users.
670 * tree-ssanames.c: Remove references to zone allocator in comments.
672 2013-01-24 Georg-Johann Lay <avr@gjlay.de>
674 * config/avr/avr.c (avr_out_fract): Make register numbers that
675 might be outside of source operand signed.
677 2013-01-24 Uros Bizjak <ubizjak@gmail.com>
679 * config/i386/constraints.md (Yf): New constraint.
680 * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead
681 of f constraint to conditionaly disable x87 register preferences.
682 (*movdf_internal): Ditto.
683 (*movsf_internal): Ditto.
685 2013-01-24 Steven Bosscher <steven@gcc.gnu.org>
688 * lra-assigns.c (assign_by_spills): Throw away the pattern of asms
689 that have operands with impossible constraints.
690 Add a FIXME for a speed-up opportunity.
691 * lra-constraints.c (process_alt_operands): Verify that a class
692 selected from constraints on asms is valid for the operand mode.
693 (curr_insn_transform): Remove incorrect comment.
695 2013-01-23 David Edelsohn <dje.gcc@gmail.com>
697 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that
698 TOC operand is a valid symbol ref in the constant pool.
700 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com>
702 * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS
704 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
707 * config/avr/stdfix.h: New file.
708 * t-avr (stdfix-gcc.h): New rule to build it.
709 (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h.
711 2013-01-23 Kostya Serebryany <kcc@google.com>
713 * config/darwin.h: remove dependency on
714 CoreFoundation (asan on Mac OS).
716 2013-01-23 Jakub Jelinek <jakub@redhat.com>
719 * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
720 instead of cmpdi_operand for first comparison operand.
721 Don't assert that comparison operands aren't both constants.
723 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
725 * doc/install.texi (Downloading the Source): Update references to
726 downloading separate components.
728 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
730 * doc/extend.texi (__int128): Improve grammar.
732 2013-01-22 Uros Bizjak <ubizjak@gmail.com>
735 * config/i386/i386.md (*movti_internal_rex64): Change (o,riF)
736 alternative to (o,r).
737 (*movdi_internal_rex64): Remove (!o,n) alternative.
738 (DImode immediate->memory splitter): Remove.
739 (DImode immediate->memory peephole2): Remove.
740 (movtf): Enable for TARGET_64BIT || TARGET_SSE.
741 (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r)
742 alternative to (!o,*r).
743 (*movtf_internal_sse): New pattern.
744 (*movxf_internal_rex64): New pattern.
745 (*movxf_internal): Disable for TARGET_64BIT.
746 (*movdf_internal_rex64): Remove (!o,F) alternative.
748 2013-01-22 Jakub Jelinek <jakub@redhat.com>
751 * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc)
752 isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION.
753 * tree-vect-loop-manip.c (find_loop_location): Also ignore
754 stmt locations where LOCATION_LOCUS of the stmt location is
755 UNKNOWN_LOCATION or BUILTINS_LOCATION.
758 * config/i386/i386.md (UNSPEC_STOS): New.
759 (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1,
760 *strsetqi_1): Add UNSPEC_STOS.
762 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com>
765 * doc/invoke.texi: Remove left over -Wsynth example.
767 2013-01-21 Jakub Jelinek <jakub@redhat.com>
769 PR tree-optimization/56051
770 * fold-const.c (fold_binary_loc): Don't fold
771 X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
772 a narrowing conversion, or widening conversion from signed
775 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
777 PR rtl-optimization/56023
778 * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
779 dependent on debug instruction.
781 2013-01-21 Martin Jambor <mjambor@suse.cz>
784 * function.c (allocate_struct_function): Call
785 invoke_set_current_function_hook earlier.
787 2013-01-21 Jakub Jelinek <jakub@redhat.com>
789 * reload1.c (init_reload): Only initialize reload_obstack
790 during the first call.
792 2013-01-21 Marek Polacek <polacek@redhat.com>
794 * cfgloop.c (verify_loop_structure): Fix up grammar.
796 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com>
798 * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift,
799 pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift.
801 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
804 * config/arm/marvell-pj4.md: Update copyright year.
805 Fix up use of alu to alu_reg and simple_alu_imm.
807 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
809 * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
811 2013-01-20 Vladimir Makarov <vmakarov@redhat.com>
814 * lra-constraints.c (curr_insn_transform): Don't reuse original
815 insn for secondary memory move when memory mode should be different.
817 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
819 * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi,
820 atomic_storedi_1): New patterns.
822 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
824 btver2 pipeline descriptions.
825 * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
827 * config/i386/i386.md (btver2_decode): New type attributes.
828 * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
830 * config/i386/btver2.md: New file describing btver2 pipelines.
832 2013-01-19 Andrew Pinski <apinski@cavium.com>
834 PR tree-optimization/52631
835 * tree-ssa-sccvn (visit_use): Before looking up the original
836 statement, try looking up the simplified expression.
838 2013-01-19 Anthony Green <green@moxielogic.com>
840 * config/moxie/moxie.c (moxie_expand_prologue): Set
841 current_function_static_stack_size.
843 2013-01-18 Jakub Jelinek <jakub@redhat.com>
845 PR tree-optimization/56029
846 * tree-phinodes.c (reserve_phi_args_for_new_edge): Set
847 gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
849 2013-01-18 Sharad Singhai <singhai@google.com>
851 PR tree-optimization/55995
852 * dumpfile.c (dump_loc): Print location only if available.
853 * tree-vectorizer.c (increase_alignment): Intialize vect_location.
855 2013-01-18 Vladimir Makarov <vmakarov@redhat.com>
858 * lra-constraints.c (curr_insn_transform): Reuse original insn for
859 secondary memory move.
860 (inherit_reload_reg): Use rclass instead of cl for
861 check_secondary_memory_needed_p.
863 2013-01-18 Jakub Jelinek <jakub@redhat.com>
866 * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
867 the case where writing real complex part of target modifies op1.
869 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com>
871 * config/aarch64/aarch64-simd.md
872 (aarch64_vcond_internal<mode>): Handle unordered cases.
873 * config/aarch64/iterators.md (v_cmp_result): New.
875 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com>
876 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
878 * config/arm/marvell-pj4.md: New file.
879 * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
880 * config/arm/arm.md (generic_sched): Add marvell_pj4.
881 (generic_vfp): Likewise.
882 * config/arm/arm-cores.def: Add marvell-pj4.
883 * config/arm/arm-tune.md: Regenerate.
884 * config/arm/arm-tables.opt: Regenerate.
885 * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
886 * doc/invoke.texi: Document marvell-pj4.
888 2013-01-18 Tejas Belagod <tejas.belagod@arm.com>
890 * config/aarch64/arm_neon.h: Map scalar types to standard types.
892 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
897 * var-tracking.c (negative_power_of_two_p): New.
898 (global_get_addr_cache, local_get_addr_cache): New.
899 (get_addr_from_global_cache, get_addr_from_local_cache): New.
900 (vt_canonicalize_addr): Rewrite using the above. Adjust the
902 (vt_stack_offset_p): Remove.
903 (vt_canon_true_dep): Always canonicalize loc's address.
904 (clobber_overlapping_mems): Make sure we have a MEM.
905 (local_get_addr_clear_given_value): New.
906 (val_reset): Clear local cached entries.
907 (compute_bb_dataflow): Create and release the local cache.
908 Disable duplicate MEMs clobbering.
909 (emit_notes_in_bb): Clobber MEMs likewise.
910 (vt_emit_notes): Create and release the local cache.
911 (vt_initialize, vt_finalize): Create and release the global
913 * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
915 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
918 * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
919 not found in the symtab.
921 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
924 PR rtl-optimization/55547
925 PR rtl-optimization/53827
928 * alias.c (offset_overlap_p): New, factored out of...
929 (memrefs_conflict_p): ... this. Use absolute sizes. Retain
930 the conservative special case for symbolic constants. Don't
931 adjust zero sizes on alignment.
933 2013-01-18 Bernd Schmidt <bernds@codesourcery.com>
935 PR rtl-optimization/52573
936 * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
937 REG_UNUSED for the same register.
939 2013-01-17 Richard Biener <rguenther@suse.de>
940 Marek Polacek <polacek@redhat.com>
942 PR rtl-optimization/55833
943 * loop-unswitch.c (unswitch_loops): Move loop verification...
944 (unswitch_single_loop): ...here. Call mark_irreducible_loops.
945 * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
946 Set it to true when we're removing a loop from hierarchy tree in
947 an irreducible region.
948 (fix_bb_placements): Adjust caller.
949 (fix_loop_placements): Likewise.
951 2013-01-17 Georg-Johann Lay <avr@gjlay.de>
953 * config/avr/builtins.def (DEF_BUILTIN): Factor out
954 "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
955 Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
956 Remove ID. Adjust comments.
957 * config/avr/avr-c.c (avr_builtin_name): Remove.
958 (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
959 * config/avr/avr.c (avr_tolower): New static function.
960 (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'.
961 Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
962 (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
965 2013-01-17 Jan Hubicka <jh@suse.cz>
967 PR tree-optimization/55273
968 * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
970 2013-01-17 Uros Bizjak <ubizjak@gmail.com>
973 * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
974 store through atomic_store<mode>_1.
975 (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
977 2013-01-17 Martin Jambor <mjambor@suse.cz>
979 PR tree-optimizations/55264
980 * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
982 * ipa.c (symtab_remove_unreachable_nodes): Never return true for
983 virtual methods before inlining is over.
984 * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
986 * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
989 2013-01-16 Vladimir Makarov <vmakarov@redhat.com>
991 PR rtl-optimization/56005
992 * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
993 pending reads for prefetch.
995 2013-01-16 Ian Bolton <ian.bolton@arm.com>
997 * config/aarch64/aarch64.md
998 (*cstoresi_neg_uxtw): New pattern.
999 (*cmovsi_insn_uxtw): New pattern.
1000 (*<optab>si3_uxtw): New pattern.
1001 (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
1002 (*<optab>si3_insn_uxtw): New pattern.
1003 (*bswapsi2_uxtw): New pattern.
1005 2013-01-16 Richard Biener <rguenther@suse.de>
1007 * tree-inline.c (tree_function_versioning): Remove set but
1008 never used variable.
1010 2013-01-16 Richard Biener <rguenther@suse.de>
1012 PR tree-optimization/55964
1013 * tree-flow.h (rename_variables_in_loop): Remove.
1014 (rename_variables_in_bb): Likewise.
1015 * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
1016 (copy_loop_before): Adjust and delete update-ssa status.
1017 * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
1018 (rename_variables_in_bb): Likewise. Properly walk over predecessors.
1019 (rename_variables_in_loop): Remove.
1020 (slpeel_update_phis_for_duplicate_loop): Likewise.
1021 (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
1022 use available cfg machinery instead of duplicating it.
1023 Update PHI nodes and perform poor-mans SSA update here.
1024 (slpeel_tree_peel_loop_to_edge): Adjust.
1026 2013-01-16 Richard Biener <rguenther@suse.de>
1028 PR tree-optimization/54767
1029 PR tree-optimization/53465
1030 * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
1031 (vrp_visit_phi_node): For PHI arguments coming via backedges
1032 drop all symbolical range information.
1033 (execute_vrp): Compute backedges.
1035 2013-01-16 Richard Biener <rguenther@suse.de>
1037 * doc/install.texi: Update CLooG and ISL requirements to
1040 2013-01-16 Christian Bruel <christian.bruel@st.com>
1043 * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
1044 (broken_move): Handle UNSPECV_SP_SWITCH_B.
1045 * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
1047 2013-01-16 DJ Delorie <dj@redhat.com>
1049 * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
1050 (UNSPECV_SP_SWITCH_E): New.
1051 (sp_switch_1): Change to an unspec.
1052 (sp_switch_2): Change to an unspec. Don't use post-inc when we
1055 2013-01-16 Uros Bizjak <ubizjak@gmail.com>
1057 * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
1058 with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
1059 * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
1060 (expand_mem_thread_fence): Ditto.
1061 (expand_mem_signal_fence): Ditto.
1062 (expand_atomic_load): Ditto.
1063 (expand_atomic_store): Ditto.
1065 2013-01-16 Alexandre Oliva <aoliva@redhat.com>
1067 PR rtl-optimization/55547
1068 PR rtl-optimization/53827
1071 * alias.c (memrefs_conflict_p): Set sizes to negative after
1074 2013-01-15 Jakub Jelinek <jakub@redhat.com>
1077 * function.c (thread_prologue_and_epilogue_insns): Always
1078 add crtl->drap_reg to set_up_by_prologue.set, even if
1079 stack_realign_drap is false.
1081 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
1083 * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
1084 and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
1085 *call): Fix indention.
1087 2013-01-15 Tom de Vries <tom@codesourcery.com>
1090 * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
1093 2013-01-15 Vladimir Makarov <vmakarov@redhat.com>
1095 PR rtl-optimization/55153
1096 * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
1098 2013-01-15 Martin Jambor <mjambor@suse.cz>
1100 PR tree-optimization/55920
1101 * tree-sra.c (analyze_access_subtree): Do not mark non-removable
1102 accesses as grp_to_be_debug_replaced.
1104 2013-01-15 Jakub Jelinek <jakub@redhat.com>
1106 PR tree-optimization/55920
1107 * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
1108 there is non-useless type conversion needed from debug rhs to lhs,
1109 use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
1111 2013-01-15 Joseph Myers <joseph@codesourcery.com>
1112 Mikael Pettersson <mikpe@it.uu.se>
1115 * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
1117 (ASM_OUTPUT_CASE_LABEL): Remove.
1118 (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
1119 * final.c (shorten_branches): Update alignment of labels before
1120 jump tables if CASE_VECTOR_SHORTEN_MODE.
1122 2013-01-15 Richard Biener <rguenther@suse.de>
1125 * system.h: Do not include gmp.h for building host tools.
1127 2013-01-15 Richard Biener <rguenther@suse.de>
1130 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
1131 account for bitpos when computing alignment.
1133 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com>
1135 * config/i386/i386-c.c (ix86_target_macros_internal): New case.
1136 (ix86_target_macros_internal): Likewise.
1138 * config/i386/i386.c (m_CORE2I7): Removed.
1139 (m_CORE_HASWELL): New macro.
1140 (m_CORE_ALL): Likewise.
1141 (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
1142 (initial_ix86_arch_features): Likewise.
1143 (processor_target_table): Initializations for Core avx2.
1144 (cpu_names): New names "core-avx2".
1145 (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
1146 PROCESSOR_CORE_HASWELL.
1147 (ix86_issue_rate): New case.
1148 (ia32_multipass_dfa_lookahead): Likewise.
1149 (ix86_sched_init_global): Likewise.
1151 * config/i386/i386.h (TARGET_HASWELL): New macro.
1152 (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
1153 (processor_type): New PROCESSOR_HASWELL.
1155 2013-01-15 Jakub Jelinek <jakub@redhat.com>
1157 PR tree-optimization/55955
1158 * tree-vect-loop.c (vectorizable_reduction): Give up early on
1159 *SHIFT_EXPR and *ROTATE_EXPR codes.
1161 PR tree-optimization/48766
1162 * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
1163 -ftrapv disable -fwrapv.
1165 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1168 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
1169 etc. to 1 and not to __flash.
1170 Use LL suffix for __INT24_MAX__ with -mint8.
1171 Use ULL suffix for __UINT24_MAX__ with -mint8.
1173 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1175 * config/avr/avr-arch.h
1176 (struct base_arch_s): Use typedef avr_arch_t instead.
1177 (struct arch_info_s): Use typedef avr_arch_info_t instead.
1178 (struct mcu_type_s): Use typedef avr_mcu_t instead.
1179 * config/avr/avr.c: Same.
1180 * config/avr/avr-devices.c: Same.
1181 * config/avr/driver-avr.c: Same.
1182 * config/avr/gen-avr-mmcu-texi.c: Same.
1183 * config/avr/avr-mcus.def: Adjust comment.
1185 2013-01-14 Tejas Belagod <tejas.belagod@arm.com>
1187 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
1188 * config/aarch64/iterators.md (VALLDI): New.
1190 2013-01-14 Uros Bizjak <ubizjak@gmail.com>
1191 Andi Kleen <ak@linux.intel.com>
1194 * config/i386/sync.md (atomic_store<mode>_1): New pattern.
1195 (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
1198 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1200 * config/avr/avr-stdint.h: Remove trailing blanks.
1201 * config/avr/avr-log.h: Same.
1202 * config/avr/avr-arch.h: Same.
1203 * config/avr/avr-devices.c: Same.
1204 * config/avr/avr-dimode.md: Same.
1205 * config/avr/predicates.md: Same.
1206 * config/avr/avr-c.c: Same. And fix typo.
1208 * config/avr/avr-protos.h: Same. And:
1209 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
1210 (init_cumulative_args): Rename to avr_init_cumulative_args.
1211 (expand_prologue): Rename to avr_expand_prologue.
1212 (expand_epilogue): Rename to avr_expand_epilogue.
1213 (adjust_insn_length): Rename to avr_adjust_insn_length.
1214 (notice_update_cc): Rename to avr_notice_update_cc.
1215 (final_prescan_insn): Rename to avr_final_prescan_insn.
1216 * config/avr/avr.c: Same.
1217 * config/avr/avr.h: Same.
1218 * config/avr/avr.md: Remove trailing blanks.
1219 (prologue): Use avr_expand_prologue.
1220 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
1222 2013-01-14 Richard Biener <rguenther@suse.de>
1224 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
1225 verify_location, collect_subblocks): New functions.
1226 (verify_gimple_in_cfg): Verify that locations only reference
1227 BLOCKs in the functions BLOCK tree.
1229 2013-01-14 Richard Biener <rguenther@suse.de>
1231 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
1233 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
1235 (insert_out_of_ssa_copy_on_edge): Likewise.
1236 (rewrite_close_phi_out_of_ssa): Likewise.
1237 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
1239 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
1240 propagated constants.
1241 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
1244 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1246 * config/avr/avr-modes.def: Add GPL copyright notice.
1248 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
1250 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
1251 MEMMODEL_MASK to determine memory model.
1252 (atomic_store<mode>): Ditto from operands[2].
1253 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
1255 2013-01-13 Jakub Jelinek <jakub@redhat.com>
1258 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
1259 (fold_gimple_assign): Don't call unshare_expr here.
1260 (fold_ctor_reference): Call unshare_expr.
1262 2013-01-13 Terry Guo <terry.guo@arm.com>
1264 * Makefile.in (s-mlib): New argument MULTILIB_REUSE.
1265 * doc/fragments.texi: Document MULTILIB_REUSE.
1266 * gcc.c (multilib_reuse): New internal spec.
1267 (set_multilib_dir): Also search multilib from multilib_reuse.
1268 * genmultilib (tmpmultilib3): Refactor code.
1269 (tmpmultilib4): Ditto.
1270 (multilib_reuse): New multilib argument.
1272 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
1274 * Makefile.in: Update copyright.
1276 2013-01-12 Tom de Vries <tom@codesourcery.com>
1279 * calls.c (expand_call): Check if arg_nr is valid.
1281 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1283 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
1284 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
1285 documentation. Add missing '__' in front of
1286 __builtin_ia32_packssdw256.
1288 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1291 * config/s390/s390.c (s390_preferred_reload_class): Do not return
1292 NO_REGS for larl operands.
1293 (s390_reload_larl_operand): Use s390_load_address instead of
1296 2013-01-11 Richard Biener <rguenther@suse.de>
1298 * tree-cfg.c (verify_node_sharing_1): Split out from ...
1299 (verify_node_sharing): ... here.
1300 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
1302 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
1304 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
1305 Substitute TREECHECKING.
1306 * configure: Regenerate.
1307 * Makefile.in (TREECHECKING): New.
1309 2013-01-11 Richard Guenther <rguenther@suse.de>
1311 PR tree-optimization/44061
1312 * tree-vrp.c (extract_range_basic): Compute zero as
1313 value-range for __builtin_constant_p of function parameters.
1315 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
1317 Update copyright years.
1319 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
1321 PR rtl-optimization/55672
1322 * lra-eliminations.c (mark_not_eliminable): Permit addition with
1323 const to be eliminable.
1325 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
1327 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
1328 * configure: Regenerate.
1330 2013-01-10 Richard Biener <rguenther@suse.de>
1332 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
1334 2013-01-10 Richard Biener <rguenther@suse.de>
1337 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
1338 locations for virtual PHI arguments.
1339 (rewrite_update_phi_arguments): Likewise.
1341 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
1343 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
1346 2013-01-10 Jakub Jelinek <jakub@redhat.com>
1348 PR tree-optimization/55921
1349 * tree-complex.c (expand_complex_asm): New function.
1350 (expand_complex_operations_1): Call it for GIMPLE_ASM.
1352 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1355 * config/s390/s390.c (s390_symref_operand_p)
1356 (s390_loadrelative_operand_p): Merge the two functions.
1357 (s390_check_qrst_address, print_operand_address): Add parameters
1358 to s390_loadrelative_operand_p invokation.
1359 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
1360 (s390_reload_larl_operand, s390_secondary_reload): Use
1361 s390_loadrelative_operand_p instead of s390_symref_operand_p.
1362 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
1364 2013-01-09 Mike Stump <mikestump@comcast.net>
1366 * dse.c (record_store): Remove unnecessary assert.
1368 2013-01-09 Jan Hubicka <jh@suse.cz>
1370 PR tree-optimization/55569
1371 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
1372 * cfgloop.h (scale_loop_profile): Likewise.
1374 2013-01-09 Jan Hubicka <jh@suse.cz>
1377 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
1379 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
1381 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
1384 * expr.h (maybe_emit_group_store): Declare.
1385 * expr.c (maybe_emit_group_store): New function.
1386 * builtins.c (expand_builtin_int_roundingfn): Call it.
1387 (expand_builtin_int_roundingfn_2): Likewise.
1389 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
1391 PR rtl-optimization/55829
1392 * lra-constraints.c (match_reload): Add code for absent output.
1393 (curr_insn_transform): Add code for reloads of matched inputs
1396 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
1398 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
1399 attribute of movddup insn to DF.
1400 (*vec_interleave_lowv2df): Ditto.
1401 (vec_dupv2df): Ditto.
1403 2013-01-09 Jan Hubicka <jh@suse.cz>
1405 PR tree-optimiation/55875
1406 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
1407 EVERY_ITERATION parameter.
1408 (number_of_iterations_exit): Check if exit is executed every iteration.
1409 (idx_infer_loop_bounds): Similarly here.
1410 (n_of_executions_at_most): Simplify
1411 to only test for cases where statement is dominated by the
1412 particular bound; handle correctly the "postdominance" test.
1413 (scev_probably_wraps_p): Use max loop iterations info
1414 as a global bound first.
1416 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
1417 Nick Clifton <nickc@redhat.com>
1419 * config/v850/v850.md (cbranchsf4): New pattern.
1420 (cstoresf4): New pattern.
1421 (cbranchdf4): New pattern.
1422 (cstoredf4): New pattern.
1423 (movsicc): Disallow floating point comparisons.
1424 (cmpsf_le_insn): Fix order of operators.
1425 (cmpsf_lt_insn): Likewise.
1426 (cmpsf_eq_insn): Likewise.
1427 (cmpdf_le_insn): Likewise.
1428 (cmpdf_lt_insn): Likewise.
1429 (cmpdf_eq_insn): Likewise.
1430 (cmpsf_ge_insn): Use LE comparison.
1431 (cmpdf_ge_insn): Likewise.
1432 (cmpsf_gt_insn): Use LT comparison.
1433 (cmpdf_gt_insn): Likewise.
1434 (cmpsf_ne_insn): Delete pattern.
1435 (cmpdf_ne_insn): Delete pattern.
1436 * config/v850/v850.c (v850_gen_float_compare): Use
1437 gen_cmpdf_eq_insn for NE comparison.
1438 (v850_float_z_comparison_operator)
1439 (v850_float_nz_comparison_operator): Move from here ...
1440 * config/v850/predicates.md: ... to here. Move GT and GE
1441 comparisons into v850_float_z_comparison_operator.
1442 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
1444 (v850_float_nz_comparison_operator): Likewise.
1446 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1448 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
1449 with calls to gen_insvsi/gen_insvdi.
1451 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1453 * config/i386/i386.c (initial_ix86_tune_features): Set up
1454 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
1456 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
1457 Jakub Jelinek <jakub@redhat.com>
1459 PR tree-optimization/48189
1460 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
1461 If nitercst is 0, don't predict the exit edge.
1463 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
1465 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
1466 in asm_fprintf with reg_names.
1467 (aarch64_print_operand_address): Likewise.
1468 (aarch64_return_addr): Likewise.
1469 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
1471 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1473 * config/pa/pa.h (VAL_U6_BITS_P): Define.
1474 (INT_U6_BITS): Likewise.
1475 * config/pa/predicates.md (uint6_operand): New predicate.
1476 (shift5_operand, shift6_operand): Likewise.
1477 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
1479 (lshrdi3): Use shift6_operand.
1480 (shrpsi4, shrpdi4): New insn patterns.
1481 (extzv): Delete expander.
1482 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
1483 predicates in unamed zero extract patterns. Tighten common constraint.
1484 (extv): Delete expander.
1485 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
1486 predicates in unamed sign extract patterns. Tighten common constraint.
1487 (insv): Delete expander.
1488 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
1489 predicates in unamed insert patterns. Tighten common constraint.
1490 Change uint32_operand predicate to uint6_operand predicate in unamed
1491 DImode pattern to insert constant values of type 1...1xxxx.
1493 2013-01-04 Jan Hubicka <jh@suse.cz>
1495 PR tree-optimization/55823
1496 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
1499 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1500 Uros Bizjak <ubizjak@gmail.com>
1502 PR rtl-optimization/55845
1503 * df-problems.c (can_move_insns_across): Stop scanning at
1504 volatile_insn_p source instruction or give up if
1505 across_from .. across_to range contains any volatile_insn_p
1508 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
1510 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
1511 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
1513 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
1514 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
1516 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1519 * asan.c (asan_clear_shadow): New function.
1520 (asan_emit_stack_protection): Use it.
1522 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
1524 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
1525 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
1526 with tab instead of space.
1528 2013-01-08 Nick Clifton <nickc@redhat.com>
1530 * config/rl78/rl78.c (rl78_expand_prologue): Always select
1531 register bank 0 at the start of an interrupt handler.
1532 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
1535 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
1537 * config/aarch64/aarch64-simd.md
1538 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
1539 (aarch64_simd_bsl): Likewise.
1540 (aarch64_vcond_internal<mode>): Likewise.
1541 (vcond<mode><mode>): Likewise.
1542 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
1543 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
1545 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
1547 * config/aarch64/aarch64-builtins.c
1548 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
1550 2013-01-08 Martin Jambor <mjambor@suse.cz>
1553 * tree-sra.c (analyze_access_subtree): Return true also after
1554 potentially creating a debug-only replacement.
1556 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1559 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
1561 PR tree-optimization/54120
1562 * tree-vrp.c (range_fits_type_p): Don't allow
1563 src_precision < precision from signed vr to unsigned_p
1564 if vr->min or vr->max is negative.
1565 (simplify_float_conversion_using_ranges): Test can_float_p
1566 against CODE_FOR_nothing.
1568 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1569 Richard Biener <rguenther@suse.de>
1572 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
1573 types instead of just INTEGER_TYPE types.
1575 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
1577 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
1580 2013-01-07 Steve Ellcey <sellcey@mips.com>
1583 * config/mips/mips.opt: Change mad to mmad to match documentation.
1585 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1588 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
1591 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1594 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
1595 (avr_addrspace_t): Add .section_name field.
1596 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
1598 (avr_addrspace): Same. Initialize .section_name. Remove last
1599 NULL entry. Put __memx into .progmemx.data.
1600 (progmem_section_prefix): Remove.
1601 (avr_asm_init_sections): No need to initialize progmem_section.
1602 (avr_asm_named_section): Use avr_addrspace[].section_name to get
1603 section name prefix.
1604 (avr_asm_select_section): Ditto. And use get_unnamed_section to
1605 retrieve the progmem section.
1606 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
1607 boundary to run over avr_addrspace[].
1608 (avr_register_target_pragmas): Ditto.
1610 2013-01-06 Jakub Jelinek <jakub@redhat.com>
1612 * varasm.c (output_constant_def_contents): For asan_protect_global
1613 protected strings, adjust DECL_ALIGN if needed, before testing for
1615 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
1616 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
1618 (output_object_block): For asan protected decls, emit asan padding
1619 after their contents.
1620 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
1621 (asan_finish_file): Test it here instead.
1623 2013-01-07 Nick Clifton <nickc@redhat.com>
1624 Matthias Klose <doko@debian.org>
1625 Doug Kwan <dougkwan@google.com>
1626 H.J. Lu <hongjiu.lu@intel.com>
1629 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
1631 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
1633 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
1635 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
1637 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
1639 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1642 * doc/install.texi (Cross-Compiler-Specific Options): Document
1645 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
1647 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
1648 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
1649 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
1650 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
1651 vqmovun_high_s64): Fix source operand number and update copyright.
1653 2013-01-07 Richard Biener <rguenther@suse.de>
1656 * gimple.h (gimple_call_builtin_p): New overload.
1657 * gimple.c (validate_call): New function.
1658 (gimple_call_builtin_p): Likewise.
1659 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
1660 Use gimple_call_builtin_p.
1661 (find_func_clobbers): Likewise.
1662 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
1663 (strlen_optimize_stmt): Likewise.
1665 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1667 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
1668 (vld1q_dup_*): Likewise.
1670 (vld1q_*): Likewise.
1671 (vld1_lane_*): Likewise.
1672 (vld1q_lane_*): Likewise.
1674 2013-01-07 Richard Biener <rguenther@suse.de>
1676 * lto-streamer.h (LTO_minor_version): Bump to 2.
1678 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1680 * config/aarch64/aarch64-protos.h
1681 (aarch64_const_double_zero_rtx_p): Rename to...
1682 (aarch64_float_const_zero_rtx_p): ...this.
1683 (aarch64_float_const_representable_p): New.
1684 (aarch64_output_simd_mov_immediate): Likewise.
1685 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
1686 move immediate case.
1687 * config/aarch64/aarch64.c
1688 (aarch64_const_double_zero_rtx_p): Rename to...
1689 (aarch64_float_const_zero_rtx_p): ...this.
1690 (aarch64_print_operand): Allow printing of new constants.
1691 (aarch64_valid_floating_const): New.
1692 (aarch64_legitimate_constant_p): Check for valid floating-point
1694 (aarch64_simd_valid_immediate): Likewise.
1695 (aarch64_vect_float_const_representable_p): New.
1696 (aarch64_float_const_representable_p): Likewise.
1697 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
1698 (aarch64_output_simd_mov_immediate): New.
1699 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
1700 (*movdf_aarch64): Likewise.
1701 * config/aarch64/constraints.md (Ufc): New.
1702 (Y): call aarch64_float_const_zero_rtx.
1703 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
1705 2013-01-07 Richard Biener <rguenther@suse.de>
1707 PR tree-optimization/55888
1708 PR tree-optimization/55862
1709 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
1710 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
1711 not if it is contained therein.
1713 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1715 * config/avr/t-avr: Typo.
1717 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1720 * config/avr/t-avr: Don't automatically rebuild
1721 $(srcdir)/config/avr/t-multilib
1722 $(srcdir)/config/avr/avr-tables.opt
1723 $(srcdir)/doc/avr-mmcu.texi
1724 (avr-mcus): New phony target to build them on request.
1725 (s-avr-mlib, s-avr-mmcu-texi): Remove.
1726 * avr/avr-mcus.def: Adjust comments.
1728 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
1730 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
1732 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1734 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
1736 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1738 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
1740 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
1742 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
1743 to generate profiling.
1744 * config/rs6000/aix64.h (LIB_SPEC): Same.
1746 2013-01-04 Andrew Pinski <apinski@cavium.com>
1748 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
1750 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
1752 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
1754 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
1756 (ix86_expand_move): Ditto.
1757 (ix86_zero_extend_to_Pmode): Ditto.
1758 (ix86_expand_call): Ditto.
1759 (ix86_expand_special_args_builtin): Ditto.
1760 (ix86_expand_builtin): Ditto.
1762 2013-01-04 Richard Biener <rguenther@suse.de>
1764 PR tree-optimization/55862
1765 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
1766 translating them through PHI nodes.
1768 2013-01-04 Martin Jambor <mjambor@suse.cz>
1770 PR tree-optimization/55755
1771 * tree-sra.c (sra_modify_assign): Do not check that an access has no
1772 children when trying to avoid producing a VIEW_CONVERT_EXPR.
1774 2013-01-04 Marek Polacek <polacek@redhat.com>
1777 * opts.c (default_options_optimization): Clarify error message.
1779 2013-01-04 Richard Biener <rguenther@suse.de>
1782 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
1785 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1788 * config/pa/pa.md (movsi): Revert previous change.
1789 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
1792 2013-01-03 Richard Henderson <rth@redhat.com>
1794 * config/i386/i386.c (ix86_expand_move): Always assign to op1
1795 after eliminating TLS symbols.
1797 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
1800 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
1801 * graphite-poly.c (debug_gmp_value): Likewise.
1803 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
1806 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
1807 selected code model, define __code_mode_small__, __code_model_medium__,
1808 __code_model_large__, __code_model_32__ or __code_model_kernel__.
1809 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
1810 xchg temporary register with %k. Declare temporary register as
1812 [__x86_64__]: For medium and large code models, preserve %rbx register.
1814 2013-01-03 Richard Biener <rguenther@suse.de>
1816 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
1817 (dump_subscript): Adjust.
1818 (finalize_ddr_dependent): Do not dump redundant info.
1819 (analyze_siv_subscript): Adjust.
1820 (subscript_dependence_tester): Likewise.
1821 (compute_affine_dependence): Likewise.
1823 2013-01-03 Richard Biener <rguenther@suse.de>
1826 2013-01-03 Richard Biener <rguenther@suse.de>
1828 PR tree-optimization/55857
1829 * tree-vect-stmts.c (vectorizable_load): Do not setup
1830 re-alignment for invariant loads.
1832 2013-01-02 Richard Biener <rguenther@suse.de>
1834 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1835 invariant load do not generate a vector load from the scalar location.
1837 2013-01-03 Richard Biener <rguenther@suse.de>
1839 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
1840 for not vectorizing.
1841 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
1842 not build INDIRECT_REFs, call get_name once only.
1843 (vect_create_data_ref_ptr): Likewise. Dump base object kind
1844 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
1846 2013-01-03 Richard Biener <rguenther@suse.de>
1848 PR tree-optimization/55857
1849 * tree-vect-stmts.c (vectorizable_load): Do not setup
1850 re-alignment for invariant loads.
1852 2013-01-03 Richard Biener <rguenther@suse.de>
1855 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
1856 prefer a built-in decl.
1858 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1860 * gcc.c (process_command): Update copyright notice dates.
1861 * gcov.c (print_version): Likewise.
1862 * gcov-dump.c (print_version): Likewise.
1864 PR rtl-optimization/55838
1865 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
1866 iv0.step, iv1.step and step.
1868 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1869 Marc Glisse <marc.glisse@inria.fr>
1871 PR tree-optimization/55832
1872 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
1873 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
1874 integer_{one,zero}_node.
1876 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1879 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
1880 * var-tracking.c (reverse_op): Don't add reverse ops to
1881 VALUEs that have already
1882 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
1884 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
1886 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
1888 2013-01-02 Teresa Johnson <tejohnson@google.com>
1890 * dumpfile.c (dump_loc): Print filename with location.
1891 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
1892 new location_t parameter to emit complete unroll message with
1894 (canonicalize_loop_induction_variables): Compute loops location
1895 and pass to try_unroll_loop_completely.
1896 * loop-unroll.c (report_unroll_peel): New function.
1897 (peel_loops_completely): Use new dump format with location
1898 for main dumpfile message, and invoke report_unroll_peel on success.
1899 (decide_unrolling_and_peeling): Ditto.
1900 (decide_peel_once_rolling): Remove old dumpfile message subsumed
1901 by report_unroll_peel.
1902 (decide_peel_completely): Ditto.
1903 (decide_unroll_constant_iterations): Ditto.
1904 (decide_unroll_runtime_iterations): Ditto.
1905 (decide_peel_simple): Ditto.
1906 (decide_unroll_stupid): Ditto.
1907 * cfgloop.c (get_loop_location): New function.
1908 * cfgloop.h (get_loop_location): Declare.
1910 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1912 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
1915 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1918 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
1919 BLKmode objects when EXPAND_MEMORY is specified.
1921 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1923 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
1925 (fold_builtin_cpu): Do not share cpu model decls across statements.
1927 2013-01-02 Jason Merrill <jason@redhat.com>
1930 * tree.c (build_array_type_1): Revert earlier change.
1932 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
1934 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
1936 * config/aarch64/aarch64-tune.md: Re-generate.
1938 2013-01-02 Richard Biener <rguenther@suse.de>
1940 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1941 invariant load do not generate a vector load from the scalar location.
1943 2013-01-02 Richard Biener <rguenther@suse.de>
1946 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
1947 * configure: Regenerate.
1949 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1951 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
1952 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
1953 (expand_builtin_int_roundingfn_2): Keep the original target around
1954 for the fallback case.
1956 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1958 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
1959 to be clear for sign changes.
1961 2013-01-01 Jan Hubicka <jh@suse.cz>
1963 * ipa-inline-analysis.c: Fix formatting.
1965 2013-01-01 Jakub Jelinek <jakub@redhat.com>
1967 PR tree-optimization/55831
1968 * tree-vect-loop.c (get_initial_def_for_induction): Use
1969 gsi_after_labels instead of gsi_start_bb.
1971 Copyright (C) 2013 Free Software Foundation, Inc.
1973 Copying and distribution of this file, with or without modification,
1974 are permitted in any medium without royalty provided the copyright
1975 notice and this notice are preserved.