1 2013-03-13 Richard Biener <rguenther@suse.de>
3 PR tree-optimization/56608
4 * tree-vect-slp.c (vect_schedule_slp): Do not remove scalar
5 calls when vectorizing basic-blocks.
7 2013-03-13 Jakub Jelinek <jakub@redhat.com>
10 * config.gcc: On arm, mips, sh and sparc add vxworks-dummy.h to
13 2013-03-12 Jakub Jelinek <jakub@redhat.com>
15 * doc/invoke.texi (-Waddr-space-convert): Move into the table earlier.
17 2013-03-11 Jan Hubicka <jh@suse.cz>
20 * lto-streamer-out.c (output_symbol_p): Skip references from
21 constructors of external variables.
23 2013-03-11 Jan Hubicka <jh@suse.cz>
26 * valtrack.c (cleanup_auto_inc_dec): Unshare clobbers originating
28 * emit-rtl.c (verify_rtx_sharing): Likewise.
29 (copy_insn_1): Likewise.
30 * rtl.c (copy_rtx): Likewise.
32 2013-03-11 Georg-Johann Lay <avr@gjlay.de>
35 * config/avr/avr.c (avr_print_operand): Add space after '%c' in
36 output_operand_lossage message.
38 2013-03-11 Richard Earnshaw <rearnsha@arm.com>
41 * arm.c (shift_op): Validate RTL pattern on the fly.
42 (arm_print_operand, case 'S'): Don't use shift_operator to validate
45 2013-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
48 * config/pa/pa.md (call_value): Check for calls to powf and direct to
49 new call patterns that clobber %fr12.
50 (call_val_powf, call_val_powf_pic, call_val_powf_64bit): New insn,
51 split and postreload patterns.
52 * config/pa/pa.c (pa_conditional_register_usage): Revert marking
53 registers %fr12 and %fr12R as call used.
55 2013-03-09 Steven Bosscher <steven@gcc.gnu.org>
57 * dse.c (delete_dead_store_insn): Respect TDF_DETAILS.
58 (canon_address, record_store, replace_read, check_mem_read_rtx,
59 scan_insn, dse_step1, dse_step2_init, dse_step2_spill,
60 dse_step4, dse_step5_nospill, dse_step5_spill, dse_step6,
61 rest_of_handle_dse): Likewise.
63 2013-03-09 Richard Sandiford <rdsandiford@googlemail.com>
66 * tree.h (tree_optimization_option): Rename target_optabs to optabs.
68 (TREE_OPTIMIZATION_OPTABS): Update after previous field change.
69 (TREE_OPTIMIZATION_BASE_OPTABS): New macro.
70 (save_optabs_if_changed): Replace with...
71 (init_tree_optimization_optabs): ...this.
72 * optabs.c (save_optabs_if_changed): Rename to...
73 (init_tree_optimization_optabs): ...this. Take the optimization node
74 as argument. Do nothing if the base optabs are already correct.
75 Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need
77 * function.h (function): Remove optabs field.
78 * function.c (invoke_set_current_function_hook): Call
79 init_tree_optimization_optabs. Use the result to initialize
82 2013-02-27 Aldy Hernandez <aldyh@redhat.com>
84 * trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE
85 if GTMA_HAS_NO_INSTRUMENTATION.
86 (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit.
87 (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION.
88 * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define.
89 * gimple-pretty-print.c (dump_gimple_transaction): Handle
90 GTMA_HAS_NO_INSTRUMENTATION.
92 2013-03-08 Jakub Jelinek <jakub@redhat.com>
94 * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against
97 2013-03-08 Marek Polacek <polacek@redhat.com>
98 Jakub Jelinek <jakub@redhat.com>
100 PR tree-optimization/56478
101 * predict.c (is_comparison_with_loop_invariant_p): Change the
102 type of loop_step to tree.
103 (predict_loops): Adjust.
104 (predict_iv_comparison): Perform the computations on double_ints.
106 2013-03-08 Richard Biener <rguenther@suse.de>
108 PR tree-optimization/56570
109 * tree-cfg.c (verify_expr_location_1): Verify locations for
111 * tree-sra.c (create_access_replacement): Strip locations
112 from DECL_DEBUG_EXPRs.
114 2013-03-08 Richard Biener <rguenther@suse.de>
116 * tree-inline.c (expand_call_inline): Do not associate
117 a BLOCK with the location in BLOCK_SOURCE_LOCATION.
118 * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION.
120 2013-03-08 Richard Biener <rguenther@suse.de>
122 * tree-ssa-ter.c (is_replaceable_p): Do not TER across location
123 or block changes with -Og. Fix for location / block encoding
124 changes and PHI arguments with locations.
126 2013-03-07 Steven Bosscher <steven@gcc.gnu.org>
128 * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INT
130 (struct output_info): Likewise.
131 (register_overhead): Remove bad gcc_assert.
132 (bitmap_find_bit): If there is only a single bitmap element, do not
133 count a miss as a search.
134 (print_statistics): Update for counter type changes.
135 (dump_bitmap_statistics): Likewise. Print headers such that they
136 are properly lined up with the printed counters.
138 2013-03-07 Jakub Jelinek <jakub@redhat.com>
140 PR tree-optimization/56559
141 * tree-ssa-reassoc.c (zero_one_operation): When looking at rhs2,
142 check that it has only a single use.
144 2013-03-07 Richard Biener <rguenther@suse.de>
146 * doc/invoke.texi (fwhole-program): Discourage use in combination
149 2013-03-06 Jakub Jelinek <jakub@redhat.com>
151 * config/arm/t-arm (TM_H, OPTIONS_H_EXTRA): Add arm-cores.def.
153 PR tree-optimization/56539
154 * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT
155 instead of GSI_CONTINUE_LINKING as last argument to
156 force_gimple_operand_gsi. Adjust function comment.
158 * config/aarch64/t-aarch64 (TM_H, OPTIONS_H_EXTRA): Add
162 * expr.c (expand_cond_expr_using_cmove): When expanding cmove in
163 promoted mode, convert the result back to the original mode.
165 2013-03-06 Richard Biener <rguenther@suse.de>
168 * tree-into-ssa.c (insert_phi_nodes_for): Add dumping.
169 (insert_updated_phi_nodes_compare_uids): New function.
170 (update_ssa): Sort symbols_to_rename after UID before
171 traversing it to insert PHI nodes.
173 2013-03-06 Richard Biener <rguenther@suse.de>
176 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p):
177 Do not adjust alignment of DECL_IN_CONSTANT_POOL decls.
180 2013-02-13 Richard Biener <rguenther@suse.de>
183 * varasm.c (output_constant_def_1): Get the decl representing
184 the constant as argument.
185 (output_constant_def): Wrap output_constant_def_1.
186 (make_decl_rtl): Use output_constant_def_1 with the decl
187 representing the constant.
188 (build_constant_desc): Optionally re-use a decl already
189 representing the constant.
190 (tree_output_constant_def): Adjust.
192 2013-03-06 Joey Ye <joey.ye@arm.com>
195 * gcc.c (convert_white_space): New function.
196 (main): Handles white space in function name.
198 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
201 * config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT
202 instead of TARGET_SH2 for call-table case. Do not set sh_div_strategy
203 to SH_DIV_CALL_TABLE for TARGET_SH2.
204 * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib
206 * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp,
209 2013-03-05 Sterling Augustine <saugustine@google.com>
210 Cary Coutant <ccoutant@google.com>
213 * dwarf2out.c (resolve_addr): Don't call
214 remove_loc_list_addr_table_entries a second time for the same
217 2013-03-05 Jakub Jelinek <jakub@redhat.com>
220 * cfgexpand.c (expand_debug_parm_decl): Call copy_rtx on incoming.
221 (avoid_complex_debug_insns): New function.
222 (expand_debug_locations): Call it.
224 PR rtl-optimization/56484
225 * ifcvt.c (noce_process_if_block): If else_bb is NULL, avoid extending
226 lifetimes of hard registers on small register class machines.
228 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com>
230 * config/microblaze/microblaze-protos.h: Rename
231 microblaze_is_interrupt_handler to microblaze_is_interrupt_variant.
232 * config/microblaze/microblaze.c (microblaze_attribute_table): Add
234 (microblaze_fast_interrupt_function_p): New function.
235 (microblaze_is_interrupt_handler): Rename to
236 microblaze_is_interrupt_variant and add fast_interrupt check.
237 (microblaze_must_save_register): Use microblaze_is_interrupt_variant.
238 (save_restore_insns): Likewise.
239 (compute_frame_size): Likewise.
240 (microblaze_function_prologue): Add FAST_INTERRUPT_NAME.
241 (microblaze_globalize_label): Likewise.
242 * config/microblaze/microblaze.h: Define FAST_INTERRUPT_NAME.
243 * config/microblaze/microblaze.md: Use wrapper
244 microblaze_is_interrupt_variant.
246 2013-03-05 Kai Tietz <ktietz@redhat.com>
248 * sdbout.c (sdbout_one_type): Switch to current function's section
251 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com>
253 * doc/invoke.texi (MicroBlaze): Add -mbig-endian, -mlittle-endian,
256 2013-03-05 Jakub Jelinek <jakub@redhat.com>
259 * ggc-common.c (gt_pch_save): For ENABLE_VALGRIND_CHECKING,
260 if VALGRIND_GET_VBITS is defined, temporarily make object
261 memory all defined, and restore previous valgrind addressability
262 and definability afterwards. Free this_object at the end.
265 * lra.c (lra): Call lra_clear_live_ranges if live_p,
266 right before calling lra_create_live_ranges, also call it
267 when clearing live_p. Only call lra_clear_live_ranges
268 at the end if live_p.
271 * sched-deps.c (delete_dep_node): Free DEP_REPLACE.
273 2013-03-05 Richard Biener <rguenther@suse.de>
275 PR tree-optimization/56521
276 * tree-ssa-sccvn.c (set_value_id_for_result): Always initialize
279 2013-03-05 Steven Bosscher <steven@gcc.gnu.org>
282 * except.h (remove_unreachable_eh_regions): New prototype.
283 * except.c (remove_eh_handler_splicer): New function, split out
284 of remove_eh_handler.
285 (remove_eh_handler): Use remove_eh_handler_splicer. Add comment
286 warning about running it on many EH regions one at a time.
287 (remove_unreachable_eh_regions_worker): New function, walk the
288 EH tree in depth-first order and remove non-marked regions.
289 (remove_unreachable_eh_regions): New function.
290 * tree-eh.c (mark_reachable_handlers): New function, split out
291 from remove_unreachable_handlers.
292 (remove_unreachable_handlers): Use mark_reachable_handlers and
293 remove_unreachable_eh_regions.
294 (remove_unreachable_handlers_no_lp): Use mark_reachable_handlers
295 and remove_unreachable_eh_regions.
297 2013-03-05 Richard Biener <rguenther@suse.de>
300 * loop-init.c (fix_loop_structure): Remove loops in two stages,
301 not freeing them until the end.
303 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
305 * config/s390/s390.h: Define DWARF2_ASM_LINE_DEBUG_INFO.
307 2013-03-05 Richard Biener <rguenther@suse.de>
309 PR tree-optimization/56270
310 * tree-vect-slp.c (vect_schedule_slp): Clear vectorized stmts
311 of loads after scheduling an SLP instance.
313 2013-03-05 Jakub Jelinek <jakub@redhat.com>
315 * Makefile.in (dg_target_exps): Add aarch64.exp, epiphany.exp and
317 (check_gcc_parallelize): Run guality.exp as a separate job from
318 vect.exp with unsorted.exp and $(dg_target_exps) separately from
319 struct-layout-1.exp with stackalign.exp.
321 * alias.c (init_alias_analysis): Clear reg_known_equiv_p bitmap.
324 * tree-vect-slp.c (vect_supported_load_permutation_p): Free
325 load_index sbitmap even if some bit in it isn't set.
328 * tree-ssa-loop-niter.c (bb_queue): Remove typedef.
329 (discover_iteration_bound_by_body_walk): Change queues to
330 vec<vec<basic_block> > and queue to vec<basic_block>. Fix up
331 spelling in comment. Call safe_push on queues[bound_index] directly.
332 Release queues[queue_index] in every iteration unconditionally.
333 Release bounds vector.
336 * tree-vect-stmts.c (free_stmt_vec_info_vec): Call
337 free_stmt_vec_info on any left-over stmt_vec_info in the vector.
338 * tree-vect-loop.c (vect_create_epilog_for_reduction): Release
341 2013-03-05 Richard Biener <rguenther@suse.de>
344 * tree-inline.c (remap_blocks_to_null): New function.
345 (expand_call_inline): When expanding a call stmt without
346 an associated block inline remap all callee blocks to NULL.
348 2013-03-05 Jakub Jelinek <jakub@redhat.com>
350 PR rtl-optimization/56494
351 * simplify-rtx.c (simplify_truncation): If C is narrower than A,
352 optimize (truncate:A (subreg:B (truncate:C X) 0)) into
353 (subreg:A (truncate:C X) 0) instead of (truncate:A X).
356 * sel-sched-ir.c (free_sched_pools): Release
357 succs_info_pool.stack[succs_info_pool.max_top] vectors too
358 if succs_info_pool.max_top isn't -1.
361 * opts.c (opts_obstack, opts_concat): Moved to...
362 * opts-common.c (opts_obstack, opts_concat): ... here.
364 2013-03-04 Jakub Jelinek <jakub@redhat.com>
367 * diagnostic.c (diagnostic_append_note): Save and restore old prefix.
369 2013-03-04 Martin Jambor <mjambor@suse.cz>
371 * tree-dfa.c (get_or_create_ssa_default_def): Use parameter fn in
372 all appropriate places.
374 2013-01-04 Eric Botcazou <ebotcazou@adacore.com>
376 PR tree-optimization/56424
377 * ipa-split.c (split_function): Do not set the RSO flag if result is
378 not by reference and its type is a register type.
380 2013-03-04 David Holsgrove <david.holsgrove@xilinx.com>
382 * config/microblaze/microblaze.c (microblaze_valid_pic_const): New
383 (microblaze_legitimate_pic_operand): Likewise
384 * config/microblaze/microblaze.h (LEGITIMATE_PIC_OPERAND_P): calls
385 new function microblaze_legitimate_pic_operand
386 * config/microblaze/microblaze-protos.h
387 (microblaze_legitimate_pic_operand): Declare.
389 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
391 * config/microblaze/predicates.md (call_insn_simple_operand):
392 New predicate for supported rtx code types.
393 * config/microblaze/microblaze.md (call_internal1): Use
394 call_insn_simple_operand predicate.
396 2013-03-04 Jakub Jelinek <jakub@redhat.com>
399 * tree-loop-distribution.c (ldist_gen): Call partition_free after each
400 partitions.ordered_remove.
403 * tree-vect-stmts.c (vectorizable_conversion): Don't call
404 vec_oprnds0.create (1) for modifier == NONE.
407 * tree-vect-stmts.c (vectorizable_shift): Don't call create methods
408 on vec_oprnds0 or vec_oprnds1 before loop, only call it on
409 vec_oprnds1 right before pushing anything to it for
413 * tree-vect-loop.c (destroy_loop_vec_info): For !clean_stmts, just
414 set nbbs to 0 instead of having separate code path.
415 (vect_analyze_loop_form): Call destroy_loop_vec_info with true
416 instead of false as last argument if returning NULL.
418 2013-03-03 Sandra Loosemore <sandra@codesourcery.com>
420 * target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments;
421 the attribute is now called "target" instead of "option".
422 (TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma.
423 * doc/tm.texi.in (Target Attributes): Likewise document the correct
424 attribute/pragma name for TARGET_OPTION_VALID_P and
425 TARGET_OPTION_PRAGMA_PARSE. Also copy-edit and correct markup.
426 * doc/tm.texi: Regenerated.
428 2013-03-02 David Holsgrove <david.holsgrove@xilinx.com>
430 * config/microblaze/microblaze.c:
431 Check mcpu, pcmp requirement and set TARGET_REORDER to 0 if not met.
432 * config/microblaze/microblaze.h: Add -mxl-reorder to
434 * config/microblaze/microblaze.md: New bswapsi2 and bswaphi2.
435 instructions emitted if TARGET_REORDER.
436 * config/microblaze/microblaze.opt: New option -mxl-reorder set to 1
437 or 0 for -m/-mno case, but initialises as 2 to detect default use case
440 2013-03-01 Xinliang David Li <davidxl@google.com>
442 * tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom
445 2013-03-01 Jakub Jelinek <jakub@redhat.com>
448 * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Release path
449 vector even when returning true. Fix up function comment formatting.
452 * ira-build.c (ira_loop_nodes_count): New variable.
453 (create_loop_tree_nodes): Initialize it.
454 (finish_loop_tree_nodes): Use it instead of looking at current_loops.
457 * tree-vect-data-refs.c (vect_permute_store_chain): Avoid using copy
458 method on dr_chain and result_chain.
459 * tree-vect-stmts.c (vectorizable_store): Only call
460 result_chain.create if j == 0.
463 * tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call
464 vec_oprnds0->release (); rather than vec_oprnds0->truncate (0)
465 before overwriting it.
467 2013-03-01 Tobias Burnus <burnus@net-b.de>
469 * doc/extended.texi (C Extensions): Change order in @menu
471 (Other MIPS Built-in Functions): Move last MIPS entry before
472 "picoChip Built-in Functions".
473 (SH Built-in Functions): Move after RX Built-in Functions.
474 * doc/gcc.texi (Introduction): Change order in @menu
476 * doc/md.texi (Constraints): Ditto.
477 * gty.texi (Type Information): Ditto.
478 (User-provided marking routines for template types): Make
480 * doc/invoke.texi (AArch64 Options): Move before
481 "Adapteva Epiphany Options".
483 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
484 Jakub Jelinek <jakub@redhat.com>
487 * asan.c (gate_asan): Lookup no_sanitize_address instead of
488 no_address_safety_analysis attribute.
489 * doc/extend.texi (no_address_safety_attribute): Rename to
490 no_sanitize_address attribute, mention no_address_safety_analysis
491 attribute as deprecated alias.
493 2013-02-28 Jakub Jelinek <jakub@redhat.com>
496 * tree-vectorizer.h (vect_get_slp_defs): Change 3rd argument
497 type to vec<vec<tree> > *.
498 * tree-vect-slp.c (vect_get_slp_defs): Likewise. Change vec_defs
499 to be vec<tree> instead of vec<tree> *, set vec_defs
500 to vNULL and call vec_defs.create (number_of_vects), adjust other
502 * tree-vect-stmts.c (vect_get_vec_defs, vectorizable_call,
503 vectorizable_condition): Adjust vect_get_slp_defs callers.
505 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com>
507 * config/aarch64/aarch64.c
508 (aarch64_float_const_representable): Remove unused variable.
510 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com>
512 * config/aarch64/aarch64.c (aarch64_mangle_type): Make static.
514 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com>
516 * config/aarch64/aarch64-builtins.c
517 (aarch64_init_simd_builtins): Make static.
519 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com>
521 * config/aarch64/aarch64.c
522 (aarch64_simd_make_constant): Make static.
524 2013-02-28 Martin Jambor <mjambor@suse.cz>
526 * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements
527 with no initialization to the RHS of debug statements.
529 2013-02-28 Martin Jambor <mjambor@suse.cz>
531 PR tree-optimization/56294
532 * tree-sra.c (analyze_access_subtree): Create replacement declarations.
534 (get_access_replacement): Do not call create_access_replacement.
535 Assert a replacement exists.
536 (get_repl_default_def_ssa_name): Create the replacement declaration
539 2013-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
541 * config/arm/arm.c (arm_output_mi_thunk): Call final_start_function and
544 2013-02-28 Marek Polacek <polacek@redhat.com>
546 PR rtl-optimization/56466
547 * loop-unroll.c (unroll_and_peel_loops): Call fix_loop_structure
548 if we're changing a loop.
549 (peel_loops_completely): Likewise.
551 2013-02-28 Paolo Carlini <paolo.carlini@oracle.com>
554 * doc/invoke.texi ([-Wctor-dtor-privacy]): Complete.
556 2013-02-28 Georg-Johann Lay <avr@gjlay.de>
559 * config/avr/avr.c (avr_init_builtins): Use 'n' instead of empty
560 macro parameters with: FX_FTYPE_FX, FX_FTYPE_FX_INT, INT_FTYPE_FX,
561 INTX_FTYPE_FX, FX_FTYPE_INTX.
562 * config/avr/builtins.def: Adjust respective DEF_BUILTIN.
564 2013-02-28 Georg-Johann Lay <avr@gjlay.de>
566 * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285)
567 (ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795)
568 (atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb)
569 (atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a)
570 (atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1)
571 (atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p)
572 (atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb)
573 (atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161)
574 (atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e)
575 (atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4)
576 (atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3)
577 (atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1)
578 (atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva)
579 (atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3)
580 (atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU.
581 (avrxmega6): Increase max flash segments from 5 to 6.
582 * config/avr/t-multilib: Regenerate.
583 * config/avr/avr-tables.opt: Regenerate.
584 * doc/avr-mmcu.texi: Regenerate.
586 2013-02-28 Georg-Johann Lay <avr@gjlay.de>
588 * config/avr/avr.h (device_to_arch): Rename to device_to_ld.
589 (avr_device_to_arch): Rename to avr_device_to_ld.
590 (avr_device_to_as): New prototype.
591 (EXTRA_SPEC_FUNCTIONS): Add device_to_as.
592 (ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=.
593 * config/avr/driver-avr.c (avr_device_to_as): New.
594 (avr_device_to_arch): Rename to avr_device_to_ld.
596 2013-02-27 Jakub Jelinek <jakub@redhat.com>
599 * tree-vect-data-refs.c (vect_permute_load_chain): Avoid using copy
600 method on dr_chain and result_chain.
603 * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Call
604 pointer_set_destroy on not_executed_last_iteration.
607 * tree-vect-loop.c (vectorizable_reduction): Release vect_defs
611 * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of
612 FOR_EACH_DEFINED_FUNCTION when freeing state.
615 * df-scan.c (df_insn_delete): Use df_scan_free_mws_vec before
617 (df_insn_rescan_debug_internal): Use df_scan_free_mws_vec before
621 * ipa-cp.c (decide_whether_version_node): Call vec_free on
622 known_aggs[i].items and release known_aggs vector.
625 * ipa-reference.c (propagate): Free node_info even for alias nodes.
627 2013-02-27 Edgar E. Iglesias <edgar.iglesias@gmail.com>
629 * config/microblaze/microblaze.c (microblaze_emit_compare):
630 Use xor for EQ/NE comparisions.
631 * config/microblaze/microblaze.md (cstoresf4): Add constraints
632 (cbranchsf4): Adjust operator to comparison_operator.
634 2013-02-27 Jakub Jelinek <jakub@redhat.com>
637 * tree-flow.h (edge_var_map_vector): Change into va_heap, vl_embed
639 * tree-ssa.c (redirect_edge_var_map_add): Use vec_safe_reserve and
640 vec_safe_push, always update *slot.
641 (redirect_edge_var_map_clear): Use vec_free.
642 (redirect_edge_var_map_dup): Use vec_safe_copy and vec_safe_reserve.
643 (free_var_map_entry): Use vec_free.
644 * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Use
645 FOR_EACH_VEC_SAFE_ELT instead of FOR_EACH_VEC_ELT.
647 2013-02-27 Andrey Belevantsev <abel@ispras.ru>
650 * sel-sched-ir.c (merge_expr): Also change vinsn of merged expr
651 when the may_trap_p bit of the exprs being merged differs.
652 Reorder tests for speculativeness in the logical and operator.
654 2013-02-27 Jakub Jelinek <jakub@redhat.com>
656 * incpath.c (add_standard_paths): Use reconcat instead of concat
657 where appropriate and avoid leaking memory.
659 * opts.h: Include obstack.h.
660 (opts_concat): New prototype.
661 (opts_obstack): New declaration.
662 * opts.c (opts_concat): New function.
663 (opts_obstack): New variable.
664 (init_options_struct): Call gcc_init_obstack on opts_obstack.
665 (finish_options): Use opts_concat instead of concat
666 and XOBNEWVEC instead of XNEWVEC.
667 * opts-common.c (generate_canonical_option, decode_cmdline_option,
668 generate_option): Likewise.
669 * Makefile.in (OPTS_H): Depend on $(OBSTACK_H).
670 * lto-wrapper.c (main): Call gcc_init_obstack on opts_obstack.
673 * stmt.c (expand_switch_as_decision_tree_p): If flag_pic
674 and ASM_OUTPUT_ADDR_DIFF_ELT isn't defined, return true.
676 2013-02-26 Jakub Jelinek <jakub@redhat.com>
679 * lra-spills.c (lra_spill): Free spill_hard_reg at the end.
681 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com>
683 * config/arm/arm.c (const_ok_for_dimode_op): Back out last change.
684 (arm_block_move_unaligned_straight): Likewise.
685 (arm_adjust_block_mem): Likewise.
687 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com>
690 * config/lm32/lm32.c (gen_int_relational): Remove unused variables
691 temp, cond and label.
692 * config/lm32/lm32.md (ashlsi3): Remove unused variable one.
695 * config/c6x/c6x.c (dbx_register_map): Change to unsigned.
696 * config/c6x/c6x.h (dbx_register_map): Update declaration.
699 * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end
700 of prologue/epilogue functions.
703 * config/tilegx/tilegx.c (tilegx_expand_prologue):
704 Remove unused variable cfa_offset.
705 * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise.
708 * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset
709 type promotion to unsigned.
712 * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent
713 for HOST_WIDE_INT of 32 bit / same size as int.
714 (arm_block_move_unaligned_straight): Likewise.
715 (arm_adjust_block_mem): Likewise.
718 * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of
721 2013-02-26 Marek Polacek <polacek@redhat.com>
723 PR tree-optimization/56426
724 * tree-ssa-loop.c (tree_ssa_loop_init): Always call
727 2013-02-26 Richard Biener <rguenther@suse.de>
730 * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove
731 unused variable loops.
733 2013-02-26 Jakub Jelinek <jakub@redhat.com>
735 PR tree-optimization/56448
736 * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at
737 TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF.
738 Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or
739 later operands of the references, or even first operand for
740 INDIRECT_REF, TARGET_MEM_REF or MEM_REF.
742 PR tree-optimization/56443
743 * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For
744 overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument
745 to type_for_mode langhook.
747 2013-02-25 Matt Turner <mattst88@gmail.com>
749 * doc/invoke.texi: Document r4700.
751 2013-02-25 Richard Biener <rguenther@suse.de>
753 PR tree-optimization/56175
754 * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate,
756 (simplify_bitwise_binary): ... here. Also guard the conversion
757 of (type) X op CST to (type) (X op ((type-x) CST)) with it.
759 2013-02-25 Catherine Moore <clm@codesourcery.com>
762 2013-02-24 Catherine Moore <clm@codesourcery.com>
763 Maciej W. Rozycki <macro@codesourcery.com>
764 Tom de Vries <tom@codesourcery.com>
765 Nathan Sidwell <nathan@codesourcery.com>
766 Iain Sandoe <iain@codesourcery.com>
767 Nathan Froyd <froydnj@codesourcery.com>
768 Chao-ying Fu <fu@mips.com>
769 * doc/extend.texi: (micromips, nomicromips, nocompression):
770 Document new function attributes.
771 * doc/invoke.texi (minterlink-compressed, mmicromips,
772 m14k, m14ke, m14kec): Document new options.
773 (minterlink-mips16): Update documentation.
774 * doc/md.texi (ZC, ZD): Document new constraints.
775 * configure.ac (gcc_cv_as_micromips): Check if linker
776 supports the .set micromips directive.
777 * configure: Regenerate.
778 * config.in: Regenerate.
779 * config/mips/mips-tables.opt: Regenerate.
780 * config/mips/micromips.md: New file.
781 * constraints.md (ZC, AD): New constraints.
782 * config/mips/predicates.md (movep_src_register): New predicate.
783 (movep_src_operand): New predicate.
784 (non_volatile_mem_operand): New predicate.
785 * config/mips/mips.md (multimem): New type.
786 (length): Differentiate between 17-bit and 18-bit branch offsets.
787 (MOVEP1, MOVEP2): New mode iterator.
788 (mov_<load>l): Use ZC constraint.
789 (mov_<load>r): Likewise.
790 (mov_<store>l): Likewise.
791 (mov_<store>r): Likewise.
792 (*branch_equality<mode>_inverted): Add microMIPS support.
793 (*branch_equality<mode>): Likewise.
794 (*jump_absolute): Likewise.
795 (indirect_jump_<mode>): Likewise.
796 (tablejump_<mode>): Likewise.
797 (<optab>_internal): Likewise.
798 (sibcall_internal): Likewise.
799 (sibcall_value_internal): Likewise.
800 (prefetch): Use constraint ZD.
801 * config/mips/mips.opt (minterlink-compressed): New option.
802 (minterlink-mips16): Now an alias for minterlink-compressed.
803 (mmicromips): New option.
804 * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint.
805 (compare_and_swap_12): Likewise.
806 (sync_add<mode>): Likewise.
807 (sync_<optab>_12): Likewise.
808 (sync_old_<optab>_12): Likewise.
809 (sync_new_<optab>_12): Likewise.
810 (sync_nand_12): Likewise.
811 (sync_old_nand_12): Likewise.
812 (sync_new_nand_12): Likewise.
813 (sync_sub<mode>): Likewise.
814 (sync_old_add<mode>): Likewise.
815 (sync_old_sub<mode>): Likewise.
816 (sync_new_add<mode>): Likewise.
817 (sync_new_sub<mode>): Likewise.
818 (sync_<optab><mode>): Likewise.
819 (sync_old_<optab><mode>): Likewise.
820 (sync_new_<optab><mode>): Likewise.
821 (sync_nand<mode>): Likewise.
822 (sync_old_nand<mode>): Likewise.
823 (sync_new_nand<mode>): Likewise.
824 (sync_lock_test_and_set<mode>): Likewise.
825 (test_and_set_12): Likewise.
826 (atomic_compare_and_swap<mode>): Likewise.
827 (atomic_exchange<mode>_llsc): Likewise.
828 (atomic_fetch_add<mode>_llsc): Likewise.
829 * config/mips/mips-cpus.def (m14kc, m14k): New processors.
830 * config/mips/mips-protos.h (umips_output_save_restore): New prototype.
831 (umips_save_restore_pattern_p): Likewise.
832 (umips_load_store_pair_p): Likewise.
833 (umips_output_load_store_pair): Likewise.
834 (umips_movep_target_p): Likewise.
835 (umips_12bit_offset_address_p): Likewise.
836 * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS.
837 (mips_base_mips16): Rename this...
838 (mips_base_compression_flags): ...to this. Update all uses.
839 (mips_attribute_table): Add micromips, nomicromips and nocompression.
840 (mips_mips16_decl_p): Delete.
841 (mips_nomips16_decl_p): Delete.
842 (mips_get_compress_on_flags): New function.
843 (mips_get_compress_off_flags): New function.
844 (mips_get_compress_mode): New function.
845 (mips_get_compress_on_name): New function.
846 (mips_get_compress_off_name): New function.
847 (mips_insert_attributes): Support multiple compression types.
848 (mips_merge_decl_attributes): Likewise.
849 (umips_12bit_offset_address_p): New function.
850 (mips_start_function_definition): Emit .set micromips directive.
851 (mips_call_may_need_jalx_p): New function.
852 (mips_function_ok_for_sibcall): Add microMIPS support.
853 (mips_print_operand_punctuation): Support short delay slots and
855 (umips_swm_mask, umips_swm_encoding): New.
856 (umips_build_save_restore): New function.
857 (mips_for_each_saved_gpr_and_fpr): Add microMIPS support.
858 (was_mips16_p): Remove.
859 (old_compression_mode): New.
860 (mips_set_compression_mode): New function.
861 (mips_set_current_function): Add microMIPS support.
862 (mips_option_override): Likewise.
863 (umips_save_restore_pattern_p): New function.
864 (umips_output_save_restore): New function.
865 (umips_load_store_pair_p_1): New function.
866 (umips_load_store_pair_p): New function.
867 (umips_output_load_store_pair_1): New function.
868 (umips_output_load_store_pair): New function.
869 (umips_movep_target_p) New function.
870 (mips_prepare_pch_save): Add microMIPS support.
871 * config/mips/mips.h (TARGET_COMPRESSION): New.
872 (TARGET_CPU_CPP_BUILTINS): Update macro
873 to use new compression flags and to support microMIPS.
874 (MIPS_ISA_LEVEL_SPEC): Add m14k processors.
875 (MIPS_ARCH_FLOAT_SPEC): Likewise.
876 (ISA_HAS_LWXS): Include TARGET_MICROMIPS.
877 (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS.
878 (ASM_SPEC): Support mmicromips and mno-micromips.
879 (M16STORE_REG_P): New macro.
880 (MIPS_CALL): Support TARGET_MICROMIPS.
881 (MICROMIPS_J): New macro.
882 (mips_base_mips16): Rename this...
883 (mips_base_compression_flags): ...to this.
884 (UMIPS_12BIT_OFFSET_P): New macro.
885 * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS.
886 (MULTILIB_DIRNAMES): Likewise.
888 2013-02-25 Tom de Vries <tom@codesourcery.com>
890 PR rtl-optimization/56131
891 * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment.
892 * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and
893 NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL.
895 2013-02-25 Tobias Burnus <burnus@net-b.de>
897 * doc/invoke.texi (-fsanitize=): Move from optimization
898 to debugging options.
900 2013-02-25 Andrey Belevantsev <abel@ispras.ru>
902 * sched-deps.c (sched_analyze_insn): Fix typo in comment.
904 2013-02-25 Andrey Belevantsev <abel@ispras.ru>
905 Alexander Monakov <amonakov@ispras.ru>
908 * sched-deps.c (sched_analyze_insn): When reg_pending_barrier,
909 flush pending lists also on non-jumps. Adjust comment.
911 2013-02-24 Catherine Moore <clm@codesourcery.com>
912 Maciej W. Rozycki <macro@codesourcery.com>
913 Tom de Vries <tom@codesourcery.com>
914 Nathan Sidwell <nathan@codesourcery.com>
915 Iain Sandoe <iain@codesourcery.com>
916 Nathan Froyd <froydnj@codesourcery.com>
917 Chao-ying Fu <fu@mips.com>
919 * doc/extend.texi: (micromips, nomicromips, nocompression):
920 Document new function attributes.
921 * doc/invoke.texi (minterlink-compressed, mmicromips,
922 m14k, m14ke, m14kec): Document new options.
923 (minterlink-mips16): Update documentation.
924 * doc/md.texi (ZC, ZD): Document new constraints.
925 * configure.ac (gcc_cv_as_micromips): Check if linker
926 supports the .set micromips directive.
927 * configure: Regenerate.
928 * config.in: Regenerate.
929 * config/mips/mips-tables.opt: Regenerate.
930 * config/mips/micromips.md: New file.
931 * constraints.md (ZC, AD): New constraints.
932 * config/mips/predicates.md (movep_src_register): New predicate.
933 (movep_src_operand): New predicate.
934 (non_volatile_mem_operand): New predicate.
935 * config/mips/mips.md (multimem): New type.
936 (length): Differentiate between 17-bit and 18-bit branch offsets.
937 (MOVEP1, MOVEP2): New mode iterator.
938 (mov_<load>l): Use ZC constraint.
939 (mov_<load>r): Likewise.
940 (mov_<store>l): Likewise.
941 (mov_<store>r): Likewise.
942 (*branch_equality<mode>_inverted): Add microMIPS support.
943 (*branch_equality<mode>): Likewise.
944 (*jump_absolute): Likewise.
945 (indirect_jump_<mode>): Likewise.
946 (tablejump_<mode>): Likewise.
947 (<optab>_internal): Likewise.
948 (sibcall_internal): Likewise.
949 (sibcall_value_internal): Likewise.
950 (prefetch): Use constraint ZD.
951 * config/mips/mips.opt (minterlink-compressed): New option.
952 (minterlink-mips16): Now an alias for minterlink-compressed.
953 (mmicromips): New option.
954 * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint.
955 (compare_and_swap_12): Likewise.
956 (sync_add<mode>): Likewise.
957 (sync_<optab>_12): Likewise.
958 (sync_old_<optab>_12): Likewise.
959 (sync_new_<optab>_12): Likewise.
960 (sync_nand_12): Likewise.
961 (sync_old_nand_12): Likewise.
962 (sync_new_nand_12): Likewise.
963 (sync_sub<mode>): Likewise.
964 (sync_old_add<mode>): Likewise.
965 (sync_old_sub<mode>): Likewise.
966 (sync_new_add<mode>): Likewise.
967 (sync_new_sub<mode>): Likewise.
968 (sync_<optab><mode>): Likewise.
969 (sync_old_<optab><mode>): Likewise.
970 (sync_new_<optab><mode>): Likewise.
971 (sync_nand<mode>): Likewise.
972 (sync_old_nand<mode>): Likewise.
973 (sync_new_nand<mode>): Likewise.
974 (sync_lock_test_and_set<mode>): Likewise.
975 (test_and_set_12): Likewise.
976 (atomic_compare_and_swap<mode>): Likewise.
977 (atomic_exchange<mode>_llsc): Likewise.
978 (atomic_fetch_add<mode>_llsc): Likewise.
979 * config/mips/mips-cpus.def (m14kc, m14k): New processors.
980 * config/mips/mips-protos.h (umips_output_save_restore): New prototype.
981 (umips_save_restore_pattern_p): Likewise.
982 (umips_load_store_pair_p): Likewise.
983 (umips_output_load_store_pair): Likewise.
984 (umips_movep_target_p): Likewise.
985 (umips_12bit_offset_address_p): Likewise.
986 * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS.
987 (mips_base_mips16): Rename this...
988 (mips_base_compression_flags): ...to this. Update all uses.
989 (mips_attribute_table): Add micromips, nomicromips and nocompression.
990 (mips_mips16_decl_p): Delete.
991 (mips_nomips16_decl_p): Delete.
992 (mips_get_compress_on_flags): New function.
993 (mips_get_compress_off_flags): New function.
994 (mips_get_compress_mode): New function.
995 (mips_get_compress_on_name): New function.
996 (mips_get_compress_off_name): New function.
997 (mips_insert_attributes): Support multiple compression types.
998 (mips_merge_decl_attributes): Likewise.
999 (umips_12bit_offset_address_p): New function.
1000 (mips_start_function_definition): Emit .set micromips directive.
1001 (mips_call_may_need_jalx_p): New function.
1002 (mips_function_ok_for_sibcall): Add microMIPS support.
1003 (mips_print_operand_punctuation): Support short delay slots and
1005 (umips_swm_mask, umips_swm_encoding): New.
1006 (umips_build_save_restore): New function.
1007 (mips_for_each_saved_gpr_and_fpr): Add microMIPS support.
1008 (was_mips16_p): Remove.
1009 (old_compression_mode): New.
1010 (mips_set_compression_mode): New function.
1011 (mips_set_current_function): Add microMIPS support.
1012 (mips_option_override): Likewise.
1013 (umips_save_restore_pattern_p): New function.
1014 (umips_output_save_restore): New function.
1015 (umips_load_store_pair_p_1): New function.
1016 (umips_load_store_pair_p): New function.
1017 (umips_output_load_store_pair_1): New function.
1018 (umips_output_load_store_pair): New function.
1019 (umips_movep_target_p) New function.
1020 (mips_prepare_pch_save): Add microMIPS support.
1021 * config/mips/mips.h (TARGET_COMPRESSION): New.
1022 (TARGET_CPU_CPP_BUILTINS): Update macro
1023 to use new compression flags and to support microMIPS.
1024 (MIPS_ISA_LEVEL_SPEC): Add m14k processors.
1025 (MIPS_ARCH_FLOAT_SPEC): Likewise.
1026 (ISA_HAS_LWXS): Include TARGET_MICROMIPS.
1027 (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS.
1028 (ASM_SPEC): Support mmicromips and mno-micromips.
1029 (M16STORE_REG_P): New macro.
1030 (MIPS_CALL): Support TARGET_MICROMIPS.
1031 (MICROMIPS_J): New macro.
1032 (mips_base_mips16): Rename this...
1033 (mips_base_compression_flags): ...to this.
1034 (UMIPS_12BIT_OFFSET_P): New macro.
1035 * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS.
1036 (MULTILIB_DIRNAMES): Likewise.
1038 2013-02-24 Jakub Jelinek <jakub@redhat.com>
1041 * target-globals.c (save_target_globals): For init_reg_sets and
1042 target_reinit remporarily set this_fn_optabs to this_target_optabs.
1044 2013-02-22 James Grennahlgh <james.greenhalgh@arm.com>
1046 * config/aarch64/aarch64-simd-builtins.def: Add copyright header.
1047 * config/aarch64/t-aarch64
1048 (aarch64-builtins.o): Depend on aarch64-simd-builtins.def.
1050 2013-02-22 Vladimir Makarov <vmakarov@redhat.com>
1053 * lra-constraints.c (process_alt_operands): Reload operand
1054 conflicting with earlier clobber only if no more other conflicting
1057 2013-02-22 Jakub Jelinek <jakub@redhat.com>
1060 * config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o
1061 if not linking a shared library.
1063 2013-02-22 Seth LaForge <sethml@google.com>
1065 * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian.
1067 2013-02-22 Greta Yorsh <Greta.Yorsh@arm.com>
1069 * config/arm/arm.md (split for extendsidi): Update condition.
1070 (zero_extend<mode>di2,extend<mode>di2): Add an alternative.
1071 * config/arm/iterators.md (qhs_extenddi_cstr): Likewise.
1072 (qhs_zextenddi_cstr): Likewise.
1074 2013-02-21 Jakub Jelinek <jakub@redhat.com>
1077 * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to
1078 avoid signed wrapping.
1079 (expand_mult): Handle properly multiplication by
1080 ((dword_type) -1) << (BITS_PER_WORD - 1). Improve multiplication by
1081 ((dword_type) 1) << (BITS_PER_WORD - 1). Avoid undefined behavior
1082 in the compiler if coeff is HOST_WIDE_INT_MIN.
1083 (expand_divmod): Don't make ext_op1 static, change it's type to
1084 uhwi. Avoid undefined behavior in -INTVAL (op1).
1086 PR rtl-optimization/50339
1087 * lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt
1089 * lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT.
1090 (compute_costs): Call compute_splitting_shift also for ASHIFTRT
1091 into splitting_ashiftrt field.
1092 (find_decomposable_shift_zext, resolve_shift_zext): Handle also
1094 (dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT
1097 2013-02-20 Aldy Hernandez <aldyh@redhat.com>
1100 * trans-mem.c (execute_tm_mark): Do not expand transactions that
1101 are sure to go irrevocable.
1103 2013-02-21 Hans-Peter Nilsson <hp@axis.com>
1105 * doc/rtl.texi (vec_concat, vec_duplicate): Mention that
1106 scalars are valid operands.
1108 2013-02-21 Martin Jambor <mjambor@suse.cz>
1110 PR tree-optimization/56310
1111 * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy
1112 only matching indices and non-negative final offsets.
1113 (intersect_aggregates_with_edge): Pass src_idx to
1114 agg_replacements_to_vector. Pass src_idx insstead of index to
1115 intersect_with_agg_replacements.
1117 2013-02-21 Martin Jambor <mjambor@suse.cz>
1119 * ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold
1120 instead of hard-wired defaults.
1122 2013-02-21 Maciej W. Rozycki <macro@codesourcery.com>
1124 * doc/invoke.texi (MIPS Options): Update documentation of the
1125 floating-point multiply-accumulate instruction restrictions.
1127 2013-02-21 Kostya Serebryany <kcc@google.com>
1129 * config/i386/i386.c (ix86_asan_shadow_offset): Use 0x7fff8000 as
1130 asan_shadow_offset on x86_64 linux.
1132 2013-02-21 Richard Biener <rguenther@suse.de>
1134 PR tree-optimization/56415
1136 2013-02-11 Richard Biener <rguenther@suse.de>
1138 PR tree-optimization/56273
1139 * tree-vrp.c (simplify_cond_using_ranges): Disable for the
1142 2013-02-21 Jakub Jelinek <jakub@redhat.com>
1145 * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item
1149 * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't
1150 use movmisalign or extract_bit_field for EXPAND_MEMORY modifier.
1152 2013-02-20 Jan Hubicka <jh@suse.cz>
1154 PR tree-optimization/56265
1155 * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph when target is
1156 referenced for firs ttime.
1158 2013-02-20 Richard Biener <rguenther@suse.de>
1160 * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals.
1161 * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise.
1162 * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise.
1163 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do
1164 not return anything.
1165 (rename_ssa_copies): Do not remove unused locals.
1166 * tree-ssa-ccp.c (do_ssa_ccp): Likewise.
1167 * tree-ssanames.c (pass_release_ssa_names): Remove unused
1169 * passes.c (execute_function_todo): Do not schedule unused locals
1170 removal if cleanup_tree_cfg did something.
1171 * tree-ssa-live.c (remove_unused_locals): Dump statistics
1172 about the number of removed locals.
1174 2013-02-20 Richard Biener <rguenther@suse.de>
1176 PR tree-optimization/56398
1177 * tree-vect-loop-manip.c (adjust_debug_stmts): Skip
1180 2013-02-20 Martin Jambor <mjambor@suse.cz>
1182 PR tree-optimization/55334
1183 * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to
1184 restricted pointers to arrays.
1186 2013-02-20 Richard Biener <rguenther@suse.de>
1187 Jakub Jelinek <jakub@redhat.com>
1189 PR tree-optimization/56396
1190 * tree-ssa-ccp.c (n_const_val): New static variable.
1191 (get_value): Return NULL for SSA names we don't have a lattice
1193 (ccp_initialize): Initialize n_const_val.
1194 * tree-ssa-copy.c (n_copy_of): New static variable.
1195 (init_copy_prop): Initialize n_copy_of.
1196 (get_value): Return NULL_TREE for SSA names we don't have a
1199 2013-02-20 Martin Jambor <mjambor@suse.cz>
1201 * ipa-cp.c (initialize_node_lattices): Fix dumping condition.
1203 2013-02-20 Richard Biener <rguenther@suse.de>
1205 * genpreds.c (write_lookup_constraint): Do not compare first
1206 letter of the constraint again.
1208 2013-02-20 Richard Biener <rguenther@suse.de>
1210 * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits
1212 (get_use_iv_cost): Terminate hashtable walk when coming across
1215 2013-02-20 Igor Zamyatin <igor.zamyatin@intel.com>
1217 * config/i386/i386.c (initial_ix86_tune_features): Turn on fp
1218 reassociation for avx2 targets.
1220 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1222 * config/microblaze/microblaze.c: microblaze_has_clz = 0
1223 Add version check for v8.10.a to enable microblaze_has_clz
1224 * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined
1225 version and TARGET_PATTERN_COMPARE check
1226 * config/microblaze/microblaze.md: New clzsi2 instruction
1228 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1230 * config/microblaze/microblaze.md (call_value_intern): Check symbol is
1231 function before branching.
1233 2012-02-19 Andrey Belevantsev <abel@ispras.ru>
1235 * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set
1237 (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim.
1239 2012-02-19 Andrey Belevantsev <abel@ispras.ru>
1243 * sel-sched.c: Include ira.h.
1244 (implicit_clobber_conflict_p): New function.
1245 (moveup_expr): Use it.
1246 * Makefile.in (sel-sched.o): Depend on ira.h.
1248 2013-02-19 Richard Biener <rguenther@suse.de>
1250 PR tree-optimization/56384
1251 * tree-ssa-sccvn.h (struct vn_phi_s): Add type member.
1252 (vn_hash_type): Split out from ...
1253 (vn_hash_constant_with_type): ... here.
1254 * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type.
1255 (vn_phi_eq): Compare types from vn_phi_s structure.
1256 (vn_phi_lookup): Populate vn_phi_s type.
1257 (vn_phi_insert): Likewise.
1259 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1261 PR tree-optimization/56350
1262 * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false
1263 if haven't found reduction or nested cycle operand, rather than
1264 asserting we must find it.
1266 PR tree-optimization/56381
1267 * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument
1270 2013-02-18 Aldy Hernandez <aldyh@redhat.com>
1271 Jakub Jelinek <jakub@redhat.com>
1274 * genopinit.c (raw_optab_handler): Use this_fn_optabs.
1275 (swap_optab_enable): Same.
1276 (init_all_optabs): Use argument instead of global.
1277 * tree.h (struct tree_optimization_option): New field
1279 * expr.h (init_all_optabs): Add argument to prototype.
1280 (TREE_OPTIMIZATION_OPTABS): New.
1281 (save_optabs_if_changed): Protoize.
1282 * optabs.h: Declare this_fn_optabs.
1283 * optabs.c (save_optabs_if_changed): New.
1284 Declare this_fn_optabs.
1285 (init_optabs): Add argument to init_all_optabs() call.
1286 * function.c (invoke_set_current_function_hook): Handle per
1288 * function.h (struct function): New field optabs.
1289 * config/mips/mips.c (mips_set_mips16_mode): Handle when
1290 optimization_current_node has changed.
1291 * target-globals.h (save_target_globals_default_opts): Protoize.
1292 * target-globals.c (save_target_globals_default_opts): New.
1294 2013-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1297 * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark
1298 registers %fr12 and %fr12R as call used.
1301 * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode
1302 and HImode, require all displacements to be an integer multiple of their
1304 * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses,
1305 only allow QImode and HImode when reload is in progress and strict is
1306 true. Likewise for symbolic addresses. Use base14_operand to check
1307 displacements in REG+BASE addresses.
1309 2013-02-18 Richard Biener <rguenther@suse.de>
1311 PR tree-optimization/56366
1312 * tree-vect-loop.c (get_initial_def_for_induction): Properly
1313 handle sign-conversion of outer-loop initial induction value.
1315 2013-02-18 Richard Biener <rguenther@suse.de>
1318 * cfghooks.c (merge_blocks): If we merge a latch into another
1319 block adjust references to it.
1320 * cfgloop.c (flow_loops_find): Reset latch before recomputing it.
1321 (verify_loop_structure): Verify that a recorded latch is in fact
1324 2013-02-18 Richard Biener <rguenther@suse.de>
1326 PR tree-optimization/56321
1327 * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly
1328 order SSA name release and virtual operand unlinking.
1330 2013-02-17 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1332 * config/microblaze/microblaze.md (save_stack_block): Define.
1333 (restore_stack_block): Likewise.
1335 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1337 * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1.
1338 * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1.
1339 * config/microblaze/microblaze.c (microblaze_option_override):
1340 Bail out early for PIC modes when target does not support PIC.
1342 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1344 * config/microblaze/microblaze.c (microblaze_asm_trampoline_template):
1345 Replace with a microblaze version.
1346 (microblaze_trampoline_init): Adapt for microblaze.
1347 * gcc/config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for
1350 2013-02-16 Jakub Jelinek <jakub@redhat.com>
1351 Dodji Seketeli <dodji@redhat.com>
1354 * asan.c (get_mem_refs_of_builtin_call): White space and style
1356 (instrument_mem_region_access): Do not forget to always put
1357 instrumentation of the of 'base' and 'base + len' in a "if (len !=
1358 0) statement, even for cases where either 'base' or 'base + len'
1359 are not instrumented -- because they have been previously
1360 instrumented. Simplify the logic by putting all the statements
1361 instrument 'base + len' inside a sequence, and then insert that
1362 sequence right before the current insertion point. Then, to
1363 instrument 'base + len', just get an iterator on that statement.
1364 And do not forget to update the pointer to iterator the function
1365 received as argument.
1367 2013-02-15 Vladimir Makarov <vmakarov@redhat.com>
1369 PR rtl-optimization/56348
1370 * lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos.
1372 2013-02-15 Steven Bosscher <steven@gcc.gnu.org>
1374 * graph.c (start_graph_dump): Print dumpfile base as digraph label.
1375 (clean_graph_dump_file): Pass base to start_graph_dump.
1377 2013-02-14 Richard Henderson <rth@redhat.com>
1380 * lower-subreg.c (simple_move): Check dest mode instead of src mode.
1382 2013-02-14 Steven Bosscher <steven@gcc.gnu.org>
1384 * collect2-aix.h: Define F_LOADONLY.
1386 2013-02-14 Richard Biener <rguenther@suse.de>
1389 * varasm.c (output_constant_def_1): Get the decl representing
1390 the constant as argument.
1391 (output_constant_def): Wrap output_constant_def_1.
1392 (make_decl_rtl): Use output_constant_def_1 with the decl
1393 representing the constant.
1394 (build_constant_desc): Optionally re-use a decl already
1395 representing the constant.
1396 (tree_output_constant_def): Adjust.
1398 2013-02-14 Dodji Seketeli <dodji@redhat.com>
1401 * asan.c (instrument_builtin_call): Really put the length of the
1402 second source argument into src1_len.
1404 2013-02-13 Jakub Jelinek <jakub@redhat.com>
1406 * asan.c (create_cond_insert_point): Add create_then_fallthru_edge
1407 argument. If it is false, don't create edge from then_bb to
1409 (insert_if_then_before_iter): Pass true to it.
1410 (build_check_stmt): Pass false to it.
1411 (transform_statements): Flush hash table only on extended basic
1412 block boundaries, rather than at the beginning of every bb.
1413 Don't flush hash table on nonfreeing_call_p calls.
1414 * tree-flow.h (nonfreeing_call_p): New prototype.
1415 * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static.
1417 2013-02-13 David S. Miller <davem@davemloft.net>
1419 * expmed.c (expand_shift_1): Only strip scalar integer subregs.
1421 2013-02-13 Vladimir Makarov <vmakarov@redhat.com>
1424 * ira.c (max_regno_before_ira): Move from ...
1426 (fix_reg_equiv_init): Use max_regno_before_ira instead of
1429 2013-02-13 Jakub Jelinek <jakub@redhat.com>
1431 * config/i386/i386.c (ix86_asan_shadow_offset): Revert last change.
1433 2013-02-13 Richard Biener <rguenther@suse.de>
1436 * gimple-streamer-out.c (output_gimple_stmt): Undo wrapping
1437 globals in MEM_REFs.
1439 2013-02-13 Richard Biener <rguenther@suse.de>
1441 * loop-init.c (loop_optimizer_init): Clear loop state when
1442 re-initializing preserved loops.
1443 * loop-unswitch.c (unswitch_single_loop): Return whether
1444 we unswitched the loop. Do not verify loop state here.
1445 (unswitch_loops): When we unswitched a loop discover new
1448 2013-02-13 Kostya Serebryany <kcc@google.com>
1450 * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset on x86_64
1452 * sanitizer.def: Rename __asan_init to __asan_init_v1.
1454 2013-02-12 Dodji Seketeli <dodji@redhat.com>
1456 Avoid instrumenting duplicated memory access in the same basic block
1457 * Makefile.in (asan.o): Add new dependency on hash-table.h
1458 * asan.c (struct asan_mem_ref, struct mem_ref_hasher): New types.
1459 (asan_mem_ref_init, asan_mem_ref_get_end, get_mem_ref_hash_table)
1460 (has_stmt_been_instrumented_p, empty_mem_ref_hash_table)
1461 (free_mem_ref_resources, has_mem_ref_been_instrumented)
1462 (has_stmt_been_instrumented_p, update_mem_ref_hash_table)
1463 (get_mem_ref_of_assignment): New functions.
1464 (get_mem_refs_of_builtin_call): Extract from
1465 instrument_builtin_call and tweak a little bit to make it fit with
1467 (instrument_builtin_call): Use the new
1468 get_mem_refs_of_builtin_call. Use gimple_call_builtin_p instead
1469 of is_gimple_builtin_call.
1470 (instrument_derefs, instrument_mem_region_access): Insert the
1471 instrumented memory reference into the hash table.
1472 (maybe_instrument_assignment): Renamed instrument_assignment into
1473 this, and change it to advance the iterator when instrumentation
1474 actually happened and return true in that case. This makes it
1475 homogeneous with maybe_instrument_assignment, and thus give a
1476 chance to callers to be more 'regular'.
1477 (transform_statements): Clear the memory reference hash table
1478 whenever we enter a new BB, when we cross a function call, or when
1479 we are done transforming statements. Use
1480 maybe_instrument_assignment instead of instrumentation. No more
1481 need to special case maybe_instrument_assignment and advance the
1482 iterator after calling it; it's now handled just like
1483 maybe_instrument_call. Update comment.
1485 2013-02-13 Richard Biener <rguenther@suse.de>
1487 * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc):
1488 Fix loop discovery code.
1490 2013-02-12 Vladimir Makarov <vmakarov@redhat.com>
1493 * lra-constraints.c (process_alt_operands): Match early clobber
1494 operand with itself. Check conflicts with earlyclobber only if
1495 the operand is not reloaded. Prefer to reload conflicting operand
1496 if earlyclobber and matching operands are the same.
1498 2013-02-12 Richard Biener <rguenther@suse.de>
1501 * lto-streamer-out.c (write_symbol): Do not output symbols
1502 for hard register variables.
1504 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
1507 * config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders.
1508 (umulsidi3_insn, mulsidi3_insn): New insns.
1510 2013-02-12 Christophe Lyon <christophe.lyon@linaro.org>
1512 * config/arm/arm-protos.h (struct cpu_vec_costs): New struct type.
1513 (struct tune_params): Add vec_costs field.
1514 * config/arm/arm.c (arm_builtin_vectorization_cost)
1515 (arm_add_stmt_cost): New functions.
1516 (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST)
1517 (TARGET_VECTORIZE_ADD_STMT_COST): Define.
1518 (arm_default_vec_cost): New struct of type cpu_vec_costs.
1519 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune)
1520 (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune)
1521 (arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune)
1522 (arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field.
1524 2013-02-12 Richard Biener <rguenther@suse.de>
1527 * gimple-streamer-in.c (input_gimple_stmt): Strip MEM_REFs off
1528 decls again if possible.
1530 2013-02-12 Richard Biener <rguenther@suse.de>
1533 * tree-ssa.c (verify_ssa_name): Fix check, move
1534 SSA_NAME_IN_FREE_LIST check up.
1536 2013-02-12 Jakub Jelinek <jakub@redhat.com>
1537 Steven Bosscher <steven@gcc.gnu.org>
1539 PR rtl-optimization/56151
1540 * optabs.c (add_equal_note): Don't return 0 if target is a MEM,
1541 equal to op0 or op1, and last_insn pattern is CODE operation
1542 with MEM dest and one of the operands matches that MEM.
1544 2013-02-11 Sriraman Tallam <tmsriramgoogle.com>
1546 * doc/extend.texi: Document Function Multiversioning and "default"
1547 parameter string to target attribute.
1548 * config/i386/i386.c (get_builtin_code_for_version): Return 0 if
1549 target attribute parameter is "default".
1550 (ix86_compare_version_priority): Remove checks for target attribute.
1551 (ix86_mangle_function_version_assembler_name): Change error to sorry.
1552 Remove check for target attribute equal to NULL. Add assert.
1553 (ix86_generate_version_dispatcher_body): Change error to sorry.
1555 2013-02-11 Iain Sandoe <iain@codesourcery.com>
1556 Jack Howarth <howarth@bromo.med.uc.edu>
1557 Patrick Marlier <patrick.marlier@gmail.com>
1560 * config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and
1561 define ENDFILE_SPEC as TM_DESTRUCTOR.
1562 * config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR.
1564 2013-02-11 Alexander Potapenko <glider@google.com>
1565 Jack Howarth <howarth@bromo.med.uc.edu>
1566 Jakub Jelinek <jakub@redhat.com>
1569 * config/darwin.c (cdtor_record): Rename ctor_record.
1570 (sort_cdtor_records): Rename sort_ctor_records.
1571 (finalize_dtors): New routine to sort destructors by
1572 priority before use in assemble_integer.
1573 (machopic_asm_out_destructor): Use finalize_dtors if needed.
1575 2013-02-11 Uros Bizjak <ubizjak@gmail.com>
1577 PR rtl-optimization/56275
1578 * simplify-rtx.c (avoid_constant_pool_reference): Check that
1579 offset is non-negative and less than cmode size before
1580 calling simplify_subreg.
1582 2013-02-11 Richard Biener <rguenther@suse.de>
1584 PR tree-optimization/56264
1585 * cfgloop.h (fix_loop_structure): Adjust prototype.
1586 * loop-init.c (fix_loop_structure): Return the number of
1587 newly discovered loops.
1588 * tree-cfgcleanup.c (repair_loop_structures): When new loops
1589 are discovered, do a full loop-closed SSA rewrite.
1591 2013-02-11 Richard Biener <rguenther@suse.de>
1593 PR tree-optimization/56273
1594 * tree-vrp.c (simplify_cond_using_ranges): Disable for the
1596 (check_array_ref): Fix missing newline in dumps.
1597 (search_for_addr_array): Likewise.
1599 2013-02-09 David Edelsohn <dje.gcc@gmail.com>
1601 * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine.
1603 2013-02-09 Jakub Jelinek <jakub@redhat.com>
1606 * config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define.
1608 2013-02-08 Vladimir Makarov <vmakarov@redhat.com>
1610 PR rtl-optimization/56246
1611 * lra-constraints.c (simplify_operand_subreg): Try to reuse
1613 * lra.c (lra): Clear lra_optional_reload_pseudos only when all
1614 constraints are satisfied.
1616 2013-02-08 Jeff Law <law@redhat.com>
1619 * emit-rtl.c (reg_is_parm_p): New function.
1620 * regs.h (reg_is_parm_p): New prototype.
1621 * ira-conflicts.c (ira_build_conflicts): Allow parameters in
1622 callee-clobbered registers.
1624 2013-02-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1627 * config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass):
1628 If there is no implicit builtin declaration, just return NULL.
1630 2013-02-08 Uros Bizjak <ubizjak@gmail.com>
1632 * config/i386/sse.md (FMAMODEM): New mode iterator.
1633 (fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM
1634 mode iterator. Do not use TARGET_SSE_MATH in insn constraint.
1636 2013-02-08 Uros Bizjak <ubizjak@gmail.com>
1638 * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only
1639 when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set.
1640 * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto.
1642 2013-02-08 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1644 * config.gcc (microblaze*-linux*): Add TARGET_BIG_ENDIAN_DEFAULT.
1645 (microblaze*-*-elf): Likewise.
1646 * config/microblaze/linux.h: Add -mbig-endian / -mlittle-endian to
1648 * config/microblaze/microblaze-c.c: Add builtin defines for
1649 _LITTLE_ENDIAN and _BIG_ENDIAN.
1650 * config/microblaze/microblaze.h: Add TARGET_ENDIAN_DEFAULT and
1651 add to TARGET_DEFAULT flags.
1652 Expand ASM_SPEC and LINK_SPEC.
1653 Update BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN.
1654 * config/microblaze/microblaze.md: Update extendsidi2 and
1655 movdi_internal instructions to use low-order / high-order reg
1657 * config/microblaze/microblaze.opt: Add mbig-endian and mlittle-endian
1658 options and inversemask / mask of LITTLE_ENDIAN.
1659 * config/microblaze/t-microblaze: Expand multilib options to
1660 include mlittle-endian (le) and update exceptions patterns.
1662 2013-02-08 Jakub Jelinek <jakub@redhat.com>
1664 PR rtl-optimization/56195
1665 * lra-constraints.c (get_reload_reg): Don't reuse regs
1666 if they have smaller mode than requested, if they have
1667 wider mode than requested, try to return a SUBREG.
1669 PR tree-optimization/56250
1670 * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize
1671 if type is unsigned and code isn't MULT_EXPR.
1673 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
1675 PR tree-optimization/56064
1676 * fixed-value.c (fixed_from_double_int): Sign/zero extend payload
1677 bits according to mode.
1678 * fixed-value.h (fixed_from_double_int)
1679 (const_fixed_from_double_int): Adjust comments.
1681 2013-02-08 Richard Biener <rguenther@suse.de>
1684 * lto-streamer.h (struct data_in): Remove current_file, current_line
1685 and current_col members.
1686 * lto-streamer-out.c (lto_output_location): Stream changed bits
1687 en-block for efficiency.
1688 * lto-streamer-in.c (clear_line_info): Remove.
1689 (lto_input_location): Cache current file, line and column
1690 globally via local statics. Read changed bits en-block.
1691 (input_function): Do not call clear_line_info.
1692 (lto_read_body): Likewise.
1693 (lto_input_toplevel_asms): Likewise.
1695 2013-02-08 Michael Matz <matz@suse.de>
1697 PR tree-optimization/52448
1698 * tree-ssa-phiopt.c (struct name_to_bb): Add phase member.
1699 (nt_call_phase): New static.
1700 (add_or_mark_expr): Only mark accesses with newer phase than any
1702 (nonfreeing_call_p): New.
1703 (nt_init_block): Update nt_call_phase, mark blocks as visited.
1704 (nt_fini_block): Keep blocks marked as visited.
1705 (get_non_trapping): Initialize nt_call_phase, and reset aux pointer.
1707 2013-02-08 Richard Biener <rguenther@suse.de>
1709 * ira.c (ira): Free broken dominator information.
1711 2013-02-08 Uros Bizjak <ubizjak@gmail.com>
1713 * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro.
1715 2013-02-08 Marek Polacek <polacek@redhat.com>
1717 * cfgloop.c (verify_loop_structure): Add more checking of headers.
1719 2013-02-08 Richard Biener <rguenther@suse.de>
1722 * cfgloop.h (flow_loops_find): Adjust.
1723 (bb_loop_header_p): Declare.
1724 * cfgloop.c (bb_loop_header_p): New function split out from ...
1725 (flow_loops_find): ... here. Adjust function signature,
1726 support incremental loop structure update.
1727 (verify_loop_structure): Cleanup. Verify a loop is a loop.
1728 * cfgloopmanip.c (fix_loop_structure): Move ...
1729 * loop-init.c (fix_loop_structure): ... here.
1730 (apply_loop_flags): Split out from ...
1731 (loop_optimizer_init): ... here.
1732 (fix_loop_structure): Use apply_loop_flags. Use flow_loops_find
1733 in incremental mode, only remove dead loops here.
1735 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
1738 * config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add.
1739 * config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators.
1740 (round<mode>3, round<mode>3_const): New expanders for fixed-mode.
1741 (*round<mode>3.libgcc): New insns for fixed-modes.
1742 * config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME.
1743 (ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs.
1744 (ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs.
1745 * config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline
1746 implementations. Define to __builtin_avr_absFX,
1747 __builtin_avr_bitsFX, __builtin_avr_FXbits, respectively.
1748 (roundFX, countlsFX): Define to __builtin_avr_roundFX,
1749 __builtin_avr_countlsFX, respectively.
1750 * config/avr/avr-c.c (target.h): Include it.
1751 (enum avr_builtin_id): New enum.
1752 (avr_resolve_overloaded_builtin): New static function.
1753 (avr_register_target_pragmas): Use it to set
1754 targetm.resolve_overloaded_builtin.
1755 * config/avr/avr.c (avr_init_builtins): Supply myriads of local
1756 tree nodes used by DEF_BUILTIN.
1757 (avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them.
1758 (avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR.
1759 <AVR_BUILTIN_xxBITS>: Same.
1761 2013-02-08 Richard Biener <rguenther@suse.de>
1763 * cfgloop.c (verify_loop_structure): Properly handle
1764 a loop exiting to another loop header.
1765 * ira-int.h (ira_loops): Remove.
1766 * ira.c (ira_loops): Remove.
1767 (ira): Use loop_optimizer_init and loop_optimizer_finalize.
1768 (do_reload): Use loop_optimizer_finalize.
1769 * ira-build.c (create_loop_tree_nodes): Use get_loops and
1770 number_of_loops to access the loop tree.
1771 (more_one_region_p): Likewise.
1772 (finish_loop_tree_nodes): Likewise.
1773 (rebuild_regno_allocno_maps): Likewise.
1774 (mark_loops_for_removal): Likewise.
1775 (mark_all_loops_for_removal): Likewise.
1776 (remove_unnecessary_regions): Likewise.
1777 (ira_build): Likewise.
1778 * ira-emit.c (setup_entered_from_non_parent_p): Likewise.
1780 2013-02-08 Richard Biener <rguenther@suse.de>
1782 * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency.
1783 * ipa-pure-const.c (analyze_function): Avoid calling
1784 mark_irreducible_loops twice.
1785 * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup.
1787 2013-02-07 David S. Miller <davem@davemloft.net>
1789 * dwarf2out.c (based_loc_descr): Perform leaf register remapping
1791 * var-tracking.c (vt_add_function_parameter): Test the presence of
1792 HAVE_window_save properly and do not remap argument registers when
1793 we have a leaf function.
1795 2013-02-07 Uros Bizjak <ubizjak@gmail.com>
1798 * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT
1800 * config/i386/i386.c (ix86_print_operand): Ditto.
1802 2013-02-07 Vladimir Makarov <vmakarov@redhat.com>
1804 * lra-constraints.c (process_alt_operands): Fix recently added comment.
1806 2013-02-07 Vladimir Makarov <vmakarov@redhat.com>
1808 PR rtl-optimization/56225
1809 * lra-constraints.c (process_alt_operands): Check that reload hard
1810 reg can hold value for strict_low_part.
1812 2013-02-07 Jakub Jelinek <jakub@redhat.com>
1815 * dwarf2out.c (dwarf2_debug_hooks): Set end_function hook to
1816 dwarf2out_end_function.
1817 (in_first_function_p, maybe_at_text_label_p,
1818 first_loclabel_num_not_at_text_label): New variables.
1819 (dwarf2out_var_location): In the first function find out
1820 lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0.
1821 (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New
1824 2013-02-07 Eric Botcazou <ebotcazou@adacore.com>
1826 PR rtl-optimization/56178
1827 * cse.c (cse_insn): Do not create a REG_EQUAL note if the source is a
1828 SUBREG of a register. Tidy up related block of code.
1829 * fwprop.c (forward_propagate_and_simplify): Do not create a REG_EQUAL
1830 note if the source is a register or a SUBREG of a register.
1832 2013-02-07 Jakub Jelinek <jakub@redhat.com>
1835 * config/rs6000/rs6000.md (ptrm): New mode attr.
1836 (call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11,
1837 call_value_indirect_aix<pttrsize>,
1838 call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of
1841 2013-02-07 Michael Haubenwallner <michael.haubenwallner@salomon.at>
1843 * collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable
1844 if -bnortl. Convert to strcmp and strncmp.
1846 2013-02-07 Alan Modra <amodra@gmail.com>
1849 * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM
1850 addresses won't wrap when offsetting.
1851 (rs6000_secondary_reload): Provide secondary reloads needed for
1852 wrapping LO_SUM addresses.
1854 2013-02-06 Thomas Schwinge <thomas@codesourcery.com>
1856 * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define
1857 MACH, just __MACH__.
1859 2013-02-06 Richard Biener <rguenther@suse.de>
1861 * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP
1862 instead of calling fix_loop_structure.
1864 2013-02-06 Jakub Jelinek <jakub@redhat.com>
1867 * omp-low.c (use_pointer_for_field): Return false if
1868 lower_send_shared_vars doesn't generate any copy-out code.
1870 2013-02-06 Tom de Vries <tom@codesourcery.com>
1872 PR rtl-optimization/56131
1873 * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN
1874 to get the bb of a NOTE_INSN_BASIC_BLOCK. Handle the case that the bb
1875 of the label is NULL. Add comment.
1877 2013-02-05 Jakub Jelinek <jakub@redhat.com>
1879 * tree.h (struct tree_decl_with_vis): Remove thread_local field.
1882 * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define.
1883 (STATIC_LIBTSAN_LIBS): Likewise.
1884 * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define.
1885 (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC
1886 is defined, don't add anything else beyond that.
1887 (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define.
1888 (LINK_COMMAND_SPEC): Use them.
1890 PR tree-optimization/56205
1891 * tree-stdarg.c (check_all_va_list_escapes): Return true if
1892 there are any PHI nodes that set non-va_list_escape_vars SSA_NAME
1893 and some va_list_escape_vars SSA_NAME appears in some PHI argument.
1895 2013-02-05 Richard Biener <rguenther@suse.de>
1897 PR tree-optimization/53342
1898 PR tree-optimization/53185
1899 * tree-vectorizer.h (vect_check_strided_load): Remove.
1900 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do
1901 not disallow peeling for vectorized strided loads.
1902 (vect_check_strided_load): Make static and simplify.
1903 (vect_analyze_data_refs): Adjust.
1904 * tree-vect-stmts.c (vectorizable_load): Handle peeled loops
1905 correctly when vectorizing strided loads.
1907 2013-02-05 Richard Biener <rguenther@suse.de>
1909 * doc/install.texi: Refer to ISL, not PPL.
1911 2013-02-05 Jan Hubicka <jh@suse.cz>
1913 PR tree-optimization/55789
1914 * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1.
1916 2013-02-05 Jan Hubicka <jh@suse.cz>
1918 PR tree-optimization/55789
1919 * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove
1920 the dead call anyway.
1922 2013-02-05 Eric Botcazou <ebotcazou@adacore.com>
1925 * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard.
1927 2013-02-04 Alexander Potapenko <glider@google.com>
1928 Jack Howarth <howarth@bromo.med.uc.edu>
1929 Jakub Jelinek <jakub@redhat.com>
1932 * config/darwin.c (sort_ctor_records): Stabilized qsort
1933 on constructor priority by using original position.
1934 (finalize_ctors): New routine to sort constructors by
1935 priority before use in assemble_integer.
1936 (machopic_asm_out_constructor): Use finalize_ctors if needed.
1938 2013-02-04 Jakub Jelinek <jakub@redhat.com>
1941 * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn
1942 about visibility on artificial decls.
1943 * config/sol2.c (solaris_assemble_visibility): Likewise.
1945 2013-02-04 Kai Tietz <ktietz@redhat.com>
1948 * config/i386/i386.c (function_value_ms_64): Add additional valtype
1949 argument and improve checking of return-argument types for 16-byte
1951 (ix86_function_value_1): Add additional valtype argument on call
1952 of function_value_64.
1953 (return_in_memory_ms_64): Sync 16-byte sized mode handling with
1954 handling infunction_value_64 function.
1956 2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
1958 * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue.
1960 2013-02-04 Richard Biener <rguenther@suse.de>
1962 PR tree-optimization/56188
1963 * tree-ssa-structalias.c (label_visit): Consider case with
1964 initially non-empty points-to set.
1965 (perform_var_substitution): Dump node mapping and clean up.
1967 2013-02-04 Richard Guenther <rguenther@suse.de>
1970 * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin
1971 node prevail as last resort.
1972 (lto_symtab_merge_decls): Remove guard on LTRANS here.
1973 (lto_symtab_prevailing_decl): Builtins are their own prevailing decl.
1975 2013-02-04 Richard Biener <rguenther@suse.de>
1977 PR tree-optimization/56113
1978 * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add):
1980 (equiv_class_lookup_or_add): ... this.
1981 (label_visit): Adjust and fix error in previous patch.
1982 (perform_var_substitution): Adjust.
1984 2013-02-03 Oleg Endo <olegendo@gcc.gnu.org>
1986 * config/sh/divtab.c: Fix formatting and comments throughout the file.
1987 * config/sh/sh4-300.md: Likewise.
1988 * config/sh/sh4a.md: Likewise.
1989 * config/sh/constraints.md: Likewise.
1990 * config/sh/sh.md: Likewise.
1991 * config/sh/netbsd-elf.h: Likewise.
1992 * config/sh/predicates.md: Likewise.
1993 * config/sh/sh-protos.h: Likewise.
1994 * config/sh/ushmedia.h: Likewise.
1995 * config/sh/linux.h: Likewise.
1996 * config/sh/sh.c: Likewise.
1997 * config/sh/superh.h: Likewise.
1998 * config/sh/elf.h: Likewise.
1999 * config/sh/sh4.md: Likewise.
2000 * config/sh/sh.h: Likewise.
2002 2013-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2004 * config/pa/constraints.md: Adjust unused letters. Change "T"
2005 constraint to match_test floating_point_store_memory_operand().
2006 * config/pa/predicates.md (reg_plus_base_memory_operand): New.
2007 (base14_operand): New.
2008 (floating_point_store_memory_operand): New.
2009 (integer_store_memory_operand): Revise to use base14_operand and
2010 reg_plus_base_memory_operand.
2011 (move_dest_operand): Allow symbolic_memory_operands.
2012 (symbolic_memory_operand): Check for LO_SOM.
2013 (symbolic_operand): Change default case to break.
2014 * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force
2015 CONST_DOUBLE values to be reloaded by putting them into memory when
2016 the destination is a floating point register.
2017 (movdf): Remove code to handle CONST_DOUBLE.
2019 (reload_indf_r1): New.
2020 (reload_insf_r1): New.
2021 Consistently use "Q" and "T" constraints with integer and floating
2022 point move instructions, respectively.
2023 (movdi): Remove FAIL.
2024 Change predicate for source operand unamed DImode move from
2025 general_operand to move_src_operand.
2026 (umulsidi3): Change predicate for destination operand to
2028 Likewise for similar unamed patterns.
2029 * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare.
2030 * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis.
2031 (hppa_legitimize_address): Simplify mask calculation.
2032 (pa_emit_move_sequence): Revised handling of secondary reloads from
2033 REG+D addresses for floating point loads and stores. Directly handle
2034 loading CONST0_RTX (mode) to a floating point register.
2035 (pa_secondary_reload): Handle reloading DF and SFmode constant values
2036 to floating point registers. Don't restrict secondary reloads to
2037 floating point registers to integer modes. Revise some comments and
2039 (TARGET_LEGITIMATE_ADDRESS_P): Define.
2040 (pa_legitimate_address_p): New.
2041 (pa_legitimize_reload_address): New.
2042 * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New.
2043 (STRICT_REG_OK_FOR_BASE_P): New.
2044 (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments.
2045 (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address.
2047 2013-02-03 David Edelsohn <dje.gcc@gmail.com>
2048 Andrew Dixie <andrewd@gentrack.com>
2050 * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY
2053 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
2055 * expmed.c (extract_bit_field_1): Pass the full width of the
2056 structure to get_best_reg_extraction_insn.
2058 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
2061 * configure.ac (use_cxa_atexit): Add AIX.
2062 * configure: Regenerate.
2064 * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o.
2066 2013-02-01 Jakub Jelinek <jakub@redhat.com>
2069 * final.c (need_profile_function): New variable.
2070 (final_start_function): Drop ATTRIBUTE_UNUSED from first argument.
2071 If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG
2072 is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED
2073 notes, targetm.asm_out.function_prologue doesn't emit anything,
2074 HAVE_prologue and profiler should be emitted before prologue,
2075 set need_profile_function instead of emitting it.
2076 (final_scan_insn): If need_profile_function, emit
2077 profile_function on the first NOTE_INSN_BASIC_BLOCK or
2078 NOTE_INSN_FUNCTION_BEG note.
2080 2013-02-01 Richard Henderson <rth@redhat.com>
2082 * config/rs6000/rs6000.md (smulditi3): New.
2085 * config/alpha/alpha.md (umulditi3): New.
2087 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
2089 * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2.
2090 (ASM_OUTPUT_ALIGNED_LOCAL): New.
2092 2013-02-01 Richard Biener <rguenther@suse.de>
2094 PR tree-optimization/56113
2095 * tree-ssa-structalias.c (label_visit): Reduce work for
2096 single-predecessor nodes.
2098 2013-02-01 Eric Botcazou <ebotcazou@adacore.com>
2100 * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the
2101 range isn't testing for zero.
2103 2013-01-31 Steven Bosscher <steven@gcc.gnu.org>
2106 * fwprop.c (fwprop_init): Set up loops without CFG modifications.
2108 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com>
2109 Nick Clifton <nickc@redhat.com>
2111 * config/v850/constraints.md (Q): Define as a memory constraint.
2112 * config/v850/predicates.md (label_ref_operand): New predicate.
2113 (e3v5_shift_operand): New predicate.
2114 (ior_operator): New predicate.
2115 * config/v850/t-v850: Add e3v5 multilib.
2116 * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype.
2117 (v850_gen_movdi): Prototype.
2118 * config/v850/v850.c: Add support for e3v5 architecture.
2119 Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to
2121 (construct_save_jarl): Add e3v5 long JARL support.
2122 (v850_adjust_insn_length): New function. Adjust length of call
2123 insns when using e3v5 instructions.
2124 (v850_gen_movdi): New function: Generate instructions to move a
2126 * config/v850/v850.h (TARGET_CPU_v850e3v5): Define.
2127 (CPP_SPEC): Define __v850e3v5__ as appropriate.
2128 (TARGET_USE_FPU): Enable for e3v5.
2129 (CONST_OK_FOR_W): New macro.
2130 (ADJUST_INSN_LENGTH): Define.
2131 * config/v850/v850.md (UNSPEC_LOOP): Define.
2132 (attr cpu): Add v850e3v5.
2133 Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP.
2134 (movdi): New pattern.
2135 (movdi_internal): New pattern.
2136 (cbranchsf4): Conditionalize on TARGET_USE_FPU.
2137 (cbranchdf4): Conditionalize on TARGET_USE_FPU.
2138 (cstoresf4): Likewise.
2139 (cstoredf4): Likewise.
2140 (insv): New pattern.
2141 (rotlso3_a): New pattern.
2142 (rotlsi3_b): New pattern
2143 (rotlsi3_v850e3v5): New pattern.
2144 (doloop_begin): New pattern.
2145 (fix_loop_counter): New pattern.
2146 (doloop_end): New pattern.
2147 (branch_normal): Add e3v5 long branch support.
2148 (branch_invert): Likewise.
2149 (branch_z_normal): Likewise.
2150 (branch_z_invert): Likewise.
2151 (branch_nz_normal): Likewise.
2152 (branch_nz_invert): Likewise.
2153 (call_internal_short): Add e3v5 register-indirect JARL support.
2154 (call_internal_long): Likewise.
2155 (call_value_internal_short): Likewise.
2156 (call_value_internal_long): Likewise.
2157 * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options.
2158 (mloop): New option.
2159 * config.gcc: Add support for configuring v840e3v5 target.
2160 * doc/invoke.texi: Document new v850 specific command line options.
2162 2013-01-31 Paul Koning <ni1d@arrl.net>
2166 * dwarf2out.c (prune_unused_types_mark): Mark all of parent's
2167 children if parent is a class.
2168 (prune_unused_types_prune): Don't add DW_AT_declaration.
2170 2013-01-31 Richard Biener <rguenther@suse.de>
2172 PR tree-optimization/56157
2173 * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to
2174 match up operand with SLP child.
2176 2013-01-31 Jason Merrill <jason@redhat.com>
2179 * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template
2180 parameters the first time.
2181 (gen_scheduled_generic_parms_dies): Check completeness here.
2183 2013-01-31 Richard Biener <rguenther@suse.de>
2186 * common.opt (faggressive-loop-optimizations): New flag,
2188 * doc/invoke.texi (faggressive-loop-optimizations): Document.
2189 * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard
2190 infer_loop_bounds_from_undefined by it.
2192 2013-01-31 Richard Biener <rguenther@suse.de>
2194 PR tree-optimization/56150
2195 * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not
2196 visit virtual operands.
2197 (find_uses_to_rename_bb): Likewise.
2199 2013-01-31 Richard Biener <rguenther@suse.de>
2201 PR tree-optimization/56150
2202 * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle
2203 mixed store non-store stmts.
2205 2013-01-30 Jakub Jelinek <jakub@redhat.com>
2208 * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if
2209 LIBASAN_EARLY_SPEC is defined.
2210 (LIBASAN_EARLY_SPEC): Define to empty string if not already defined.
2211 (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address,
2213 * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define.
2216 * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose
2217 invalid args instead of ICEing on it.
2218 (ix86_valid_target_attribute_tree): Return error_mark_node if
2219 ix86_valid_target_attribute_inner_p failed.
2220 (ix86_valid_target_attribute_p): Return false only if
2221 ix86_valid_target_attribute_tree returned error_mark_node. Allow
2222 target("default") attribute.
2223 (sorted_attr_string): Change argument from const char * to tree,
2224 merge in all target attribute arguments rather than just one.
2225 Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC
2226 instead of free. Avoid using strcat.
2227 (ix86_mangle_function_version_assembler_name): Mangle
2228 target("default") as if no target attribute is present. Adjust
2229 sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC
2230 instead of xmalloc and XDELETEVEC instead of free.
2231 (ix86_function_versions): Don't return true if one of the decls
2232 doesn't have target attribute. If they don't and one of the decls
2233 is DECL_FUNCTION_VERSIONED, report an error. Adjust
2234 sorted_attr_string caller. Use XDELETEVEC instead of free.
2235 (ix86_supports_function_versions): Remove.
2236 (make_name): Fix up formatting.
2237 (make_dispatcher_decl): Remove resolver_name and its initialization.
2238 Avoid leaking memory.
2239 (is_function_default_version): Return true if there is
2240 target("default") attribute rather than no target attribute at all.
2241 (make_resolver_func): Avoid leaking memory.
2242 (ix86_generate_version_dispatcher_body): Likewise.
2243 (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove.
2244 * target.def (supports_function_versions): Remove.
2245 * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove.
2246 * doc/tm.texi: Regenerated.
2248 2013-01-30 Vladimir Makarov <vmakarov@redhat.com>
2250 PR rtl-optimization/56144
2251 * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo
2252 for values with side effects.
2254 2013-01-30 Richard Biener <rguenther@suse.de>
2256 * sparseset.h (sparseset_bit_p): Use gcc_checking_assert.
2257 (sparseset_pop): Likewise.
2258 * cfganal.c (compute_idf): Likewise. Increase work-stack size
2259 to be able to use quick_push in the worker loop.
2261 2013-01-30 Marek Polacek <polacek@redhat.com>
2263 * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs.
2265 2013-01-30 Richard Biener <rguenther@suse.de>
2268 * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check.
2270 2013-01-30 Georg-Johann Lay <avr@gjlay.de>
2272 PR tree-optimization/56064
2273 * fixed-value.c (fixed_from_double_int): New function.
2274 * fixed-value.h (fixed_from_double_int): New prototype.
2275 (const_fixed_from_double_int): New static inline function.
2276 * fold-const.c (native_interpret_fixed): New static function.
2277 (native_interpret_expr) <FIXED_POINT_TYPE>: Use it.
2278 (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true.
2279 (native_encode_fixed): New static function.
2280 (native_encode_expr) <FIXED_CST>: Use it.
2281 (native_interpret_int): Move double_int worker code to...
2282 * double-int.c (double_int::from_buffer): ...this new static method.
2283 * double-int.h (double_int::from_buffer): Prototype it.
2285 2013-01-30 Richard Biener <rguenther@suse.de>
2287 * tree-ssa-structalias.c (final_solutions, final_solutions_obstack):
2288 New pointer-map and obstack.
2289 (init_alias_vars): Allocate pointer-map and obstack.
2290 (delete_points_to_sets): Free them.
2291 (find_what_var_points_to): Cache result.
2292 (find_what_p_points_to): Adjust for changed interface of
2293 find_what_var_points_to.
2294 (compute_points_to_sets): Likewise.
2295 (ipa_pta_execute): Likewise.
2297 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2299 * configure.ac (HAVE_AS_SPARC_NOBITS): New test.
2300 * configure: Regenerate.
2301 * config.in: Regenerate.
2302 * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit
2303 #nobits/#progbits if supported.
2305 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org>
2308 * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a,
2309 bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a,
2310 bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition.
2312 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
2314 * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove.
2315 (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all.
2317 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
2319 * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL.
2320 * config/arm/cortex-a7.md (cortex_a7_call): Update required units.
2322 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
2324 * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New
2326 * config/arm/arm.c (arm_mac_accumulator_is_result): New function.
2327 * config/arm/cortex-a7.md: New bypasses using
2328 arm_mac_accumulator_is_result.
2330 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
2332 * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation.
2333 (cortex_a7_neon_mla): Likewise.
2334 (cortex_a7_fpfmad): New reservation.
2335 (cortex_a7_fpmacs): Use ffmas and update required units.
2336 (cortex_a7_fpmuld): Update required units and latency.
2337 (cortex_a7_fpmacd): Likewise.
2338 (cortex_a7_fdivs, cortex_a7_fdivd): Likewise.
2339 (cortex_a7_neon). Likewise.
2340 (bypass) Update participating units.
2342 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
2344 * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute.
2345 * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type
2347 * config/arm/vfp11.md (vfp_farith): Use ffmas.
2348 (vfp_fmul): Use ffmad.
2349 * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas.
2350 (cortex_r4_fmacd): Use ffmad.
2351 * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas.
2352 * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas.
2353 (cortex_a9_fmacd): Use ffmad.
2354 * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas.
2355 (cortex_a8_vfp_macd): Use ffmad.
2356 * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas.
2357 (cortex_a5_fpmacd): Use ffmad.
2358 * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas.
2359 (cortex_a15_vfp_macd): Use ffmad.
2360 * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad.
2362 2013-01-29 Jason Merrill <jason@redhat.com>
2365 * varasm.c (default_assemble_visibility): Don't warn about
2366 visibility on artificial decls.
2368 2013-01-29 Richard Biener <rguenther@suse.de>
2370 PR tree-optimization/56113
2371 * tree-ssa-structalias.c (equiv_class_lookup): Also return
2373 (label_visit): Free duplicate bitmaps and record the leader instead.
2374 (perform_var_substitution): Adjust.
2376 2013-01-29 Richard Biener <rguenther@suse.de>
2378 PR tree-optimization/55270
2379 * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed
2380 the CFG, schedule loops for fixup.
2382 2013-01-29 Nick Clifton <nickc@redhat.com>
2384 * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow
2387 2013-01-28 Leif Ekblad <leif@rdos.net>
2389 * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets.
2390 * config/i386/i386.h (TARGET_RDOS): New macro.
2391 (DEFAULT_LARGE_SECTION_THRESHOLD): New macro.
2392 * config/i386/i386.c (ix86_option_override_internal): For 64bit
2393 TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1.
2394 * config/i386/i386.opt (mlarge-data-threshold): Initialize to
2395 DEFAULT_LARGE_SECTION_THRESHOLD.
2396 * config/i386/i386.md (R14_REG, R15_REG): New constants.
2397 * config/i386/rdos.h: New file.
2398 * config/i386/rdos64.h: New file.
2400 2013-01-28 Bernd Schmidt <bernds@codesourcery.com>
2403 * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of
2406 2013-01-28 Jakub Jelinek <jakub@redhat.com>
2408 PR rtl-optimization/56117
2409 * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib
2410 call cselib_lookup_from_insn on the MEM before calling
2411 add_insn_mem_dependence.
2413 2013-01-28 Richard Biener <rguenther@suse.de>
2415 * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK
2416 to a stmt that didn't have one.
2417 (copy_phis_for_bb): Likewise for PHI arguments.
2418 (copy_debug_stmt): Likewise for debug stmts.
2420 2013-01-28 Richard Biener <rguenther@suse.de>
2422 PR tree-optimization/56034
2423 * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION.
2424 (partition_builtin_p): Adjust.
2425 (generate_code_for_partition): Handle PKIND_REDUCTION. Assert
2426 it is the last partition.
2427 (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking
2428 up the vertex for the definition.
2429 (classify_partition): Classify whether a partition is a
2430 PKIND_REDUCTION, thus has uses outside of the loop.
2431 (ldist_gen): Inherit PKIND_REDUCTION when merging partitions.
2432 Merge all PKIND_REDUCTION partitions into the last partition.
2433 (tree_loop_distribution): Seed partitions from reductions as well.
2435 2013-01-28 Jakub Jelinek <jakub@redhat.com>
2437 PR tree-optimization/56125
2438 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize
2439 pow(x,c) into sqrt(x) * powi(x, n/2) or
2440 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when
2441 optimizing for size.
2442 Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or
2443 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an
2446 PR tree-optimization/56094
2447 * gimplify.c (force_gimple_operand_1): Temporarily set input_location
2448 to UNKNOWN_LOCATION while gimplifying expr.
2450 2013-01-27 Uros Bizjak <ubizjak@gmail.com>
2453 * config/i386/i386.md (*movabs<mode>_1): Add square brackets around
2454 operand 0 in movabs insn template for -masm=intel asm alternative.
2455 (*movabs<mode>_2): Ditto for operand 1.
2457 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
2460 * config.gcc (microblaze*-linux*): Add tmake_file to allow building
2463 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
2465 * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update
2468 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
2470 * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS):
2471 Undef to avoid warning.
2473 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at>
2475 * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
2476 * configure: Regenerate.
2478 2013-01-25 Jakub Jelinek <jakub@redhat.com>
2480 PR tree-optimization/56098
2481 * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr
2482 for stmts with volatile ops.
2483 (cond_store_replacement): Don't optimize if assign has volatile ops.
2484 (cond_if_else_store_replacement_1): Don't optimize if either
2485 then_assign or else_assign have volatile ops.
2486 (hoist_adjacent_loads): Don't optimize if either def1 or def2 have
2489 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
2491 * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__.
2493 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
2495 * doc/extend.texi (Example of asm with clobbered asm reg): Fix
2496 missing ':' in asm example.
2498 2013-01-25 Tejas Belagod <tejas.belagod@arm.com>
2500 * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane
2501 entries into lane and laneq entries.
2502 * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>):
2503 Remove AdvSIMD scalar modes.
2504 (aarch64_sq<r>dmulh_laneq<mode>): New.
2505 (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD
2507 * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics'
2508 builtin implementations to relfect changes in RTL in aarch64-simd.md.
2509 * config/aarch64/iterators.md (VCOND): New.
2512 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
2515 * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument.
2516 Add NULL LIBNAME argument to existing definitions.
2517 (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New.
2518 * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument.
2519 * config/avr/avr.c (DEF_BUILTIN): Same.
2520 (avr_init_builtins): Pass down LIBNAME to add_builtin_function.
2521 (avr_expand_builtin): Expand to a vanilla call if a libgcc
2522 implementation is available (DECL_ASSEMBLER_NAME is set).
2523 (avr_fold_absfx): New static function.
2524 (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR,
2525 AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR,
2526 AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK,
2528 * config/avr/stdfix.h (abshr, absr, abslr, absllr)
2529 (abshk, absk, abslk, absllk): Provide as static inline functions.
2531 2013-01-25 Marek Polacek <polacek@redhat.com>
2533 PR tree-optimization/56035
2534 * cfgloopmanip.c (fix_loop_structure): Remove redundant condition.
2536 2012-01-24 Uros Bizjak <ubizjak@gmail.com>
2538 * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative.
2539 (*movtf_internal_rex64): Add (!o,C) alternative
2540 (*movxf_internal_rex64): Ditto.
2541 (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives.
2543 2013-01-24 Shenghou Ma <minux.ma@gmail.com>
2545 * doc/invoke.texi: fix typo.
2546 * doc/objc.texi: fix typo.
2548 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com>
2550 * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
2551 for the first two alternatives.
2553 2013-01-24 Diego Novillo <dnovillo@google.com>
2555 * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o.
2556 (ggc-zone.o): Remove.
2557 * configure.ac: Remove option --with-gc.
2558 * configure: Re-generate.
2559 * doc/install.texi: Remove documentation for --with-gc.
2560 * gengtype.c (write_enum_defn): Remove. Update all users.
2561 (write_Types_process_field): Remove generation of gt_e_* argument.
2562 (output_type_enum): Remove. Update all users.
2563 (write_enum_defn): Remove. Update all users.
2564 (enum alloc_zone): Remove. Update all users.
2565 (write_splay_tree_allocator_def): Remove generation of gt_e_* argument.
2566 * ggc-common.c (ggc_splay_alloc): Remove first argument.
2568 (struct ptr_data): Remove field TYPE. Update all users.
2569 (gt_pch_note_object): Remove argument TYPE. Update all users.
2570 * ggc-internal.h (ggc_pch_alloc_object): Remove last argument.
2572 * ggc-none.c (ggc_alloc_typed_stat): Remove.
2573 (struct alloc_zone): Remove.
2574 (ggc_internal_alloc_zone_stat): Remove.
2575 (ggc_internal_cleared_alloc_zone_stat): Remove.
2576 * ggc-page.c (ggc_alloc_typed_stat): Remove.
2577 (ggc_pch_count_object): Remove last argument. Update all users.
2578 (ggc_pch_alloc_object): Remove last argument. Update all users.
2579 (struct alloc_zone): Remove.
2580 * ggc-zone.c: Remove.
2581 * ggc.h (gt_pch_note_object): Remove last argument. Update all users.
2582 (struct alloc_zone): Remove.
2583 (ggc_alloc_typed_stat): Remove.
2584 (ggc_alloc_typed): Remove.
2585 (ggc_splay_alloc): Remove first argument.
2586 (rtl_zone): Remove. Update all users.
2587 (tree_zone): Remove. Update all users.
2588 (tree_id_zone): Remove. Update all users.
2589 (ggc_internal_zone_alloc_stat): Remove. Update all users.
2590 (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users.
2591 (ggc_internal_zone_vec_alloc_stat): Remove. Update all users.
2592 * tree-ssanames.c: Remove references to zone allocator in comments.
2594 2013-01-24 Georg-Johann Lay <avr@gjlay.de>
2596 * config/avr/avr.c (avr_out_fract): Make register numbers that
2597 might be outside of source operand signed.
2599 2013-01-24 Uros Bizjak <ubizjak@gmail.com>
2601 * config/i386/constraints.md (Yf): New constraint.
2602 * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead
2603 of f constraint to conditionaly disable x87 register preferences.
2604 (*movdf_internal): Ditto.
2605 (*movsf_internal): Ditto.
2607 2013-01-24 Steven Bosscher <steven@gcc.gnu.org>
2610 * lra-assigns.c (assign_by_spills): Throw away the pattern of asms
2611 that have operands with impossible constraints.
2612 Add a FIXME for a speed-up opportunity.
2613 * lra-constraints.c (process_alt_operands): Verify that a class
2614 selected from constraints on asms is valid for the operand mode.
2615 (curr_insn_transform): Remove incorrect comment.
2617 2013-01-23 David Edelsohn <dje.gcc@gmail.com>
2619 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that
2620 TOC operand is a valid symbol ref in the constant pool.
2622 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com>
2624 * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS
2626 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
2629 * config/avr/stdfix.h: New file.
2630 * t-avr (stdfix-gcc.h): New rule to build it.
2631 (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h.
2633 2013-01-23 Kostya Serebryany <kcc@google.com>
2635 * config/darwin.h: remove dependency on
2636 CoreFoundation (asan on Mac OS).
2638 2013-01-23 Jakub Jelinek <jakub@redhat.com>
2641 * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
2642 instead of cmpdi_operand for first comparison operand.
2643 Don't assert that comparison operands aren't both constants.
2645 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
2647 * doc/install.texi (Downloading the Source): Update references to
2648 downloading separate components.
2650 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
2652 * doc/extend.texi (__int128): Improve grammar.
2654 2013-01-22 Uros Bizjak <ubizjak@gmail.com>
2657 * config/i386/i386.md (*movti_internal_rex64): Change (o,riF)
2658 alternative to (o,r).
2659 (*movdi_internal_rex64): Remove (!o,n) alternative.
2660 (DImode immediate->memory splitter): Remove.
2661 (DImode immediate->memory peephole2): Remove.
2662 (movtf): Enable for TARGET_64BIT || TARGET_SSE.
2663 (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r)
2664 alternative to (!o,*r).
2665 (*movtf_internal_sse): New pattern.
2666 (*movxf_internal_rex64): New pattern.
2667 (*movxf_internal): Disable for TARGET_64BIT.
2668 (*movdf_internal_rex64): Remove (!o,F) alternative.
2670 2013-01-22 Jakub Jelinek <jakub@redhat.com>
2673 * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc)
2674 isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION.
2675 * tree-vect-loop-manip.c (find_loop_location): Also ignore
2676 stmt locations where LOCATION_LOCUS of the stmt location is
2677 UNKNOWN_LOCATION or BUILTINS_LOCATION.
2680 * config/i386/i386.md (UNSPEC_STOS): New.
2681 (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1,
2682 *strsetqi_1): Add UNSPEC_STOS.
2684 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com>
2687 * doc/invoke.texi: Remove left over -Wsynth example.
2689 2013-01-21 Jakub Jelinek <jakub@redhat.com>
2691 PR tree-optimization/56051
2692 * fold-const.c (fold_binary_loc): Don't fold
2693 X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
2694 a narrowing conversion, or widening conversion from signed
2697 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
2699 PR rtl-optimization/56023
2700 * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
2701 dependent on debug instruction.
2703 2013-01-21 Martin Jambor <mjambor@suse.cz>
2706 * function.c (allocate_struct_function): Call
2707 invoke_set_current_function_hook earlier.
2709 2013-01-21 Jakub Jelinek <jakub@redhat.com>
2711 * reload1.c (init_reload): Only initialize reload_obstack
2712 during the first call.
2714 2013-01-21 Marek Polacek <polacek@redhat.com>
2716 * cfgloop.c (verify_loop_structure): Fix up grammar.
2718 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com>
2720 * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift,
2721 pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift.
2723 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2726 * config/arm/marvell-pj4.md: Update copyright year.
2727 Fix up use of alu to alu_reg and simple_alu_imm.
2729 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
2731 * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
2733 2013-01-20 Vladimir Makarov <vmakarov@redhat.com>
2736 * lra-constraints.c (curr_insn_transform): Don't reuse original
2737 insn for secondary memory move when memory mode should be different.
2739 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2741 * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi,
2742 atomic_storedi_1): New patterns.
2744 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2746 btver2 pipeline descriptions.
2747 * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
2749 * config/i386/i386.md (btver2_decode): New type attributes.
2750 * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
2752 * config/i386/btver2.md: New file describing btver2 pipelines.
2754 2013-01-19 Andrew Pinski <apinski@cavium.com>
2756 PR tree-optimization/52631
2757 * tree-ssa-sccvn (visit_use): Before looking up the original
2758 statement, try looking up the simplified expression.
2760 2013-01-19 Anthony Green <green@moxielogic.com>
2762 * config/moxie/moxie.c (moxie_expand_prologue): Set
2763 current_function_static_stack_size.
2765 2013-01-18 Jakub Jelinek <jakub@redhat.com>
2767 PR tree-optimization/56029
2768 * tree-phinodes.c (reserve_phi_args_for_new_edge): Set
2769 gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
2771 2013-01-18 Sharad Singhai <singhai@google.com>
2773 PR tree-optimization/55995
2774 * dumpfile.c (dump_loc): Print location only if available.
2775 * tree-vectorizer.c (increase_alignment): Intialize vect_location.
2777 2013-01-18 Vladimir Makarov <vmakarov@redhat.com>
2780 * lra-constraints.c (curr_insn_transform): Reuse original insn for
2781 secondary memory move.
2782 (inherit_reload_reg): Use rclass instead of cl for
2783 check_secondary_memory_needed_p.
2785 2013-01-18 Jakub Jelinek <jakub@redhat.com>
2788 * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
2789 the case where writing real complex part of target modifies op1.
2791 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com>
2793 * config/aarch64/aarch64-simd.md
2794 (aarch64_vcond_internal<mode>): Handle unordered cases.
2795 * config/aarch64/iterators.md (v_cmp_result): New.
2797 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com>
2798 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2800 * config/arm/marvell-pj4.md: New file.
2801 * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
2802 * config/arm/arm.md (generic_sched): Add marvell_pj4.
2803 (generic_vfp): Likewise.
2804 * config/arm/arm-cores.def: Add marvell-pj4.
2805 * config/arm/arm-tune.md: Regenerate.
2806 * config/arm/arm-tables.opt: Regenerate.
2807 * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
2808 * doc/invoke.texi: Document marvell-pj4.
2810 2013-01-18 Tejas Belagod <tejas.belagod@arm.com>
2812 * config/aarch64/arm_neon.h: Map scalar types to standard types.
2814 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
2819 * var-tracking.c (negative_power_of_two_p): New.
2820 (global_get_addr_cache, local_get_addr_cache): New.
2821 (get_addr_from_global_cache, get_addr_from_local_cache): New.
2822 (vt_canonicalize_addr): Rewrite using the above. Adjust the
2824 (vt_stack_offset_p): Remove.
2825 (vt_canon_true_dep): Always canonicalize loc's address.
2826 (clobber_overlapping_mems): Make sure we have a MEM.
2827 (local_get_addr_clear_given_value): New.
2828 (val_reset): Clear local cached entries.
2829 (compute_bb_dataflow): Create and release the local cache.
2830 Disable duplicate MEMs clobbering.
2831 (emit_notes_in_bb): Clobber MEMs likewise.
2832 (vt_emit_notes): Create and release the local cache.
2833 (vt_initialize, vt_finalize): Create and release the global
2834 cache, respectively.
2835 * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
2837 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
2840 * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
2841 not found in the symtab.
2843 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
2846 PR rtl-optimization/55547
2847 PR rtl-optimization/53827
2850 * alias.c (offset_overlap_p): New, factored out of...
2851 (memrefs_conflict_p): ... this. Use absolute sizes. Retain
2852 the conservative special case for symbolic constants. Don't
2853 adjust zero sizes on alignment.
2855 2013-01-18 Bernd Schmidt <bernds@codesourcery.com>
2857 PR rtl-optimization/52573
2858 * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
2859 REG_UNUSED for the same register.
2861 2013-01-17 Richard Biener <rguenther@suse.de>
2862 Marek Polacek <polacek@redhat.com>
2864 PR rtl-optimization/55833
2865 * loop-unswitch.c (unswitch_loops): Move loop verification...
2866 (unswitch_single_loop): ...here. Call mark_irreducible_loops.
2867 * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
2868 Set it to true when we're removing a loop from hierarchy tree in
2869 an irreducible region.
2870 (fix_bb_placements): Adjust caller.
2871 (fix_loop_placements): Likewise.
2873 2013-01-17 Georg-Johann Lay <avr@gjlay.de>
2875 * config/avr/builtins.def (DEF_BUILTIN): Factor out
2876 "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
2877 Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
2878 Remove ID. Adjust comments.
2879 * config/avr/avr-c.c (avr_builtin_name): Remove.
2880 (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
2881 * config/avr/avr.c (avr_tolower): New static function.
2882 (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'.
2883 Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
2884 (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
2887 2013-01-17 Jan Hubicka <jh@suse.cz>
2889 PR tree-optimization/55273
2890 * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
2892 2013-01-17 Uros Bizjak <ubizjak@gmail.com>
2895 * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
2896 store through atomic_store<mode>_1.
2897 (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
2899 2013-01-17 Martin Jambor <mjambor@suse.cz>
2901 PR tree-optimizations/55264
2902 * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
2903 for virtual methods.
2904 * ipa.c (symtab_remove_unreachable_nodes): Never return true for
2905 virtual methods before inlining is over.
2906 * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
2908 * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
2911 2013-01-16 Vladimir Makarov <vmakarov@redhat.com>
2913 PR rtl-optimization/56005
2914 * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
2915 pending reads for prefetch.
2917 2013-01-16 Ian Bolton <ian.bolton@arm.com>
2919 * config/aarch64/aarch64.md
2920 (*cstoresi_neg_uxtw): New pattern.
2921 (*cmovsi_insn_uxtw): New pattern.
2922 (*<optab>si3_uxtw): New pattern.
2923 (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
2924 (*<optab>si3_insn_uxtw): New pattern.
2925 (*bswapsi2_uxtw): New pattern.
2927 2013-01-16 Richard Biener <rguenther@suse.de>
2929 * tree-inline.c (tree_function_versioning): Remove set but
2930 never used variable.
2932 2013-01-16 Richard Biener <rguenther@suse.de>
2934 PR tree-optimization/55964
2935 * tree-flow.h (rename_variables_in_loop): Remove.
2936 (rename_variables_in_bb): Likewise.
2937 * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
2938 (copy_loop_before): Adjust and delete update-ssa status.
2939 * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
2940 (rename_variables_in_bb): Likewise. Properly walk over predecessors.
2941 (rename_variables_in_loop): Remove.
2942 (slpeel_update_phis_for_duplicate_loop): Likewise.
2943 (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
2944 use available cfg machinery instead of duplicating it.
2945 Update PHI nodes and perform poor-mans SSA update here.
2946 (slpeel_tree_peel_loop_to_edge): Adjust.
2948 2013-01-16 Richard Biener <rguenther@suse.de>
2950 PR tree-optimization/54767
2951 PR tree-optimization/53465
2952 * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
2953 (vrp_visit_phi_node): For PHI arguments coming via backedges
2954 drop all symbolical range information.
2955 (execute_vrp): Compute backedges.
2957 2013-01-16 Richard Biener <rguenther@suse.de>
2959 * doc/install.texi: Update CLooG and ISL requirements to
2962 2013-01-16 Christian Bruel <christian.bruel@st.com>
2965 * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
2966 (broken_move): Handle UNSPECV_SP_SWITCH_B.
2967 * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
2969 2013-01-16 DJ Delorie <dj@redhat.com>
2971 * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
2972 (UNSPECV_SP_SWITCH_E): New.
2973 (sp_switch_1): Change to an unspec.
2974 (sp_switch_2): Change to an unspec. Don't use post-inc when we
2977 2013-01-16 Uros Bizjak <ubizjak@gmail.com>
2979 * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
2980 with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
2981 * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
2982 (expand_mem_thread_fence): Ditto.
2983 (expand_mem_signal_fence): Ditto.
2984 (expand_atomic_load): Ditto.
2985 (expand_atomic_store): Ditto.
2987 2013-01-16 Alexandre Oliva <aoliva@redhat.com>
2989 PR rtl-optimization/55547
2990 PR rtl-optimization/53827
2993 * alias.c (memrefs_conflict_p): Set sizes to negative after
2996 2013-01-15 Jakub Jelinek <jakub@redhat.com>
2999 * function.c (thread_prologue_and_epilogue_insns): Always
3000 add crtl->drap_reg to set_up_by_prologue.set, even if
3001 stack_realign_drap is false.
3003 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
3005 * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
3006 and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
3007 *call): Fix indention.
3009 2013-01-15 Tom de Vries <tom@codesourcery.com>
3012 * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
3015 2013-01-15 Vladimir Makarov <vmakarov@redhat.com>
3017 PR rtl-optimization/55153
3018 * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
3020 2013-01-15 Martin Jambor <mjambor@suse.cz>
3022 PR tree-optimization/55920
3023 * tree-sra.c (analyze_access_subtree): Do not mark non-removable
3024 accesses as grp_to_be_debug_replaced.
3026 2013-01-15 Jakub Jelinek <jakub@redhat.com>
3028 PR tree-optimization/55920
3029 * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
3030 there is non-useless type conversion needed from debug rhs to lhs,
3031 use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
3033 2013-01-15 Joseph Myers <joseph@codesourcery.com>
3034 Mikael Pettersson <mikpe@it.uu.se>
3037 * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
3039 (ASM_OUTPUT_CASE_LABEL): Remove.
3040 (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
3041 * final.c (shorten_branches): Update alignment of labels before
3042 jump tables if CASE_VECTOR_SHORTEN_MODE.
3044 2013-01-15 Richard Biener <rguenther@suse.de>
3047 * system.h: Do not include gmp.h for building host tools.
3049 2013-01-15 Richard Biener <rguenther@suse.de>
3052 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
3053 account for bitpos when computing alignment.
3055 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com>
3057 * config/i386/i386-c.c (ix86_target_macros_internal): New case.
3058 (ix86_target_macros_internal): Likewise.
3060 * config/i386/i386.c (m_CORE2I7): Removed.
3061 (m_CORE_HASWELL): New macro.
3062 (m_CORE_ALL): Likewise.
3063 (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
3064 (initial_ix86_arch_features): Likewise.
3065 (processor_target_table): Initializations for Core avx2.
3066 (cpu_names): New names "core-avx2".
3067 (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
3068 PROCESSOR_CORE_HASWELL.
3069 (ix86_issue_rate): New case.
3070 (ia32_multipass_dfa_lookahead): Likewise.
3071 (ix86_sched_init_global): Likewise.
3073 * config/i386/i386.h (TARGET_HASWELL): New macro.
3074 (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
3075 (processor_type): New PROCESSOR_HASWELL.
3077 2013-01-15 Jakub Jelinek <jakub@redhat.com>
3079 PR tree-optimization/55955
3080 * tree-vect-loop.c (vectorizable_reduction): Give up early on
3081 *SHIFT_EXPR and *ROTATE_EXPR codes.
3083 PR tree-optimization/48766
3084 * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
3085 -ftrapv disable -fwrapv.
3087 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
3090 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
3091 etc. to 1 and not to __flash.
3092 Use LL suffix for __INT24_MAX__ with -mint8.
3093 Use ULL suffix for __UINT24_MAX__ with -mint8.
3095 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
3097 * config/avr/avr-arch.h
3098 (struct base_arch_s): Use typedef avr_arch_t instead.
3099 (struct arch_info_s): Use typedef avr_arch_info_t instead.
3100 (struct mcu_type_s): Use typedef avr_mcu_t instead.
3101 * config/avr/avr.c: Same.
3102 * config/avr/avr-devices.c: Same.
3103 * config/avr/driver-avr.c: Same.
3104 * config/avr/gen-avr-mmcu-texi.c: Same.
3105 * config/avr/avr-mcus.def: Adjust comment.
3107 2013-01-14 Tejas Belagod <tejas.belagod@arm.com>
3109 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
3110 * config/aarch64/iterators.md (VALLDI): New.
3112 2013-01-14 Uros Bizjak <ubizjak@gmail.com>
3113 Andi Kleen <ak@linux.intel.com>
3116 * config/i386/sync.md (atomic_store<mode>_1): New pattern.
3117 (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
3120 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
3122 * config/avr/avr-stdint.h: Remove trailing blanks.
3123 * config/avr/avr-log.h: Same.
3124 * config/avr/avr-arch.h: Same.
3125 * config/avr/avr-devices.c: Same.
3126 * config/avr/avr-dimode.md: Same.
3127 * config/avr/predicates.md: Same.
3128 * config/avr/avr-c.c: Same. And fix typo.
3130 * config/avr/avr-protos.h: Same. And:
3131 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
3132 (init_cumulative_args): Rename to avr_init_cumulative_args.
3133 (expand_prologue): Rename to avr_expand_prologue.
3134 (expand_epilogue): Rename to avr_expand_epilogue.
3135 (adjust_insn_length): Rename to avr_adjust_insn_length.
3136 (notice_update_cc): Rename to avr_notice_update_cc.
3137 (final_prescan_insn): Rename to avr_final_prescan_insn.
3138 * config/avr/avr.c: Same.
3139 * config/avr/avr.h: Same.
3140 * config/avr/avr.md: Remove trailing blanks.
3141 (prologue): Use avr_expand_prologue.
3142 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
3144 2013-01-14 Richard Biener <rguenther@suse.de>
3146 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
3147 verify_location, collect_subblocks): New functions.
3148 (verify_gimple_in_cfg): Verify that locations only reference
3149 BLOCKs in the functions BLOCK tree.
3151 2013-01-14 Richard Biener <rguenther@suse.de>
3153 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
3155 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
3157 (insert_out_of_ssa_copy_on_edge): Likewise.
3158 (rewrite_close_phi_out_of_ssa): Likewise.
3159 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
3161 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
3162 propagated constants.
3163 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
3166 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
3168 * config/avr/avr-modes.def: Add GPL copyright notice.
3170 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
3172 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
3173 MEMMODEL_MASK to determine memory model.
3174 (atomic_store<mode>): Ditto from operands[2].
3175 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
3177 2013-01-13 Jakub Jelinek <jakub@redhat.com>
3180 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
3181 (fold_gimple_assign): Don't call unshare_expr here.
3182 (fold_ctor_reference): Call unshare_expr.
3184 2013-01-13 Terry Guo <terry.guo@arm.com>
3186 * Makefile.in (s-mlib): New argument MULTILIB_REUSE.
3187 * doc/fragments.texi: Document MULTILIB_REUSE.
3188 * gcc.c (multilib_reuse): New internal spec.
3189 (set_multilib_dir): Also search multilib from multilib_reuse.
3190 * genmultilib (tmpmultilib3): Refactor code.
3191 (tmpmultilib4): Ditto.
3192 (multilib_reuse): New multilib argument.
3194 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
3196 * Makefile.in: Update copyright.
3198 2013-01-12 Tom de Vries <tom@codesourcery.com>
3201 * calls.c (expand_call): Check if arg_nr is valid.
3203 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3205 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
3206 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
3207 documentation. Add missing '__' in front of
3208 __builtin_ia32_packssdw256.
3210 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3213 * config/s390/s390.c (s390_preferred_reload_class): Do not return
3214 NO_REGS for larl operands.
3215 (s390_reload_larl_operand): Use s390_load_address instead of
3218 2013-01-11 Richard Biener <rguenther@suse.de>
3220 * tree-cfg.c (verify_node_sharing_1): Split out from ...
3221 (verify_node_sharing): ... here.
3222 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
3224 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
3226 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
3227 Substitute TREECHECKING.
3228 * configure: Regenerate.
3229 * Makefile.in (TREECHECKING): New.
3231 2013-01-11 Richard Guenther <rguenther@suse.de>
3233 PR tree-optimization/44061
3234 * tree-vrp.c (extract_range_basic): Compute zero as
3235 value-range for __builtin_constant_p of function parameters.
3237 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
3239 Update copyright years.
3241 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
3243 PR rtl-optimization/55672
3244 * lra-eliminations.c (mark_not_eliminable): Permit addition with
3245 const to be eliminable.
3247 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
3249 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
3250 * configure: Regenerate.
3252 2013-01-10 Richard Biener <rguenther@suse.de>
3254 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
3256 2013-01-10 Richard Biener <rguenther@suse.de>
3259 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
3260 locations for virtual PHI arguments.
3261 (rewrite_update_phi_arguments): Likewise.
3263 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
3265 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
3268 2013-01-10 Jakub Jelinek <jakub@redhat.com>
3270 PR tree-optimization/55921
3271 * tree-complex.c (expand_complex_asm): New function.
3272 (expand_complex_operations_1): Call it for GIMPLE_ASM.
3274 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3277 * config/s390/s390.c (s390_symref_operand_p)
3278 (s390_loadrelative_operand_p): Merge the two functions.
3279 (s390_check_qrst_address, print_operand_address): Add parameters
3280 to s390_loadrelative_operand_p invokation.
3281 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
3282 (s390_reload_larl_operand, s390_secondary_reload): Use
3283 s390_loadrelative_operand_p instead of s390_symref_operand_p.
3284 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
3286 2013-01-09 Mike Stump <mikestump@comcast.net>
3288 * dse.c (record_store): Remove unnecessary assert.
3290 2013-01-09 Jan Hubicka <jh@suse.cz>
3292 PR tree-optimization/55569
3293 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
3294 * cfgloop.h (scale_loop_profile): Likewise.
3296 2013-01-09 Jan Hubicka <jh@suse.cz>
3299 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
3301 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
3303 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
3306 * expr.h (maybe_emit_group_store): Declare.
3307 * expr.c (maybe_emit_group_store): New function.
3308 * builtins.c (expand_builtin_int_roundingfn): Call it.
3309 (expand_builtin_int_roundingfn_2): Likewise.
3311 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
3313 PR rtl-optimization/55829
3314 * lra-constraints.c (match_reload): Add code for absent output.
3315 (curr_insn_transform): Add code for reloads of matched inputs
3318 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
3320 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
3321 attribute of movddup insn to DF.
3322 (*vec_interleave_lowv2df): Ditto.
3323 (vec_dupv2df): Ditto.
3325 2013-01-09 Jan Hubicka <jh@suse.cz>
3327 PR tree-optimiation/55875
3328 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
3329 EVERY_ITERATION parameter.
3330 (number_of_iterations_exit): Check if exit is executed every iteration.
3331 (idx_infer_loop_bounds): Similarly here.
3332 (n_of_executions_at_most): Simplify
3333 to only test for cases where statement is dominated by the
3334 particular bound; handle correctly the "postdominance" test.
3335 (scev_probably_wraps_p): Use max loop iterations info
3336 as a global bound first.
3338 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
3339 Nick Clifton <nickc@redhat.com>
3341 * config/v850/v850.md (cbranchsf4): New pattern.
3342 (cstoresf4): New pattern.
3343 (cbranchdf4): New pattern.
3344 (cstoredf4): New pattern.
3345 (movsicc): Disallow floating point comparisons.
3346 (cmpsf_le_insn): Fix order of operators.
3347 (cmpsf_lt_insn): Likewise.
3348 (cmpsf_eq_insn): Likewise.
3349 (cmpdf_le_insn): Likewise.
3350 (cmpdf_lt_insn): Likewise.
3351 (cmpdf_eq_insn): Likewise.
3352 (cmpsf_ge_insn): Use LE comparison.
3353 (cmpdf_ge_insn): Likewise.
3354 (cmpsf_gt_insn): Use LT comparison.
3355 (cmpdf_gt_insn): Likewise.
3356 (cmpsf_ne_insn): Delete pattern.
3357 (cmpdf_ne_insn): Delete pattern.
3358 * config/v850/v850.c (v850_gen_float_compare): Use
3359 gen_cmpdf_eq_insn for NE comparison.
3360 (v850_float_z_comparison_operator)
3361 (v850_float_nz_comparison_operator): Move from here ...
3362 * config/v850/predicates.md: ... to here. Move GT and GE
3363 comparisons into v850_float_z_comparison_operator.
3364 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
3366 (v850_float_nz_comparison_operator): Likewise.
3368 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3370 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
3371 with calls to gen_insvsi/gen_insvdi.
3373 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3375 * config/i386/i386.c (initial_ix86_tune_features): Set up
3376 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
3378 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
3379 Jakub Jelinek <jakub@redhat.com>
3381 PR tree-optimization/48189
3382 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
3383 If nitercst is 0, don't predict the exit edge.
3385 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
3387 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
3388 in asm_fprintf with reg_names.
3389 (aarch64_print_operand_address): Likewise.
3390 (aarch64_return_addr): Likewise.
3391 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
3393 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3395 * config/pa/pa.h (VAL_U6_BITS_P): Define.
3396 (INT_U6_BITS): Likewise.
3397 * config/pa/predicates.md (uint6_operand): New predicate.
3398 (shift5_operand, shift6_operand): Likewise.
3399 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
3401 (lshrdi3): Use shift6_operand.
3402 (shrpsi4, shrpdi4): New insn patterns.
3403 (extzv): Delete expander.
3404 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
3405 predicates in unamed zero extract patterns. Tighten common constraint.
3406 (extv): Delete expander.
3407 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
3408 predicates in unamed sign extract patterns. Tighten common constraint.
3409 (insv): Delete expander.
3410 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
3411 predicates in unamed insert patterns. Tighten common constraint.
3412 Change uint32_operand predicate to uint6_operand predicate in unamed
3413 DImode pattern to insert constant values of type 1...1xxxx.
3415 2013-01-04 Jan Hubicka <jh@suse.cz>
3417 PR tree-optimization/55823
3418 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
3421 2013-01-08 Jakub Jelinek <jakub@redhat.com>
3422 Uros Bizjak <ubizjak@gmail.com>
3424 PR rtl-optimization/55845
3425 * df-problems.c (can_move_insns_across): Stop scanning at
3426 volatile_insn_p source instruction or give up if
3427 across_from .. across_to range contains any volatile_insn_p
3430 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
3432 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
3433 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
3435 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
3436 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
3438 2013-01-08 Jakub Jelinek <jakub@redhat.com>
3441 * asan.c (asan_clear_shadow): New function.
3442 (asan_emit_stack_protection): Use it.
3444 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
3446 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
3447 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
3448 with tab instead of space.
3450 2013-01-08 Nick Clifton <nickc@redhat.com>
3452 * config/rl78/rl78.c (rl78_expand_prologue): Always select
3453 register bank 0 at the start of an interrupt handler.
3454 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
3457 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
3459 * config/aarch64/aarch64-simd.md
3460 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
3461 (aarch64_simd_bsl): Likewise.
3462 (aarch64_vcond_internal<mode>): Likewise.
3463 (vcond<mode><mode>): Likewise.
3464 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
3465 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
3467 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
3469 * config/aarch64/aarch64-builtins.c
3470 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
3472 2013-01-08 Martin Jambor <mjambor@suse.cz>
3475 * tree-sra.c (analyze_access_subtree): Return true also after
3476 potentially creating a debug-only replacement.
3478 2013-01-08 Jakub Jelinek <jakub@redhat.com>
3481 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
3483 PR tree-optimization/54120
3484 * tree-vrp.c (range_fits_type_p): Don't allow
3485 src_precision < precision from signed vr to unsigned_p
3486 if vr->min or vr->max is negative.
3487 (simplify_float_conversion_using_ranges): Test can_float_p
3488 against CODE_FOR_nothing.
3490 2013-01-08 Jakub Jelinek <jakub@redhat.com>
3491 Richard Biener <rguenther@suse.de>
3494 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
3495 types instead of just INTEGER_TYPE types.
3497 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
3499 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
3502 2013-01-07 Steve Ellcey <sellcey@mips.com>
3505 * config/mips/mips.opt: Change mad to mmad to match documentation.
3507 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
3510 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
3513 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
3516 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
3517 (avr_addrspace_t): Add .section_name field.
3518 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
3520 (avr_addrspace): Same. Initialize .section_name. Remove last
3521 NULL entry. Put __memx into .progmemx.data.
3522 (progmem_section_prefix): Remove.
3523 (avr_asm_init_sections): No need to initialize progmem_section.
3524 (avr_asm_named_section): Use avr_addrspace[].section_name to get
3525 section name prefix.
3526 (avr_asm_select_section): Ditto. And use get_unnamed_section to
3527 retrieve the progmem section.
3528 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
3529 boundary to run over avr_addrspace[].
3530 (avr_register_target_pragmas): Ditto.
3532 2013-01-06 Jakub Jelinek <jakub@redhat.com>
3534 * varasm.c (output_constant_def_contents): For asan_protect_global
3535 protected strings, adjust DECL_ALIGN if needed, before testing for
3537 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
3538 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
3540 (output_object_block): For asan protected decls, emit asan padding
3541 after their contents.
3542 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
3543 (asan_finish_file): Test it here instead.
3545 2013-01-07 Nick Clifton <nickc@redhat.com>
3546 Matthias Klose <doko@debian.org>
3547 Doug Kwan <dougkwan@google.com>
3548 H.J. Lu <hongjiu.lu@intel.com>
3551 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
3553 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
3555 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
3557 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
3559 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
3561 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
3564 * doc/install.texi (Cross-Compiler-Specific Options): Document
3567 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
3569 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
3570 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
3571 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
3572 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
3573 vqmovun_high_s64): Fix source operand number and update copyright.
3575 2013-01-07 Richard Biener <rguenther@suse.de>
3578 * gimple.h (gimple_call_builtin_p): New overload.
3579 * gimple.c (validate_call): New function.
3580 (gimple_call_builtin_p): Likewise.
3581 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
3582 Use gimple_call_builtin_p.
3583 (find_func_clobbers): Likewise.
3584 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
3585 (strlen_optimize_stmt): Likewise.
3587 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
3589 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
3590 (vld1q_dup_*): Likewise.
3592 (vld1q_*): Likewise.
3593 (vld1_lane_*): Likewise.
3594 (vld1q_lane_*): Likewise.
3596 2013-01-07 Richard Biener <rguenther@suse.de>
3598 * lto-streamer.h (LTO_minor_version): Bump to 2.
3600 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
3602 * config/aarch64/aarch64-protos.h
3603 (aarch64_const_double_zero_rtx_p): Rename to...
3604 (aarch64_float_const_zero_rtx_p): ...this.
3605 (aarch64_float_const_representable_p): New.
3606 (aarch64_output_simd_mov_immediate): Likewise.
3607 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
3608 move immediate case.
3609 * config/aarch64/aarch64.c
3610 (aarch64_const_double_zero_rtx_p): Rename to...
3611 (aarch64_float_const_zero_rtx_p): ...this.
3612 (aarch64_print_operand): Allow printing of new constants.
3613 (aarch64_valid_floating_const): New.
3614 (aarch64_legitimate_constant_p): Check for valid floating-point
3616 (aarch64_simd_valid_immediate): Likewise.
3617 (aarch64_vect_float_const_representable_p): New.
3618 (aarch64_float_const_representable_p): Likewise.
3619 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
3620 (aarch64_output_simd_mov_immediate): New.
3621 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
3622 (*movdf_aarch64): Likewise.
3623 * config/aarch64/constraints.md (Ufc): New.
3624 (Y): call aarch64_float_const_zero_rtx.
3625 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
3627 2013-01-07 Richard Biener <rguenther@suse.de>
3629 PR tree-optimization/55888
3630 PR tree-optimization/55862
3631 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
3632 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
3633 not if it is contained therein.
3635 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
3637 * config/avr/t-avr: Typo.
3639 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
3642 * config/avr/t-avr: Don't automatically rebuild
3643 $(srcdir)/config/avr/t-multilib
3644 $(srcdir)/config/avr/avr-tables.opt
3645 $(srcdir)/doc/avr-mmcu.texi
3646 (avr-mcus): New phony target to build them on request.
3647 (s-avr-mlib, s-avr-mmcu-texi): Remove.
3648 * avr/avr-mcus.def: Adjust comments.
3650 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
3652 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
3654 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
3656 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
3658 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
3660 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
3662 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
3664 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
3665 to generate profiling.
3666 * config/rs6000/aix64.h (LIB_SPEC): Same.
3668 2013-01-04 Andrew Pinski <apinski@cavium.com>
3670 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
3672 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
3674 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
3676 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
3678 (ix86_expand_move): Ditto.
3679 (ix86_zero_extend_to_Pmode): Ditto.
3680 (ix86_expand_call): Ditto.
3681 (ix86_expand_special_args_builtin): Ditto.
3682 (ix86_expand_builtin): Ditto.
3684 2013-01-04 Richard Biener <rguenther@suse.de>
3686 PR tree-optimization/55862
3687 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
3688 translating them through PHI nodes.
3690 2013-01-04 Martin Jambor <mjambor@suse.cz>
3692 PR tree-optimization/55755
3693 * tree-sra.c (sra_modify_assign): Do not check that an access has no
3694 children when trying to avoid producing a VIEW_CONVERT_EXPR.
3696 2013-01-04 Marek Polacek <polacek@redhat.com>
3699 * opts.c (default_options_optimization): Clarify error message.
3701 2013-01-04 Richard Biener <rguenther@suse.de>
3704 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
3707 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3710 * config/pa/pa.md (movsi): Revert previous change.
3711 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
3714 2013-01-03 Richard Henderson <rth@redhat.com>
3716 * config/i386/i386.c (ix86_expand_move): Always assign to op1
3717 after eliminating TLS symbols.
3719 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
3722 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
3723 * graphite-poly.c (debug_gmp_value): Likewise.
3725 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
3728 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
3729 selected code model, define __code_mode_small__, __code_model_medium__,
3730 __code_model_large__, __code_model_32__ or __code_model_kernel__.
3731 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
3732 xchg temporary register with %k. Declare temporary register as
3734 [__x86_64__]: For medium and large code models, preserve %rbx register.
3736 2013-01-03 Richard Biener <rguenther@suse.de>
3738 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
3739 (dump_subscript): Adjust.
3740 (finalize_ddr_dependent): Do not dump redundant info.
3741 (analyze_siv_subscript): Adjust.
3742 (subscript_dependence_tester): Likewise.
3743 (compute_affine_dependence): Likewise.
3745 2013-01-03 Richard Biener <rguenther@suse.de>
3748 2013-01-03 Richard Biener <rguenther@suse.de>
3750 PR tree-optimization/55857
3751 * tree-vect-stmts.c (vectorizable_load): Do not setup
3752 re-alignment for invariant loads.
3754 2013-01-02 Richard Biener <rguenther@suse.de>
3756 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
3757 invariant load do not generate a vector load from the scalar location.
3759 2013-01-03 Richard Biener <rguenther@suse.de>
3761 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
3762 for not vectorizing.
3763 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
3764 not build INDIRECT_REFs, call get_name once only.
3765 (vect_create_data_ref_ptr): Likewise. Dump base object kind
3766 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
3768 2013-01-03 Richard Biener <rguenther@suse.de>
3770 PR tree-optimization/55857
3771 * tree-vect-stmts.c (vectorizable_load): Do not setup
3772 re-alignment for invariant loads.
3774 2013-01-03 Richard Biener <rguenther@suse.de>
3777 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
3778 prefer a built-in decl.
3780 2013-01-03 Jakub Jelinek <jakub@redhat.com>
3782 * gcc.c (process_command): Update copyright notice dates.
3783 * gcov.c (print_version): Likewise.
3784 * gcov-dump.c (print_version): Likewise.
3786 PR rtl-optimization/55838
3787 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
3788 iv0.step, iv1.step and step.
3790 2013-01-03 Jakub Jelinek <jakub@redhat.com>
3791 Marc Glisse <marc.glisse@inria.fr>
3793 PR tree-optimization/55832
3794 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
3795 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
3796 integer_{one,zero}_node.
3798 2013-01-03 Jakub Jelinek <jakub@redhat.com>
3801 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
3802 * var-tracking.c (reverse_op): Don't add reverse ops to
3803 VALUEs that have already
3804 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
3806 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
3808 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
3810 2013-01-02 Teresa Johnson <tejohnson@google.com>
3812 * dumpfile.c (dump_loc): Print filename with location.
3813 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
3814 new location_t parameter to emit complete unroll message with
3816 (canonicalize_loop_induction_variables): Compute loops location
3817 and pass to try_unroll_loop_completely.
3818 * loop-unroll.c (report_unroll_peel): New function.
3819 (peel_loops_completely): Use new dump format with location
3820 for main dumpfile message, and invoke report_unroll_peel on success.
3821 (decide_unrolling_and_peeling): Ditto.
3822 (decide_peel_once_rolling): Remove old dumpfile message subsumed
3823 by report_unroll_peel.
3824 (decide_peel_completely): Ditto.
3825 (decide_unroll_constant_iterations): Ditto.
3826 (decide_unroll_runtime_iterations): Ditto.
3827 (decide_peel_simple): Ditto.
3828 (decide_unroll_stupid): Ditto.
3829 * cfgloop.c (get_loop_location): New function.
3830 * cfgloop.h (get_loop_location): Declare.
3832 2013-01-02 Sriraman Tallam <tmsriram@google.com>
3834 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
3837 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3840 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
3841 BLKmode objects when EXPAND_MEMORY is specified.
3843 2013-01-02 Sriraman Tallam <tmsriram@google.com>
3845 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
3847 (fold_builtin_cpu): Do not share cpu model decls across statements.
3849 2013-01-02 Jason Merrill <jason@redhat.com>
3852 * tree.c (build_array_type_1): Revert earlier change.
3854 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
3856 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
3858 * config/aarch64/aarch64-tune.md: Re-generate.
3860 2013-01-02 Richard Biener <rguenther@suse.de>
3862 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
3863 invariant load do not generate a vector load from the scalar location.
3865 2013-01-02 Richard Biener <rguenther@suse.de>
3868 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
3869 * configure: Regenerate.
3871 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3873 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
3874 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
3875 (expand_builtin_int_roundingfn_2): Keep the original target around
3876 for the fallback case.
3878 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3880 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
3881 to be clear for sign changes.
3883 2013-01-01 Jan Hubicka <jh@suse.cz>
3885 * ipa-inline-analysis.c: Fix formatting.
3887 2013-01-01 Jakub Jelinek <jakub@redhat.com>
3889 PR tree-optimization/55831
3890 * tree-vect-loop.c (get_initial_def_for_induction): Use
3891 gsi_after_labels instead of gsi_start_bb.
3893 Copyright (C) 2013 Free Software Foundation, Inc.
3895 Copying and distribution of this file, with or without modification,
3896 are permitted in any medium without royalty provided the copyright
3897 notice and this notice are preserved.