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