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