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