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