mips.md (*and<mode>3_mips16): Use the "W" constraint for the first two alternatives.
[gcc.git] / gcc / ChangeLog
1 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com>
2
3 * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
4 for the first two alternatives.
5
6 2013-01-24 Diego Novillo <dnovillo@google.com>
7
8 * Makefile.in (GGC): Remove. Replace all instances with
9 ggc-page.o.
10 (ggc-zone.o): Remove.
11 * configure.ac: Remove option --with-gc.
12 * configure: Re-generate.
13 * doc/install.texi: Remove documentation for --with-gc.
14 * gengtype.c (write_enum_defn): Remove. Update all users.
15 (write_Types_process_field): Remove generation of gt_e_* argument.
16 (output_type_enum): Remove. Update all users.
17 (write_enum_defn): Remove. Update all users.
18 (enum alloc_zone): Remove. Update all users.
19 (write_splay_tree_allocator_def): Remove generation of gt_e_*
20 argument.
21 * ggc-common.c (ggc_splay_alloc): Remove first argument.
22 Update all callers.
23 (struct ptr_data): Remove field TYPE. Update all users.
24 (gt_pch_note_object): Remove argument TYPE. Update all
25 users.
26 * ggc-internal.h (ggc_pch_alloc_object): Remove last argument.
27 Update all users.
28 * gcc/ggc-none.c (ggc_alloc_typed_stat): Remove.
29 (struct alloc_zone): Remove.
30 (ggc_internal_alloc_zone_stat): Remove.
31 (ggc_internal_cleared_alloc_zone_stat): Remove.
32 * ggc-page.c (ggc_alloc_typed_stat): Remove.
33 (ggc_pch_count_object): Remove last argument. Update all
34 users.
35 (ggc_pch_alloc_object): Remove last argument. Update all
36 users.
37 (struct alloc_zone): Remove.
38 * ggc-zone.c: Remove.
39 * ggc.h (gt_pch_note_object): Remove last argument. Update
40 all users.
41 (struct alloc_zone): Remove.
42 (ggc_alloc_typed_stat): Remove.
43 (ggc_alloc_typed): Remove.
44 (ggc_splay_alloc): Remove first argument.
45 (rtl_zone): Remove. Update all users.
46 (tree_zone): Remove. Update all users.
47 (tree_id_zone): Remove. Update all users.
48 (ggc_internal_zone_alloc_stat): Remove. Update all users.
49 (ggc_internal_zone_cleared_alloc_stat): Remove. Update all
50 users.
51 (ggc_internal_zone_vec_alloc_stat): Remove. Update all users.
52 * tree-ssanames.c: Remove references to zone allocator in
53 comments.
54
55 2013-01-24 Georg-Johann Lay <avr@gjlay.de>
56
57 * config/avr/avr.c (avr_out_fract): Make register numbers that
58 might be outside of source operand signed.
59
60 2013-01-24 Uros Bizjak <ubizjak@gmail.com>
61
62 * config/i386/constraints.md (Yf): New constraint.
63 * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead
64 of f constraint to conditionaly disable x87 register preferences.
65 (*movdf_internal): Ditto.
66 (*movsf_internal): Ditto.
67
68 2013-01-24 Steven Bosscher <steven@gcc.gnu.org>
69
70 PR inline-asm/55934
71 * lra-assigns.c (assign_by_spills): Throw away the pattern of asms
72 that have operands with impossible constraints.
73 Add a FIXME for a speed-up opportunity.
74 * lra-constraints.c (process_alt_operands): Verify that a class
75 selected from constraints on asms is valid for the operand mode.
76 (curr_insn_transform): Remove incorrect comment.
77
78 2013-01-23 David Edelsohn <dje.gcc@gmail.com>
79
80 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that
81 TOC operand is a valid symbol ref in the constant pool.
82
83 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com>
84
85 * gcc/config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS
86
87 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
88
89 PR target/54222
90 * config/avr/stdfix.h: New file.
91 * t-avr (stdfix-gcc.h): New rule to build it.
92 (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h.
93
94 2013-01-23 Kostya Serebryany <kcc@google.com>
95
96 * config/darwin.h: remove dependency on CoreFoundation (asan on Mac OS).
97
98 2013-01-23 Jakub Jelinek <jakub@redhat.com>
99
100 PR target/49069
101 * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
102 instead of cmpdi_operand for first comparison operand.
103 Don't assert that comparison operands aren't both constants.
104
105 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
106
107 * doc/install.texi (Downloading the Source): Update references to
108 downloading separate components.
109
110 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
111
112 * doc/extend.texi (__int128): Improve grammar.
113
114 2013-01-22 Uros Bizjak <ubizjak@gmail.com>
115
116 PR target/56028
117 * config/i386/i386.md (*movti_internal_rex64): Change (o,riF)
118 alternative to (o,r).
119 (*movdi_internal_rex64): Remove (!o,n) alternative.
120 (DImode immediate->memory splitter): Remove.
121 (DImode immediate->memory peephole2): Remove.
122 (movtf): Enable for TARGET_64BIT || TARGET_SSE.
123 (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r)
124 alternative to (!o,*r).
125 (*movtf_internal_sse): New pattern.
126 (*movxf_internal_rex64): New pattern.
127 (*movxf_internal): Disable for TARGET_64BIT.
128 (*movdf_internal_rex64): Remove (!o,F) alternative.
129
130 2013-01-22 Jakub Jelinek <jakub@redhat.com>
131
132 PR middle-end/56074
133 * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc)
134 isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION.
135 * tree-vect-loop-manip.c (find_loop_location): Also ignore
136 stmt locations where LOCATION_LOCUS of the stmt location is
137 UNKNOWN_LOCATION or BUILTINS_LOCATION.
138
139 PR target/55686
140 * config/i386/i386.md (UNSPEC_STOS): New.
141 (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1,
142 *strsetqi_1): Add UNSPEC_STOS.
143
144 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com>
145
146 PR c++/56067
147 * doc/invoke.texi: Remove left over -Wsynth example.
148
149 2013-01-21 Jakub Jelinek <jakub@redhat.com>
150
151 PR tree-optimization/56051
152 * fold-const.c (fold_binary_loc): Don't fold
153 X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
154 a narrowing conversion, or widening conversion from signed
155 to unsigned.
156
157 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
158
159 PR rtl-optimization/56023
160 * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
161 dependent on debug instruction.
162
163 2013-01-21 Martin Jambor <mjambor@suse.cz>
164
165 PR middle-end/56022
166 * function.c (allocate_struct_function): Call
167 invoke_set_current_function_hook earlier.
168
169 2013-01-21 Jakub Jelinek <jakub@redhat.com>
170
171 * reload1.c (init_reload): Only initialize reload_obstack
172 during the first call.
173
174 2013-01-21 Marek Polacek <polacek@redhat.com>
175
176 * cfgloop.c (verify_loop_structure): Fix up grammar.
177
178 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com>
179
180 * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift,
181 pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift.
182
183 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
184
185 PR target/56058
186 * config/arm/marvell-pj4.md: Update copyright year.
187 Fix up use of alu to alu_reg and simple_alu_imm.
188
189 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
190
191 * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
192
193 2013-01-20 Vladimir Makarov <vmakarov@redhat.com>
194
195 PR target/55433
196 * lra-constraints.c (curr_insn_transform): Don't reuse original
197 insn for secondary memory move when memory mode should be different.
198
199 >>>>>>> .r195407
200 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
201
202 * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi,
203 atomic_storedi_1): New patterns.
204
205 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
206
207 btver2 pipeline descriptions.
208 * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
209 descriptions.
210 * config/i386/i386.md (btver2_decode): New type attributes.
211 * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
212 type attributes.
213 * config/i386/btver2.md: New file describing btver2 pipelines.
214
215 2013-01-19 Andrew Pinski <apinski@cavium.com>
216
217 PR tree-optimization/52631
218 * tree-ssa-sccvn (visit_use): Before looking up the original
219 statement, try looking up the simplified expression.
220
221 2013-01-19 Anthony Green <green@moxielogic.com>
222
223 * config/moxie/moxie.c (moxie_expand_prologue): Set
224 current_function_static_stack_size.
225
226 2013-01-18 Jakub Jelinek <jakub@redhat.com>
227
228 PR tree-optimization/56029
229 * tree-phinodes.c (reserve_phi_args_for_new_edge): Set
230 gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
231
232 2013-01-18 Sharad Singhai <singhai@google.com>
233
234 PR tree-optimization/55995
235 * dumpfile.c (dump_loc): Print location only if available.
236 * tree-vectorizer.c (increase_alignment): Intialize vect_location.
237
238 2013-01-18 Vladimir Makarov <vmakarov@redhat.com>
239
240 PR target/55433
241 * lra-constraints.c (curr_insn_transform): Reuse original insn for
242 secondary memory move.
243 (inherit_reload_reg): Use rclass instead of cl for
244 check_secondary_memory_needed_p.
245
246 2013-01-18 Jakub Jelinek <jakub@redhat.com>
247
248 PR middle-end/56015
249 * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
250 the case where writing real complex part of target modifies op1.
251
252 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com>
253
254 * config/aarch64/aarch64-simd.md
255 (aarch64_vcond_internal<mode>): Handle unordered cases.
256 * config/aarch64/iterators.md (v_cmp_result): New.
257
258 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com>
259 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
260
261 * config/arm/marvell-pj4.md: New file.
262 * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
263 * config/arm/arm.md (generic_sched): Add marvell_pj4.
264 (generic_vfp): Likewise.
265 * config/arm/arm-cores.def: Add marvell-pj4.
266 * config/arm/arm-tune.md: Regenerate.
267 * config/arm/arm-tables.opt: Regenerate.
268 * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
269 * doc/invoke.texi: Document marvell-pj4.
270
271 2013-01-18 Tejas Belagod <tejas.belagod@arm.com>
272
273 * config/aarch64/arm_neon.h: Map scalar types to standard types.
274
275 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
276
277 PR debug/54114
278 PR debug/54402
279 PR debug/49888
280 * var-tracking.c (negative_power_of_two_p): New.
281 (global_get_addr_cache, local_get_addr_cache): New.
282 (get_addr_from_global_cache, get_addr_from_local_cache): New.
283 (vt_canonicalize_addr): Rewrite using the above. Adjust the
284 heading comment.
285 (vt_stack_offset_p): Remove.
286 (vt_canon_true_dep): Always canonicalize loc's address.
287 (clobber_overlapping_mems): Make sure we have a MEM.
288 (local_get_addr_clear_given_value): New.
289 (val_reset): Clear local cached entries.
290 (compute_bb_dataflow): Create and release the local cache.
291 Disable duplicate MEMs clobbering.
292 (emit_notes_in_bb): Clobber MEMs likewise.
293 (vt_emit_notes): Create and release the local cache.
294 (vt_initialize, vt_finalize): Create and release the global
295 cache, respectively.
296 * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
297
298 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
299
300 PR libmudflap/53359
301 * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
302 not found in the symtab.
303
304 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
305
306 PR debug/56006
307 PR rtl-optimization/55547
308 PR rtl-optimization/53827
309 PR debug/53671
310 PR debug/49888
311 * alias.c (offset_overlap_p): New, factored out of...
312 (memrefs_conflict_p): ... this. Use absolute sizes. Retain
313 the conservative special case for symbolic constants. Don't
314 adjust zero sizes on alignment.
315
316 2013-01-18 Bernd Schmidt <bernds@codesourcery.com>
317
318 PR rtl-optimization/52573
319 * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
320 REG_UNUSED for the same register.
321
322 2013-01-17 Richard Biener <rguenther@suse.de>
323 Marek Polacek <polacek@redhat.com>
324
325 PR rtl-optimization/55833
326 * loop-unswitch.c (unswitch_loops): Move loop verification...
327 (unswitch_single_loop): ...here. Call mark_irreducible_loops.
328 * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
329 Set it to true when we're removing a loop from hierarchy tree in
330 an irreducible region.
331 (fix_bb_placements): Adjust caller.
332 (fix_loop_placements): Likewise.
333
334 2013-01-17 Georg-Johann Lay <avr@gjlay.de>
335
336 * config/avr/builtins.def (DEF_BUILTIN): Factor out
337 "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
338 Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
339 Remove ID. Adjust comments.
340 * config/avr/avr-c.c (avr_builtin_name): Remove.
341 (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
342 * config/avr/avr.c (avr_tolower): New static function.
343 (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'.
344 Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
345 (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
346 default expansion.
347
348 2013-01-17 Jan Hubicka <jh@suse.cz>
349
350 PR tree-optimization/55273
351 * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
352
353 2013-01-17 Uros Bizjak <ubizjak@gmail.com>
354
355 PR target/55981
356 * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
357 store through atomic_store<mode>_1.
358 (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
359
360 2013-01-17 Martin Jambor <mjambor@suse.cz>
361
362 PR tree-optimizations/55264
363 * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
364 for virtual methods.
365 * ipa.c (symtab_remove_unreachable_nodes): Never return true for
366 virtual methods before inlining is over.
367 * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
368 virtual functions.
369 * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
370 non-virtual.
371
372 2013-01-16 Vladimir Makarov <vmakarov@redhat.com>
373
374 PR rtl-optimization/56005
375 * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
376 pending reads for prefetch.
377
378 2013-01-16 Ian Bolton <ian.bolton@arm.com>
379
380 * gcc/config/aarch64/aarch64.md
381 (*cstoresi_neg_uxtw): New pattern.
382 (*cmovsi_insn_uxtw): New pattern.
383 (*<optab>si3_uxtw): New pattern.
384 (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
385 (*<optab>si3_insn_uxtw): New pattern.
386 (*bswapsi2_uxtw): New pattern.
387
388 2013-01-16 Richard Biener <rguenther@suse.de>
389
390 * tree-inline.c (tree_function_versioning): Remove set but
391 never used variable.
392
393 2013-01-16 Richard Biener <rguenther@suse.de>
394
395 PR tree-optimization/55964
396 * tree-flow.h (rename_variables_in_loop): Remove.
397 (rename_variables_in_bb): Likewise.
398 * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
399 (copy_loop_before): Adjust and delete update-ssa status.
400 * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
401 (rename_variables_in_bb): Likewise. Properly walk over predecessors.
402 (rename_variables_in_loop): Remove.
403 (slpeel_update_phis_for_duplicate_loop): Likewise.
404 (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
405 use available cfg machinery instead of duplicating it.
406 Update PHI nodes and perform poor-mans SSA update here.
407 (slpeel_tree_peel_loop_to_edge): Adjust.
408
409 2013-01-16 Richard Biener <rguenther@suse.de>
410
411 PR tree-optimization/54767
412 PR tree-optimization/53465
413 * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
414 (vrp_visit_phi_node): For PHI arguments coming via backedges
415 drop all symbolical range information.
416 (execute_vrp): Compute backedges.
417
418 2013-01-16 Richard Biener <rguenther@suse.de>
419
420 * doc/install.texi: Update CLooG and ISL requirements to
421 0.18.0 and 0.11.1.
422
423 2013-01-16 Christian Bruel <christian.bruel@st.com>
424
425 PR target/55301
426 * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
427 (broken_move): Handle UNSPECV_SP_SWITCH_B.
428 * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
429
430 2013-01-16 DJ Delorie <dj@redhat.com>
431
432 * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
433 (UNSPECV_SP_SWITCH_E): New.
434 (sp_switch_1): Change to an unspec.
435 (sp_switch_2): Change to an unspec. Don't use post-inc when we
436 replace $r15.
437
438 2013-01-16 Uros Bizjak <ubizjak@gmail.com>
439
440 * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
441 with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
442 * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
443 (expand_mem_thread_fence): Ditto.
444 (expand_mem_signal_fence): Ditto.
445 (expand_atomic_load): Ditto.
446 (expand_atomic_store): Ditto.
447
448 2013-01-16 Alexandre Oliva <aoliva@redhat.com>
449
450 PR rtl-optimization/55547
451 PR rtl-optimization/53827
452 PR debug/53671
453 PR debug/49888
454 * alias.c (memrefs_conflict_p): Set sizes to negative after
455 AND adjustments.
456
457 2013-01-15 Jakub Jelinek <jakub@redhat.com>
458
459 PR target/55940
460 * function.c (thread_prologue_and_epilogue_insns): Always
461 add crtl->drap_reg to set_up_by_prologue.set, even if
462 stack_realign_drap is false.
463
464 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
465
466 * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
467 and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
468 *call): Fix indention.
469
470 2013-01-15 Tom de Vries <tom@codesourcery.com>
471
472 PR target/55876
473 * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
474 Update comment.
475
476 2013-01-15 Vladimir Makarov <vmakarov@redhat.com>
477
478 PR rtl-optimization/55153
479 * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
480
481 2013-01-15 Martin Jambor <mjambor@suse.cz>
482
483 PR tree-optimization/55920
484 * tree-sra.c (analyze_access_subtree): Do not mark non-removable
485 accesses as grp_to_be_debug_replaced.
486
487 2013-01-15 Jakub Jelinek <jakub@redhat.com>
488
489 PR tree-optimization/55920
490 * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
491 there is non-useless type conversion needed from debug rhs to lhs,
492 use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
493
494 2013-01-15 Joseph Myers <joseph@codesourcery.com>
495 Mikael Pettersson <mikpe@it.uu.se>
496
497 PR target/43961
498 * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
499 Thumb.
500 (ASM_OUTPUT_CASE_LABEL): Remove.
501 (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
502 * final.c (shorten_branches): Update alignment of labels before
503 jump tables if CASE_VECTOR_SHORTEN_MODE.
504
505 2013-01-15 Richard Biener <rguenther@suse.de>
506
507 PR bootstrap/55961
508 * system.h: Do not include gmp.h for building host tools.
509
510 2013-01-15 Richard Biener <rguenther@suse.de>
511
512 PR middle-end/55882
513 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
514 account for bitpos when computing alignment.
515
516 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com>
517
518 * config/i386/i386-c.c (ix86_target_macros_internal): New case.
519 (ix86_target_macros_internal): Likewise.
520
521 * config/i386/i386.c (m_CORE2I7): Removed.
522 (m_CORE_HASWELL): New macro.
523 (m_CORE_ALL): Likewise.
524 (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
525 (initial_ix86_arch_features): Likewise.
526 (processor_target_table): Initializations for Core avx2.
527 (cpu_names): New names "core-avx2".
528 (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
529 PROCESSOR_CORE_HASWELL.
530 (ix86_issue_rate): New case.
531 (ia32_multipass_dfa_lookahead): Likewise.
532 (ix86_sched_init_global): Likewise.
533
534 * config/i386/i386.h (TARGET_HASWELL): New macro.
535 (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
536 (processor_type): New PROCESSOR_HASWELL.
537
538 2013-01-15 Jakub Jelinek <jakub@redhat.com>
539
540 PR tree-optimization/55955
541 * tree-vect-loop.c (vectorizable_reduction): Give up early on
542 *SHIFT_EXPR and *ROTATE_EXPR codes.
543
544 PR tree-optimization/48766
545 * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
546 -ftrapv disable -fwrapv.
547
548 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
549
550 PR target/55974
551 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
552 etc. to 1 and not to __flash.
553 Use LL suffix for __INT24_MAX__ with -mint8.
554 Use ULL suffix for __UINT24_MAX__ with -mint8.
555
556 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
557
558 * config/avr/avr-arch.h
559 (struct base_arch_s): Use typedef avr_arch_t instead.
560 (struct arch_info_s): Use typedef avr_arch_info_t instead.
561 (struct mcu_type_s): Use typedef avr_mcu_t instead.
562 * config/avr/avr.c: Same.
563 * config/avr/avr-devices.c: Same.
564 * config/avr/driver-avr.c: Same.
565 * config/avr/gen-avr-mmcu-texi.c: Same.
566 * config/avr/avr-mcus.def: Adjust comment.
567
568 2013-01-14 Tejas Belagod <tejas.belagod@arm.com>
569
570 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
571 * config/aarch64/iterators.md (VALLDI): New.
572
573 2013-01-14 Uros Bizjak <ubizjak@gmail.com>
574 Andi Kleen <ak@linux.intel.com>
575
576 PR target/55948
577 * config/i386/sync.md (atomic_store<mode>_1): New pattern.
578 (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
579 memmodel flag.
580
581 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
582
583 * config/avr/avr-stdint.h: Remove trailing blanks.
584 * config/avr/avr-log.h: Same.
585 * config/avr/avr-arch.h: Same.
586 * config/avr/avr-devices.c: Same.
587 * config/avr/avr-dimode.md: Same.
588 * config/avr/predicates.md: Same.
589 * config/avr/avr-c.c: Same. And fix typo.
590
591 * config/avr/avr-protos.h: Same. And:
592 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
593 (init_cumulative_args): Rename to avr_init_cumulative_args.
594 (expand_prologue): Rename to avr_expand_prologue.
595 (expand_epilogue): Rename to avr_expand_epilogue.
596 (adjust_insn_length): Rename to avr_adjust_insn_length.
597 (notice_update_cc): Rename to avr_notice_update_cc.
598 (final_prescan_insn): Rename to avr_final_prescan_insn.
599 * config/avr/avr.c: Same.
600 * config/avr/avr.h: Same.
601 * config/avr/avr.md: Remove trailing blanks.
602 (prologue): Use avr_expand_prologue.
603 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
604
605 2013-01-14 Richard Biener <rguenther@suse.de>
606
607 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
608 verify_location, collect_subblocks): New functions.
609 (verify_gimple_in_cfg): Verify that locations only reference
610 BLOCKs in the functions BLOCK tree.
611
612 2013-01-14 Richard Biener <rguenther@suse.de>
613
614 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
615 PHI argument.
616 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
617 unshare reference.
618 (insert_out_of_ssa_copy_on_edge): Likewise.
619 (rewrite_close_phi_out_of_ssa): Likewise.
620 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
621 debug expressions.
622 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
623 propagated constants.
624 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
625 can not be shared.
626
627 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
628
629 * config/avr/avr-modes.def: Add GPL copyright notice.
630
631 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
632
633 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
634 MEMMODEL_MASK to determine memory model.
635 (atomic_store<mode>): Ditto from operands[2].
636 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
637
638 2013-01-13 Jakub Jelinek <jakub@redhat.com>
639
640 PR fortran/55935
641 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
642 (fold_gimple_assign): Don't call unshare_expr here.
643 (fold_ctor_reference): Call unshare_expr.
644
645 2013-01-13 Terry Guo <terry.guo@arm.com>
646
647 * gcc/Makefile.in (s-mlib): New argument MULTILIB_REUSE.
648 * gcc/doc/fragments.texi: Document MULTILIB_REUSE.
649 * gcc/gcc.c (multilib_reuse): New internal spec.
650 (set_multilib_dir): Also search multilib from multilib_reuse.
651 * gcc/genmultilib (tmpmultilib3): Refactor code.
652 (tmpmultilib4): Ditto.
653 (multilib_reuse): New multilib argument.
654
655 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
656
657 * Makefile.in: Update copyright.
658
659 2013-01-12 Tom de Vries <tom@codesourcery.com>
660
661 PR middle-end/55890
662 * calls.c (expand_call): Check if arg_nr is valid.
663
664 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
665
666 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
667 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
668 documentation. Add missing '__' in front of
669 __builtin_ia32_packssdw256.
670
671 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
672
673 PR target/55719
674 * config/s390/s390.c (s390_preferred_reload_class): Do not return
675 NO_REGS for larl operands.
676 (s390_reload_larl_operand): Use s390_load_address instead of
677 emit_move_insn.
678
679 2013-01-11 Richard Biener <rguenther@suse.de>
680
681 * tree-cfg.c (verify_node_sharing_1): Split out from ...
682 (verify_node_sharing): ... here.
683 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
684
685 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
686
687 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
688 Substitute TREECHECKING.
689 * configure: Regenerate.
690 * Makefile.in (TREECHECKING): New.
691
692 2013-01-11 Richard Guenther <rguenther@suse.de>
693
694 PR tree-optimization/44061
695 * tree-vrp.c (extract_range_basic): Compute zero as
696 value-range for __builtin_constant_p of function parameters.
697
698 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
699
700 Update copyright years.
701
702 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
703
704 PR rtl-optimization/55672
705 * lra-eliminations.c (mark_not_eliminable): Permit addition with
706 const to be eliminable.
707
708 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
709
710 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
711 * configure: Regenerate.
712
713 2013-01-10 Richard Biener <rguenther@suse.de>
714
715 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
716
717 2013-01-10 Richard Biener <rguenther@suse.de>
718
719 PR bootstrap/55792
720 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
721 locations for virtual PHI arguments.
722 (rewrite_update_phi_arguments): Likewise.
723
724 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
725
726 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
727 on to assembler.
728
729 2013-01-10 Jakub Jelinek <jakub@redhat.com>
730
731 PR tree-optimization/55921
732 * tree-complex.c (expand_complex_asm): New function.
733 (expand_complex_operations_1): Call it for GIMPLE_ASM.
734
735 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
736
737 PR target/55718
738 * config/s390/s390.c (s390_symref_operand_p)
739 (s390_loadrelative_operand_p): Merge the two functions.
740 (s390_check_qrst_address, print_operand_address): Add parameters
741 to s390_loadrelative_operand_p invokation.
742 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
743 (s390_reload_larl_operand, s390_secondary_reload): Use
744 s390_loadrelative_operand_p instead of s390_symref_operand_p.
745 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
746
747 2013-01-09 Mike Stump <mikestump@comcast.net>
748
749 * dse.c (record_store): Remove unnecessary assert.
750
751 2013-01-09 Jan Hubicka <jh@suse.cz>
752
753 PR tree-optimization/55569
754 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
755 * cfgloop.h (scale_loop_profile): Likewise.
756
757 2013-01-09 Jan Hubicka <jh@suse.cz>
758
759 PR lto/45375
760 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
761 functions.
762 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
763
764 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
765
766 PR middle-end/55114
767 * expr.h (maybe_emit_group_store): Declare.
768 * expr.c (maybe_emit_group_store): New function.
769 * builtins.c (expand_builtin_int_roundingfn): Call it.
770 (expand_builtin_int_roundingfn_2): Likewise.
771
772 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
773
774 PR rtl-optimization/55829
775 * lra-constraints.c (match_reload): Add code for absent output.
776 (curr_insn_transform): Add code for reloads of matched inputs
777 without output.
778
779 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
780
781 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
782 attribute of movddup insn to DF.
783 (*vec_interleave_lowv2df): Ditto.
784 (vec_dupv2df): Ditto.
785
786 2013-01-09 Jan Hubicka <jh@suse.cz>
787
788 PR tree-optimiation/55875
789 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
790 EVERY_ITERATION parameter.
791 (number_of_iterations_exit): Check if exit is executed every iteration.
792 (idx_infer_loop_bounds): Similarly here.
793 (n_of_executions_at_most): Simplify
794 to only test for cases where statement is dominated by the
795 particular bound; handle correctly the "postdominance" test.
796 (scev_probably_wraps_p): Use max loop iterations info
797 as a global bound first.
798
799 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
800 Nick Clifton <nickc@redhat.com>
801
802 * config/v850/v850.md (cbranchsf4): New pattern.
803 (cstoresf4): New pattern.
804 (cbranchdf4): New pattern.
805 (cstoredf4): New pattern.
806 (movsicc): Disallow floating point comparisons.
807 (cmpsf_le_insn): Fix order of operators.
808 (cmpsf_lt_insn): Likewise.
809 (cmpsf_eq_insn): Likewise.
810 (cmpdf_le_insn): Likewise.
811 (cmpdf_lt_insn): Likewise.
812 (cmpdf_eq_insn): Likewise.
813 (cmpsf_ge_insn): Use LE comparison.
814 (cmpdf_ge_insn): Likewise.
815 (cmpsf_gt_insn): Use LT comparison.
816 (cmpdf_gt_insn): Likewise.
817 (cmpsf_ne_insn): Delete pattern.
818 (cmpdf_ne_insn): Delete pattern.
819 * config/v850/v850.c (v850_gen_float_compare): Use
820 gen_cmpdf_eq_insn for NE comparison.
821 (v850_float_z_comparison_operator)
822 (v850_float_nz_comparison_operator): Move from here ...
823 * config/v850/predicates.md: ... to here. Move GT and GE
824 comparisons into v850_float_z_comparison_operator.
825 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
826 Delete prototype.
827 (v850_float_nz_comparison_operator): Likewise.
828
829 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
830
831 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
832 with calls to gen_insvsi/gen_insvdi.
833
834 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
835
836 * config/i386/i386.c (initial_ix86_tune_features): Set up
837 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
838
839 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
840 Jakub Jelinek <jakub@redhat.com>
841
842 PR tree-optimization/48189
843 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
844 If nitercst is 0, don't predict the exit edge.
845
846 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
847
848 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
849 in asm_fprintf with reg_names.
850 (aarch64_print_operand_address): Likewise.
851 (aarch64_return_addr): Likewise.
852 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
853
854 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
855
856 * config/pa/pa.h (VAL_U6_BITS_P): Define.
857 (INT_U6_BITS): Likewise.
858 * config/pa/predicates.md (uint6_operand): New predicate.
859 (shift5_operand, shift6_operand): Likewise.
860 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
861 arith32_operand.
862 (lshrdi3): Use shift6_operand.
863 (shrpsi4, shrpdi4): New insn patterns.
864 (extzv): Delete expander.
865 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
866 predicates in unamed zero extract patterns. Tighten common constraint.
867 (extv): Delete expander.
868 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
869 predicates in unamed sign extract patterns. Tighten common constraint.
870 (insv): Delete expander.
871 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
872 predicates in unamed insert patterns. Tighten common constraint.
873 Change uint32_operand predicate to uint6_operand predicate in unamed
874 DImode pattern to insert constant values of type 1...1xxxx.
875
876 2013-01-04 Jan Hubicka <jh@suse.cz>
877
878 PR tree-optimization/55823
879 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
880 issue.
881
882 2013-01-08 Jakub Jelinek <jakub@redhat.com>
883 Uros Bizjak <ubizjak@gmail.com>
884
885 PR rtl-optimization/55845
886 * df-problems.c (can_move_insns_across): Stop scanning at
887 volatile_insn_p source instruction or give up if
888 across_from .. across_to range contains any volatile_insn_p
889 instructions.
890
891 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
892
893 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
894 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
895 Declare.
896 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
897 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
898
899 2013-01-08 Jakub Jelinek <jakub@redhat.com>
900
901 PR fortran/55341
902 * asan.c (asan_clear_shadow): New function.
903 (asan_emit_stack_protection): Use it.
904
905 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
906
907 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
908 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
909 with tab instead of space.
910
911 2013-01-08 Nick Clifton <nickc@redhat.com>
912
913 * config/rl78/rl78.c (rl78_expand_prologue): Always select
914 register bank 0 at the start of an interrupt handler.
915 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
916 MDBH registers.
917
918 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
919
920 * config/aarch64/aarch64-simd.md
921 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
922 (aarch64_simd_bsl): Likewise.
923 (aarch64_vcond_internal<mode>): Likewise.
924 (vcond<mode><mode>): Likewise.
925 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
926 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
927
928 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
929
930 * config/aarch64/aarch64-builtins.c
931 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
932
933 2013-01-08 Martin Jambor <mjambor@suse.cz>
934
935 PR debug/55579
936 * tree-sra.c (analyze_access_subtree): Return true also after
937 potentially creating a debug-only replacement.
938
939 2013-01-08 Jakub Jelinek <jakub@redhat.com>
940
941 PR middle-end/55890
942 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
943
944 PR tree-optimization/54120
945 * tree-vrp.c (range_fits_type_p): Don't allow
946 src_precision < precision from signed vr to unsigned_p
947 if vr->min or vr->max is negative.
948 (simplify_float_conversion_using_ranges): Test can_float_p
949 against CODE_FOR_nothing.
950
951 2013-01-08 Jakub Jelinek <jakub@redhat.com>
952 Richard Biener <rguenther@suse.de>
953
954 PR middle-end/55851
955 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
956 types instead of just INTEGER_TYPE types.
957
958 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
959
960 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
961 TF_SIZE): Define.
962
963 2013-01-07 Steve Ellcey <sellcey@mips.com>
964
965 PR target/42661
966 * config/mips/mips.opt: Change mad to mmad to match documentation.
967
968 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
969
970 PR target/55897
971 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
972 .progmemx.data now.
973
974 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
975
976 PR target/55897
977 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
978 (avr_addrspace_t): Add .section_name field.
979 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
980 array size.
981 (avr_addrspace): Same. Initialize .section_name. Remove last
982 NULL entry. Put __memx into .progmemx.data.
983 (progmem_section_prefix): Remove.
984 (avr_asm_init_sections): No need to initialize progmem_section.
985 (avr_asm_named_section): Use avr_addrspace[].section_name to get
986 section name prefix.
987 (avr_asm_select_section): Ditto. And use get_unnamed_section to
988 retrieve the progmem section.
989 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
990 boundary to run over avr_addrspace[].
991 (avr_register_target_pragmas): Ditto.
992
993 2013-01-06 Jakub Jelinek <jakub@redhat.com>
994
995 * varasm.c (output_constant_def_contents): For asan_protect_global
996 protected strings, adjust DECL_ALIGN if needed, before testing for
997 anchored symbols.
998 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
999 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
1000 normal decls.
1001 (output_object_block): For asan protected decls, emit asan padding
1002 after their contents.
1003 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
1004 (asan_finish_file): Test it here instead.
1005
1006 2013-01-07 Nick Clifton <nickc@redhat.com>
1007 Matthias Klose <doko@debian.org>
1008 Doug Kwan <dougkwan@google.com>
1009 H.J. Lu <hongjiu.lu@intel.com>
1010
1011 PR driver/55470
1012 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
1013
1014 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
1015
1016 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
1017
1018 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
1019
1020 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
1021
1022 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1023
1024 PR target/54461
1025 * doc/install.texi (Cross-Compiler-Specific Options): Document
1026 --with-avrlibc.
1027
1028 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
1029
1030 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
1031 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
1032 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
1033 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
1034 vqmovun_high_s64): Fix source operand number and update copyright.
1035
1036 2013-01-07 Richard Biener <rguenther@suse.de>
1037
1038 PR middle-end/55890
1039 * gimple.h (gimple_call_builtin_p): New overload.
1040 * gimple.c (validate_call): New function.
1041 (gimple_call_builtin_p): Likewise.
1042 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
1043 Use gimple_call_builtin_p.
1044 (find_func_clobbers): Likewise.
1045 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
1046 (strlen_optimize_stmt): Likewise.
1047
1048 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1049
1050 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
1051 (vld1q_dup_*): Likewise.
1052 (vld1_*): Likewise.
1053 (vld1q_*): Likewise.
1054 (vld1_lane_*): Likewise.
1055 (vld1q_lane_*): Likewise.
1056
1057 2013-01-07 Richard Biener <rguenther@suse.de>
1058
1059 * lto-streamer.h (LTO_minor_version): Bump to 2.
1060
1061 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1062
1063 * config/aarch64/aarch64-protos.h
1064 (aarch64_const_double_zero_rtx_p): Rename to...
1065 (aarch64_float_const_zero_rtx_p): ...this.
1066 (aarch64_float_const_representable_p): New.
1067 (aarch64_output_simd_mov_immediate): Likewise.
1068 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
1069 move immediate case.
1070 * config/aarch64/aarch64.c
1071 (aarch64_const_double_zero_rtx_p): Rename to...
1072 (aarch64_float_const_zero_rtx_p): ...this.
1073 (aarch64_print_operand): Allow printing of new constants.
1074 (aarch64_valid_floating_const): New.
1075 (aarch64_legitimate_constant_p): Check for valid floating-point
1076 constants.
1077 (aarch64_simd_valid_immediate): Likewise.
1078 (aarch64_vect_float_const_representable_p): New.
1079 (aarch64_float_const_representable_p): Likewise.
1080 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
1081 (aarch64_output_simd_mov_immediate): New.
1082 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
1083 (*movdf_aarch64): Likewise.
1084 * config/aarch64/constraints.md (Ufc): New.
1085 (Y): call aarch64_float_const_zero_rtx.
1086 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
1087
1088 2013-01-07 Richard Biener <rguenther@suse.de>
1089
1090 PR tree-optimization/55888
1091 PR tree-optimization/55862
1092 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
1093 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
1094 not if it is contained therein.
1095
1096 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1097
1098 * config/avr/t-avr: Typo.
1099
1100 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1101
1102 PR55243
1103 * config/avr/t-avr: Don't automatically rebuild
1104 $(srcdir)/config/avr/t-multilib
1105 $(srcdir)/config/avr/avr-tables.opt
1106 $(srcdir)/doc/avr-mmcu.texi
1107 (avr-mcus): New phony target to build them on request.
1108 (s-avr-mlib, s-avr-mmcu-texi): Remove.
1109 * avr/avr-mcus.def: Adjust comments.
1110
1111 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
1112
1113 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
1114
1115 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1116
1117 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
1118
1119 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1120
1121 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
1122
1123 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
1124
1125 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
1126 to generate profiling.
1127 * config/rs6000/aix64.h (LIB_SPEC): Same.
1128
1129 2013-01-04 Andrew Pinski <apinski@cavium.com>
1130
1131 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
1132 New function.
1133 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
1134
1135 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
1136
1137 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
1138 unconditionally.
1139 (ix86_expand_move): Ditto.
1140 (ix86_zero_extend_to_Pmode): Ditto.
1141 (ix86_expand_call): Ditto.
1142 (ix86_expand_special_args_builtin): Ditto.
1143 (ix86_expand_builtin): Ditto.
1144
1145 2013-01-04 Richard Biener <rguenther@suse.de>
1146
1147 PR tree-optimization/55862
1148 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
1149 translating them through PHI nodes.
1150
1151 2013-01-04 Martin Jambor <mjambor@suse.cz>
1152
1153 PR tree-optimization/55755
1154 * tree-sra.c (sra_modify_assign): Do not check that an access has no
1155 children when trying to avoid producing a VIEW_CONVERT_EXPR.
1156
1157 2013-01-04 Marek Polacek <polacek@redhat.com>
1158
1159 PR middle-end/55859
1160 * opts.c (default_options_optimization): Clarify error message.
1161
1162 2013-01-04 Richard Biener <rguenther@suse.de>
1163
1164 PR middle-end/55863
1165 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
1166 reassociation.
1167
1168 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1169
1170 PR target/53789
1171 * config/pa/pa.md (movsi): Revert previous change.
1172 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
1173 references.
1174
1175 2013-01-03 Richard Henderson <rth@redhat.com>
1176
1177 * config/i386/i386.c (ix86_expand_move): Always assign to op1
1178 after eliminating TLS symbols.
1179
1180 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
1181
1182 PR bootstrap/50167
1183 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
1184 * graphite-poly.c (debug_gmp_value): Likewise.
1185
1186 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
1187
1188 PR target/55712
1189 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
1190 selected code model, define __code_mode_small__, __code_model_medium__,
1191 __code_model_large__, __code_model_32__ or __code_model_kernel__.
1192 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
1193 xchg temporary register with %k. Declare temporary register as
1194 early clobbered.
1195 [__x86_64__]: For medium and large code models, preserve %rbx register.
1196
1197 2013-01-03 Richard Biener <rguenther@suse.de>
1198
1199 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
1200 (dump_subscript): Adjust.
1201 (finalize_ddr_dependent): Do not dump redundant info.
1202 (analyze_siv_subscript): Adjust.
1203 (subscript_dependence_tester): Likewise.
1204 (compute_affine_dependence): Likewise.
1205
1206 2013-01-03 Richard Biener <rguenther@suse.de>
1207
1208 Revert
1209 2013-01-03 Richard Biener <rguenther@suse.de>
1210
1211 PR tree-optimization/55857
1212 * tree-vect-stmts.c (vectorizable_load): Do not setup
1213 re-alignment for invariant loads.
1214
1215 2013-01-02 Richard Biener <rguenther@suse.de>
1216
1217 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1218 invariant load do not generate a vector load from the scalar location.
1219
1220 2013-01-03 Richard Biener <rguenther@suse.de>
1221
1222 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
1223 for not vectorizing.
1224 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
1225 not build INDIRECT_REFs, call get_name once only.
1226 (vect_create_data_ref_ptr): Likewise. Dump base object kind
1227 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
1228
1229 2013-01-03 Richard Biener <rguenther@suse.de>
1230
1231 PR tree-optimization/55857
1232 * tree-vect-stmts.c (vectorizable_load): Do not setup
1233 re-alignment for invariant loads.
1234
1235 2013-01-03 Richard Biener <rguenther@suse.de>
1236
1237 PR lto/55848
1238 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
1239 prefer a built-in decl.
1240
1241 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1242
1243 * gcc.c (process_command): Update copyright notice dates.
1244 * gcov.c (print_version): Likewise.
1245 * gcov-dump.c (print_version): Likewise.
1246
1247 PR rtl-optimization/55838
1248 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
1249 iv0.step, iv1.step and step.
1250
1251 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1252 Marc Glisse <marc.glisse@inria.fr>
1253
1254 PR tree-optimization/55832
1255 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
1256 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
1257 integer_{one,zero}_node.
1258
1259 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1260
1261 PR debug/54402
1262 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
1263 * var-tracking.c (reverse_op): Don't add reverse ops to
1264 VALUEs that have already
1265 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
1266
1267 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
1268
1269 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
1270
1271 2013-01-02 Teresa Johnson <tejohnson@google.com>
1272
1273 * dumpfile.c (dump_loc): Print filename with location.
1274 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
1275 new location_t parameter to emit complete unroll message with
1276 new dump framework.
1277 (canonicalize_loop_induction_variables): Compute loops location
1278 and pass to try_unroll_loop_completely.
1279 * loop-unroll.c (report_unroll_peel): New function.
1280 (peel_loops_completely): Use new dump format with location
1281 for main dumpfile message, and invoke report_unroll_peel on success.
1282 (decide_unrolling_and_peeling): Ditto.
1283 (decide_peel_once_rolling): Remove old dumpfile message subsumed
1284 by report_unroll_peel.
1285 (decide_peel_completely): Ditto.
1286 (decide_unroll_constant_iterations): Ditto.
1287 (decide_unroll_runtime_iterations): Ditto.
1288 (decide_peel_simple): Ditto.
1289 (decide_unroll_stupid): Ditto.
1290 * cfgloop.c (get_loop_location): New function.
1291 * cfgloop.h (get_loop_location): Declare.
1292
1293 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1294
1295 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
1296 NULL.
1297
1298 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1299
1300 PR middle-end/55198
1301 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
1302 BLKmode objects when EXPAND_MEMORY is specified.
1303
1304 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1305
1306 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
1307 in loop predicate.
1308 (fold_builtin_cpu): Do not share cpu model decls across statements.
1309
1310 2013-01-02 Jason Merrill <jason@redhat.com>
1311
1312 PR c++/55804
1313 * tree.c (build_array_type_1): Revert earlier change.
1314
1315 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
1316
1317 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
1318 "cortex-a57".
1319 * config/aarch64/aarch64-tune.md: Re-generate.
1320
1321 2013-01-02 Richard Biener <rguenther@suse.de>
1322
1323 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1324 invariant load do not generate a vector load from the scalar location.
1325
1326 2013-01-02 Richard Biener <rguenther@suse.de>
1327
1328 PR bootstrap/55784
1329 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
1330 * configure: Regenerate.
1331
1332 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1333
1334 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
1335 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
1336 (expand_builtin_int_roundingfn_2): Keep the original target around
1337 for the fallback case.
1338
1339 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1340
1341 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
1342 to be clear for sign changes.
1343
1344 2013-01-01 Jan Hubicka <jh@suse.cz>
1345
1346 * ipa-inline-analysis.c: Fix formatting.
1347
1348 2013-01-01 Jakub Jelinek <jakub@redhat.com>
1349
1350 PR tree-optimization/55831
1351 * tree-vect-loop.c (get_initial_def_for_induction): Use
1352 gsi_after_labels instead of gsi_start_bb.
1353 \f
1354 Copyright (C) 2013 Free Software Foundation, Inc.
1355
1356 Copying and distribution of this file, with or without modification,
1357 are permitted in any medium without royalty provided the copyright
1358 notice and this notice are preserved.