]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
re PR c/56113 (out of memory when compiling a function with many goto labels (50k...
[gcc.git] / gcc / ChangeLog
1 2013-03-18 Richard Biener <rguenther@suse.de>
2
3 PR middle-end/56113
4 * domwalk.c (bb_postorder): New global static.
5 (cmp_bb_postorder): New function.
6 (walk_dominator_tree): Replace scheme imposing an order for
7 visiting dominator sons by one sorting them at the time they
8 are pushed on the stack.
9
10 2013-03-18 Richard Biener <rguenther@suse.de>
11
12 PR tree-optimization/39326
13 * tree-ssa-loop-im.c (refs_independent_p): Exploit symmetry.
14 (struct mem_ref): Replace mem member with ao_ref typed member.
15 (MEM_ANALYZABLE): Adjust.
16 (memref_eq): Likewise.
17 (mem_ref_alloc): Likewise.
18 (gather_mem_refs_stmt): Likewise.
19 (mem_refs_may_alias_p): Use the ao_ref to query the alias oracle.
20 (execute_sm_if_changed_flag_set): Adjust.
21 (execute_sm): Likewise.
22 (ref_always_accessed_p): Likewise.
23 (refs_independent_p): Likewise.
24 (can_sm_ref_p): Likewise.
25
26 2013-03-18 Jakub Jelinek <jakub@redhat.com>
27
28 PR c/56566
29 * tree.c (tree_int_cst_min_precision): For integer_zerop (value)
30 return 1 even for !unsignedp.
31
32 2013-03-17 Uros Bizjak <ubizjak@gmail.com>
33
34 * config/i386/i386.md (isa): Add x64 and nox64.
35 (enabled): Define x64 for TARGET_64BIT and nox64 for !TARGET_64BIT.
36 (*pushtf): Enable *roF alternative for x64 isa only.
37 (*pushxf): Merge with *pushxf_nointeger. Use Yx*r constraint. Set
38 mode attribute of integer alternatives to DImode for TARGET_64BIT.
39 (*pushdf): Merge with *pushdf_rex64. Use x64 and nox64 isa attributes.
40 (*movtf_internal): Merge from *movtf_internal_rex64 and
41 *movtf_internal_sse. Use x64 and nox64 isa attributes.
42 (*movxf_internal): Merge with *movxf_internal_rex64. Use x64 and
43 nox64 isa attributes.
44 (*movdf_internal): Merge with *movdf_internal_rex64. Use x64 and
45 nox64 isa attributes.
46 * config/i386/constraints.md (Yd): Do not set for TARGET_64BIT.
47
48 2013-03-17 Uros Bizjak <ubizjak@gmail.com>
49
50 * config/alpha/alpha.c (TARGET_LRA_P): New define.
51
52 2013-03-17 Jakub Jelinek <jakub@redhat.com>
53
54 PR target/56640
55 * config/arm/arm.h (REG_CLASS_NAMES): Add "SFP_REG" and "AFP_REG"
56 class names. Remove trailing comma after "ALL_REGS".
57
58 2013-03-16 Jan Hubicka <jh@suse.cz>
59
60 * cgraph.h (cgraph_get_create_real_symbol_node): Declare.
61 * cgraph.c (cgraph_get_create_real_symbol_node): New function.
62 * cgrpahbuild.c: Use cgraph_get_create_real_symbol_node instead
63 of cgraph_get_create_node.
64 * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise.
65
66 2013-03-16 Jason Merrill <jason@redhat.com>
67
68 PR debug/49090
69 * dwarf2out.c (gen_generic_params_dies): Indicate default arguments
70 with DW_AT_default_value.
71
72 2013-03-16 Jakub Jelinek <jakub@redhat.com>
73
74 * BASE-VER: Set to 4.9.0.
75
76 2013-03-14 Andi Kleen <ak@linux.intel.com>
77
78 PR target/56619
79 * doc/extend.texi: Document __ATOMIC_HLE_ACQUIRE,
80 __ATOMIC_HLE_RELEASE. Document __builtin_ia32 TSX intrincs.
81 Document _x* TSX intrinsics.
82
83 2013-03-14 Edgar E. Iglesias <edgar.iglesias@xilinx.com>
84 David Holsgrove <david.holsgrove@xilinx.com>
85
86 * configure.ac: Add MicroBlaze TLS support detection.
87 * configure: Regenerate.
88 * config/microblaze/microblaze-protos.h
89 (microblaze_cannot_force_const_mem, microblaze_tls_referenced_p,
90 symbol_mentioned_p, label_mentioned_p): Add prototypes.
91 * config/microblaze/microblaze.c (microblaze_address_type): Add
92 ADDRESS_TLS and tls_reloc address types.
93 (microblaze_address_info): Add tls_reloc.
94 (TARGET_HAVE_TLS): Define.
95 (get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1,
96 microblaze_tls_referenced_p, microblaze_cannot_force_const_mem,
97 symbol_mentioned_p, label_mentioned_p, tls_mentioned_p,
98 load_tls_operand, microblaze_call_tls_get_addr,
99 microblaze_legitimize_tls_address): New functions.
100 (microblaze_classify_unspec): Handle UNSPEC_TLS.
101 (get_base_reg): Use microblaze_tls_symbol_p.
102 (microblaze_classify_address): Handle TLS.
103 (microblaze_legitimate_pic_operand): Use symbol_mentioned_p,
104 label_mentioned_p and microblaze_tls_referenced_p.
105 (microblaze_legitimize_address): Handle TLS.
106 (microblaze_address_insns): Handle ADDRESS_TLS.
107 (pic_address_needs_scratch): Handle TLS.
108 (print_operand_address): Handle TLS.
109 (microblaze_expand_prologue): Check TLS_NEEDS_GOT.
110 (microblaze_expand_move): Handle TLS.
111 (microblaze_legitimate_constant_p): Check
112 microblaze_cannot_force_const_mem and microblaze_tls_symbol_p.
113 (TARGET_CANNOT_FORCE_CONST_MEM): Define.
114 * config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define
115 (PIC_OFFSET_TABLE_REGNUM): Set.
116 * config/microblaze/linux.h (TLS_NEEDS_GOT): Define.
117 * config/microblaze/microblaze.md (UNSPEC_TLS): Define.
118 (addsi3, movsi_internal2, movdf_internal): Update constraints
119 * config/microblaze/predicates.md (arith_plus_operand): Define
120 (move_operand): Redefine as move_src_operand,
121 check microblaze_tls_referenced_p.
122
123 2013-03-14 Ian Bolton <ian.bolton@arm.com>
124
125 * config/aarch64/aarch64.md: (*and<mode>3nr_compare0): Use CC_NZ.
126 (*and_<SHIFT:optab><mode>3nr_compare0): Likewise.
127
128 2013-03-14 Ian Bolton <ian.bolton@arm.com>
129
130 * config/aarch64/aarch64.c (aarch64_select_cc_mode): Return correct
131 CC mode for AND.
132
133 2013-03-14 Jakub Jelinek <jakub@redhat.com>
134
135 PR tree-optimization/53265
136 * common.opt (Waggressive-loop-optimizations): New option.
137 * tree-ssa-loop-niter.c: Include tree-pass.h.
138 (do_warn_aggressive_loop_optimizations): New function.
139 (record_estimate): Call it. Don't add !is_exit bounds to loop->bounds
140 if number_of_latch_executions returned constant.
141 (estimate_numbers_of_iterations_loop): Call number_of_latch_executions
142 early. If number_of_latch_executions returned constant, set
143 nb_iterations_upper_bound back to it.
144 * cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations
145 field.
146 * Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H).
147 * doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document.
148
149 * config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove.
150 (MULTILIB_OSDIRNAMES): Set.
151 * genmultilib: If defaultosdirname doesn't start with :: , set
152 defaultosdirname2 instead, clear it and emit two . multilib_raw
153 entries instead of just one.
154
155 2013-03-14 Kaz Kojima <kkojima@gcc.gnu.org>
156
157 * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE.
158 (SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default.
159 * config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE.
160 (SUBTARGET_OVERRIDE_OPTIONS): New.
161
162 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
163
164 PR target/49880
165 * config/sh/sh.opt (FPU_SINGLE_ONLY): New mask.
166 (musermode): Convert to Var(TARGET_USERMODE).
167 * config/sh/sh.h (SELECT_SH2A_SINGLE_ONLY, SELECT_SH4_SINGLE_ONLY,
168 MASK_ARCH): Add MASK_FPU_SINGLE_ONLY.
169 * config/sh/sh.c (sh_option_override): Use
170 TARGET_FPU_DOUBLE || TARGET_FPU_SINGLE_ONLY for call-fp case.
171 * config/sh/sh.md (udivsi3_i1, divsi3_i1): Remove ! TARGET_SH4
172 condition.
173 (udivsi3_i4, divsi3_i4): Use TARGET_FPU_DOUBLE condition instead of
174 TARGET_SH4.
175 (udivsi3_i4_single, divsi3_i4_single): Use
176 TARGET_FPU_SINGLE_ONLY || TARGET_FPU_DOUBLE instead of TARGET_HARD_SH4.
177
178 2013-03-13 Dave Korn <dave.korn.cygwin@....>
179
180 * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): Make shared libgcc the
181 default setting.
182
183 2013-03-13 Richard Biener <rguenther@suse.de>
184
185 PR tree-optimization/56608
186 * tree-vect-slp.c (vect_schedule_slp): Do not remove scalar
187 calls when vectorizing basic-blocks.
188
189 2013-03-13 Jakub Jelinek <jakub@redhat.com>
190
191 PR plugins/45078
192 * config.gcc: On arm, mips, sh and sparc add vxworks-dummy.h to
193 tm_file.
194
195 2013-03-12 Jakub Jelinek <jakub@redhat.com>
196
197 * doc/invoke.texi (-Waddr-space-convert): Move into the table earlier.
198
199 2013-03-11 Jan Hubicka <jh@suse.cz>
200
201 PR lto/56557
202 * lto-streamer-out.c (output_symbol_p): Skip references from
203 constructors of external variables.
204
205 2013-03-11 Jan Hubicka <jh@suse.cz>
206
207 PR middle-end/56571
208 * valtrack.c (cleanup_auto_inc_dec): Unshare clobbers originating
209 from pseudos.
210 * emit-rtl.c (verify_rtx_sharing): Likewise.
211 (copy_insn_1): Likewise.
212 * rtl.c (copy_rtx): Likewise.
213
214 2013-03-11 Georg-Johann Lay <avr@gjlay.de>
215
216 PR target/56591
217 * config/avr/avr.c (avr_print_operand): Add space after '%c' in
218 output_operand_lossage message.
219
220 2013-03-11 Richard Earnshaw <rearnsha@arm.com>
221
222 PR target/56470
223 * arm.c (shift_op): Validate RTL pattern on the fly.
224 (arm_print_operand, case 'S'): Don't use shift_operator to validate
225 the RTL.
226
227 2013-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
228
229 PR target/56347
230 * config/pa/pa.md (call_value): Check for calls to powf and direct to
231 new call patterns that clobber %fr12.
232 (call_val_powf, call_val_powf_pic, call_val_powf_64bit): New insn,
233 split and postreload patterns.
234 * config/pa/pa.c (pa_conditional_register_usage): Revert marking
235 registers %fr12 and %fr12R as call used.
236
237 2013-03-09 Steven Bosscher <steven@gcc.gnu.org>
238
239 * dse.c (delete_dead_store_insn): Respect TDF_DETAILS.
240 (canon_address, record_store, replace_read, check_mem_read_rtx,
241 scan_insn, dse_step1, dse_step2_init, dse_step2_spill,
242 dse_step4, dse_step5_nospill, dse_step5_spill, dse_step6,
243 rest_of_handle_dse): Likewise.
244
245 2013-03-09 Richard Sandiford <rdsandiford@googlemail.com>
246
247 PR middle-end/56524
248 * tree.h (tree_optimization_option): Rename target_optabs to optabs.
249 Add base_optabs.
250 (TREE_OPTIMIZATION_OPTABS): Update after previous field change.
251 (TREE_OPTIMIZATION_BASE_OPTABS): New macro.
252 (save_optabs_if_changed): Replace with...
253 (init_tree_optimization_optabs): ...this.
254 * optabs.c (save_optabs_if_changed): Rename to...
255 (init_tree_optimization_optabs): ...this. Take the optimization node
256 as argument. Do nothing if the base optabs are already correct.
257 Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need
258 to recompute optabs.
259 * function.h (function): Remove optabs field.
260 * function.c (invoke_set_current_function_hook): Call
261 init_tree_optimization_optabs. Use the result to initialize
262 this_fn_optabs.
263
264 2013-02-27 Aldy Hernandez <aldyh@redhat.com>
265
266 * trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE
267 if GTMA_HAS_NO_INSTRUMENTATION.
268 (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit.
269 (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION.
270 * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define.
271 * gimple-pretty-print.c (dump_gimple_transaction): Handle
272 GTMA_HAS_NO_INSTRUMENTATION.
273
274 2013-03-08 Jakub Jelinek <jakub@redhat.com>
275
276 * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against
277 libasan_preinit.o.
278
279 2013-03-08 Marek Polacek <polacek@redhat.com>
280 Jakub Jelinek <jakub@redhat.com>
281
282 PR tree-optimization/56478
283 * predict.c (is_comparison_with_loop_invariant_p): Change the
284 type of loop_step to tree.
285 (predict_loops): Adjust.
286 (predict_iv_comparison): Perform the computations on double_ints.
287
288 2013-03-08 Richard Biener <rguenther@suse.de>
289
290 PR tree-optimization/56570
291 * tree-cfg.c (verify_expr_location_1): Verify locations for
292 DECL_DEBUG_EXPR.
293 * tree-sra.c (create_access_replacement): Strip locations
294 from DECL_DEBUG_EXPRs.
295
296 2013-03-08 Richard Biener <rguenther@suse.de>
297
298 * tree-inline.c (expand_call_inline): Do not associate
299 a BLOCK with the location in BLOCK_SOURCE_LOCATION.
300 * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION.
301
302 2013-03-08 Richard Biener <rguenther@suse.de>
303
304 * tree-ssa-ter.c (is_replaceable_p): Do not TER across location
305 or block changes with -Og. Fix for location / block encoding
306 changes and PHI arguments with locations.
307
308 2013-03-07 Steven Bosscher <steven@gcc.gnu.org>
309
310 * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INT
311 for all counters.
312 (struct output_info): Likewise.
313 (register_overhead): Remove bad gcc_assert.
314 (bitmap_find_bit): If there is only a single bitmap element, do not
315 count a miss as a search.
316 (print_statistics): Update for counter type changes.
317 (dump_bitmap_statistics): Likewise. Print headers such that they
318 are properly lined up with the printed counters.
319
320 2013-03-07 Jakub Jelinek <jakub@redhat.com>
321
322 PR tree-optimization/56559
323 * tree-ssa-reassoc.c (zero_one_operation): When looking at rhs2,
324 check that it has only a single use.
325
326 2013-03-07 Richard Biener <rguenther@suse.de>
327
328 * doc/invoke.texi (fwhole-program): Discourage use in combination
329 with -flto.
330
331 2013-03-06 Jakub Jelinek <jakub@redhat.com>
332
333 * config/arm/t-arm (TM_H, OPTIONS_H_EXTRA): Add arm-cores.def.
334
335 PR tree-optimization/56539
336 * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT
337 instead of GSI_CONTINUE_LINKING as last argument to
338 force_gimple_operand_gsi. Adjust function comment.
339
340 * config/aarch64/t-aarch64 (TM_H, OPTIONS_H_EXTRA): Add
341 aarch64-cores.def.
342
343 PR middle-end/56548
344 * expr.c (expand_cond_expr_using_cmove): When expanding cmove in
345 promoted mode, convert the result back to the original mode.
346
347 2013-03-06 Richard Biener <rguenther@suse.de>
348
349 PR middle-end/56294
350 * tree-into-ssa.c (insert_phi_nodes_for): Add dumping.
351 (insert_updated_phi_nodes_compare_uids): New function.
352 (update_ssa): Sort symbols_to_rename after UID before
353 traversing it to insert PHI nodes.
354
355 2013-03-06 Richard Biener <rguenther@suse.de>
356
357 PR middle-end/50494
358 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p):
359 Do not adjust alignment of DECL_IN_CONSTANT_POOL decls.
360
361 Revert
362 2013-02-13 Richard Biener <rguenther@suse.de>
363
364 PR lto/50494
365 * varasm.c (output_constant_def_1): Get the decl representing
366 the constant as argument.
367 (output_constant_def): Wrap output_constant_def_1.
368 (make_decl_rtl): Use output_constant_def_1 with the decl
369 representing the constant.
370 (build_constant_desc): Optionally re-use a decl already
371 representing the constant.
372 (tree_output_constant_def): Adjust.
373
374 2013-03-06 Joey Ye <joey.ye@arm.com>
375
376 PR lto/50293
377 * gcc.c (convert_white_space): New function.
378 (main): Handles white space in function name.
379
380 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
381
382 PR target/56529
383 * config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT
384 instead of TARGET_SH2 for call-table case. Do not set sh_div_strategy
385 to SH_DIV_CALL_TABLE for TARGET_SH2.
386 * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib
387 list.
388 * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp,
389 call-table options.
390
391 2013-03-05 Sterling Augustine <saugustine@google.com>
392 Cary Coutant <ccoutant@google.com>
393
394 PR debug/55364
395 * dwarf2out.c (resolve_addr): Don't call
396 remove_loc_list_addr_table_entries a second time for the same
397 expression.
398
399 2013-03-05 Jakub Jelinek <jakub@redhat.com>
400
401 PR debug/56510
402 * cfgexpand.c (expand_debug_parm_decl): Call copy_rtx on incoming.
403 (avoid_complex_debug_insns): New function.
404 (expand_debug_locations): Call it.
405
406 PR rtl-optimization/56484
407 * ifcvt.c (noce_process_if_block): If else_bb is NULL, avoid extending
408 lifetimes of hard registers on small register class machines.
409
410 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com>
411
412 * config/microblaze/microblaze-protos.h: Rename
413 microblaze_is_interrupt_handler to microblaze_is_interrupt_variant.
414 * config/microblaze/microblaze.c (microblaze_attribute_table): Add
415 fast_interrupt.
416 (microblaze_fast_interrupt_function_p): New function.
417 (microblaze_is_interrupt_handler): Rename to
418 microblaze_is_interrupt_variant and add fast_interrupt check.
419 (microblaze_must_save_register): Use microblaze_is_interrupt_variant.
420 (save_restore_insns): Likewise.
421 (compute_frame_size): Likewise.
422 (microblaze_function_prologue): Add FAST_INTERRUPT_NAME.
423 (microblaze_globalize_label): Likewise.
424 * config/microblaze/microblaze.h: Define FAST_INTERRUPT_NAME.
425 * config/microblaze/microblaze.md: Use wrapper
426 microblaze_is_interrupt_variant.
427
428 2013-03-05 Kai Tietz <ktietz@redhat.com>
429
430 * sdbout.c (sdbout_one_type): Switch to current function's section
431 supporting cold/hot.
432
433 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com>
434
435 * doc/invoke.texi (MicroBlaze): Add -mbig-endian, -mlittle-endian,
436 -mxl-reorder.
437
438 2013-03-05 Jakub Jelinek <jakub@redhat.com>
439
440 PR middle-end/56461
441 * ggc-common.c (gt_pch_save): For ENABLE_VALGRIND_CHECKING,
442 if VALGRIND_GET_VBITS is defined, temporarily make object
443 memory all defined, and restore previous valgrind addressability
444 and definability afterwards. Free this_object at the end.
445
446 PR middle-end/56461
447 * lra.c (lra): Call lra_clear_live_ranges if live_p,
448 right before calling lra_create_live_ranges, also call it
449 when clearing live_p. Only call lra_clear_live_ranges
450 at the end if live_p.
451
452 PR middle-end/56461
453 * sched-deps.c (delete_dep_node): Free DEP_REPLACE.
454
455 2013-03-05 Richard Biener <rguenther@suse.de>
456
457 PR tree-optimization/56521
458 * tree-ssa-sccvn.c (set_value_id_for_result): Always initialize
459 value-id.
460
461 2013-03-05 Steven Bosscher <steven@gcc.gnu.org>
462
463 PR c++/55135
464 * except.h (remove_unreachable_eh_regions): New prototype.
465 * except.c (remove_eh_handler_splicer): New function, split out
466 of remove_eh_handler.
467 (remove_eh_handler): Use remove_eh_handler_splicer. Add comment
468 warning about running it on many EH regions one at a time.
469 (remove_unreachable_eh_regions_worker): New function, walk the
470 EH tree in depth-first order and remove non-marked regions.
471 (remove_unreachable_eh_regions): New function.
472 * tree-eh.c (mark_reachable_handlers): New function, split out
473 from remove_unreachable_handlers.
474 (remove_unreachable_handlers): Use mark_reachable_handlers and
475 remove_unreachable_eh_regions.
476 (remove_unreachable_handlers_no_lp): Use mark_reachable_handlers
477 and remove_unreachable_eh_regions.
478
479 2013-03-05 Richard Biener <rguenther@suse.de>
480
481 PR middle-end/56525
482 * loop-init.c (fix_loop_structure): Remove loops in two stages,
483 not freeing them until the end.
484
485 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
486
487 * config/s390/s390.h: Define DWARF2_ASM_LINE_DEBUG_INFO.
488
489 2013-03-05 Richard Biener <rguenther@suse.de>
490
491 PR tree-optimization/56270
492 * tree-vect-slp.c (vect_schedule_slp): Clear vectorized stmts
493 of loads after scheduling an SLP instance.
494
495 2013-03-05 Jakub Jelinek <jakub@redhat.com>
496
497 * Makefile.in (dg_target_exps): Add aarch64.exp, epiphany.exp and
498 tic6x.exp.
499 (check_gcc_parallelize): Run guality.exp as a separate job from
500 vect.exp with unsorted.exp and $(dg_target_exps) separately from
501 struct-layout-1.exp with stackalign.exp.
502
503 * alias.c (init_alias_analysis): Clear reg_known_equiv_p bitmap.
504
505 PR middle-end/56461
506 * tree-vect-slp.c (vect_supported_load_permutation_p): Free
507 load_index sbitmap even if some bit in it isn't set.
508
509 PR middle-end/56461
510 * tree-ssa-loop-niter.c (bb_queue): Remove typedef.
511 (discover_iteration_bound_by_body_walk): Change queues to
512 vec<vec<basic_block> > and queue to vec<basic_block>. Fix up
513 spelling in comment. Call safe_push on queues[bound_index] directly.
514 Release queues[queue_index] in every iteration unconditionally.
515 Release bounds vector.
516
517 PR middle-end/56461
518 * tree-vect-stmts.c (free_stmt_vec_info_vec): Call
519 free_stmt_vec_info on any left-over stmt_vec_info in the vector.
520 * tree-vect-loop.c (vect_create_epilog_for_reduction): Release
521 inner_phis vector.
522
523 2013-03-05 Richard Biener <rguenther@suse.de>
524
525 PR lto/56515
526 * tree-inline.c (remap_blocks_to_null): New function.
527 (expand_call_inline): When expanding a call stmt without
528 an associated block inline remap all callee blocks to NULL.
529
530 2013-03-05 Jakub Jelinek <jakub@redhat.com>
531
532 PR rtl-optimization/56494
533 * simplify-rtx.c (simplify_truncation): If C is narrower than A,
534 optimize (truncate:A (subreg:B (truncate:C X) 0)) into
535 (subreg:A (truncate:C X) 0) instead of (truncate:A X).
536
537 PR middle-end/56461
538 * sel-sched-ir.c (free_sched_pools): Release
539 succs_info_pool.stack[succs_info_pool.max_top] vectors too
540 if succs_info_pool.max_top isn't -1.
541
542 PR bootstrap/56509
543 * opts.c (opts_obstack, opts_concat): Moved to...
544 * opts-common.c (opts_obstack, opts_concat): ... here.
545
546 2013-03-04 Jakub Jelinek <jakub@redhat.com>
547
548 PR middle-end/56461
549 * diagnostic.c (diagnostic_append_note): Save and restore old prefix.
550
551 2013-03-04 Martin Jambor <mjambor@suse.cz>
552
553 * tree-dfa.c (get_or_create_ssa_default_def): Use parameter fn in
554 all appropriate places.
555
556 2013-01-04 Eric Botcazou <ebotcazou@adacore.com>
557
558 PR tree-optimization/56424
559 * ipa-split.c (split_function): Do not set the RSO flag if result is
560 not by reference and its type is a register type.
561
562 2013-03-04 David Holsgrove <david.holsgrove@xilinx.com>
563
564 * config/microblaze/microblaze.c (microblaze_valid_pic_const): New
565 (microblaze_legitimate_pic_operand): Likewise
566 * config/microblaze/microblaze.h (LEGITIMATE_PIC_OPERAND_P): calls
567 new function microblaze_legitimate_pic_operand
568 * config/microblaze/microblaze-protos.h
569 (microblaze_legitimate_pic_operand): Declare.
570
571 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
572
573 * config/microblaze/predicates.md (call_insn_simple_operand):
574 New predicate for supported rtx code types.
575 * config/microblaze/microblaze.md (call_internal1): Use
576 call_insn_simple_operand predicate.
577
578 2013-03-04 Jakub Jelinek <jakub@redhat.com>
579
580 PR middle-end/56461
581 * tree-loop-distribution.c (ldist_gen): Call partition_free after each
582 partitions.ordered_remove.
583
584 PR middle-end/56461
585 * tree-vect-stmts.c (vectorizable_conversion): Don't call
586 vec_oprnds0.create (1) for modifier == NONE.
587
588 PR middle-end/56461
589 * tree-vect-stmts.c (vectorizable_shift): Don't call create methods
590 on vec_oprnds0 or vec_oprnds1 before loop, only call it on
591 vec_oprnds1 right before pushing anything to it for
592 scalar_shift_arg.
593
594 PR middle-end/56461
595 * tree-vect-loop.c (destroy_loop_vec_info): For !clean_stmts, just
596 set nbbs to 0 instead of having separate code path.
597 (vect_analyze_loop_form): Call destroy_loop_vec_info with true
598 instead of false as last argument if returning NULL.
599
600 2013-03-03 Sandra Loosemore <sandra@codesourcery.com>
601
602 * target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments;
603 the attribute is now called "target" instead of "option".
604 (TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma.
605 * doc/tm.texi.in (Target Attributes): Likewise document the correct
606 attribute/pragma name for TARGET_OPTION_VALID_P and
607 TARGET_OPTION_PRAGMA_PARSE. Also copy-edit and correct markup.
608 * doc/tm.texi: Regenerated.
609
610 2013-03-02 David Holsgrove <david.holsgrove@xilinx.com>
611
612 * config/microblaze/microblaze.c:
613 Check mcpu, pcmp requirement and set TARGET_REORDER to 0 if not met.
614 * config/microblaze/microblaze.h: Add -mxl-reorder to
615 DRIVER_SELF_SPECS.
616 * config/microblaze/microblaze.md: New bswapsi2 and bswaphi2.
617 instructions emitted if TARGET_REORDER.
618 * config/microblaze/microblaze.opt: New option -mxl-reorder set to 1
619 or 0 for -m/-mno case, but initialises as 2 to detect default use case
620 separately.
621
622 2013-03-01 Xinliang David Li <davidxl@google.com>
623
624 * tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom
625 walk length.
626
627 2013-03-01 Jakub Jelinek <jakub@redhat.com>
628
629 PR middle-end/56461
630 * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Release path
631 vector even when returning true. Fix up function comment formatting.
632
633 PR middle-end/56461
634 * ira-build.c (ira_loop_nodes_count): New variable.
635 (create_loop_tree_nodes): Initialize it.
636 (finish_loop_tree_nodes): Use it instead of looking at current_loops.
637
638 PR middle-end/56461
639 * tree-vect-data-refs.c (vect_permute_store_chain): Avoid using copy
640 method on dr_chain and result_chain.
641 * tree-vect-stmts.c (vectorizable_store): Only call
642 result_chain.create if j == 0.
643
644 PR middle-end/56461
645 * tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call
646 vec_oprnds0->release (); rather than vec_oprnds0->truncate (0)
647 before overwriting it.
648
649 2013-03-01 Tobias Burnus <burnus@net-b.de>
650
651 * doc/extended.texi (C Extensions): Change order in @menu
652 to match @node.
653 (Other MIPS Built-in Functions): Move last MIPS entry before
654 "picoChip Built-in Functions".
655 (SH Built-in Functions): Move after RX Built-in Functions.
656 * doc/gcc.texi (Introduction): Change order in @menu
657 to match @node.
658 * doc/md.texi (Constraints): Ditto.
659 * gty.texi (Type Information): Ditto.
660 (User-provided marking routines for template types): Make
661 subsection.
662 * doc/invoke.texi (AArch64 Options): Move before
663 "Adapteva Epiphany Options".
664
665 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
666 Jakub Jelinek <jakub@redhat.com>
667
668 PR sanitizer/56454
669 * asan.c (gate_asan): Lookup no_sanitize_address instead of
670 no_address_safety_analysis attribute.
671 * doc/extend.texi (no_address_safety_attribute): Rename to
672 no_sanitize_address attribute, mention no_address_safety_analysis
673 attribute as deprecated alias.
674
675 2013-02-28 Jakub Jelinek <jakub@redhat.com>
676
677 PR middle-end/56461
678 * tree-vectorizer.h (vect_get_slp_defs): Change 3rd argument
679 type to vec<vec<tree> > *.
680 * tree-vect-slp.c (vect_get_slp_defs): Likewise. Change vec_defs
681 to be vec<tree> instead of vec<tree> *, set vec_defs
682 to vNULL and call vec_defs.create (number_of_vects), adjust other
683 uses of vec_defs.
684 * tree-vect-stmts.c (vect_get_vec_defs, vectorizable_call,
685 vectorizable_condition): Adjust vect_get_slp_defs callers.
686
687 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com>
688
689 * config/aarch64/aarch64.c
690 (aarch64_float_const_representable): Remove unused variable.
691
692 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com>
693
694 * config/aarch64/aarch64.c (aarch64_mangle_type): Make static.
695
696 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com>
697
698 * config/aarch64/aarch64-builtins.c
699 (aarch64_init_simd_builtins): Make static.
700
701 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com>
702
703 * config/aarch64/aarch64.c
704 (aarch64_simd_make_constant): Make static.
705
706 2013-02-28 Martin Jambor <mjambor@suse.cz>
707
708 * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements
709 with no initialization to the RHS of debug statements.
710
711 2013-02-28 Martin Jambor <mjambor@suse.cz>
712
713 PR tree-optimization/56294
714 * tree-sra.c (analyze_access_subtree): Create replacement declarations.
715 Adjust dumping.
716 (get_access_replacement): Do not call create_access_replacement.
717 Assert a replacement exists.
718 (get_repl_default_def_ssa_name): Create the replacement declaration
719 itself.
720
721 2013-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
722
723 * config/arm/arm.c (arm_output_mi_thunk): Call final_start_function and
724 final_end_function.
725
726 2013-02-28 Marek Polacek <polacek@redhat.com>
727
728 PR rtl-optimization/56466
729 * loop-unroll.c (unroll_and_peel_loops): Call fix_loop_structure
730 if we're changing a loop.
731 (peel_loops_completely): Likewise.
732
733 2013-02-28 Paolo Carlini <paolo.carlini@oracle.com>
734
735 PR c++/55813
736 * doc/invoke.texi ([-Wctor-dtor-privacy]): Complete.
737
738 2013-02-28 Georg-Johann Lay <avr@gjlay.de>
739
740 PR target/56445
741 * config/avr/avr.c (avr_init_builtins): Use 'n' instead of empty
742 macro parameters with: FX_FTYPE_FX, FX_FTYPE_FX_INT, INT_FTYPE_FX,
743 INTX_FTYPE_FX, FX_FTYPE_INTX.
744 * config/avr/builtins.def: Adjust respective DEF_BUILTIN.
745
746 2013-02-28 Georg-Johann Lay <avr@gjlay.de>
747
748 * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285)
749 (ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795)
750 (atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb)
751 (atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a)
752 (atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1)
753 (atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p)
754 (atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb)
755 (atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161)
756 (atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e)
757 (atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4)
758 (atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3)
759 (atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1)
760 (atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva)
761 (atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3)
762 (atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU.
763 (avrxmega6): Increase max flash segments from 5 to 6.
764 * config/avr/t-multilib: Regenerate.
765 * config/avr/avr-tables.opt: Regenerate.
766 * doc/avr-mmcu.texi: Regenerate.
767
768 2013-02-28 Georg-Johann Lay <avr@gjlay.de>
769
770 * config/avr/avr.h (device_to_arch): Rename to device_to_ld.
771 (avr_device_to_arch): Rename to avr_device_to_ld.
772 (avr_device_to_as): New prototype.
773 (EXTRA_SPEC_FUNCTIONS): Add device_to_as.
774 (ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=.
775 * config/avr/driver-avr.c (avr_device_to_as): New.
776 (avr_device_to_arch): Rename to avr_device_to_ld.
777
778 2013-02-27 Jakub Jelinek <jakub@redhat.com>
779
780 PR middle-end/56461
781 * tree-vect-data-refs.c (vect_permute_load_chain): Avoid using copy
782 method on dr_chain and result_chain.
783
784 PR middle-end/56461
785 * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Call
786 pointer_set_destroy on not_executed_last_iteration.
787
788 PR middle-end/56461
789 * tree-vect-loop.c (vectorizable_reduction): Release vect_defs vector.
790
791 PR middle-end/56461
792 * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of
793 FOR_EACH_DEFINED_FUNCTION when freeing state.
794
795 PR middle-end/56461
796 * df-scan.c (df_insn_delete): Use df_scan_free_mws_vec before
797 pool_free.
798 (df_insn_rescan_debug_internal): Use df_scan_free_mws_vec before
799 overwriting it.
800
801 PR middle-end/56461
802 * ipa-cp.c (decide_whether_version_node): Call vec_free on
803 known_aggs[i].items and release known_aggs vector.
804
805 PR middle-end/56461
806 * ipa-reference.c (propagate): Free node_info even for alias nodes.
807
808 2013-02-27 Edgar E. Iglesias <edgar.iglesias@gmail.com>
809
810 * config/microblaze/microblaze.c (microblaze_emit_compare):
811 Use xor for EQ/NE comparisions.
812 * config/microblaze/microblaze.md (cstoresf4): Add constraints
813 (cbranchsf4): Adjust operator to comparison_operator.
814
815 2013-02-27 Jakub Jelinek <jakub@redhat.com>
816
817 PR middle-end/56461
818 * tree-flow.h (edge_var_map_vector): Change into va_heap, vl_embed
819 vector.
820 * tree-ssa.c (redirect_edge_var_map_add): Use vec_safe_reserve and
821 vec_safe_push, always update *slot.
822 (redirect_edge_var_map_clear): Use vec_free.
823 (redirect_edge_var_map_dup): Use vec_safe_copy and vec_safe_reserve.
824 (free_var_map_entry): Use vec_free.
825 * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Use
826 FOR_EACH_VEC_SAFE_ELT instead of FOR_EACH_VEC_ELT.
827
828 2013-02-27 Andrey Belevantsev <abel@ispras.ru>
829
830 PR middle-end/45472
831 * sel-sched-ir.c (merge_expr): Also change vinsn of merged expr
832 when the may_trap_p bit of the exprs being merged differs.
833 Reorder tests for speculativeness in the logical and operator.
834
835 2013-02-27 Jakub Jelinek <jakub@redhat.com>
836
837 * incpath.c (add_standard_paths): Use reconcat instead of concat
838 where appropriate and avoid leaking memory.
839
840 * opts.h: Include obstack.h.
841 (opts_concat): New prototype.
842 (opts_obstack): New declaration.
843 * opts.c (opts_concat): New function.
844 (opts_obstack): New variable.
845 (init_options_struct): Call gcc_init_obstack on opts_obstack.
846 (finish_options): Use opts_concat instead of concat
847 and XOBNEWVEC instead of XNEWVEC.
848 * opts-common.c (generate_canonical_option, decode_cmdline_option,
849 generate_option): Likewise.
850 * Makefile.in (OPTS_H): Depend on $(OBSTACK_H).
851 * lto-wrapper.c (main): Call gcc_init_obstack on opts_obstack.
852
853 PR target/56455
854 * stmt.c (expand_switch_as_decision_tree_p): If flag_pic
855 and ASM_OUTPUT_ADDR_DIFF_ELT isn't defined, return true.
856
857 2013-02-26 Jakub Jelinek <jakub@redhat.com>
858
859 PR middle-end/56461
860 * lra-spills.c (lra_spill): Free spill_hard_reg at the end.
861
862 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com>
863
864 * config/arm/arm.c (const_ok_for_dimode_op): Back out last change.
865 (arm_block_move_unaligned_straight): Likewise.
866 (arm_adjust_block_mem): Likewise.
867
868 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com>
869
870 PR target/48901
871 * config/lm32/lm32.c (gen_int_relational): Remove unused variables
872 temp, cond and label.
873 * config/lm32/lm32.md (ashlsi3): Remove unused variable one.
874
875 PR target/52500
876 * config/c6x/c6x.c (dbx_register_map): Change to unsigned.
877 * config/c6x/c6x.h (dbx_register_map): Update declaration.
878
879 PR target/52501
880 * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end
881 of prologue/epilogue functions.
882
883 PR target/52550
884 * config/tilegx/tilegx.c (tilegx_expand_prologue):
885 Remove unused variable cfa_offset.
886 * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise.
887
888 PR target/54639
889 * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset
890 type promotion to unsigned.
891
892 PR target/54640
893 * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent
894 for HOST_WIDE_INT of 32 bit / same size as int.
895 (arm_block_move_unaligned_straight): Likewise.
896 (arm_adjust_block_mem): Likewise.
897
898 PR target/54662
899 * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of
900 ALL_CFLAGS.
901
902 2013-02-26 Marek Polacek <polacek@redhat.com>
903
904 PR tree-optimization/56426
905 * tree-ssa-loop.c (tree_ssa_loop_init): Always call scev_initialize.
906
907 2013-02-26 Richard Biener <rguenther@suse.de>
908
909 PR target/56444
910 * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove
911 unused variable loops.
912
913 2013-02-26 Jakub Jelinek <jakub@redhat.com>
914
915 PR tree-optimization/56448
916 * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at
917 TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF.
918 Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or
919 later operands of the references, or even first operand for
920 INDIRECT_REF, TARGET_MEM_REF or MEM_REF.
921
922 PR tree-optimization/56443
923 * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For
924 overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument
925 to type_for_mode langhook.
926
927 2013-02-25 Matt Turner <mattst88@gmail.com>
928
929 * doc/invoke.texi: Document r4700.
930
931 2013-02-25 Richard Biener <rguenther@suse.de>
932
933 PR tree-optimization/56175
934 * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate,
935 split out from ...
936 (simplify_bitwise_binary): ... here. Also guard the conversion
937 of (type) X op CST to (type) (X op ((type-x) CST)) with it.
938
939 2013-02-25 Catherine Moore <clm@codesourcery.com>
940
941 Revert:
942 2013-02-24 Catherine Moore <clm@codesourcery.com>
943 Maciej W. Rozycki <macro@codesourcery.com>
944 Tom de Vries <tom@codesourcery.com>
945 Nathan Sidwell <nathan@codesourcery.com>
946 Iain Sandoe <iain@codesourcery.com>
947 Nathan Froyd <froydnj@codesourcery.com>
948 Chao-ying Fu <fu@mips.com>
949
950 * doc/extend.texi: (micromips, nomicromips, nocompression):
951 Document new function attributes.
952 * doc/invoke.texi (minterlink-compressed, mmicromips,
953 m14k, m14ke, m14kec): Document new options.
954 (minterlink-mips16): Update documentation.
955 * doc/md.texi (ZC, ZD): Document new constraints.
956 * configure.ac (gcc_cv_as_micromips): Check if linker
957 supports the .set micromips directive.
958 * configure: Regenerate.
959 * config.in: Regenerate.
960 * config/mips/mips-tables.opt: Regenerate.
961 * config/mips/micromips.md: New file.
962 * constraints.md (ZC, AD): New constraints.
963 * config/mips/predicates.md (movep_src_register): New predicate.
964 (movep_src_operand): New predicate.
965 (non_volatile_mem_operand): New predicate.
966 * config/mips/mips.md (multimem): New type.
967 (length): Differentiate between 17-bit and 18-bit branch offsets.
968 (MOVEP1, MOVEP2): New mode iterator.
969 (mov_<load>l): Use ZC constraint.
970 (mov_<load>r): Likewise.
971 (mov_<store>l): Likewise.
972 (mov_<store>r): Likewise.
973 (*branch_equality<mode>_inverted): Add microMIPS support.
974 (*branch_equality<mode>): Likewise.
975 (*jump_absolute): Likewise.
976 (indirect_jump_<mode>): Likewise.
977 (tablejump_<mode>): Likewise.
978 (<optab>_internal): Likewise.
979 (sibcall_internal): Likewise.
980 (sibcall_value_internal): Likewise.
981 (prefetch): Use constraint ZD.
982 * config/mips/mips.opt (minterlink-compressed): New option.
983 (minterlink-mips16): Now an alias for minterlink-compressed.
984 (mmicromips): New option.
985 * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint.
986 (compare_and_swap_12): Likewise.
987 (sync_add<mode>): Likewise.
988 (sync_<optab>_12): Likewise.
989 (sync_old_<optab>_12): Likewise.
990 (sync_new_<optab>_12): Likewise.
991 (sync_nand_12): Likewise.
992 (sync_old_nand_12): Likewise.
993 (sync_new_nand_12): Likewise.
994 (sync_sub<mode>): Likewise.
995 (sync_old_add<mode>): Likewise.
996 (sync_old_sub<mode>): Likewise.
997 (sync_new_add<mode>): Likewise.
998 (sync_new_sub<mode>): Likewise.
999 (sync_<optab><mode>): Likewise.
1000 (sync_old_<optab><mode>): Likewise.
1001 (sync_new_<optab><mode>): Likewise.
1002 (sync_nand<mode>): Likewise.
1003 (sync_old_nand<mode>): Likewise.
1004 (sync_new_nand<mode>): Likewise.
1005 (sync_lock_test_and_set<mode>): Likewise.
1006 (test_and_set_12): Likewise.
1007 (atomic_compare_and_swap<mode>): Likewise.
1008 (atomic_exchange<mode>_llsc): Likewise.
1009 (atomic_fetch_add<mode>_llsc): Likewise.
1010 * config/mips/mips-cpus.def (m14kc, m14k): New processors.
1011 * config/mips/mips-protos.h (umips_output_save_restore): New prototype.
1012 (umips_save_restore_pattern_p): Likewise.
1013 (umips_load_store_pair_p): Likewise.
1014 (umips_output_load_store_pair): Likewise.
1015 (umips_movep_target_p): Likewise.
1016 (umips_12bit_offset_address_p): Likewise.
1017 * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS.
1018 (mips_base_mips16): Rename this...
1019 (mips_base_compression_flags): ...to this. Update all uses.
1020 (mips_attribute_table): Add micromips, nomicromips and nocompression.
1021 (mips_mips16_decl_p): Delete.
1022 (mips_nomips16_decl_p): Delete.
1023 (mips_get_compress_on_flags): New function.
1024 (mips_get_compress_off_flags): New function.
1025 (mips_get_compress_mode): New function.
1026 (mips_get_compress_on_name): New function.
1027 (mips_get_compress_off_name): New function.
1028 (mips_insert_attributes): Support multiple compression types.
1029 (mips_merge_decl_attributes): Likewise.
1030 (umips_12bit_offset_address_p): New function.
1031 (mips_start_function_definition): Emit .set micromips directive.
1032 (mips_call_may_need_jalx_p): New function.
1033 (mips_function_ok_for_sibcall): Add microMIPS support.
1034 (mips_print_operand_punctuation): Support short delay slots and
1035 compact jumps.
1036 (umips_swm_mask, umips_swm_encoding): New.
1037 (umips_build_save_restore): New function.
1038 (mips_for_each_saved_gpr_and_fpr): Add microMIPS support.
1039 (was_mips16_p): Remove.
1040 (old_compression_mode): New.
1041 (mips_set_compression_mode): New function.
1042 (mips_set_current_function): Add microMIPS support.
1043 (mips_option_override): Likewise.
1044 (umips_save_restore_pattern_p): New function.
1045 (umips_output_save_restore): New function.
1046 (umips_load_store_pair_p_1): New function.
1047 (umips_load_store_pair_p): New function.
1048 (umips_output_load_store_pair_1): New function.
1049 (umips_output_load_store_pair): New function.
1050 (umips_movep_target_p) New function.
1051 (mips_prepare_pch_save): Add microMIPS support.
1052 * config/mips/mips.h (TARGET_COMPRESSION): New.
1053 (TARGET_CPU_CPP_BUILTINS): Update macro
1054 to use new compression flags and to support microMIPS.
1055 (MIPS_ISA_LEVEL_SPEC): Add m14k processors.
1056 (MIPS_ARCH_FLOAT_SPEC): Likewise.
1057 (ISA_HAS_LWXS): Include TARGET_MICROMIPS.
1058 (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS.
1059 (ASM_SPEC): Support mmicromips and mno-micromips.
1060 (M16STORE_REG_P): New macro.
1061 (MIPS_CALL): Support TARGET_MICROMIPS.
1062 (MICROMIPS_J): New macro.
1063 (mips_base_mips16): Rename this...
1064 (mips_base_compression_flags): ...to this.
1065 (UMIPS_12BIT_OFFSET_P): New macro.
1066 * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS.
1067 (MULTILIB_DIRNAMES): Likewise.
1068
1069 2013-02-25 Tom de Vries <tom@codesourcery.com>
1070
1071 PR rtl-optimization/56131
1072 * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment.
1073 * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and
1074 NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL.
1075
1076 2013-02-25 Tobias Burnus <burnus@net-b.de>
1077
1078 * doc/invoke.texi (-fsanitize=): Move from optimization
1079 to debugging options.
1080
1081 2013-02-25 Andrey Belevantsev <abel@ispras.ru>
1082
1083 * sched-deps.c (sched_analyze_insn): Fix typo in comment.
1084
1085 2013-02-25 Andrey Belevantsev <abel@ispras.ru>
1086 Alexander Monakov <amonakov@ispras.ru>
1087
1088 PR middle-end/56077
1089 * sched-deps.c (sched_analyze_insn): When reg_pending_barrier,
1090 flush pending lists also on non-jumps. Adjust comment.
1091
1092 2013-02-24 Catherine Moore <clm@codesourcery.com>
1093 Maciej W. Rozycki <macro@codesourcery.com>
1094 Tom de Vries <tom@codesourcery.com>
1095 Nathan Sidwell <nathan@codesourcery.com>
1096 Iain Sandoe <iain@codesourcery.com>
1097 Nathan Froyd <froydnj@codesourcery.com>
1098 Chao-ying Fu <fu@mips.com>
1099
1100 * doc/extend.texi: (micromips, nomicromips, nocompression):
1101 Document new function attributes.
1102 * doc/invoke.texi (minterlink-compressed, mmicromips,
1103 m14k, m14ke, m14kec): Document new options.
1104 (minterlink-mips16): Update documentation.
1105 * doc/md.texi (ZC, ZD): Document new constraints.
1106 * configure.ac (gcc_cv_as_micromips): Check if linker
1107 supports the .set micromips directive.
1108 * configure: Regenerate.
1109 * config.in: Regenerate.
1110 * config/mips/mips-tables.opt: Regenerate.
1111 * config/mips/micromips.md: New file.
1112 * constraints.md (ZC, AD): New constraints.
1113 * config/mips/predicates.md (movep_src_register): New predicate.
1114 (movep_src_operand): New predicate.
1115 (non_volatile_mem_operand): New predicate.
1116 * config/mips/mips.md (multimem): New type.
1117 (length): Differentiate between 17-bit and 18-bit branch offsets.
1118 (MOVEP1, MOVEP2): New mode iterator.
1119 (mov_<load>l): Use ZC constraint.
1120 (mov_<load>r): Likewise.
1121 (mov_<store>l): Likewise.
1122 (mov_<store>r): Likewise.
1123 (*branch_equality<mode>_inverted): Add microMIPS support.
1124 (*branch_equality<mode>): Likewise.
1125 (*jump_absolute): Likewise.
1126 (indirect_jump_<mode>): Likewise.
1127 (tablejump_<mode>): Likewise.
1128 (<optab>_internal): Likewise.
1129 (sibcall_internal): Likewise.
1130 (sibcall_value_internal): Likewise.
1131 (prefetch): Use constraint ZD.
1132 * config/mips/mips.opt (minterlink-compressed): New option.
1133 (minterlink-mips16): Now an alias for minterlink-compressed.
1134 (mmicromips): New option.
1135 * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint.
1136 (compare_and_swap_12): Likewise.
1137 (sync_add<mode>): Likewise.
1138 (sync_<optab>_12): Likewise.
1139 (sync_old_<optab>_12): Likewise.
1140 (sync_new_<optab>_12): Likewise.
1141 (sync_nand_12): Likewise.
1142 (sync_old_nand_12): Likewise.
1143 (sync_new_nand_12): Likewise.
1144 (sync_sub<mode>): Likewise.
1145 (sync_old_add<mode>): Likewise.
1146 (sync_old_sub<mode>): Likewise.
1147 (sync_new_add<mode>): Likewise.
1148 (sync_new_sub<mode>): Likewise.
1149 (sync_<optab><mode>): Likewise.
1150 (sync_old_<optab><mode>): Likewise.
1151 (sync_new_<optab><mode>): Likewise.
1152 (sync_nand<mode>): Likewise.
1153 (sync_old_nand<mode>): Likewise.
1154 (sync_new_nand<mode>): Likewise.
1155 (sync_lock_test_and_set<mode>): Likewise.
1156 (test_and_set_12): Likewise.
1157 (atomic_compare_and_swap<mode>): Likewise.
1158 (atomic_exchange<mode>_llsc): Likewise.
1159 (atomic_fetch_add<mode>_llsc): Likewise.
1160 * config/mips/mips-cpus.def (m14kc, m14k): New processors.
1161 * config/mips/mips-protos.h (umips_output_save_restore): New prototype.
1162 (umips_save_restore_pattern_p): Likewise.
1163 (umips_load_store_pair_p): Likewise.
1164 (umips_output_load_store_pair): Likewise.
1165 (umips_movep_target_p): Likewise.
1166 (umips_12bit_offset_address_p): Likewise.
1167 * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS.
1168 (mips_base_mips16): Rename this...
1169 (mips_base_compression_flags): ...to this. Update all uses.
1170 (mips_attribute_table): Add micromips, nomicromips and nocompression.
1171 (mips_mips16_decl_p): Delete.
1172 (mips_nomips16_decl_p): Delete.
1173 (mips_get_compress_on_flags): New function.
1174 (mips_get_compress_off_flags): New function.
1175 (mips_get_compress_mode): New function.
1176 (mips_get_compress_on_name): New function.
1177 (mips_get_compress_off_name): New function.
1178 (mips_insert_attributes): Support multiple compression types.
1179 (mips_merge_decl_attributes): Likewise.
1180 (umips_12bit_offset_address_p): New function.
1181 (mips_start_function_definition): Emit .set micromips directive.
1182 (mips_call_may_need_jalx_p): New function.
1183 (mips_function_ok_for_sibcall): Add microMIPS support.
1184 (mips_print_operand_punctuation): Support short delay slots and
1185 compact jumps.
1186 (umips_swm_mask, umips_swm_encoding): New.
1187 (umips_build_save_restore): New function.
1188 (mips_for_each_saved_gpr_and_fpr): Add microMIPS support.
1189 (was_mips16_p): Remove.
1190 (old_compression_mode): New.
1191 (mips_set_compression_mode): New function.
1192 (mips_set_current_function): Add microMIPS support.
1193 (mips_option_override): Likewise.
1194 (umips_save_restore_pattern_p): New function.
1195 (umips_output_save_restore): New function.
1196 (umips_load_store_pair_p_1): New function.
1197 (umips_load_store_pair_p): New function.
1198 (umips_output_load_store_pair_1): New function.
1199 (umips_output_load_store_pair): New function.
1200 (umips_movep_target_p) New function.
1201 (mips_prepare_pch_save): Add microMIPS support.
1202 * config/mips/mips.h (TARGET_COMPRESSION): New.
1203 (TARGET_CPU_CPP_BUILTINS): Update macro
1204 to use new compression flags and to support microMIPS.
1205 (MIPS_ISA_LEVEL_SPEC): Add m14k processors.
1206 (MIPS_ARCH_FLOAT_SPEC): Likewise.
1207 (ISA_HAS_LWXS): Include TARGET_MICROMIPS.
1208 (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS.
1209 (ASM_SPEC): Support mmicromips and mno-micromips.
1210 (M16STORE_REG_P): New macro.
1211 (MIPS_CALL): Support TARGET_MICROMIPS.
1212 (MICROMIPS_J): New macro.
1213 (mips_base_mips16): Rename this...
1214 (mips_base_compression_flags): ...to this.
1215 (UMIPS_12BIT_OFFSET_P): New macro.
1216 * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS.
1217 (MULTILIB_DIRNAMES): Likewise.
1218
1219 2013-02-24 Jakub Jelinek <jakub@redhat.com>
1220
1221 PR target/52555
1222 * target-globals.c (save_target_globals): For init_reg_sets and
1223 target_reinit remporarily set this_fn_optabs to this_target_optabs.
1224
1225 2013-02-22 James Grennahlgh <james.greenhalgh@arm.com>
1226
1227 * config/aarch64/aarch64-simd-builtins.def: Add copyright header.
1228 * config/aarch64/t-aarch64
1229 (aarch64-builtins.o): Depend on aarch64-simd-builtins.def.
1230
1231 2013-02-22 Vladimir Makarov <vmakarov@redhat.com>
1232
1233 PR inline-asm/56148
1234 * lra-constraints.c (process_alt_operands): Reload operand
1235 conflicting with earlier clobber only if no more other conflicting
1236 operands.
1237
1238 2013-02-22 Jakub Jelinek <jakub@redhat.com>
1239
1240 PR sanitizer/56393
1241 * config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o
1242 if not linking a shared library.
1243
1244 2013-02-22 Seth LaForge <sethml@google.com>
1245
1246 * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian.
1247
1248 2013-02-22 Greta Yorsh <Greta.Yorsh@arm.com>
1249
1250 * config/arm/arm.md (split for extendsidi): Update condition.
1251 (zero_extend<mode>di2,extend<mode>di2): Add an alternative.
1252 * config/arm/iterators.md (qhs_extenddi_cstr): Likewise.
1253 (qhs_zextenddi_cstr): Likewise.
1254
1255 2013-02-21 Jakub Jelinek <jakub@redhat.com>
1256
1257 PR middle-end/56420
1258 * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to
1259 avoid signed wrapping.
1260 (expand_mult): Handle properly multiplication by
1261 ((dword_type) -1) << (BITS_PER_WORD - 1). Improve multiplication by
1262 ((dword_type) 1) << (BITS_PER_WORD - 1). Avoid undefined behavior
1263 in the compiler if coeff is HOST_WIDE_INT_MIN.
1264 (expand_divmod): Don't make ext_op1 static, change it's type to
1265 uhwi. Avoid undefined behavior in -INTVAL (op1).
1266
1267 PR rtl-optimization/50339
1268 * lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt
1269 field.
1270 * lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT.
1271 (compute_costs): Call compute_splitting_shift also for ASHIFTRT
1272 into splitting_ashiftrt field.
1273 (find_decomposable_shift_zext, resolve_shift_zext): Handle also
1274 ASHIFTRT.
1275 (dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT
1276 choices.
1277
1278 2013-02-20 Aldy Hernandez <aldyh@redhat.com>
1279
1280 PR middle-end/56108
1281 * trans-mem.c (execute_tm_mark): Do not expand transactions that
1282 are sure to go irrevocable.
1283
1284 2013-02-21 Hans-Peter Nilsson <hp@axis.com>
1285
1286 * doc/rtl.texi (vec_concat, vec_duplicate): Mention that
1287 scalars are valid operands.
1288
1289 2013-02-21 Martin Jambor <mjambor@suse.cz>
1290
1291 PR tree-optimization/56310
1292 * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy
1293 only matching indices and non-negative final offsets.
1294 (intersect_aggregates_with_edge): Pass src_idx to
1295 agg_replacements_to_vector. Pass src_idx insstead of index to
1296 intersect_with_agg_replacements.
1297
1298 2013-02-21 Martin Jambor <mjambor@suse.cz>
1299
1300 * ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold
1301 instead of hard-wired defaults.
1302
1303 2013-02-21 Maciej W. Rozycki <macro@codesourcery.com>
1304
1305 * doc/invoke.texi (MIPS Options): Update documentation of the
1306 floating-point multiply-accumulate instruction restrictions.
1307
1308 2013-02-21 Kostya Serebryany <kcc@google.com>
1309
1310 * config/i386/i386.c (ix86_asan_shadow_offset): Use 0x7fff8000 as
1311 asan_shadow_offset on x86_64 linux.
1312
1313 2013-02-21 Richard Biener <rguenther@suse.de>
1314
1315 PR tree-optimization/56415
1316 Revert
1317 2013-02-11 Richard Biener <rguenther@suse.de>
1318
1319 PR tree-optimization/56273
1320 * tree-vrp.c (simplify_cond_using_ranges): Disable for the
1321 first VRP run.
1322
1323 2013-02-21 Jakub Jelinek <jakub@redhat.com>
1324
1325 PR bootstrap/56258
1326 * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item
1327 instead of @itemx.
1328
1329 PR inline-asm/56405
1330 * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't
1331 use movmisalign or extract_bit_field for EXPAND_MEMORY modifier.
1332
1333 2013-02-20 Jan Hubicka <jh@suse.cz>
1334
1335 PR tree-optimization/56265
1336 * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph
1337 when target is referenced for first time.
1338
1339 2013-02-20 Richard Biener <rguenther@suse.de>
1340
1341 * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals.
1342 * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise.
1343 * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise.
1344 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do
1345 not return anything.
1346 (rename_ssa_copies): Do not remove unused locals.
1347 * tree-ssa-ccp.c (do_ssa_ccp): Likewise.
1348 * tree-ssanames.c (pass_release_ssa_names): Remove unused locals first.
1349 * passes.c (execute_function_todo): Do not schedule unused locals
1350 removal if cleanup_tree_cfg did something.
1351 * tree-ssa-live.c (remove_unused_locals): Dump statistics
1352 about the number of removed locals.
1353
1354 2013-02-20 Richard Biener <rguenther@suse.de>
1355
1356 PR tree-optimization/56398
1357 * tree-vect-loop-manip.c (adjust_debug_stmts): Skip SSA default defs.
1358
1359 2013-02-20 Martin Jambor <mjambor@suse.cz>
1360
1361 PR tree-optimization/55334
1362 * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to
1363 restricted pointers to arrays.
1364
1365 2013-02-20 Richard Biener <rguenther@suse.de>
1366 Jakub Jelinek <jakub@redhat.com>
1367
1368 PR tree-optimization/56396
1369 * tree-ssa-ccp.c (n_const_val): New static variable.
1370 (get_value): Return NULL for SSA names we don't have a lattice
1371 entry for.
1372 (ccp_initialize): Initialize n_const_val.
1373 * tree-ssa-copy.c (n_copy_of): New static variable.
1374 (init_copy_prop): Initialize n_copy_of.
1375 (get_value): Return NULL_TREE for SSA names we don't have a
1376 lattice entry for.
1377
1378 2013-02-20 Martin Jambor <mjambor@suse.cz>
1379
1380 * ipa-cp.c (initialize_node_lattices): Fix dumping condition.
1381
1382 2013-02-20 Richard Biener <rguenther@suse.de>
1383
1384 * genpreds.c (write_lookup_constraint): Do not compare first
1385 letter of the constraint again.
1386
1387 2013-02-20 Richard Biener <rguenther@suse.de>
1388
1389 * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits
1390 and ceil_log2.
1391 (get_use_iv_cost): Terminate hashtable walk when coming across
1392 an empty entry.
1393
1394 2013-02-20 Igor Zamyatin <igor.zamyatin@intel.com>
1395
1396 * config/i386/i386.c (initial_ix86_tune_features): Turn on fp
1397 reassociation for avx2 targets.
1398
1399 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1400
1401 * config/microblaze/microblaze.c: microblaze_has_clz = 0
1402 Add version check for v8.10.a to enable microblaze_has_clz
1403 * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined
1404 version and TARGET_PATTERN_COMPARE check
1405 * config/microblaze/microblaze.md: New clzsi2 instruction
1406
1407 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1408
1409 * config/microblaze/microblaze.md (call_value_intern): Check symbol is
1410 function before branching.
1411
1412 2012-02-19 Andrey Belevantsev <abel@ispras.ru>
1413
1414 * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set
1415 DUMP_INSN_RTX_UID.
1416 (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim.
1417
1418 2012-02-19 Andrey Belevantsev <abel@ispras.ru>
1419
1420 PR middle-end/55889
1421 * sel-sched.c: Include ira.h.
1422 (implicit_clobber_conflict_p): New function.
1423 (moveup_expr): Use it.
1424 * Makefile.in (sel-sched.o): Depend on ira.h.
1425
1426 2013-02-19 Richard Biener <rguenther@suse.de>
1427
1428 PR tree-optimization/56384
1429 * tree-ssa-sccvn.h (struct vn_phi_s): Add type member.
1430 (vn_hash_type): Split out from ...
1431 (vn_hash_constant_with_type): ... here.
1432 * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type.
1433 (vn_phi_eq): Compare types from vn_phi_s structure.
1434 (vn_phi_lookup): Populate vn_phi_s type.
1435 (vn_phi_insert): Likewise.
1436
1437 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1438
1439 PR tree-optimization/56350
1440 * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false
1441 if haven't found reduction or nested cycle operand, rather than
1442 asserting we must find it.
1443
1444 PR tree-optimization/56381
1445 * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument
1446 to fold_build3.
1447
1448 2013-02-18 Aldy Hernandez <aldyh@redhat.com>
1449 Jakub Jelinek <jakub@redhat.com>
1450
1451 PR target/52555
1452 * genopinit.c (raw_optab_handler): Use this_fn_optabs.
1453 (swap_optab_enable): Same.
1454 (init_all_optabs): Use argument instead of global.
1455 * tree.h (struct tree_optimization_option): New field target_optabs.
1456 * expr.h (init_all_optabs): Add argument to prototype.
1457 (TREE_OPTIMIZATION_OPTABS): New.
1458 (save_optabs_if_changed): Protoize.
1459 * optabs.h: Declare this_fn_optabs.
1460 * optabs.c (save_optabs_if_changed): New.
1461 Declare this_fn_optabs.
1462 (init_optabs): Add argument to init_all_optabs() call.
1463 * function.c (invoke_set_current_function_hook): Handle per
1464 function optabs.
1465 * function.h (struct function): New field optabs.
1466 * config/mips/mips.c (mips_set_mips16_mode): Handle when
1467 optimization_current_node has changed.
1468 * target-globals.h (save_target_globals_default_opts): Protoize.
1469 * target-globals.c (save_target_globals_default_opts): New.
1470
1471 2013-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1472
1473 PR target/56347
1474 * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark
1475 registers %fr12 and %fr12R as call used.
1476
1477 PR target/56214
1478 * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode
1479 and HImode, require all displacements to be an integer multiple of
1480 their mode size.
1481 * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses,
1482 only allow QImode and HImode when reload is in progress and strict is
1483 true. Likewise for symbolic addresses. Use base14_operand to check
1484 displacements in REG+BASE addresses.
1485
1486 2013-02-18 Richard Biener <rguenther@suse.de>
1487
1488 PR tree-optimization/56366
1489 * tree-vect-loop.c (get_initial_def_for_induction): Properly
1490 handle sign-conversion of outer-loop initial induction value.
1491
1492 2013-02-18 Richard Biener <rguenther@suse.de>
1493
1494 PR middle-end/56349
1495 * cfghooks.c (merge_blocks): If we merge a latch into another
1496 block adjust references to it.
1497 * cfgloop.c (flow_loops_find): Reset latch before recomputing it.
1498 (verify_loop_structure): Verify that a recorded latch is in fact
1499 a latch.
1500
1501 2013-02-18 Richard Biener <rguenther@suse.de>
1502
1503 PR tree-optimization/56321
1504 * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly
1505 order SSA name release and virtual operand unlinking.
1506
1507 2013-02-17 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1508
1509 * config/microblaze/microblaze.md (save_stack_block): Define.
1510 (restore_stack_block): Likewise.
1511
1512 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1513
1514 * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1.
1515 * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1.
1516 * config/microblaze/microblaze.c (microblaze_option_override):
1517 Bail out early for PIC modes when target does not support PIC.
1518
1519 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1520
1521 * config/microblaze/microblaze.c (microblaze_asm_trampoline_template):
1522 Replace with a microblaze version.
1523 (microblaze_trampoline_init): Adapt for microblaze.
1524 * gcc/config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for
1525 microblaze.
1526
1527 2013-02-16 Jakub Jelinek <jakub@redhat.com>
1528 Dodji Seketeli <dodji@redhat.com>
1529
1530 PR asan/56330
1531 * asan.c (get_mem_refs_of_builtin_call): White space and style cleanup.
1532 (instrument_mem_region_access): Do not forget to always put
1533 instrumentation of the of 'base' and 'base + len' in a "if (len !=
1534 0) statement, even for cases where either 'base' or 'base + len'
1535 are not instrumented -- because they have been previously
1536 instrumented. Simplify the logic by putting all the statements
1537 instrument 'base + len' inside a sequence, and then insert that
1538 sequence right before the current insertion point. Then, to
1539 instrument 'base + len', just get an iterator on that statement.
1540 And do not forget to update the pointer to iterator the function
1541 received as argument.
1542
1543 2013-02-15 Vladimir Makarov <vmakarov@redhat.com>
1544
1545 PR rtl-optimization/56348
1546 * lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos.
1547
1548 2013-02-15 Steven Bosscher <steven@gcc.gnu.org>
1549
1550 * graph.c (start_graph_dump): Print dumpfile base as digraph label.
1551 (clean_graph_dump_file): Pass base to start_graph_dump.
1552
1553 2013-02-14 Richard Henderson <rth@redhat.com>
1554
1555 PR target/55941
1556 * lower-subreg.c (simple_move): Check dest mode instead of src mode.
1557
1558 2013-02-14 Steven Bosscher <steven@gcc.gnu.org>
1559
1560 * collect2-aix.h: Define F_LOADONLY.
1561
1562 2013-02-14 Richard Biener <rguenther@suse.de>
1563
1564 PR lto/50494
1565 * varasm.c (output_constant_def_1): Get the decl representing
1566 the constant as argument.
1567 (output_constant_def): Wrap output_constant_def_1.
1568 (make_decl_rtl): Use output_constant_def_1 with the decl
1569 representing the constant.
1570 (build_constant_desc): Optionally re-use a decl already
1571 representing the constant.
1572 (tree_output_constant_def): Adjust.
1573
1574 2013-02-14 Dodji Seketeli <dodji@redhat.com>
1575
1576 Fix an asan crash
1577 * asan.c (instrument_builtin_call): Really put the length of the
1578 second source argument into src1_len.
1579
1580 2013-02-13 Jakub Jelinek <jakub@redhat.com>
1581
1582 * asan.c (create_cond_insert_point): Add create_then_fallthru_edge
1583 argument. If it is false, don't create edge from then_bb to
1584 fallthru_bb.
1585 (insert_if_then_before_iter): Pass true to it.
1586 (build_check_stmt): Pass false to it.
1587 (transform_statements): Flush hash table only on extended basic
1588 block boundaries, rather than at the beginning of every bb.
1589 Don't flush hash table on nonfreeing_call_p calls.
1590 * tree-flow.h (nonfreeing_call_p): New prototype.
1591 * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static.
1592
1593 2013-02-13 David S. Miller <davem@davemloft.net>
1594
1595 * expmed.c (expand_shift_1): Only strip scalar integer subregs.
1596
1597 2013-02-13 Vladimir Makarov <vmakarov@redhat.com>
1598
1599 PR target/56184
1600 * ira.c (max_regno_before_ira): Move from ...
1601 (ira): ... here.
1602 (fix_reg_equiv_init): Use max_regno_before_ira instead of
1603 vec_safe_length.
1604
1605 2013-02-13 Jakub Jelinek <jakub@redhat.com>
1606
1607 * config/i386/i386.c (ix86_asan_shadow_offset): Revert last change.
1608
1609 2013-02-13 Richard Biener <rguenther@suse.de>
1610
1611 PR lto/56295
1612 * gimple-streamer-out.c (output_gimple_stmt): Undo wrapping
1613 globals in MEM_REFs.
1614
1615 2013-02-13 Richard Biener <rguenther@suse.de>
1616
1617 * loop-init.c (loop_optimizer_init): Clear loop state when
1618 re-initializing preserved loops.
1619 * loop-unswitch.c (unswitch_single_loop): Return whether
1620 we unswitched the loop. Do not verify loop state here.
1621 (unswitch_loops): When we unswitched a loop discover new loops.
1622
1623 2013-02-13 Kostya Serebryany <kcc@google.com>
1624
1625 * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset
1626 on x86_64 linux.
1627 * sanitizer.def: Rename __asan_init to __asan_init_v1.
1628
1629 2013-02-12 Dodji Seketeli <dodji@redhat.com>
1630
1631 Avoid instrumenting duplicated memory access in the same basic block
1632 * Makefile.in (asan.o): Add new dependency on hash-table.h
1633 * asan.c (struct asan_mem_ref, struct mem_ref_hasher): New types.
1634 (asan_mem_ref_init, asan_mem_ref_get_end, get_mem_ref_hash_table)
1635 (has_stmt_been_instrumented_p, empty_mem_ref_hash_table)
1636 (free_mem_ref_resources, has_mem_ref_been_instrumented)
1637 (has_stmt_been_instrumented_p, update_mem_ref_hash_table)
1638 (get_mem_ref_of_assignment): New functions.
1639 (get_mem_refs_of_builtin_call): Extract from
1640 instrument_builtin_call and tweak a little bit to make it fit with
1641 the new signature.
1642 (instrument_builtin_call): Use the new
1643 get_mem_refs_of_builtin_call. Use gimple_call_builtin_p instead
1644 of is_gimple_builtin_call.
1645 (instrument_derefs, instrument_mem_region_access): Insert the
1646 instrumented memory reference into the hash table.
1647 (maybe_instrument_assignment): Renamed instrument_assignment into
1648 this, and change it to advance the iterator when instrumentation
1649 actually happened and return true in that case. This makes it
1650 homogeneous with maybe_instrument_assignment, and thus give a
1651 chance to callers to be more 'regular'.
1652 (transform_statements): Clear the memory reference hash table
1653 whenever we enter a new BB, when we cross a function call, or when
1654 we are done transforming statements. Use
1655 maybe_instrument_assignment instead of instrumentation. No more
1656 need to special case maybe_instrument_assignment and advance the
1657 iterator after calling it; it's now handled just like
1658 maybe_instrument_call. Update comment.
1659
1660 2013-02-13 Richard Biener <rguenther@suse.de>
1661
1662 * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc):
1663 Fix loop discovery code.
1664
1665 2013-02-12 Vladimir Makarov <vmakarov@redhat.com>
1666
1667 PR inline-asm/56148
1668 * lra-constraints.c (process_alt_operands): Match early clobber
1669 operand with itself. Check conflicts with earlyclobber only if
1670 the operand is not reloaded. Prefer to reload conflicting operand
1671 if earlyclobber and matching operands are the same.
1672
1673 2013-02-12 Richard Biener <rguenther@suse.de>
1674
1675 PR lto/56297
1676 * lto-streamer-out.c (write_symbol): Do not output symbols
1677 for hard register variables.
1678
1679 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
1680
1681 PR target/54222
1682 * config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders.
1683 (umulsidi3_insn, mulsidi3_insn): New insns.
1684
1685 2013-02-12 Christophe Lyon <christophe.lyon@linaro.org>
1686
1687 * config/arm/arm-protos.h (struct cpu_vec_costs): New struct type.
1688 (struct tune_params): Add vec_costs field.
1689 * config/arm/arm.c (arm_builtin_vectorization_cost)
1690 (arm_add_stmt_cost): New functions.
1691 (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST)
1692 (TARGET_VECTORIZE_ADD_STMT_COST): Define.
1693 (arm_default_vec_cost): New struct of type cpu_vec_costs.
1694 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune)
1695 (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune)
1696 (arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune)
1697 (arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field.
1698
1699 2013-02-12 Richard Biener <rguenther@suse.de>
1700
1701 PR lto/56295
1702 * gimple-streamer-in.c (input_gimple_stmt): Strip MEM_REFs off
1703 decls again if possible.
1704
1705 2013-02-12 Richard Biener <rguenther@suse.de>
1706
1707 PR middle-end/56288
1708 * tree-ssa.c (verify_ssa_name): Fix check, move
1709 SSA_NAME_IN_FREE_LIST check up.
1710
1711 2013-02-12 Jakub Jelinek <jakub@redhat.com>
1712 Steven Bosscher <steven@gcc.gnu.org>
1713
1714 PR rtl-optimization/56151
1715 * optabs.c (add_equal_note): Don't return 0 if target is a MEM,
1716 equal to op0 or op1, and last_insn pattern is CODE operation
1717 with MEM dest and one of the operands matches that MEM.
1718
1719 2013-02-11 Sriraman Tallam <tmsriramgoogle.com>
1720
1721 * doc/extend.texi: Document Function Multiversioning and "default"
1722 parameter string to target attribute.
1723 * config/i386/i386.c (get_builtin_code_for_version): Return 0 if
1724 target attribute parameter is "default".
1725 (ix86_compare_version_priority): Remove checks for target attribute.
1726 (ix86_mangle_function_version_assembler_name): Change error to sorry.
1727 Remove check for target attribute equal to NULL. Add assert.
1728 (ix86_generate_version_dispatcher_body): Change error to sorry.
1729
1730 2013-02-11 Iain Sandoe <iain@codesourcery.com>
1731 Jack Howarth <howarth@bromo.med.uc.edu>
1732 Patrick Marlier <patrick.marlier@gmail.com>
1733
1734 PR libitm/55693
1735 * config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and
1736 define ENDFILE_SPEC as TM_DESTRUCTOR.
1737 * config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR.
1738
1739 2013-02-11 Alexander Potapenko <glider@google.com>
1740 Jack Howarth <howarth@bromo.med.uc.edu>
1741 Jakub Jelinek <jakub@redhat.com>
1742
1743 PR sanitizer/55617
1744 * config/darwin.c (cdtor_record): Rename ctor_record.
1745 (sort_cdtor_records): Rename sort_ctor_records.
1746 (finalize_dtors): New routine to sort destructors by
1747 priority before use in assemble_integer.
1748 (machopic_asm_out_destructor): Use finalize_dtors if needed.
1749
1750 2013-02-11 Uros Bizjak <ubizjak@gmail.com>
1751
1752 PR rtl-optimization/56275
1753 * simplify-rtx.c (avoid_constant_pool_reference): Check that
1754 offset is non-negative and less than cmode size before
1755 calling simplify_subreg.
1756
1757 2013-02-11 Richard Biener <rguenther@suse.de>
1758
1759 PR tree-optimization/56264
1760 * cfgloop.h (fix_loop_structure): Adjust prototype.
1761 * loop-init.c (fix_loop_structure): Return the number of
1762 newly discovered loops.
1763 * tree-cfgcleanup.c (repair_loop_structures): When new loops
1764 are discovered, do a full loop-closed SSA rewrite.
1765
1766 2013-02-11 Richard Biener <rguenther@suse.de>
1767
1768 PR tree-optimization/56273
1769 * tree-vrp.c (simplify_cond_using_ranges): Disable for the
1770 first VRP run.
1771 (check_array_ref): Fix missing newline in dumps.
1772 (search_for_addr_array): Likewise.
1773
1774 2013-02-09 David Edelsohn <dje.gcc@gmail.com>
1775
1776 * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine.
1777
1778 2013-02-09 Jakub Jelinek <jakub@redhat.com>
1779
1780 PR target/56256
1781 * config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define.
1782
1783 2013-02-08 Vladimir Makarov <vmakarov@redhat.com>
1784
1785 PR rtl-optimization/56246
1786 * lra-constraints.c (simplify_operand_subreg): Try to reuse
1787 reload pseudo.
1788 * lra.c (lra): Clear lra_optional_reload_pseudos only when all
1789 constraints are satisfied.
1790
1791 2013-02-08 Jeff Law <law@redhat.com>
1792
1793 PR debug/53948
1794 * emit-rtl.c (reg_is_parm_p): New function.
1795 * regs.h (reg_is_parm_p): New prototype.
1796 * ira-conflicts.c (ira_build_conflicts): Allow parameters in
1797 callee-clobbered registers.
1798
1799 2013-02-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1800
1801 PR target/56043
1802 * config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass):
1803 If there is no implicit builtin declaration, just return NULL.
1804
1805 2013-02-08 Uros Bizjak <ubizjak@gmail.com>
1806
1807 * config/i386/sse.md (FMAMODEM): New mode iterator.
1808 (fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM
1809 mode iterator. Do not use TARGET_SSE_MATH in insn constraint.
1810
1811 2013-02-08 Uros Bizjak <ubizjak@gmail.com>
1812
1813 * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only
1814 when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set.
1815 * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto.
1816
1817 2013-02-08 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1818
1819 * config.gcc (microblaze*-linux*): Add TARGET_BIG_ENDIAN_DEFAULT.
1820 (microblaze*-*-elf): Likewise.
1821 * config/microblaze/linux.h: Add -mbig-endian / -mlittle-endian to
1822 LINK_SPEC.
1823 * config/microblaze/microblaze-c.c: Add builtin defines for
1824 _LITTLE_ENDIAN and _BIG_ENDIAN.
1825 * config/microblaze/microblaze.h: Add TARGET_ENDIAN_DEFAULT and
1826 add to TARGET_DEFAULT flags.
1827 Expand ASM_SPEC and LINK_SPEC.
1828 Update BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN.
1829 * config/microblaze/microblaze.md: Update extendsidi2 and
1830 movdi_internal instructions to use low-order / high-order reg
1831 print_operands.
1832 * config/microblaze/microblaze.opt: Add mbig-endian and mlittle-endian
1833 options and inversemask / mask of LITTLE_ENDIAN.
1834 * config/microblaze/t-microblaze: Expand multilib options to
1835 include mlittle-endian (le) and update exceptions patterns.
1836
1837 2013-02-08 Jakub Jelinek <jakub@redhat.com>
1838
1839 PR rtl-optimization/56195
1840 * lra-constraints.c (get_reload_reg): Don't reuse regs
1841 if they have smaller mode than requested, if they have
1842 wider mode than requested, try to return a SUBREG.
1843
1844 PR tree-optimization/56250
1845 * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize
1846 if type is unsigned and code isn't MULT_EXPR.
1847
1848 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
1849
1850 PR tree-optimization/56064
1851 * fixed-value.c (fixed_from_double_int): Sign/zero extend payload
1852 bits according to mode.
1853 * fixed-value.h (fixed_from_double_int)
1854 (const_fixed_from_double_int): Adjust comments.
1855
1856 2013-02-08 Richard Biener <rguenther@suse.de>
1857
1858 PR lto/56231
1859 * lto-streamer.h (struct data_in): Remove current_file, current_line
1860 and current_col members.
1861 * lto-streamer-out.c (lto_output_location): Stream changed bits
1862 en-block for efficiency.
1863 * lto-streamer-in.c (clear_line_info): Remove.
1864 (lto_input_location): Cache current file, line and column
1865 globally via local statics. Read changed bits en-block.
1866 (input_function): Do not call clear_line_info.
1867 (lto_read_body): Likewise.
1868 (lto_input_toplevel_asms): Likewise.
1869
1870 2013-02-08 Michael Matz <matz@suse.de>
1871
1872 PR tree-optimization/52448
1873 * tree-ssa-phiopt.c (struct name_to_bb): Add phase member.
1874 (nt_call_phase): New static.
1875 (add_or_mark_expr): Only mark accesses with newer phase than any
1876 call seen.
1877 (nonfreeing_call_p): New.
1878 (nt_init_block): Update nt_call_phase, mark blocks as visited.
1879 (nt_fini_block): Keep blocks marked as visited.
1880 (get_non_trapping): Initialize nt_call_phase, and reset aux pointer.
1881
1882 2013-02-08 Richard Biener <rguenther@suse.de>
1883
1884 * ira.c (ira): Free broken dominator information.
1885
1886 2013-02-08 Uros Bizjak <ubizjak@gmail.com>
1887
1888 * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro.
1889
1890 2013-02-08 Marek Polacek <polacek@redhat.com>
1891
1892 * cfgloop.c (verify_loop_structure): Add more checking of headers.
1893
1894 2013-02-08 Richard Biener <rguenther@suse.de>
1895
1896 PR middle-end/56181
1897 * cfgloop.h (flow_loops_find): Adjust.
1898 (bb_loop_header_p): Declare.
1899 * cfgloop.c (bb_loop_header_p): New function split out from ...
1900 (flow_loops_find): ... here. Adjust function signature,
1901 support incremental loop structure update.
1902 (verify_loop_structure): Cleanup. Verify a loop is a loop.
1903 * cfgloopmanip.c (fix_loop_structure): Move ...
1904 * loop-init.c (fix_loop_structure): ... here.
1905 (apply_loop_flags): Split out from ...
1906 (loop_optimizer_init): ... here.
1907 (fix_loop_structure): Use apply_loop_flags. Use flow_loops_find
1908 in incremental mode, only remove dead loops here.
1909
1910 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
1911
1912 PR target/54222
1913 * config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add.
1914 * config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators.
1915 (round<mode>3, round<mode>3_const): New expanders for fixed-mode.
1916 (*round<mode>3.libgcc): New insns for fixed-modes.
1917 * config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME.
1918 (ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs.
1919 (ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs.
1920 * config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline
1921 implementations. Define to __builtin_avr_absFX,
1922 __builtin_avr_bitsFX, __builtin_avr_FXbits, respectively.
1923 (roundFX, countlsFX): Define to __builtin_avr_roundFX,
1924 __builtin_avr_countlsFX, respectively.
1925 * config/avr/avr-c.c (target.h): Include it.
1926 (enum avr_builtin_id): New enum.
1927 (avr_resolve_overloaded_builtin): New static function.
1928 (avr_register_target_pragmas): Use it to set
1929 targetm.resolve_overloaded_builtin.
1930 * config/avr/avr.c (avr_init_builtins): Supply myriads of local
1931 tree nodes used by DEF_BUILTIN.
1932 (avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them.
1933 (avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR.
1934 <AVR_BUILTIN_xxBITS>: Same.
1935
1936 2013-02-08 Richard Biener <rguenther@suse.de>
1937
1938 * cfgloop.c (verify_loop_structure): Properly handle
1939 a loop exiting to another loop header.
1940 * ira-int.h (ira_loops): Remove.
1941 * ira.c (ira_loops): Remove.
1942 (ira): Use loop_optimizer_init and loop_optimizer_finalize.
1943 (do_reload): Use loop_optimizer_finalize.
1944 * ira-build.c (create_loop_tree_nodes): Use get_loops and
1945 number_of_loops to access the loop tree.
1946 (more_one_region_p): Likewise.
1947 (finish_loop_tree_nodes): Likewise.
1948 (rebuild_regno_allocno_maps): Likewise.
1949 (mark_loops_for_removal): Likewise.
1950 (mark_all_loops_for_removal): Likewise.
1951 (remove_unnecessary_regions): Likewise.
1952 (ira_build): Likewise.
1953 * ira-emit.c (setup_entered_from_non_parent_p): Likewise.
1954
1955 2013-02-08 Richard Biener <rguenther@suse.de>
1956
1957 * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency.
1958 * ipa-pure-const.c (analyze_function): Avoid calling
1959 mark_irreducible_loops twice.
1960 * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup.
1961
1962 2013-02-07 David S. Miller <davem@davemloft.net>
1963
1964 * dwarf2out.c (based_loc_descr): Perform leaf register remapping
1965 on 'reg'.
1966 * var-tracking.c (vt_add_function_parameter): Test the presence of
1967 HAVE_window_save properly and do not remap argument registers when
1968 we have a leaf function.
1969
1970 2013-02-07 Uros Bizjak <ubizjak@gmail.com>
1971
1972 PR bootstrap/56227
1973 * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT
1974 instead of "ll".
1975 * config/i386/i386.c (ix86_print_operand): Ditto.
1976
1977 2013-02-07 Vladimir Makarov <vmakarov@redhat.com>
1978
1979 * lra-constraints.c (process_alt_operands): Fix recently added comment.
1980
1981 2013-02-07 Vladimir Makarov <vmakarov@redhat.com>
1982
1983 PR rtl-optimization/56225
1984 * lra-constraints.c (process_alt_operands): Check that reload hard
1985 reg can hold value for strict_low_part.
1986
1987 2013-02-07 Jakub Jelinek <jakub@redhat.com>
1988
1989 PR debug/56154
1990 * dwarf2out.c (dwarf2_debug_hooks): Set end_function hook to
1991 dwarf2out_end_function.
1992 (in_first_function_p, maybe_at_text_label_p,
1993 first_loclabel_num_not_at_text_label): New variables.
1994 (dwarf2out_var_location): In the first function find out
1995 lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0.
1996 (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New
1997 functions.
1998
1999 2013-02-07 Eric Botcazou <ebotcazou@adacore.com>
2000
2001 PR rtl-optimization/56178
2002 * cse.c (cse_insn): Do not create a REG_EQUAL note if the source is a
2003 SUBREG of a register. Tidy up related block of code.
2004 * fwprop.c (forward_propagate_and_simplify): Do not create a REG_EQUAL
2005 note if the source is a register or a SUBREG of a register.
2006
2007 2013-02-07 Jakub Jelinek <jakub@redhat.com>
2008
2009 PR target/56228
2010 * config/rs6000/rs6000.md (ptrm): New mode attr.
2011 (call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11,
2012 call_value_indirect_aix<pttrsize>,
2013 call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of
2014 m in constraints.
2015
2016 2013-02-07 Michael Haubenwallner <michael.haubenwallner@salomon.at>
2017
2018 * collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable
2019 if -bnortl. Convert to strcmp and strncmp.
2020
2021 2013-02-07 Alan Modra <amodra@gmail.com>
2022
2023 PR target/54009
2024 * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM
2025 addresses won't wrap when offsetting.
2026 (rs6000_secondary_reload): Provide secondary reloads needed for
2027 wrapping LO_SUM addresses.
2028
2029 2013-02-06 Thomas Schwinge <thomas@codesourcery.com>
2030
2031 * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define
2032 MACH, just __MACH__.
2033
2034 2013-02-06 Richard Biener <rguenther@suse.de>
2035
2036 * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP
2037 instead of calling fix_loop_structure.
2038
2039 2013-02-06 Jakub Jelinek <jakub@redhat.com>
2040
2041 PR middle-end/56217
2042 * omp-low.c (use_pointer_for_field): Return false if
2043 lower_send_shared_vars doesn't generate any copy-out code.
2044
2045 2013-02-06 Tom de Vries <tom@codesourcery.com>
2046
2047 PR rtl-optimization/56131
2048 * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN
2049 to get the bb of a NOTE_INSN_BASIC_BLOCK. Handle the case that the bb
2050 of the label is NULL. Add comment.
2051
2052 2013-02-05 Jakub Jelinek <jakub@redhat.com>
2053
2054 * tree.h (struct tree_decl_with_vis): Remove thread_local field.
2055
2056 PR sanitizer/55374
2057 * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define.
2058 (STATIC_LIBTSAN_LIBS): Likewise.
2059 * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define.
2060 (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC
2061 is defined, don't add anything else beyond that.
2062 (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define.
2063 (LINK_COMMAND_SPEC): Use them.
2064
2065 PR tree-optimization/56205
2066 * tree-stdarg.c (check_all_va_list_escapes): Return true if
2067 there are any PHI nodes that set non-va_list_escape_vars SSA_NAME
2068 and some va_list_escape_vars SSA_NAME appears in some PHI argument.
2069
2070 2013-02-05 Richard Biener <rguenther@suse.de>
2071
2072 PR tree-optimization/53342
2073 PR tree-optimization/53185
2074 * tree-vectorizer.h (vect_check_strided_load): Remove.
2075 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do
2076 not disallow peeling for vectorized strided loads.
2077 (vect_check_strided_load): Make static and simplify.
2078 (vect_analyze_data_refs): Adjust.
2079 * tree-vect-stmts.c (vectorizable_load): Handle peeled loops
2080 correctly when vectorizing strided loads.
2081
2082 2013-02-05 Richard Biener <rguenther@suse.de>
2083
2084 * doc/install.texi: Refer to ISL, not PPL.
2085
2086 2013-02-05 Jan Hubicka <jh@suse.cz>
2087
2088 PR tree-optimization/55789
2089 * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1.
2090
2091 2013-02-05 Jan Hubicka <jh@suse.cz>
2092
2093 PR tree-optimization/55789
2094 * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove
2095 the dead call anyway.
2096
2097 2013-02-05 Eric Botcazou <ebotcazou@adacore.com>
2098
2099 PR sanitizer/55374
2100 * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard.
2101
2102 2013-02-04 Alexander Potapenko <glider@google.com>
2103 Jack Howarth <howarth@bromo.med.uc.edu>
2104 Jakub Jelinek <jakub@redhat.com>
2105
2106 PR sanitizer/55617
2107 * config/darwin.c (sort_ctor_records): Stabilized qsort
2108 on constructor priority by using original position.
2109 (finalize_ctors): New routine to sort constructors by
2110 priority before use in assemble_integer.
2111 (machopic_asm_out_constructor): Use finalize_ctors if needed.
2112
2113 2013-02-04 Jakub Jelinek <jakub@redhat.com>
2114
2115 PR libstdc++/54314
2116 * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn
2117 about visibility on artificial decls.
2118 * config/sol2.c (solaris_assemble_visibility): Likewise.
2119
2120 2013-02-04 Kai Tietz <ktietz@redhat.com>
2121
2122 PR target/56186
2123 * config/i386/i386.c (function_value_ms_64): Add additional valtype
2124 argument and improve checking of return-argument types for 16-byte
2125 modes.
2126 (ix86_function_value_1): Add additional valtype argument on call
2127 of function_value_64.
2128 (return_in_memory_ms_64): Sync 16-byte sized mode handling with
2129 handling infunction_value_64 function.
2130
2131 2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
2132
2133 * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue.
2134
2135 2013-02-04 Richard Biener <rguenther@suse.de>
2136
2137 PR tree-optimization/56188
2138 * tree-ssa-structalias.c (label_visit): Consider case with
2139 initially non-empty points-to set.
2140 (perform_var_substitution): Dump node mapping and clean up.
2141
2142 2013-02-04 Richard Guenther <rguenther@suse.de>
2143
2144 PR lto/56168
2145 * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin
2146 node prevail as last resort.
2147 (lto_symtab_merge_decls): Remove guard on LTRANS here.
2148 (lto_symtab_prevailing_decl): Builtins are their own prevailing decl.
2149
2150 2013-02-04 Richard Biener <rguenther@suse.de>
2151
2152 PR tree-optimization/56113
2153 * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add):
2154 Merge into ...
2155 (equiv_class_lookup_or_add): ... this.
2156 (label_visit): Adjust and fix error in previous patch.
2157 (perform_var_substitution): Adjust.
2158
2159 2013-02-03 Oleg Endo <olegendo@gcc.gnu.org>
2160
2161 * config/sh/divtab.c: Fix formatting and comments throughout the file.
2162 * config/sh/sh4-300.md: Likewise.
2163 * config/sh/sh4a.md: Likewise.
2164 * config/sh/constraints.md: Likewise.
2165 * config/sh/sh.md: Likewise.
2166 * config/sh/netbsd-elf.h: Likewise.
2167 * config/sh/predicates.md: Likewise.
2168 * config/sh/sh-protos.h: Likewise.
2169 * config/sh/ushmedia.h: Likewise.
2170 * config/sh/linux.h: Likewise.
2171 * config/sh/sh.c: Likewise.
2172 * config/sh/superh.h: Likewise.
2173 * config/sh/elf.h: Likewise.
2174 * config/sh/sh4.md: Likewise.
2175 * config/sh/sh.h: Likewise.
2176
2177 2013-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2178
2179 * config/pa/constraints.md: Adjust unused letters. Change "T"
2180 constraint to match_test floating_point_store_memory_operand().
2181 * config/pa/predicates.md (reg_plus_base_memory_operand): New.
2182 (base14_operand): New.
2183 (floating_point_store_memory_operand): New.
2184 (integer_store_memory_operand): Revise to use base14_operand and
2185 reg_plus_base_memory_operand.
2186 (move_dest_operand): Allow symbolic_memory_operands.
2187 (symbolic_memory_operand): Check for LO_SOM.
2188 (symbolic_operand): Change default case to break.
2189 * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force
2190 CONST_DOUBLE values to be reloaded by putting them into memory when
2191 the destination is a floating point register.
2192 (movdf): Remove code to handle CONST_DOUBLE.
2193 (movsf): Likewise.
2194 (reload_indf_r1): New.
2195 (reload_insf_r1): New.
2196 Consistently use "Q" and "T" constraints with integer and floating
2197 point move instructions, respectively.
2198 (movdi): Remove FAIL.
2199 Change predicate for source operand unamed DImode move from
2200 general_operand to move_src_operand.
2201 (umulsidi3): Change predicate for destination operand to
2202 register_operand.
2203 Likewise for similar unamed patterns.
2204 * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare.
2205 * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis.
2206 (hppa_legitimize_address): Simplify mask calculation.
2207 (pa_emit_move_sequence): Revised handling of secondary reloads from
2208 REG+D addresses for floating point loads and stores. Directly handle
2209 loading CONST0_RTX (mode) to a floating point register.
2210 (pa_secondary_reload): Handle reloading DF and SFmode constant values
2211 to floating point registers. Don't restrict secondary reloads to
2212 floating point registers to integer modes. Revise some comments and
2213 cleanup some code.
2214 (TARGET_LEGITIMATE_ADDRESS_P): Define.
2215 (pa_legitimate_address_p): New.
2216 (pa_legitimize_reload_address): New.
2217 * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New.
2218 (STRICT_REG_OK_FOR_BASE_P): New.
2219 (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments.
2220 (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address.
2221
2222 2013-02-03 David Edelsohn <dje.gcc@gmail.com>
2223 Andrew Dixie <andrewd@gentrack.com>
2224
2225 * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY
2226 flag set.
2227
2228 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
2229
2230 * expmed.c (extract_bit_field_1): Pass the full width of the
2231 structure to get_best_reg_extraction_insn.
2232
2233 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
2234
2235 PR target/54601
2236 * configure.ac (use_cxa_atexit): Add AIX.
2237 * configure: Regenerate.
2238
2239 * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o.
2240
2241 2013-02-01 Jakub Jelinek <jakub@redhat.com>
2242
2243 PR debug/54793
2244 * final.c (need_profile_function): New variable.
2245 (final_start_function): Drop ATTRIBUTE_UNUSED from first argument.
2246 If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG
2247 is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED
2248 notes, targetm.asm_out.function_prologue doesn't emit anything,
2249 HAVE_prologue and profiler should be emitted before prologue,
2250 set need_profile_function instead of emitting it.
2251 (final_scan_insn): If need_profile_function, emit
2252 profile_function on the first NOTE_INSN_BASIC_BLOCK or
2253 NOTE_INSN_FUNCTION_BEG note.
2254
2255 2013-02-01 Richard Henderson <rth@redhat.com>
2256
2257 * config/rs6000/rs6000.md (smulditi3): New.
2258 (umulditi3): New.
2259
2260 * config/alpha/alpha.md (umulditi3): New.
2261
2262 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
2263
2264 * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2.
2265 (ASM_OUTPUT_ALIGNED_LOCAL): New.
2266
2267 2013-02-01 Richard Biener <rguenther@suse.de>
2268
2269 PR tree-optimization/56113
2270 * tree-ssa-structalias.c (label_visit): Reduce work for
2271 single-predecessor nodes.
2272
2273 2013-02-01 Eric Botcazou <ebotcazou@adacore.com>
2274
2275 * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the
2276 range isn't testing for zero.
2277
2278 2013-01-31 Steven Bosscher <steven@gcc.gnu.org>
2279
2280 PR middle-end/56113
2281 * fwprop.c (fwprop_init): Set up loops without CFG modifications.
2282
2283 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com>
2284 Nick Clifton <nickc@redhat.com>
2285
2286 * config/v850/constraints.md (Q): Define as a memory constraint.
2287 * config/v850/predicates.md (label_ref_operand): New predicate.
2288 (e3v5_shift_operand): New predicate.
2289 (ior_operator): New predicate.
2290 * config/v850/t-v850: Add e3v5 multilib.
2291 * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype.
2292 (v850_gen_movdi): Prototype.
2293 * config/v850/v850.c: Add support for e3v5 architecture.
2294 Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to
2295 TARGET_V850E_UP.
2296 (construct_save_jarl): Add e3v5 long JARL support.
2297 (v850_adjust_insn_length): New function. Adjust length of call
2298 insns when using e3v5 instructions.
2299 (v850_gen_movdi): New function: Generate instructions to move a
2300 DImode value.
2301 * config/v850/v850.h (TARGET_CPU_v850e3v5): Define.
2302 (CPP_SPEC): Define __v850e3v5__ as appropriate.
2303 (TARGET_USE_FPU): Enable for e3v5.
2304 (CONST_OK_FOR_W): New macro.
2305 (ADJUST_INSN_LENGTH): Define.
2306 * config/v850/v850.md (UNSPEC_LOOP): Define.
2307 (attr cpu): Add v850e3v5.
2308 Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP.
2309 (movdi): New pattern.
2310 (movdi_internal): New pattern.
2311 (cbranchsf4): Conditionalize on TARGET_USE_FPU.
2312 (cbranchdf4): Conditionalize on TARGET_USE_FPU.
2313 (cstoresf4): Likewise.
2314 (cstoredf4): Likewise.
2315 (insv): New pattern.
2316 (rotlso3_a): New pattern.
2317 (rotlsi3_b): New pattern
2318 (rotlsi3_v850e3v5): New pattern.
2319 (doloop_begin): New pattern.
2320 (fix_loop_counter): New pattern.
2321 (doloop_end): New pattern.
2322 (branch_normal): Add e3v5 long branch support.
2323 (branch_invert): Likewise.
2324 (branch_z_normal): Likewise.
2325 (branch_z_invert): Likewise.
2326 (branch_nz_normal): Likewise.
2327 (branch_nz_invert): Likewise.
2328 (call_internal_short): Add e3v5 register-indirect JARL support.
2329 (call_internal_long): Likewise.
2330 (call_value_internal_short): Likewise.
2331 (call_value_internal_long): Likewise.
2332 * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options.
2333 (mloop): New option.
2334 * config.gcc: Add support for configuring v840e3v5 target.
2335 * doc/invoke.texi: Document new v850 specific command line options.
2336
2337 2013-01-31 Paul Koning <ni1d@arrl.net>
2338
2339 PR debug/55059
2340 PR debug/54508
2341 * dwarf2out.c (prune_unused_types_mark): Mark all of parent's
2342 children if parent is a class.
2343 (prune_unused_types_prune): Don't add DW_AT_declaration.
2344
2345 2013-01-31 Richard Biener <rguenther@suse.de>
2346
2347 PR tree-optimization/56157
2348 * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to
2349 match up operand with SLP child.
2350
2351 2013-01-31 Jason Merrill <jason@redhat.com>
2352
2353 PR debug/54410
2354 * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template
2355 parameters the first time.
2356 (gen_scheduled_generic_parms_dies): Check completeness here.
2357
2358 2013-01-31 Richard Biener <rguenther@suse.de>
2359
2360 PR middle-end/53073
2361 * common.opt (faggressive-loop-optimizations): New flag,
2362 enabled by default.
2363 * doc/invoke.texi (faggressive-loop-optimizations): Document.
2364 * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard
2365 infer_loop_bounds_from_undefined by it.
2366
2367 2013-01-31 Richard Biener <rguenther@suse.de>
2368
2369 PR tree-optimization/56150
2370 * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not
2371 visit virtual operands.
2372 (find_uses_to_rename_bb): Likewise.
2373
2374 2013-01-31 Richard Biener <rguenther@suse.de>
2375
2376 PR tree-optimization/56150
2377 * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle
2378 mixed store non-store stmts.
2379
2380 2013-01-30 Jakub Jelinek <jakub@redhat.com>
2381
2382 PR sanitizer/55374
2383 * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if
2384 LIBASAN_EARLY_SPEC is defined.
2385 (LIBASAN_EARLY_SPEC): Define to empty string if not already defined.
2386 (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address,
2387 before %o.
2388 * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define.
2389
2390 PR c++/55742
2391 * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose
2392 invalid args instead of ICEing on it.
2393 (ix86_valid_target_attribute_tree): Return error_mark_node if
2394 ix86_valid_target_attribute_inner_p failed.
2395 (ix86_valid_target_attribute_p): Return false only if
2396 ix86_valid_target_attribute_tree returned error_mark_node. Allow
2397 target("default") attribute.
2398 (sorted_attr_string): Change argument from const char * to tree,
2399 merge in all target attribute arguments rather than just one.
2400 Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC
2401 instead of free. Avoid using strcat.
2402 (ix86_mangle_function_version_assembler_name): Mangle
2403 target("default") as if no target attribute is present. Adjust
2404 sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC
2405 instead of xmalloc and XDELETEVEC instead of free.
2406 (ix86_function_versions): Don't return true if one of the decls
2407 doesn't have target attribute. If they don't and one of the decls
2408 is DECL_FUNCTION_VERSIONED, report an error. Adjust
2409 sorted_attr_string caller. Use XDELETEVEC instead of free.
2410 (ix86_supports_function_versions): Remove.
2411 (make_name): Fix up formatting.
2412 (make_dispatcher_decl): Remove resolver_name and its initialization.
2413 Avoid leaking memory.
2414 (is_function_default_version): Return true if there is
2415 target("default") attribute rather than no target attribute at all.
2416 (make_resolver_func): Avoid leaking memory.
2417 (ix86_generate_version_dispatcher_body): Likewise.
2418 (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove.
2419 * target.def (supports_function_versions): Remove.
2420 * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove.
2421 * doc/tm.texi: Regenerated.
2422
2423 2013-01-30 Vladimir Makarov <vmakarov@redhat.com>
2424
2425 PR rtl-optimization/56144
2426 * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo
2427 for values with side effects.
2428
2429 2013-01-30 Richard Biener <rguenther@suse.de>
2430
2431 * sparseset.h (sparseset_bit_p): Use gcc_checking_assert.
2432 (sparseset_pop): Likewise.
2433 * cfganal.c (compute_idf): Likewise. Increase work-stack size
2434 to be able to use quick_push in the worker loop.
2435
2436 2013-01-30 Marek Polacek <polacek@redhat.com>
2437
2438 * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs.
2439
2440 2013-01-30 Richard Biener <rguenther@suse.de>
2441
2442 PR lto/56147
2443 * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check.
2444
2445 2013-01-30 Georg-Johann Lay <avr@gjlay.de>
2446
2447 PR tree-optimization/56064
2448 * fixed-value.c (fixed_from_double_int): New function.
2449 * fixed-value.h (fixed_from_double_int): New prototype.
2450 (const_fixed_from_double_int): New static inline function.
2451 * fold-const.c (native_interpret_fixed): New static function.
2452 (native_interpret_expr) <FIXED_POINT_TYPE>: Use it.
2453 (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true.
2454 (native_encode_fixed): New static function.
2455 (native_encode_expr) <FIXED_CST>: Use it.
2456 (native_interpret_int): Move double_int worker code to...
2457 * double-int.c (double_int::from_buffer): ...this new static method.
2458 * double-int.h (double_int::from_buffer): Prototype it.
2459
2460 2013-01-30 Richard Biener <rguenther@suse.de>
2461
2462 * tree-ssa-structalias.c (final_solutions, final_solutions_obstack):
2463 New pointer-map and obstack.
2464 (init_alias_vars): Allocate pointer-map and obstack.
2465 (delete_points_to_sets): Free them.
2466 (find_what_var_points_to): Cache result.
2467 (find_what_p_points_to): Adjust for changed interface of
2468 find_what_var_points_to.
2469 (compute_points_to_sets): Likewise.
2470 (ipa_pta_execute): Likewise.
2471
2472 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2473
2474 * configure.ac (HAVE_AS_SPARC_NOBITS): New test.
2475 * configure: Regenerate.
2476 * config.in: Regenerate.
2477 * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit
2478 #nobits/#progbits if supported.
2479
2480 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org>
2481
2482 PR target/56121
2483 * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a,
2484 bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a,
2485 bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition.
2486
2487 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
2488
2489 * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove.
2490 (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all.
2491
2492 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
2493
2494 * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL.
2495 * config/arm/cortex-a7.md (cortex_a7_call): Update required units.
2496
2497 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
2498
2499 * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New
2500 declaration.
2501 * config/arm/arm.c (arm_mac_accumulator_is_result): New function.
2502 * config/arm/cortex-a7.md: New bypasses using
2503 arm_mac_accumulator_is_result.
2504
2505 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
2506
2507 * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation.
2508 (cortex_a7_neon_mla): Likewise.
2509 (cortex_a7_fpfmad): New reservation.
2510 (cortex_a7_fpmacs): Use ffmas and update required units.
2511 (cortex_a7_fpmuld): Update required units and latency.
2512 (cortex_a7_fpmacd): Likewise.
2513 (cortex_a7_fdivs, cortex_a7_fdivd): Likewise.
2514 (cortex_a7_neon). Likewise.
2515 (bypass) Update participating units.
2516
2517 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
2518
2519 * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute.
2520 * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type
2521 from fmac to ffma.
2522 * config/arm/vfp11.md (vfp_farith): Use ffmas.
2523 (vfp_fmul): Use ffmad.
2524 * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas.
2525 (cortex_r4_fmacd): Use ffmad.
2526 * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas.
2527 * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas.
2528 (cortex_a9_fmacd): Use ffmad.
2529 * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas.
2530 (cortex_a8_vfp_macd): Use ffmad.
2531 * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas.
2532 (cortex_a5_fpmacd): Use ffmad.
2533 * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas.
2534 (cortex_a15_vfp_macd): Use ffmad.
2535 * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad.
2536
2537 2013-01-29 Jason Merrill <jason@redhat.com>
2538
2539 PR libstdc++/54314
2540 * varasm.c (default_assemble_visibility): Don't warn about
2541 visibility on artificial decls.
2542
2543 2013-01-29 Richard Biener <rguenther@suse.de>
2544
2545 PR tree-optimization/56113
2546 * tree-ssa-structalias.c (equiv_class_lookup): Also return
2547 the bitmap leader.
2548 (label_visit): Free duplicate bitmaps and record the leader instead.
2549 (perform_var_substitution): Adjust.
2550
2551 2013-01-29 Richard Biener <rguenther@suse.de>
2552
2553 PR tree-optimization/55270
2554 * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed
2555 the CFG, schedule loops for fixup.
2556
2557 2013-01-29 Nick Clifton <nickc@redhat.com>
2558
2559 * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow
2560 SP_REG.
2561
2562 2013-01-28 Leif Ekblad <leif@rdos.net>
2563
2564 * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets.
2565 * config/i386/i386.h (TARGET_RDOS): New macro.
2566 (DEFAULT_LARGE_SECTION_THRESHOLD): New macro.
2567 * config/i386/i386.c (ix86_option_override_internal): For 64bit
2568 TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1.
2569 * config/i386/i386.opt (mlarge-data-threshold): Initialize to
2570 DEFAULT_LARGE_SECTION_THRESHOLD.
2571 * config/i386/i386.md (R14_REG, R15_REG): New constants.
2572 * config/i386/rdos.h: New file.
2573 * config/i386/rdos64.h: New file.
2574
2575 2013-01-28 Bernd Schmidt <bernds@codesourcery.com>
2576
2577 PR other/54814
2578 * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of
2579 TEST_HARD_REG_BIT.
2580
2581 2013-01-28 Jakub Jelinek <jakub@redhat.com>
2582
2583 PR rtl-optimization/56117
2584 * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib
2585 call cselib_lookup_from_insn on the MEM before calling
2586 add_insn_mem_dependence.
2587
2588 2013-01-28 Richard Biener <rguenther@suse.de>
2589
2590 * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK
2591 to a stmt that didn't have one.
2592 (copy_phis_for_bb): Likewise for PHI arguments.
2593 (copy_debug_stmt): Likewise for debug stmts.
2594
2595 2013-01-28 Richard Biener <rguenther@suse.de>
2596
2597 PR tree-optimization/56034
2598 * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION.
2599 (partition_builtin_p): Adjust.
2600 (generate_code_for_partition): Handle PKIND_REDUCTION. Assert
2601 it is the last partition.
2602 (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking
2603 up the vertex for the definition.
2604 (classify_partition): Classify whether a partition is a
2605 PKIND_REDUCTION, thus has uses outside of the loop.
2606 (ldist_gen): Inherit PKIND_REDUCTION when merging partitions.
2607 Merge all PKIND_REDUCTION partitions into the last partition.
2608 (tree_loop_distribution): Seed partitions from reductions as well.
2609
2610 2013-01-28 Jakub Jelinek <jakub@redhat.com>
2611
2612 PR tree-optimization/56125
2613 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize
2614 pow(x,c) into sqrt(x) * powi(x, n/2) or
2615 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when
2616 optimizing for size.
2617 Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or
2618 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an
2619 integer.
2620
2621 PR tree-optimization/56094
2622 * gimplify.c (force_gimple_operand_1): Temporarily set input_location
2623 to UNKNOWN_LOCATION while gimplifying expr.
2624
2625 2013-01-27 Uros Bizjak <ubizjak@gmail.com>
2626
2627 PR target/56114
2628 * config/i386/i386.md (*movabs<mode>_1): Add square brackets around
2629 operand 0 in movabs insn template for -masm=intel asm alternative.
2630 (*movabs<mode>_2): Ditto for operand 1.
2631
2632 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
2633
2634 PR target/54663
2635 * config.gcc (microblaze*-linux*): Add tmake_file to allow building
2636 of microblaze-c.o
2637
2638 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
2639
2640 * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update
2641 tm_file.
2642
2643 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
2644
2645 * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS):
2646 Undef to avoid warning.
2647
2648 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at>
2649
2650 * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
2651 * configure: Regenerate.
2652
2653 2013-01-25 Jakub Jelinek <jakub@redhat.com>
2654
2655 PR tree-optimization/56098
2656 * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr
2657 for stmts with volatile ops.
2658 (cond_store_replacement): Don't optimize if assign has volatile ops.
2659 (cond_if_else_store_replacement_1): Don't optimize if either
2660 then_assign or else_assign have volatile ops.
2661 (hoist_adjacent_loads): Don't optimize if either def1 or def2 have
2662 volatile ops.
2663
2664 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
2665
2666 * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__.
2667
2668 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
2669
2670 * doc/extend.texi (Example of asm with clobbered asm reg): Fix
2671 missing ':' in asm example.
2672
2673 2013-01-25 Tejas Belagod <tejas.belagod@arm.com>
2674
2675 * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane
2676 entries into lane and laneq entries.
2677 * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>):
2678 Remove AdvSIMD scalar modes.
2679 (aarch64_sq<r>dmulh_laneq<mode>): New.
2680 (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD
2681 modes.
2682 * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics'
2683 builtin implementations to relfect changes in RTL in aarch64-simd.md.
2684 * config/aarch64/iterators.md (VCOND): New.
2685 (VCONQ): New.
2686
2687 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
2688
2689 PR target/54222
2690 * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument.
2691 Add NULL LIBNAME argument to existing definitions.
2692 (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New.
2693 * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument.
2694 * config/avr/avr.c (DEF_BUILTIN): Same.
2695 (avr_init_builtins): Pass down LIBNAME to add_builtin_function.
2696 (avr_expand_builtin): Expand to a vanilla call if a libgcc
2697 implementation is available (DECL_ASSEMBLER_NAME is set).
2698 (avr_fold_absfx): New static function.
2699 (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR,
2700 AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR,
2701 AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK,
2702 AVR_BUILTIN_ABSLLK.
2703 * config/avr/stdfix.h (abshr, absr, abslr, absllr)
2704 (abshk, absk, abslk, absllk): Provide as static inline functions.
2705
2706 2013-01-25 Marek Polacek <polacek@redhat.com>
2707
2708 PR tree-optimization/56035
2709 * cfgloopmanip.c (fix_loop_structure): Remove redundant condition.
2710
2711 2012-01-24 Uros Bizjak <ubizjak@gmail.com>
2712
2713 * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative.
2714 (*movtf_internal_rex64): Add (!o,C) alternative
2715 (*movxf_internal_rex64): Ditto.
2716 (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives.
2717
2718 2013-01-24 Shenghou Ma <minux.ma@gmail.com>
2719
2720 * doc/invoke.texi: fix typo.
2721 * doc/objc.texi: fix typo.
2722
2723 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com>
2724
2725 * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
2726 for the first two alternatives.
2727
2728 2013-01-24 Diego Novillo <dnovillo@google.com>
2729
2730 * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o.
2731 (ggc-zone.o): Remove.
2732 * configure.ac: Remove option --with-gc.
2733 * configure: Re-generate.
2734 * doc/install.texi: Remove documentation for --with-gc.
2735 * gengtype.c (write_enum_defn): Remove. Update all users.
2736 (write_Types_process_field): Remove generation of gt_e_* argument.
2737 (output_type_enum): Remove. Update all users.
2738 (write_enum_defn): Remove. Update all users.
2739 (enum alloc_zone): Remove. Update all users.
2740 (write_splay_tree_allocator_def): Remove generation of gt_e_* argument.
2741 * ggc-common.c (ggc_splay_alloc): Remove first argument.
2742 Update all callers.
2743 (struct ptr_data): Remove field TYPE. Update all users.
2744 (gt_pch_note_object): Remove argument TYPE. Update all users.
2745 * ggc-internal.h (ggc_pch_alloc_object): Remove last argument.
2746 Update all users.
2747 * ggc-none.c (ggc_alloc_typed_stat): Remove.
2748 (struct alloc_zone): Remove.
2749 (ggc_internal_alloc_zone_stat): Remove.
2750 (ggc_internal_cleared_alloc_zone_stat): Remove.
2751 * ggc-page.c (ggc_alloc_typed_stat): Remove.
2752 (ggc_pch_count_object): Remove last argument. Update all users.
2753 (ggc_pch_alloc_object): Remove last argument. Update all users.
2754 (struct alloc_zone): Remove.
2755 * ggc-zone.c: Remove.
2756 * ggc.h (gt_pch_note_object): Remove last argument. Update all users.
2757 (struct alloc_zone): Remove.
2758 (ggc_alloc_typed_stat): Remove.
2759 (ggc_alloc_typed): Remove.
2760 (ggc_splay_alloc): Remove first argument.
2761 (rtl_zone): Remove. Update all users.
2762 (tree_zone): Remove. Update all users.
2763 (tree_id_zone): Remove. Update all users.
2764 (ggc_internal_zone_alloc_stat): Remove. Update all users.
2765 (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users.
2766 (ggc_internal_zone_vec_alloc_stat): Remove. Update all users.
2767 * tree-ssanames.c: Remove references to zone allocator in comments.
2768
2769 2013-01-24 Georg-Johann Lay <avr@gjlay.de>
2770
2771 * config/avr/avr.c (avr_out_fract): Make register numbers that
2772 might be outside of source operand signed.
2773
2774 2013-01-24 Uros Bizjak <ubizjak@gmail.com>
2775
2776 * config/i386/constraints.md (Yf): New constraint.
2777 * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead
2778 of f constraint to conditionaly disable x87 register preferences.
2779 (*movdf_internal): Ditto.
2780 (*movsf_internal): Ditto.
2781
2782 2013-01-24 Steven Bosscher <steven@gcc.gnu.org>
2783
2784 PR inline-asm/55934
2785 * lra-assigns.c (assign_by_spills): Throw away the pattern of asms
2786 that have operands with impossible constraints.
2787 Add a FIXME for a speed-up opportunity.
2788 * lra-constraints.c (process_alt_operands): Verify that a class
2789 selected from constraints on asms is valid for the operand mode.
2790 (curr_insn_transform): Remove incorrect comment.
2791
2792 2013-01-23 David Edelsohn <dje.gcc@gmail.com>
2793
2794 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that
2795 TOC operand is a valid symbol ref in the constant pool.
2796
2797 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com>
2798
2799 * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS
2800
2801 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
2802
2803 PR target/54222
2804 * config/avr/stdfix.h: New file.
2805 * t-avr (stdfix-gcc.h): New rule to build it.
2806 (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h.
2807
2808 2013-01-23 Kostya Serebryany <kcc@google.com>
2809
2810 * config/darwin.h: remove dependency on
2811 CoreFoundation (asan on Mac OS).
2812
2813 2013-01-23 Jakub Jelinek <jakub@redhat.com>
2814
2815 PR target/49069
2816 * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
2817 instead of cmpdi_operand for first comparison operand.
2818 Don't assert that comparison operands aren't both constants.
2819
2820 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
2821
2822 * doc/install.texi (Downloading the Source): Update references to
2823 downloading separate components.
2824
2825 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
2826
2827 * doc/extend.texi (__int128): Improve grammar.
2828
2829 2013-01-22 Uros Bizjak <ubizjak@gmail.com>
2830
2831 PR target/56028
2832 * config/i386/i386.md (*movti_internal_rex64): Change (o,riF)
2833 alternative to (o,r).
2834 (*movdi_internal_rex64): Remove (!o,n) alternative.
2835 (DImode immediate->memory splitter): Remove.
2836 (DImode immediate->memory peephole2): Remove.
2837 (movtf): Enable for TARGET_64BIT || TARGET_SSE.
2838 (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r)
2839 alternative to (!o,*r).
2840 (*movtf_internal_sse): New pattern.
2841 (*movxf_internal_rex64): New pattern.
2842 (*movxf_internal): Disable for TARGET_64BIT.
2843 (*movdf_internal_rex64): Remove (!o,F) alternative.
2844
2845 2013-01-22 Jakub Jelinek <jakub@redhat.com>
2846
2847 PR middle-end/56074
2848 * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc)
2849 isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION.
2850 * tree-vect-loop-manip.c (find_loop_location): Also ignore
2851 stmt locations where LOCATION_LOCUS of the stmt location is
2852 UNKNOWN_LOCATION or BUILTINS_LOCATION.
2853
2854 PR target/55686
2855 * config/i386/i386.md (UNSPEC_STOS): New.
2856 (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1,
2857 *strsetqi_1): Add UNSPEC_STOS.
2858
2859 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com>
2860
2861 PR c++/56067
2862 * doc/invoke.texi: Remove left over -Wsynth example.
2863
2864 2013-01-21 Jakub Jelinek <jakub@redhat.com>
2865
2866 PR tree-optimization/56051
2867 * fold-const.c (fold_binary_loc): Don't fold
2868 X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
2869 a narrowing conversion, or widening conversion from signed
2870 to unsigned.
2871
2872 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
2873
2874 PR rtl-optimization/56023
2875 * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
2876 dependent on debug instruction.
2877
2878 2013-01-21 Martin Jambor <mjambor@suse.cz>
2879
2880 PR middle-end/56022
2881 * function.c (allocate_struct_function): Call
2882 invoke_set_current_function_hook earlier.
2883
2884 2013-01-21 Jakub Jelinek <jakub@redhat.com>
2885
2886 * reload1.c (init_reload): Only initialize reload_obstack
2887 during the first call.
2888
2889 2013-01-21 Marek Polacek <polacek@redhat.com>
2890
2891 * cfgloop.c (verify_loop_structure): Fix up grammar.
2892
2893 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com>
2894
2895 * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift,
2896 pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift.
2897
2898 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2899
2900 PR target/56058
2901 * config/arm/marvell-pj4.md: Update copyright year.
2902 Fix up use of alu to alu_reg and simple_alu_imm.
2903
2904 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
2905
2906 * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
2907
2908 2013-01-20 Vladimir Makarov <vmakarov@redhat.com>
2909
2910 PR target/55433
2911 * lra-constraints.c (curr_insn_transform): Don't reuse original
2912 insn for secondary memory move when memory mode should be different.
2913
2914 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2915
2916 * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi,
2917 atomic_storedi_1): New patterns.
2918
2919 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2920
2921 btver2 pipeline descriptions.
2922 * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
2923 descriptions.
2924 * config/i386/i386.md (btver2_decode): New type attributes.
2925 * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
2926 type attributes.
2927 * config/i386/btver2.md: New file describing btver2 pipelines.
2928
2929 2013-01-19 Andrew Pinski <apinski@cavium.com>
2930
2931 PR tree-optimization/52631
2932 * tree-ssa-sccvn (visit_use): Before looking up the original
2933 statement, try looking up the simplified expression.
2934
2935 2013-01-19 Anthony Green <green@moxielogic.com>
2936
2937 * config/moxie/moxie.c (moxie_expand_prologue): Set
2938 current_function_static_stack_size.
2939
2940 2013-01-18 Jakub Jelinek <jakub@redhat.com>
2941
2942 PR tree-optimization/56029
2943 * tree-phinodes.c (reserve_phi_args_for_new_edge): Set
2944 gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
2945
2946 2013-01-18 Sharad Singhai <singhai@google.com>
2947
2948 PR tree-optimization/55995
2949 * dumpfile.c (dump_loc): Print location only if available.
2950 * tree-vectorizer.c (increase_alignment): Intialize vect_location.
2951
2952 2013-01-18 Vladimir Makarov <vmakarov@redhat.com>
2953
2954 PR target/55433
2955 * lra-constraints.c (curr_insn_transform): Reuse original insn for
2956 secondary memory move.
2957 (inherit_reload_reg): Use rclass instead of cl for
2958 check_secondary_memory_needed_p.
2959
2960 2013-01-18 Jakub Jelinek <jakub@redhat.com>
2961
2962 PR middle-end/56015
2963 * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
2964 the case where writing real complex part of target modifies op1.
2965
2966 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com>
2967
2968 * config/aarch64/aarch64-simd.md
2969 (aarch64_vcond_internal<mode>): Handle unordered cases.
2970 * config/aarch64/iterators.md (v_cmp_result): New.
2971
2972 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com>
2973 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2974
2975 * config/arm/marvell-pj4.md: New file.
2976 * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
2977 * config/arm/arm.md (generic_sched): Add marvell_pj4.
2978 (generic_vfp): Likewise.
2979 * config/arm/arm-cores.def: Add marvell-pj4.
2980 * config/arm/arm-tune.md: Regenerate.
2981 * config/arm/arm-tables.opt: Regenerate.
2982 * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
2983 * doc/invoke.texi: Document marvell-pj4.
2984
2985 2013-01-18 Tejas Belagod <tejas.belagod@arm.com>
2986
2987 * config/aarch64/arm_neon.h: Map scalar types to standard types.
2988
2989 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
2990
2991 PR debug/54114
2992 PR debug/54402
2993 PR debug/49888
2994 * var-tracking.c (negative_power_of_two_p): New.
2995 (global_get_addr_cache, local_get_addr_cache): New.
2996 (get_addr_from_global_cache, get_addr_from_local_cache): New.
2997 (vt_canonicalize_addr): Rewrite using the above. Adjust the
2998 heading comment.
2999 (vt_stack_offset_p): Remove.
3000 (vt_canon_true_dep): Always canonicalize loc's address.
3001 (clobber_overlapping_mems): Make sure we have a MEM.
3002 (local_get_addr_clear_given_value): New.
3003 (val_reset): Clear local cached entries.
3004 (compute_bb_dataflow): Create and release the local cache.
3005 Disable duplicate MEMs clobbering.
3006 (emit_notes_in_bb): Clobber MEMs likewise.
3007 (vt_emit_notes): Create and release the local cache.
3008 (vt_initialize, vt_finalize): Create and release the global
3009 cache, respectively.
3010 * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
3011
3012 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
3013
3014 PR libmudflap/53359
3015 * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
3016 not found in the symtab.
3017
3018 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
3019
3020 PR debug/56006
3021 PR rtl-optimization/55547
3022 PR rtl-optimization/53827
3023 PR debug/53671
3024 PR debug/49888
3025 * alias.c (offset_overlap_p): New, factored out of...
3026 (memrefs_conflict_p): ... this. Use absolute sizes. Retain
3027 the conservative special case for symbolic constants. Don't
3028 adjust zero sizes on alignment.
3029
3030 2013-01-18 Bernd Schmidt <bernds@codesourcery.com>
3031
3032 PR rtl-optimization/52573
3033 * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
3034 REG_UNUSED for the same register.
3035
3036 2013-01-17 Richard Biener <rguenther@suse.de>
3037 Marek Polacek <polacek@redhat.com>
3038
3039 PR rtl-optimization/55833
3040 * loop-unswitch.c (unswitch_loops): Move loop verification...
3041 (unswitch_single_loop): ...here. Call mark_irreducible_loops.
3042 * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
3043 Set it to true when we're removing a loop from hierarchy tree in
3044 an irreducible region.
3045 (fix_bb_placements): Adjust caller.
3046 (fix_loop_placements): Likewise.
3047
3048 2013-01-17 Georg-Johann Lay <avr@gjlay.de>
3049
3050 * config/avr/builtins.def (DEF_BUILTIN): Factor out
3051 "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
3052 Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
3053 Remove ID. Adjust comments.
3054 * config/avr/avr-c.c (avr_builtin_name): Remove.
3055 (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
3056 * config/avr/avr.c (avr_tolower): New static function.
3057 (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'.
3058 Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
3059 (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
3060 default expansion.
3061
3062 2013-01-17 Jan Hubicka <jh@suse.cz>
3063
3064 PR tree-optimization/55273
3065 * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
3066
3067 2013-01-17 Uros Bizjak <ubizjak@gmail.com>
3068
3069 PR target/55981
3070 * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
3071 store through atomic_store<mode>_1.
3072 (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
3073
3074 2013-01-17 Martin Jambor <mjambor@suse.cz>
3075
3076 PR tree-optimizations/55264
3077 * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
3078 for virtual methods.
3079 * ipa.c (symtab_remove_unreachable_nodes): Never return true for
3080 virtual methods before inlining is over.
3081 * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
3082 virtual functions.
3083 * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
3084 non-virtual.
3085
3086 2013-01-16 Vladimir Makarov <vmakarov@redhat.com>
3087
3088 PR rtl-optimization/56005
3089 * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
3090 pending reads for prefetch.
3091
3092 2013-01-16 Ian Bolton <ian.bolton@arm.com>
3093
3094 * config/aarch64/aarch64.md
3095 (*cstoresi_neg_uxtw): New pattern.
3096 (*cmovsi_insn_uxtw): New pattern.
3097 (*<optab>si3_uxtw): New pattern.
3098 (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
3099 (*<optab>si3_insn_uxtw): New pattern.
3100 (*bswapsi2_uxtw): New pattern.
3101
3102 2013-01-16 Richard Biener <rguenther@suse.de>
3103
3104 * tree-inline.c (tree_function_versioning): Remove set but
3105 never used variable.
3106
3107 2013-01-16 Richard Biener <rguenther@suse.de>
3108
3109 PR tree-optimization/55964
3110 * tree-flow.h (rename_variables_in_loop): Remove.
3111 (rename_variables_in_bb): Likewise.
3112 * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
3113 (copy_loop_before): Adjust and delete update-ssa status.
3114 * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
3115 (rename_variables_in_bb): Likewise. Properly walk over predecessors.
3116 (rename_variables_in_loop): Remove.
3117 (slpeel_update_phis_for_duplicate_loop): Likewise.
3118 (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
3119 use available cfg machinery instead of duplicating it.
3120 Update PHI nodes and perform poor-mans SSA update here.
3121 (slpeel_tree_peel_loop_to_edge): Adjust.
3122
3123 2013-01-16 Richard Biener <rguenther@suse.de>
3124
3125 PR tree-optimization/54767
3126 PR tree-optimization/53465
3127 * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
3128 (vrp_visit_phi_node): For PHI arguments coming via backedges
3129 drop all symbolical range information.
3130 (execute_vrp): Compute backedges.
3131
3132 2013-01-16 Richard Biener <rguenther@suse.de>
3133
3134 * doc/install.texi: Update CLooG and ISL requirements to
3135 0.18.0 and 0.11.1.
3136
3137 2013-01-16 Christian Bruel <christian.bruel@st.com>
3138
3139 PR target/55301
3140 * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
3141 (broken_move): Handle UNSPECV_SP_SWITCH_B.
3142 * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
3143
3144 2013-01-16 DJ Delorie <dj@redhat.com>
3145
3146 * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
3147 (UNSPECV_SP_SWITCH_E): New.
3148 (sp_switch_1): Change to an unspec.
3149 (sp_switch_2): Change to an unspec. Don't use post-inc when we
3150 replace $r15.
3151
3152 2013-01-16 Uros Bizjak <ubizjak@gmail.com>
3153
3154 * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
3155 with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
3156 * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
3157 (expand_mem_thread_fence): Ditto.
3158 (expand_mem_signal_fence): Ditto.
3159 (expand_atomic_load): Ditto.
3160 (expand_atomic_store): Ditto.
3161
3162 2013-01-16 Alexandre Oliva <aoliva@redhat.com>
3163
3164 PR rtl-optimization/55547
3165 PR rtl-optimization/53827
3166 PR debug/53671
3167 PR debug/49888
3168 * alias.c (memrefs_conflict_p): Set sizes to negative after
3169 AND adjustments.
3170
3171 2013-01-15 Jakub Jelinek <jakub@redhat.com>
3172
3173 PR target/55940
3174 * function.c (thread_prologue_and_epilogue_insns): Always
3175 add crtl->drap_reg to set_up_by_prologue.set, even if
3176 stack_realign_drap is false.
3177
3178 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
3179
3180 * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
3181 and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
3182 *call): Fix indention.
3183
3184 2013-01-15 Tom de Vries <tom@codesourcery.com>
3185
3186 PR target/55876
3187 * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
3188 Update comment.
3189
3190 2013-01-15 Vladimir Makarov <vmakarov@redhat.com>
3191
3192 PR rtl-optimization/55153
3193 * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
3194
3195 2013-01-15 Martin Jambor <mjambor@suse.cz>
3196
3197 PR tree-optimization/55920
3198 * tree-sra.c (analyze_access_subtree): Do not mark non-removable
3199 accesses as grp_to_be_debug_replaced.
3200
3201 2013-01-15 Jakub Jelinek <jakub@redhat.com>
3202
3203 PR tree-optimization/55920
3204 * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
3205 there is non-useless type conversion needed from debug rhs to lhs,
3206 use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
3207
3208 2013-01-15 Joseph Myers <joseph@codesourcery.com>
3209 Mikael Pettersson <mikpe@it.uu.se>
3210
3211 PR target/43961
3212 * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
3213 Thumb.
3214 (ASM_OUTPUT_CASE_LABEL): Remove.
3215 (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
3216 * final.c (shorten_branches): Update alignment of labels before
3217 jump tables if CASE_VECTOR_SHORTEN_MODE.
3218
3219 2013-01-15 Richard Biener <rguenther@suse.de>
3220
3221 PR bootstrap/55961
3222 * system.h: Do not include gmp.h for building host tools.
3223
3224 2013-01-15 Richard Biener <rguenther@suse.de>
3225
3226 PR middle-end/55882
3227 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
3228 account for bitpos when computing alignment.
3229
3230 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com>
3231
3232 * config/i386/i386-c.c (ix86_target_macros_internal): New case.
3233 (ix86_target_macros_internal): Likewise.
3234
3235 * config/i386/i386.c (m_CORE2I7): Removed.
3236 (m_CORE_HASWELL): New macro.
3237 (m_CORE_ALL): Likewise.
3238 (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
3239 (initial_ix86_arch_features): Likewise.
3240 (processor_target_table): Initializations for Core avx2.
3241 (cpu_names): New names "core-avx2".
3242 (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
3243 PROCESSOR_CORE_HASWELL.
3244 (ix86_issue_rate): New case.
3245 (ia32_multipass_dfa_lookahead): Likewise.
3246 (ix86_sched_init_global): Likewise.
3247
3248 * config/i386/i386.h (TARGET_HASWELL): New macro.
3249 (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
3250 (processor_type): New PROCESSOR_HASWELL.
3251
3252 2013-01-15 Jakub Jelinek <jakub@redhat.com>
3253
3254 PR tree-optimization/55955
3255 * tree-vect-loop.c (vectorizable_reduction): Give up early on
3256 *SHIFT_EXPR and *ROTATE_EXPR codes.
3257
3258 PR tree-optimization/48766
3259 * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
3260 -ftrapv disable -fwrapv.
3261
3262 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
3263
3264 PR target/55974
3265 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
3266 etc. to 1 and not to __flash.
3267 Use LL suffix for __INT24_MAX__ with -mint8.
3268 Use ULL suffix for __UINT24_MAX__ with -mint8.
3269
3270 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
3271
3272 * config/avr/avr-arch.h
3273 (struct base_arch_s): Use typedef avr_arch_t instead.
3274 (struct arch_info_s): Use typedef avr_arch_info_t instead.
3275 (struct mcu_type_s): Use typedef avr_mcu_t instead.
3276 * config/avr/avr.c: Same.
3277 * config/avr/avr-devices.c: Same.
3278 * config/avr/driver-avr.c: Same.
3279 * config/avr/gen-avr-mmcu-texi.c: Same.
3280 * config/avr/avr-mcus.def: Adjust comment.
3281
3282 2013-01-14 Tejas Belagod <tejas.belagod@arm.com>
3283
3284 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
3285 * config/aarch64/iterators.md (VALLDI): New.
3286
3287 2013-01-14 Uros Bizjak <ubizjak@gmail.com>
3288 Andi Kleen <ak@linux.intel.com>
3289
3290 PR target/55948
3291 * config/i386/sync.md (atomic_store<mode>_1): New pattern.
3292 (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
3293 memmodel flag.
3294
3295 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
3296
3297 * config/avr/avr-stdint.h: Remove trailing blanks.
3298 * config/avr/avr-log.h: Same.
3299 * config/avr/avr-arch.h: Same.
3300 * config/avr/avr-devices.c: Same.
3301 * config/avr/avr-dimode.md: Same.
3302 * config/avr/predicates.md: Same.
3303 * config/avr/avr-c.c: Same. And fix typo.
3304
3305 * config/avr/avr-protos.h: Same. And:
3306 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
3307 (init_cumulative_args): Rename to avr_init_cumulative_args.
3308 (expand_prologue): Rename to avr_expand_prologue.
3309 (expand_epilogue): Rename to avr_expand_epilogue.
3310 (adjust_insn_length): Rename to avr_adjust_insn_length.
3311 (notice_update_cc): Rename to avr_notice_update_cc.
3312 (final_prescan_insn): Rename to avr_final_prescan_insn.
3313 * config/avr/avr.c: Same.
3314 * config/avr/avr.h: Same.
3315 * config/avr/avr.md: Remove trailing blanks.
3316 (prologue): Use avr_expand_prologue.
3317 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
3318
3319 2013-01-14 Richard Biener <rguenther@suse.de>
3320
3321 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
3322 verify_location, collect_subblocks): New functions.
3323 (verify_gimple_in_cfg): Verify that locations only reference
3324 BLOCKs in the functions BLOCK tree.
3325
3326 2013-01-14 Richard Biener <rguenther@suse.de>
3327
3328 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
3329 PHI argument.
3330 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
3331 unshare reference.
3332 (insert_out_of_ssa_copy_on_edge): Likewise.
3333 (rewrite_close_phi_out_of_ssa): Likewise.
3334 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
3335 debug expressions.
3336 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
3337 propagated constants.
3338 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
3339 can not be shared.
3340
3341 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
3342
3343 * config/avr/avr-modes.def: Add GPL copyright notice.
3344
3345 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
3346
3347 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
3348 MEMMODEL_MASK to determine memory model.
3349 (atomic_store<mode>): Ditto from operands[2].
3350 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
3351
3352 2013-01-13 Jakub Jelinek <jakub@redhat.com>
3353
3354 PR fortran/55935
3355 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
3356 (fold_gimple_assign): Don't call unshare_expr here.
3357 (fold_ctor_reference): Call unshare_expr.
3358
3359 2013-01-13 Terry Guo <terry.guo@arm.com>
3360
3361 * Makefile.in (s-mlib): New argument MULTILIB_REUSE.
3362 * doc/fragments.texi: Document MULTILIB_REUSE.
3363 * gcc.c (multilib_reuse): New internal spec.
3364 (set_multilib_dir): Also search multilib from multilib_reuse.
3365 * genmultilib (tmpmultilib3): Refactor code.
3366 (tmpmultilib4): Ditto.
3367 (multilib_reuse): New multilib argument.
3368
3369 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
3370
3371 * Makefile.in: Update copyright.
3372
3373 2013-01-12 Tom de Vries <tom@codesourcery.com>
3374
3375 PR middle-end/55890
3376 * calls.c (expand_call): Check if arg_nr is valid.
3377
3378 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3379
3380 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
3381 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
3382 documentation. Add missing '__' in front of
3383 __builtin_ia32_packssdw256.
3384
3385 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3386
3387 PR target/55719
3388 * config/s390/s390.c (s390_preferred_reload_class): Do not return
3389 NO_REGS for larl operands.
3390 (s390_reload_larl_operand): Use s390_load_address instead of
3391 emit_move_insn.
3392
3393 2013-01-11 Richard Biener <rguenther@suse.de>
3394
3395 * tree-cfg.c (verify_node_sharing_1): Split out from ...
3396 (verify_node_sharing): ... here.
3397 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
3398
3399 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
3400
3401 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
3402 Substitute TREECHECKING.
3403 * configure: Regenerate.
3404 * Makefile.in (TREECHECKING): New.
3405
3406 2013-01-11 Richard Guenther <rguenther@suse.de>
3407
3408 PR tree-optimization/44061
3409 * tree-vrp.c (extract_range_basic): Compute zero as
3410 value-range for __builtin_constant_p of function parameters.
3411
3412 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
3413
3414 Update copyright years.
3415
3416 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
3417
3418 PR rtl-optimization/55672
3419 * lra-eliminations.c (mark_not_eliminable): Permit addition with
3420 const to be eliminable.
3421
3422 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
3423
3424 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
3425 * configure: Regenerate.
3426
3427 2013-01-10 Richard Biener <rguenther@suse.de>
3428
3429 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
3430
3431 2013-01-10 Richard Biener <rguenther@suse.de>
3432
3433 PR bootstrap/55792
3434 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
3435 locations for virtual PHI arguments.
3436 (rewrite_update_phi_arguments): Likewise.
3437
3438 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
3439
3440 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
3441 on to assembler.
3442
3443 2013-01-10 Jakub Jelinek <jakub@redhat.com>
3444
3445 PR tree-optimization/55921
3446 * tree-complex.c (expand_complex_asm): New function.
3447 (expand_complex_operations_1): Call it for GIMPLE_ASM.
3448
3449 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3450
3451 PR target/55718
3452 * config/s390/s390.c (s390_symref_operand_p)
3453 (s390_loadrelative_operand_p): Merge the two functions.
3454 (s390_check_qrst_address, print_operand_address): Add parameters
3455 to s390_loadrelative_operand_p invokation.
3456 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
3457 (s390_reload_larl_operand, s390_secondary_reload): Use
3458 s390_loadrelative_operand_p instead of s390_symref_operand_p.
3459 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
3460
3461 2013-01-09 Mike Stump <mikestump@comcast.net>
3462
3463 * dse.c (record_store): Remove unnecessary assert.
3464
3465 2013-01-09 Jan Hubicka <jh@suse.cz>
3466
3467 PR tree-optimization/55569
3468 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
3469 * cfgloop.h (scale_loop_profile): Likewise.
3470
3471 2013-01-09 Jan Hubicka <jh@suse.cz>
3472
3473 PR lto/45375
3474 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
3475 functions.
3476 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
3477
3478 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
3479
3480 PR middle-end/55114
3481 * expr.h (maybe_emit_group_store): Declare.
3482 * expr.c (maybe_emit_group_store): New function.
3483 * builtins.c (expand_builtin_int_roundingfn): Call it.
3484 (expand_builtin_int_roundingfn_2): Likewise.
3485
3486 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
3487
3488 PR rtl-optimization/55829
3489 * lra-constraints.c (match_reload): Add code for absent output.
3490 (curr_insn_transform): Add code for reloads of matched inputs
3491 without output.
3492
3493 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
3494
3495 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
3496 attribute of movddup insn to DF.
3497 (*vec_interleave_lowv2df): Ditto.
3498 (vec_dupv2df): Ditto.
3499
3500 2013-01-09 Jan Hubicka <jh@suse.cz>
3501
3502 PR tree-optimiation/55875
3503 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
3504 EVERY_ITERATION parameter.
3505 (number_of_iterations_exit): Check if exit is executed every iteration.
3506 (idx_infer_loop_bounds): Similarly here.
3507 (n_of_executions_at_most): Simplify
3508 to only test for cases where statement is dominated by the
3509 particular bound; handle correctly the "postdominance" test.
3510 (scev_probably_wraps_p): Use max loop iterations info
3511 as a global bound first.
3512
3513 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
3514 Nick Clifton <nickc@redhat.com>
3515
3516 * config/v850/v850.md (cbranchsf4): New pattern.
3517 (cstoresf4): New pattern.
3518 (cbranchdf4): New pattern.
3519 (cstoredf4): New pattern.
3520 (movsicc): Disallow floating point comparisons.
3521 (cmpsf_le_insn): Fix order of operators.
3522 (cmpsf_lt_insn): Likewise.
3523 (cmpsf_eq_insn): Likewise.
3524 (cmpdf_le_insn): Likewise.
3525 (cmpdf_lt_insn): Likewise.
3526 (cmpdf_eq_insn): Likewise.
3527 (cmpsf_ge_insn): Use LE comparison.
3528 (cmpdf_ge_insn): Likewise.
3529 (cmpsf_gt_insn): Use LT comparison.
3530 (cmpdf_gt_insn): Likewise.
3531 (cmpsf_ne_insn): Delete pattern.
3532 (cmpdf_ne_insn): Delete pattern.
3533 * config/v850/v850.c (v850_gen_float_compare): Use
3534 gen_cmpdf_eq_insn for NE comparison.
3535 (v850_float_z_comparison_operator)
3536 (v850_float_nz_comparison_operator): Move from here ...
3537 * config/v850/predicates.md: ... to here. Move GT and GE
3538 comparisons into v850_float_z_comparison_operator.
3539 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
3540 Delete prototype.
3541 (v850_float_nz_comparison_operator): Likewise.
3542
3543 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3544
3545 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
3546 with calls to gen_insvsi/gen_insvdi.
3547
3548 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3549
3550 * config/i386/i386.c (initial_ix86_tune_features): Set up
3551 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
3552
3553 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
3554 Jakub Jelinek <jakub@redhat.com>
3555
3556 PR tree-optimization/48189
3557 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
3558 If nitercst is 0, don't predict the exit edge.
3559
3560 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
3561
3562 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
3563 in asm_fprintf with reg_names.
3564 (aarch64_print_operand_address): Likewise.
3565 (aarch64_return_addr): Likewise.
3566 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
3567
3568 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3569
3570 * config/pa/pa.h (VAL_U6_BITS_P): Define.
3571 (INT_U6_BITS): Likewise.
3572 * config/pa/predicates.md (uint6_operand): New predicate.
3573 (shift5_operand, shift6_operand): Likewise.
3574 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
3575 arith32_operand.
3576 (lshrdi3): Use shift6_operand.
3577 (shrpsi4, shrpdi4): New insn patterns.
3578 (extzv): Delete expander.
3579 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
3580 predicates in unamed zero extract patterns. Tighten common constraint.
3581 (extv): Delete expander.
3582 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
3583 predicates in unamed sign extract patterns. Tighten common constraint.
3584 (insv): Delete expander.
3585 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
3586 predicates in unamed insert patterns. Tighten common constraint.
3587 Change uint32_operand predicate to uint6_operand predicate in unamed
3588 DImode pattern to insert constant values of type 1...1xxxx.
3589
3590 2013-01-04 Jan Hubicka <jh@suse.cz>
3591
3592 PR tree-optimization/55823
3593 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
3594 issue.
3595
3596 2013-01-08 Jakub Jelinek <jakub@redhat.com>
3597 Uros Bizjak <ubizjak@gmail.com>
3598
3599 PR rtl-optimization/55845
3600 * df-problems.c (can_move_insns_across): Stop scanning at
3601 volatile_insn_p source instruction or give up if
3602 across_from .. across_to range contains any volatile_insn_p
3603 instructions.
3604
3605 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
3606
3607 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
3608 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
3609 Declare.
3610 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
3611 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
3612
3613 2013-01-08 Jakub Jelinek <jakub@redhat.com>
3614
3615 PR fortran/55341
3616 * asan.c (asan_clear_shadow): New function.
3617 (asan_emit_stack_protection): Use it.
3618
3619 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
3620
3621 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
3622 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
3623 with tab instead of space.
3624
3625 2013-01-08 Nick Clifton <nickc@redhat.com>
3626
3627 * config/rl78/rl78.c (rl78_expand_prologue): Always select
3628 register bank 0 at the start of an interrupt handler.
3629 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
3630 MDBH registers.
3631
3632 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
3633
3634 * config/aarch64/aarch64-simd.md
3635 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
3636 (aarch64_simd_bsl): Likewise.
3637 (aarch64_vcond_internal<mode>): Likewise.
3638 (vcond<mode><mode>): Likewise.
3639 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
3640 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
3641
3642 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
3643
3644 * config/aarch64/aarch64-builtins.c
3645 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
3646
3647 2013-01-08 Martin Jambor <mjambor@suse.cz>
3648
3649 PR debug/55579
3650 * tree-sra.c (analyze_access_subtree): Return true also after
3651 potentially creating a debug-only replacement.
3652
3653 2013-01-08 Jakub Jelinek <jakub@redhat.com>
3654
3655 PR middle-end/55890
3656 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
3657
3658 PR tree-optimization/54120
3659 * tree-vrp.c (range_fits_type_p): Don't allow
3660 src_precision < precision from signed vr to unsigned_p
3661 if vr->min or vr->max is negative.
3662 (simplify_float_conversion_using_ranges): Test can_float_p
3663 against CODE_FOR_nothing.
3664
3665 2013-01-08 Jakub Jelinek <jakub@redhat.com>
3666 Richard Biener <rguenther@suse.de>
3667
3668 PR middle-end/55851
3669 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
3670 types instead of just INTEGER_TYPE types.
3671
3672 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
3673
3674 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
3675 TF_SIZE): Define.
3676
3677 2013-01-07 Steve Ellcey <sellcey@mips.com>
3678
3679 PR target/42661
3680 * config/mips/mips.opt: Change mad to mmad to match documentation.
3681
3682 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
3683
3684 PR target/55897
3685 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
3686 .progmemx.data now.
3687
3688 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
3689
3690 PR target/55897
3691 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
3692 (avr_addrspace_t): Add .section_name field.
3693 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
3694 array size.
3695 (avr_addrspace): Same. Initialize .section_name. Remove last
3696 NULL entry. Put __memx into .progmemx.data.
3697 (progmem_section_prefix): Remove.
3698 (avr_asm_init_sections): No need to initialize progmem_section.
3699 (avr_asm_named_section): Use avr_addrspace[].section_name to get
3700 section name prefix.
3701 (avr_asm_select_section): Ditto. And use get_unnamed_section to
3702 retrieve the progmem section.
3703 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
3704 boundary to run over avr_addrspace[].
3705 (avr_register_target_pragmas): Ditto.
3706
3707 2013-01-06 Jakub Jelinek <jakub@redhat.com>
3708
3709 * varasm.c (output_constant_def_contents): For asan_protect_global
3710 protected strings, adjust DECL_ALIGN if needed, before testing for
3711 anchored symbols.
3712 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
3713 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
3714 normal decls.
3715 (output_object_block): For asan protected decls, emit asan padding
3716 after their contents.
3717 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
3718 (asan_finish_file): Test it here instead.
3719
3720 2013-01-07 Nick Clifton <nickc@redhat.com>
3721 Matthias Klose <doko@debian.org>
3722 Doug Kwan <dougkwan@google.com>
3723 H.J. Lu <hongjiu.lu@intel.com>
3724
3725 PR driver/55470
3726 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
3727
3728 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
3729
3730 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
3731
3732 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
3733
3734 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
3735
3736 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
3737
3738 PR target/54461
3739 * doc/install.texi (Cross-Compiler-Specific Options): Document
3740 --with-avrlibc.
3741
3742 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
3743
3744 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
3745 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
3746 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
3747 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
3748 vqmovun_high_s64): Fix source operand number and update copyright.
3749
3750 2013-01-07 Richard Biener <rguenther@suse.de>
3751
3752 PR middle-end/55890
3753 * gimple.h (gimple_call_builtin_p): New overload.
3754 * gimple.c (validate_call): New function.
3755 (gimple_call_builtin_p): Likewise.
3756 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
3757 Use gimple_call_builtin_p.
3758 (find_func_clobbers): Likewise.
3759 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
3760 (strlen_optimize_stmt): Likewise.
3761
3762 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
3763
3764 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
3765 (vld1q_dup_*): Likewise.
3766 (vld1_*): Likewise.
3767 (vld1q_*): Likewise.
3768 (vld1_lane_*): Likewise.
3769 (vld1q_lane_*): Likewise.
3770
3771 2013-01-07 Richard Biener <rguenther@suse.de>
3772
3773 * lto-streamer.h (LTO_minor_version): Bump to 2.
3774
3775 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
3776
3777 * config/aarch64/aarch64-protos.h
3778 (aarch64_const_double_zero_rtx_p): Rename to...
3779 (aarch64_float_const_zero_rtx_p): ...this.
3780 (aarch64_float_const_representable_p): New.
3781 (aarch64_output_simd_mov_immediate): Likewise.
3782 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
3783 move immediate case.
3784 * config/aarch64/aarch64.c
3785 (aarch64_const_double_zero_rtx_p): Rename to...
3786 (aarch64_float_const_zero_rtx_p): ...this.
3787 (aarch64_print_operand): Allow printing of new constants.
3788 (aarch64_valid_floating_const): New.
3789 (aarch64_legitimate_constant_p): Check for valid floating-point
3790 constants.
3791 (aarch64_simd_valid_immediate): Likewise.
3792 (aarch64_vect_float_const_representable_p): New.
3793 (aarch64_float_const_representable_p): Likewise.
3794 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
3795 (aarch64_output_simd_mov_immediate): New.
3796 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
3797 (*movdf_aarch64): Likewise.
3798 * config/aarch64/constraints.md (Ufc): New.
3799 (Y): call aarch64_float_const_zero_rtx.
3800 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
3801
3802 2013-01-07 Richard Biener <rguenther@suse.de>
3803
3804 PR tree-optimization/55888
3805 PR tree-optimization/55862
3806 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
3807 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
3808 not if it is contained therein.
3809
3810 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
3811
3812 * config/avr/t-avr: Typo.
3813
3814 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
3815
3816 PR55243
3817 * config/avr/t-avr: Don't automatically rebuild
3818 $(srcdir)/config/avr/t-multilib
3819 $(srcdir)/config/avr/avr-tables.opt
3820 $(srcdir)/doc/avr-mmcu.texi
3821 (avr-mcus): New phony target to build them on request.
3822 (s-avr-mlib, s-avr-mmcu-texi): Remove.
3823 * avr/avr-mcus.def: Adjust comments.
3824
3825 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
3826
3827 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
3828
3829 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
3830
3831 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
3832
3833 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
3834
3835 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
3836
3837 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
3838
3839 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
3840 to generate profiling.
3841 * config/rs6000/aix64.h (LIB_SPEC): Same.
3842
3843 2013-01-04 Andrew Pinski <apinski@cavium.com>
3844
3845 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
3846 New function.
3847 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
3848
3849 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
3850
3851 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
3852 unconditionally.
3853 (ix86_expand_move): Ditto.
3854 (ix86_zero_extend_to_Pmode): Ditto.
3855 (ix86_expand_call): Ditto.
3856 (ix86_expand_special_args_builtin): Ditto.
3857 (ix86_expand_builtin): Ditto.
3858
3859 2013-01-04 Richard Biener <rguenther@suse.de>
3860
3861 PR tree-optimization/55862
3862 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
3863 translating them through PHI nodes.
3864
3865 2013-01-04 Martin Jambor <mjambor@suse.cz>
3866
3867 PR tree-optimization/55755
3868 * tree-sra.c (sra_modify_assign): Do not check that an access has no
3869 children when trying to avoid producing a VIEW_CONVERT_EXPR.
3870
3871 2013-01-04 Marek Polacek <polacek@redhat.com>
3872
3873 PR middle-end/55859
3874 * opts.c (default_options_optimization): Clarify error message.
3875
3876 2013-01-04 Richard Biener <rguenther@suse.de>
3877
3878 PR middle-end/55863
3879 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
3880 reassociation.
3881
3882 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3883
3884 PR target/53789
3885 * config/pa/pa.md (movsi): Revert previous change.
3886 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
3887 references.
3888
3889 2013-01-03 Richard Henderson <rth@redhat.com>
3890
3891 * config/i386/i386.c (ix86_expand_move): Always assign to op1
3892 after eliminating TLS symbols.
3893
3894 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
3895
3896 PR bootstrap/50167
3897 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
3898 * graphite-poly.c (debug_gmp_value): Likewise.
3899
3900 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
3901
3902 PR target/55712
3903 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
3904 selected code model, define __code_mode_small__, __code_model_medium__,
3905 __code_model_large__, __code_model_32__ or __code_model_kernel__.
3906 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
3907 xchg temporary register with %k. Declare temporary register as
3908 early clobbered.
3909 [__x86_64__]: For medium and large code models, preserve %rbx register.
3910
3911 2013-01-03 Richard Biener <rguenther@suse.de>
3912
3913 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
3914 (dump_subscript): Adjust.
3915 (finalize_ddr_dependent): Do not dump redundant info.
3916 (analyze_siv_subscript): Adjust.
3917 (subscript_dependence_tester): Likewise.
3918 (compute_affine_dependence): Likewise.
3919
3920 2013-01-03 Richard Biener <rguenther@suse.de>
3921
3922 Revert
3923 2013-01-03 Richard Biener <rguenther@suse.de>
3924
3925 PR tree-optimization/55857
3926 * tree-vect-stmts.c (vectorizable_load): Do not setup
3927 re-alignment for invariant loads.
3928
3929 2013-01-02 Richard Biener <rguenther@suse.de>
3930
3931 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
3932 invariant load do not generate a vector load from the scalar location.
3933
3934 2013-01-03 Richard Biener <rguenther@suse.de>
3935
3936 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
3937 for not vectorizing.
3938 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
3939 not build INDIRECT_REFs, call get_name once only.
3940 (vect_create_data_ref_ptr): Likewise. Dump base object kind
3941 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
3942
3943 2013-01-03 Richard Biener <rguenther@suse.de>
3944
3945 PR tree-optimization/55857
3946 * tree-vect-stmts.c (vectorizable_load): Do not setup
3947 re-alignment for invariant loads.
3948
3949 2013-01-03 Richard Biener <rguenther@suse.de>
3950
3951 PR lto/55848
3952 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
3953 prefer a built-in decl.
3954
3955 2013-01-03 Jakub Jelinek <jakub@redhat.com>
3956
3957 * gcc.c (process_command): Update copyright notice dates.
3958 * gcov.c (print_version): Likewise.
3959 * gcov-dump.c (print_version): Likewise.
3960
3961 PR rtl-optimization/55838
3962 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
3963 iv0.step, iv1.step and step.
3964
3965 2013-01-03 Jakub Jelinek <jakub@redhat.com>
3966 Marc Glisse <marc.glisse@inria.fr>
3967
3968 PR tree-optimization/55832
3969 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
3970 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
3971 integer_{one,zero}_node.
3972
3973 2013-01-03 Jakub Jelinek <jakub@redhat.com>
3974
3975 PR debug/54402
3976 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
3977 * var-tracking.c (reverse_op): Don't add reverse ops to
3978 VALUEs that have already
3979 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
3980
3981 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
3982
3983 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
3984
3985 2013-01-02 Teresa Johnson <tejohnson@google.com>
3986
3987 * dumpfile.c (dump_loc): Print filename with location.
3988 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
3989 new location_t parameter to emit complete unroll message with
3990 new dump framework.
3991 (canonicalize_loop_induction_variables): Compute loops location
3992 and pass to try_unroll_loop_completely.
3993 * loop-unroll.c (report_unroll_peel): New function.
3994 (peel_loops_completely): Use new dump format with location
3995 for main dumpfile message, and invoke report_unroll_peel on success.
3996 (decide_unrolling_and_peeling): Ditto.
3997 (decide_peel_once_rolling): Remove old dumpfile message subsumed
3998 by report_unroll_peel.
3999 (decide_peel_completely): Ditto.
4000 (decide_unroll_constant_iterations): Ditto.
4001 (decide_unroll_runtime_iterations): Ditto.
4002 (decide_peel_simple): Ditto.
4003 (decide_unroll_stupid): Ditto.
4004 * cfgloop.c (get_loop_location): New function.
4005 * cfgloop.h (get_loop_location): Declare.
4006
4007 2013-01-02 Sriraman Tallam <tmsriram@google.com>
4008
4009 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
4010 NULL.
4011
4012 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4013
4014 PR middle-end/55198
4015 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
4016 BLKmode objects when EXPAND_MEMORY is specified.
4017
4018 2013-01-02 Sriraman Tallam <tmsriram@google.com>
4019
4020 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
4021 in loop predicate.
4022 (fold_builtin_cpu): Do not share cpu model decls across statements.
4023
4024 2013-01-02 Jason Merrill <jason@redhat.com>
4025
4026 PR c++/55804
4027 * tree.c (build_array_type_1): Revert earlier change.
4028
4029 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
4030
4031 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
4032 "cortex-a57".
4033 * config/aarch64/aarch64-tune.md: Re-generate.
4034
4035 2013-01-02 Richard Biener <rguenther@suse.de>
4036
4037 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
4038 invariant load do not generate a vector load from the scalar location.
4039
4040 2013-01-02 Richard Biener <rguenther@suse.de>
4041
4042 PR bootstrap/55784
4043 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
4044 * configure: Regenerate.
4045
4046 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4047
4048 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
4049 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
4050 (expand_builtin_int_roundingfn_2): Keep the original target around
4051 for the fallback case.
4052
4053 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4054
4055 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
4056 to be clear for sign changes.
4057
4058 2013-01-01 Jan Hubicka <jh@suse.cz>
4059
4060 * ipa-inline-analysis.c: Fix formatting.
4061
4062 2013-01-01 Jakub Jelinek <jakub@redhat.com>
4063
4064 PR tree-optimization/55831
4065 * tree-vect-loop.c (get_initial_def_for_induction): Use
4066 gsi_after_labels instead of gsi_start_bb.
4067 \f
4068 Copyright (C) 2013 Free Software Foundation, Inc.
4069
4070 Copying and distribution of this file, with or without modification,
4071 are permitted in any medium without royalty provided the copyright
4072 notice and this notice are preserved.
This page took 0.275527 seconds and 5 git commands to generate.