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