constraints.md: Adjust unused letters.
[gcc.git] / gcc / ChangeLog
1 2013-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2
3 * config/pa/constraints.md: Adjust unused letters. Change "T"
4 constraint to match_test floating_point_store_memory_operand().
5 * config/pa/predicates.md (reg_plus_base_memory_operand): New.
6 (base14_operand): New.
7 (floating_point_store_memory_operand): New.
8 (integer_store_memory_operand): Revise to use base14_operand and
9 reg_plus_base_memory_operand.
10 (move_dest_operand): Allow symbolic_memory_operands.
11 (symbolic_memory_operand): Check for LO_SOM.
12 (symbolic_operand): Change default case to break.
13 * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force
14 CONST_DOUBLE values to be reloaded by putting them into memory when
15 the destination is a floating point register.
16 (movdf): Remove code to handle CONST_DOUBLE.
17 (movsf): Likewise.
18 (reload_indf_r1): New.
19 (reload_insf_r1): New.
20 Consistently use "Q" and "T" constraints with integer and floating
21 point move instructions, respectively.
22 (movdi): Remove FAIL.
23 Change predicate for source operand unamed DImode move from
24 general_operand to move_src_operand.
25 (umulsidi3): Change predicate for destination operand to
26 register_operand.
27 Likewise for similar unamed patterns.
28 * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare.
29 * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis.
30 (hppa_legitimize_address): Simplify mask calculation.
31 (pa_emit_move_sequence): Revised handling of secondary reloads from
32 REG+D addresses for floating point loads and stores. Directly handle
33 loading CONST0_RTX (mode) to a floating point register.
34 (pa_secondary_reload): Handle reloading DF and SFmode constant values
35 to floating point registers. Don't restrict secondary reloads to
36 floating point registers to integer modes. Revise some comments and
37 cleanup some code.
38 (TARGET_LEGITIMATE_ADDRESS_P): Define.
39 (pa_legitimate_address_p): New.
40 (pa_legitimize_reload_address): New.
41 * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New.
42 (STRICT_REG_OK_FOR_BASE_P): New.
43 (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments.
44 (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address.
45
46 2013-02-03 David Edelsohn <dje.gcc@gmail.com>
47 Andrew Dixie <andrewd@gentrack.com>
48
49 * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY
50 flag set.
51
52 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
53
54 * expmed.c (extract_bit_field_1): Pass the full width of the
55 structure to get_best_reg_extraction_insn.
56
57 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
58
59 PR target/54601
60 * configure.ac (use_cxa_atexit): Add AIX.
61 * configure: Regenerate.
62
63 * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o.
64
65 2013-02-01 Jakub Jelinek <jakub@redhat.com>
66
67 PR debug/54793
68 * final.c (need_profile_function): New variable.
69 (final_start_function): Drop ATTRIBUTE_UNUSED from first argument.
70 If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG
71 is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED
72 notes, targetm.asm_out.function_prologue doesn't emit anything,
73 HAVE_prologue and profiler should be emitted before prologue,
74 set need_profile_function instead of emitting it.
75 (final_scan_insn): If need_profile_function, emit
76 profile_function on the first NOTE_INSN_BASIC_BLOCK or
77 NOTE_INSN_FUNCTION_BEG note.
78
79 2013-02-01 Richard Henderson <rth@redhat.com>
80
81 * config/rs6000/rs6000.md (smulditi3): New.
82 (umulditi3): New.
83
84 * config/alpha/alpha.md (umulditi3): New.
85
86 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
87
88 * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2.
89 (ASM_OUTPUT_ALIGNED_LOCAL): New.
90
91 2013-02-01 Richard Biener <rguenther@suse.de>
92
93 PR tree-optimization/56113
94 * tree-ssa-structalias.c (label_visit): Reduce work for
95 single-predecessor nodes.
96
97 2013-02-01 Eric Botcazou <ebotcazou@adacore.com>
98
99 * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the
100 range isn't testing for zero.
101
102 2013-01-31 Steven Bosscher <steven@gcc.gnu.org>
103
104 PR middle-end/56113
105 * fwprop.c (fwprop_init): Set up loops without CFG modifications.
106
107 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com>
108 Nick Clifton <nickc@redhat.com>
109
110 * config/v850/constraints.md (Q): Define as a memory constraint.
111 * config/v850/predicates.md (label_ref_operand): New predicate.
112 (e3v5_shift_operand): New predicate.
113 (ior_operator): New predicate.
114 * config/v850/t-v850: Add e3v5 multilib.
115 * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype.
116 (v850_gen_movdi): Prototype.
117 * config/v850/v850.c: Add support for e3v5 architecture.
118 Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to
119 TARGET_V850E_UP.
120 (construct_save_jarl): Add e3v5 long JARL support.
121 (v850_adjust_insn_length): New function. Adjust length of call
122 insns when using e3v5 instructions.
123 (v850_gen_movdi): New function: Generate instructions to move a
124 DImode value.
125 * config/v850/v850.h (TARGET_CPU_v850e3v5): Define.
126 (CPP_SPEC): Define __v850e3v5__ as appropriate.
127 (TARGET_USE_FPU): Enable for e3v5.
128 (CONST_OK_FOR_W): New macro.
129 (ADJUST_INSN_LENGTH): Define.
130 * config/v850/v850.md (UNSPEC_LOOP): Define.
131 (attr cpu): Add v850e3v5.
132 Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP.
133 (movdi): New pattern.
134 (movdi_internal): New pattern.
135 (cbranchsf4): Conditionalize on TARGET_USE_FPU.
136 (cbranchdf4): Conditionalize on TARGET_USE_FPU.
137 (cstoresf4): Likewise.
138 (cstoredf4): Likewise.
139 (insv): New pattern.
140 (rotlso3_a): New pattern.
141 (rotlsi3_b): New pattern
142 (rotlsi3_v850e3v5): New pattern.
143 (doloop_begin): New pattern.
144 (fix_loop_counter): New pattern.
145 (doloop_end): New pattern.
146 (branch_normal): Add e3v5 long branch support.
147 (branch_invert): Likewise.
148 (branch_z_normal): Likewise.
149 (branch_z_invert): Likewise.
150 (branch_nz_normal): Likewise.
151 (branch_nz_invert): Likewise.
152 (call_internal_short): Add e3v5 register-indirect JARL support.
153 (call_internal_long): Likewise.
154 (call_value_internal_short): Likewise.
155 (call_value_internal_long): Likewise.
156 * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options.
157 (mloop): New option.
158 * config.gcc: Add support for configuring v840e3v5 target.
159 * doc/invoke.texi: Document new v850 specific command line
160 options.
161
162 2013-01-31 Paul Koning <ni1d@arrl.net>
163
164 PR debug/55059
165 PR debug/54508
166 * dwarf2out.c (prune_unused_types_mark): Mark all of parent's
167 children if parent is a class.
168 (prune_unused_types_prune): Don't add DW_AT_declaration.
169
170 2013-01-31 Richard Biener <rguenther@suse.de>
171
172 PR tree-optimization/56157
173 * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to
174 match up operand with SLP child.
175
176 2013-01-31 Jason Merrill <jason@redhat.com>
177
178 PR debug/54410
179 * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template
180 parameters the first time.
181 (gen_scheduled_generic_parms_dies): Check completeness here.
182
183 2013-01-31 Richard Biener <rguenther@suse.de>
184
185 PR middle-end/53073
186 * common.opt (faggressive-loop-optimizations): New flag,
187 enabled by default.
188 * doc/invoke.texi (faggressive-loop-optimizations): Document.
189 * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard
190 infer_loop_bounds_from_undefined by it.
191
192 2013-01-31 Richard Biener <rguenther@suse.de>
193
194 PR tree-optimization/56150
195 * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not
196 visit virtual operands.
197 (find_uses_to_rename_bb): Likewise.
198
199 2013-01-31 Richard Biener <rguenther@suse.de>
200
201 PR tree-optimization/56150
202 * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle
203 mixed store non-store stmts.
204
205 2013-01-30 Jakub Jelinek <jakub@redhat.com>
206
207 PR sanitizer/55374
208 * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if
209 LIBASAN_EARLY_SPEC is defined.
210 (LIBASAN_EARLY_SPEC): Define to empty string if not already defined.
211 (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address,
212 before %o.
213 * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define.
214
215 PR c++/55742
216 * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose
217 invalid args instead of ICEing on it.
218 (ix86_valid_target_attribute_tree): Return error_mark_node if
219 ix86_valid_target_attribute_inner_p failed.
220 (ix86_valid_target_attribute_p): Return false only if
221 ix86_valid_target_attribute_tree returned error_mark_node. Allow
222 target("default") attribute.
223 (sorted_attr_string): Change argument from const char * to tree,
224 merge in all target attribute arguments rather than just one.
225 Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC
226 instead of free. Avoid using strcat.
227 (ix86_mangle_function_version_assembler_name): Mangle
228 target("default") as if no target attribute is present. Adjust
229 sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC
230 instead of xmalloc and XDELETEVEC instead of free.
231 (ix86_function_versions): Don't return true if one of the decls
232 doesn't have target attribute. If they don't and one of the decls
233 is DECL_FUNCTION_VERSIONED, report an error. Adjust
234 sorted_attr_string caller. Use XDELETEVEC instead of free.
235 (ix86_supports_function_versions): Remove.
236 (make_name): Fix up formatting.
237 (make_dispatcher_decl): Remove resolver_name and its initialization.
238 Avoid leaking memory.
239 (is_function_default_version): Return true if there is
240 target("default") attribute rather than no target attribute at all.
241 (make_resolver_func): Avoid leaking memory.
242 (ix86_generate_version_dispatcher_body): Likewise.
243 (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove.
244 * target.def (supports_function_versions): Remove.
245 * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove.
246 * doc/tm.texi: Regenerated.
247
248 2013-01-30 Vladimir Makarov <vmakarov@redhat.com>
249
250 PR rtl-optimization/56144
251 * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo
252 for values with side effects.
253
254 2013-01-30 Richard Biener <rguenther@suse.de>
255
256 * sparseset.h (sparseset_bit_p): Use gcc_checking_assert.
257 (sparseset_pop): Likewise.
258 * cfganal.c (compute_idf): Likewise. Increase work-stack size
259 to be able to use quick_push in the worker loop.
260
261 2013-01-30 Marek Polacek <polacek@redhat.com>
262
263 * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs.
264
265 2013-01-30 Richard Biener <rguenther@suse.de>
266
267 PR lto/56147
268 * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN
269 check.
270
271 2013-01-30 Georg-Johann Lay <avr@gjlay.de>
272
273 PR tree-optimization/56064
274 * fixed-value.c (fixed_from_double_int): New function.
275 * fixed-value.h (fixed_from_double_int): New prototype.
276 (const_fixed_from_double_int): New static inline function.
277 * fold-const.c (native_interpret_fixed): New static function.
278 (native_interpret_expr) <FIXED_POINT_TYPE>: Use it.
279 (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true.
280 (native_encode_fixed): New static function.
281 (native_encode_expr) <FIXED_CST>: Use it.
282 (native_interpret_int): Move double_int worker code to...
283 * double-int.c (double_int::from_buffer): ...this new static method.
284 * double-int.h (double_int::from_buffer): Prototype it.
285
286 2013-01-30 Richard Biener <rguenther@suse.de>
287
288 * tree-ssa-structalias.c (final_solutions, final_solutions_obstack):
289 New pointer-map and obstack.
290 (init_alias_vars): Allocate pointer-map and obstack.
291 (delete_points_to_sets): Free them.
292 (find_what_var_points_to): Cache result.
293 (find_what_p_points_to): Adjust for changed interface of
294 find_what_var_points_to.
295 (compute_points_to_sets): Likewise.
296 (ipa_pta_execute): Likewise.
297
298 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
299
300 * configure.ac (HAVE_AS_SPARC_NOBITS): New test.
301 * configure: Regenerate.
302 * config.in: Regenerate.
303 * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit
304 #nobits/#progbits if supported.
305
306 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org>
307
308 PR target/56121
309 * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a,
310 bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a,
311 bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition.
312
313 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
314
315 * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove.
316 (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all.
317
318 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
319
320 * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL.
321 * config/arm/cortex-a7.md (cortex_a7_call): Update required units.
322
323 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
324
325 * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New
326 declaration.
327 * config/arm/arm.c (arm_mac_accumulator_is_result): New function.
328 * config/arm/cortex-a7.md: New bypasses using
329 arm_mac_accumulator_is_result.
330
331 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
332
333 * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation.
334 (cortex_a7_neon_mla): Likewise.
335 (cortex_a7_fpfmad): New reservation.
336 (cortex_a7_fpmacs): Use ffmas and update required units.
337 (cortex_a7_fpmuld): Update required units and latency.
338 (cortex_a7_fpmacd): Likewise.
339 (cortex_a7_fdivs, cortex_a7_fdivd): Likewise.
340 (cortex_a7_neon). Likewise.
341 (bypass) Update participating units.
342
343 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
344
345 * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute.
346 * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type
347 from fmac to ffma.
348 * config/arm/vfp11.md (vfp_farith): Use ffmas.
349 (vfp_fmul): Use ffmad.
350 * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas.
351 (cortex_r4_fmacd): Use ffmad.
352 * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas.
353 * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas.
354 (cortex_a9_fmacd): Use ffmad.
355 * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas.
356 (cortex_a8_vfp_macd): Use ffmad.
357 * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas.
358 (cortex_a5_fpmacd): Use ffmad.
359 * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas.
360 (cortex_a15_vfp_macd): Use ffmad.
361 * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad.
362
363 2013-01-29 Jason Merrill <jason@redhat.com>
364
365 PR libstdc++/54314
366 * varasm.c (default_assemble_visibility): Don't warn about
367 visibility on artificial decls.
368
369 2013-01-29 Richard Biener <rguenther@suse.de>
370
371 PR tree-optimization/56113
372 * tree-ssa-structalias.c (equiv_class_lookup): Also return
373 the bitmap leader.
374 (label_visit): Free duplicate bitmaps and record the leader instead.
375 (perform_var_substitution): Adjust.
376
377 2013-01-29 Richard Biener <rguenther@suse.de>
378
379 PR tree-optimization/55270
380 * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed
381 the CFG, schedule loops for fixup.
382
383 2013-01-29 Nick Clifton <nickc@redhat.com>
384
385 * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow
386 SP_REG.
387
388 2013-01-28 Leif Ekblad <leif@rdos.net>
389
390 * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets.
391 * config/i386/i386.h (TARGET_RDOS): New macro.
392 (DEFAULT_LARGE_SECTION_THRESHOLD): New macro.
393 * config/i386/i386.c (ix86_option_override_internal): For 64bit
394 TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1.
395 * config/i386/i386.opt (mlarge-data-threshold): Initialize to
396 DEFAULT_LARGE_SECTION_THRESHOLD.
397 * config/i386/i386.md (R14_REG, R15_REG): New constants.
398 * config/i386/rdos.h: New file.
399 * config/i386/rdos64.h: New file.
400
401 2013-01-28 Bernd Schmidt <bernds@codesourcery.com>
402
403 PR other/54814
404 * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of
405 TEST_HARD_REG_BIT.
406
407 2013-01-28 Jakub Jelinek <jakub@redhat.com>
408
409 PR rtl-optimization/56117
410 * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib
411 call cselib_lookup_from_insn on the MEM before calling
412 add_insn_mem_dependence.
413
414 2013-01-28 Richard Biener <rguenther@suse.de>
415
416 * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK
417 to a stmt that didn't have one.
418 (copy_phis_for_bb): Likewise for PHI arguments.
419 (copy_debug_stmt): Likewise for debug stmts.
420
421 2013-01-28 Richard Biener <rguenther@suse.de>
422
423 PR tree-optimization/56034
424 * tree-loop-distribution.c (enum partition_kind): Add
425 PKIND_REDUCTION.
426 (partition_builtin_p): Adjust.
427 (generate_code_for_partition): Handle PKIND_REDUCTION. Assert
428 it is the last partition.
429 (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking
430 up the vertex for the definition.
431 (classify_partition): Classify whether a partition is a
432 PKIND_REDUCTION, thus has uses outside of the loop.
433 (ldist_gen): Inherit PKIND_REDUCTION when merging partitions.
434 Merge all PKIND_REDUCTION partitions into the last partition.
435 (tree_loop_distribution): Seed partitions from reductions as well.
436
437 2013-01-28 Jakub Jelinek <jakub@redhat.com>
438
439 PR tree-optimization/56125
440 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize
441 pow(x,c) into sqrt(x) * powi(x, n/2) or
442 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when
443 optimizing for size.
444 Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or
445 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an
446 integer.
447
448 PR tree-optimization/56094
449 * gimplify.c (force_gimple_operand_1): Temporarily set input_location
450 to UNKNOWN_LOCATION while gimplifying expr.
451
452 2013-01-27 Uros Bizjak <ubizjak@gmail.com>
453
454 PR target/56114
455 * config/i386/i386.md (*movabs<mode>_1): Add square brackets around
456 operand 0 in movabs insn template for -masm=intel asm alternative.
457 (*movabs<mode>_2): Ditto for operand 1.
458
459 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
460
461 PR target/54663
462 * config.gcc (microblaze*-linux*): Add tmake_file to allow building
463 of microblaze-c.o
464
465 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
466
467 * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update
468 tm_file.
469
470 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
471
472 * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS):
473 Undef to avoid warning.
474
475 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at>
476
477 * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
478 * configure: Regenerate.
479
480 2013-01-25 Jakub Jelinek <jakub@redhat.com>
481
482 PR tree-optimization/56098
483 * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr
484 for stmts with volatile ops.
485 (cond_store_replacement): Don't optimize if assign has volatile ops.
486 (cond_if_else_store_replacement_1): Don't optimize if either
487 then_assign or else_assign have volatile ops.
488 (hoist_adjacent_loads): Don't optimize if either def1 or def2 have
489 volatile ops.
490
491 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
492
493 * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__.
494
495 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
496
497 * doc/extend.texi (Example of asm with clobbered asm reg): Fix
498 missing ':' in asm example.
499
500 2013-01-25 Tejas Belagod <tejas.belagod@arm.com>
501
502 * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane
503 entries into lane and laneq entries.
504 * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>):
505 Remove AdvSIMD scalar modes.
506 (aarch64_sq<r>dmulh_laneq<mode>): New.
507 (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD
508 modes.
509 * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics'
510 builtin implementations to relfect changes in RTL in aarch64-simd.md.
511 * config/aarch64/iterators.md (VCOND): New.
512 (VCONQ): New.
513
514 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
515
516 PR target/54222
517 * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument.
518 Add NULL LIBNAME argument to existing definitions.
519 (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New.
520 * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument.
521 * config/avr/avr.c (DEF_BUILTIN): Same.
522 (avr_init_builtins): Pass down LIBNAME to add_builtin_function.
523 (avr_expand_builtin): Expand to a vanilla call if a libgcc
524 implementation is available (DECL_ASSEMBLER_NAME is set).
525 (avr_fold_absfx): New static function.
526 (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR,
527 AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR,
528 AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK,
529 AVR_BUILTIN_ABSLLK.
530 * config/avr/stdfix.h (abshr, absr, abslr, absllr)
531 (abshk, absk, abslk, absllk): Provide as static inline functions.
532
533 2013-01-25 Marek Polacek <polacek@redhat.com>
534
535 PR tree-optimization/56035
536 * cfgloopmanip.c (fix_loop_structure): Remove redundant condition.
537
538 2012-01-24 Uros Bizjak <ubizjak@gmail.com>
539
540 * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative.
541 (*movtf_internal_rex64): Add (!o,C) alternative
542 (*movxf_internal_rex64): Ditto.
543 (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives.
544
545 2013-01-24 Shenghou Ma <minux.ma@gmail.com>
546
547 * doc/invoke.texi: fix typo.
548 * doc/objc.texi: fix typo.
549
550 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com>
551
552 * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
553 for the first two alternatives.
554
555 2013-01-24 Diego Novillo <dnovillo@google.com>
556
557 * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o.
558 (ggc-zone.o): Remove.
559 * configure.ac: Remove option --with-gc.
560 * configure: Re-generate.
561 * doc/install.texi: Remove documentation for --with-gc.
562 * gengtype.c (write_enum_defn): Remove. Update all users.
563 (write_Types_process_field): Remove generation of gt_e_* argument.
564 (output_type_enum): Remove. Update all users.
565 (write_enum_defn): Remove. Update all users.
566 (enum alloc_zone): Remove. Update all users.
567 (write_splay_tree_allocator_def): Remove generation of gt_e_* argument.
568 * ggc-common.c (ggc_splay_alloc): Remove first argument.
569 Update all callers.
570 (struct ptr_data): Remove field TYPE. Update all users.
571 (gt_pch_note_object): Remove argument TYPE. Update all users.
572 * ggc-internal.h (ggc_pch_alloc_object): Remove last argument.
573 Update all users.
574 * ggc-none.c (ggc_alloc_typed_stat): Remove.
575 (struct alloc_zone): Remove.
576 (ggc_internal_alloc_zone_stat): Remove.
577 (ggc_internal_cleared_alloc_zone_stat): Remove.
578 * ggc-page.c (ggc_alloc_typed_stat): Remove.
579 (ggc_pch_count_object): Remove last argument. Update all users.
580 (ggc_pch_alloc_object): Remove last argument. Update all users.
581 (struct alloc_zone): Remove.
582 * ggc-zone.c: Remove.
583 * ggc.h (gt_pch_note_object): Remove last argument. Update all users.
584 (struct alloc_zone): Remove.
585 (ggc_alloc_typed_stat): Remove.
586 (ggc_alloc_typed): Remove.
587 (ggc_splay_alloc): Remove first argument.
588 (rtl_zone): Remove. Update all users.
589 (tree_zone): Remove. Update all users.
590 (tree_id_zone): Remove. Update all users.
591 (ggc_internal_zone_alloc_stat): Remove. Update all users.
592 (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users.
593 (ggc_internal_zone_vec_alloc_stat): Remove. Update all users.
594 * tree-ssanames.c: Remove references to zone allocator in comments.
595
596 2013-01-24 Georg-Johann Lay <avr@gjlay.de>
597
598 * config/avr/avr.c (avr_out_fract): Make register numbers that
599 might be outside of source operand signed.
600
601 2013-01-24 Uros Bizjak <ubizjak@gmail.com>
602
603 * config/i386/constraints.md (Yf): New constraint.
604 * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead
605 of f constraint to conditionaly disable x87 register preferences.
606 (*movdf_internal): Ditto.
607 (*movsf_internal): Ditto.
608
609 2013-01-24 Steven Bosscher <steven@gcc.gnu.org>
610
611 PR inline-asm/55934
612 * lra-assigns.c (assign_by_spills): Throw away the pattern of asms
613 that have operands with impossible constraints.
614 Add a FIXME for a speed-up opportunity.
615 * lra-constraints.c (process_alt_operands): Verify that a class
616 selected from constraints on asms is valid for the operand mode.
617 (curr_insn_transform): Remove incorrect comment.
618
619 2013-01-23 David Edelsohn <dje.gcc@gmail.com>
620
621 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that
622 TOC operand is a valid symbol ref in the constant pool.
623
624 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com>
625
626 * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS
627
628 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
629
630 PR target/54222
631 * config/avr/stdfix.h: New file.
632 * t-avr (stdfix-gcc.h): New rule to build it.
633 (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h.
634
635 2013-01-23 Kostya Serebryany <kcc@google.com>
636
637 * config/darwin.h: remove dependency on
638 CoreFoundation (asan on Mac OS).
639
640 2013-01-23 Jakub Jelinek <jakub@redhat.com>
641
642 PR target/49069
643 * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
644 instead of cmpdi_operand for first comparison operand.
645 Don't assert that comparison operands aren't both constants.
646
647 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
648
649 * doc/install.texi (Downloading the Source): Update references to
650 downloading separate components.
651
652 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
653
654 * doc/extend.texi (__int128): Improve grammar.
655
656 2013-01-22 Uros Bizjak <ubizjak@gmail.com>
657
658 PR target/56028
659 * config/i386/i386.md (*movti_internal_rex64): Change (o,riF)
660 alternative to (o,r).
661 (*movdi_internal_rex64): Remove (!o,n) alternative.
662 (DImode immediate->memory splitter): Remove.
663 (DImode immediate->memory peephole2): Remove.
664 (movtf): Enable for TARGET_64BIT || TARGET_SSE.
665 (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r)
666 alternative to (!o,*r).
667 (*movtf_internal_sse): New pattern.
668 (*movxf_internal_rex64): New pattern.
669 (*movxf_internal): Disable for TARGET_64BIT.
670 (*movdf_internal_rex64): Remove (!o,F) alternative.
671
672 2013-01-22 Jakub Jelinek <jakub@redhat.com>
673
674 PR middle-end/56074
675 * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc)
676 isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION.
677 * tree-vect-loop-manip.c (find_loop_location): Also ignore
678 stmt locations where LOCATION_LOCUS of the stmt location is
679 UNKNOWN_LOCATION or BUILTINS_LOCATION.
680
681 PR target/55686
682 * config/i386/i386.md (UNSPEC_STOS): New.
683 (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1,
684 *strsetqi_1): Add UNSPEC_STOS.
685
686 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com>
687
688 PR c++/56067
689 * doc/invoke.texi: Remove left over -Wsynth example.
690
691 2013-01-21 Jakub Jelinek <jakub@redhat.com>
692
693 PR tree-optimization/56051
694 * fold-const.c (fold_binary_loc): Don't fold
695 X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
696 a narrowing conversion, or widening conversion from signed
697 to unsigned.
698
699 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
700
701 PR rtl-optimization/56023
702 * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
703 dependent on debug instruction.
704
705 2013-01-21 Martin Jambor <mjambor@suse.cz>
706
707 PR middle-end/56022
708 * function.c (allocate_struct_function): Call
709 invoke_set_current_function_hook earlier.
710
711 2013-01-21 Jakub Jelinek <jakub@redhat.com>
712
713 * reload1.c (init_reload): Only initialize reload_obstack
714 during the first call.
715
716 2013-01-21 Marek Polacek <polacek@redhat.com>
717
718 * cfgloop.c (verify_loop_structure): Fix up grammar.
719
720 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com>
721
722 * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift,
723 pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift.
724
725 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
726
727 PR target/56058
728 * config/arm/marvell-pj4.md: Update copyright year.
729 Fix up use of alu to alu_reg and simple_alu_imm.
730
731 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
732
733 * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
734
735 2013-01-20 Vladimir Makarov <vmakarov@redhat.com>
736
737 PR target/55433
738 * lra-constraints.c (curr_insn_transform): Don't reuse original
739 insn for secondary memory move when memory mode should be different.
740
741 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
742
743 * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi,
744 atomic_storedi_1): New patterns.
745
746 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
747
748 btver2 pipeline descriptions.
749 * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
750 descriptions.
751 * config/i386/i386.md (btver2_decode): New type attributes.
752 * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
753 type attributes.
754 * config/i386/btver2.md: New file describing btver2 pipelines.
755
756 2013-01-19 Andrew Pinski <apinski@cavium.com>
757
758 PR tree-optimization/52631
759 * tree-ssa-sccvn (visit_use): Before looking up the original
760 statement, try looking up the simplified expression.
761
762 2013-01-19 Anthony Green <green@moxielogic.com>
763
764 * config/moxie/moxie.c (moxie_expand_prologue): Set
765 current_function_static_stack_size.
766
767 2013-01-18 Jakub Jelinek <jakub@redhat.com>
768
769 PR tree-optimization/56029
770 * tree-phinodes.c (reserve_phi_args_for_new_edge): Set
771 gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
772
773 2013-01-18 Sharad Singhai <singhai@google.com>
774
775 PR tree-optimization/55995
776 * dumpfile.c (dump_loc): Print location only if available.
777 * tree-vectorizer.c (increase_alignment): Intialize vect_location.
778
779 2013-01-18 Vladimir Makarov <vmakarov@redhat.com>
780
781 PR target/55433
782 * lra-constraints.c (curr_insn_transform): Reuse original insn for
783 secondary memory move.
784 (inherit_reload_reg): Use rclass instead of cl for
785 check_secondary_memory_needed_p.
786
787 2013-01-18 Jakub Jelinek <jakub@redhat.com>
788
789 PR middle-end/56015
790 * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
791 the case where writing real complex part of target modifies op1.
792
793 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com>
794
795 * config/aarch64/aarch64-simd.md
796 (aarch64_vcond_internal<mode>): Handle unordered cases.
797 * config/aarch64/iterators.md (v_cmp_result): New.
798
799 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com>
800 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
801
802 * config/arm/marvell-pj4.md: New file.
803 * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
804 * config/arm/arm.md (generic_sched): Add marvell_pj4.
805 (generic_vfp): Likewise.
806 * config/arm/arm-cores.def: Add marvell-pj4.
807 * config/arm/arm-tune.md: Regenerate.
808 * config/arm/arm-tables.opt: Regenerate.
809 * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
810 * doc/invoke.texi: Document marvell-pj4.
811
812 2013-01-18 Tejas Belagod <tejas.belagod@arm.com>
813
814 * config/aarch64/arm_neon.h: Map scalar types to standard types.
815
816 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
817
818 PR debug/54114
819 PR debug/54402
820 PR debug/49888
821 * var-tracking.c (negative_power_of_two_p): New.
822 (global_get_addr_cache, local_get_addr_cache): New.
823 (get_addr_from_global_cache, get_addr_from_local_cache): New.
824 (vt_canonicalize_addr): Rewrite using the above. Adjust the
825 heading comment.
826 (vt_stack_offset_p): Remove.
827 (vt_canon_true_dep): Always canonicalize loc's address.
828 (clobber_overlapping_mems): Make sure we have a MEM.
829 (local_get_addr_clear_given_value): New.
830 (val_reset): Clear local cached entries.
831 (compute_bb_dataflow): Create and release the local cache.
832 Disable duplicate MEMs clobbering.
833 (emit_notes_in_bb): Clobber MEMs likewise.
834 (vt_emit_notes): Create and release the local cache.
835 (vt_initialize, vt_finalize): Create and release the global
836 cache, respectively.
837 * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
838
839 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
840
841 PR libmudflap/53359
842 * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
843 not found in the symtab.
844
845 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
846
847 PR debug/56006
848 PR rtl-optimization/55547
849 PR rtl-optimization/53827
850 PR debug/53671
851 PR debug/49888
852 * alias.c (offset_overlap_p): New, factored out of...
853 (memrefs_conflict_p): ... this. Use absolute sizes. Retain
854 the conservative special case for symbolic constants. Don't
855 adjust zero sizes on alignment.
856
857 2013-01-18 Bernd Schmidt <bernds@codesourcery.com>
858
859 PR rtl-optimization/52573
860 * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
861 REG_UNUSED for the same register.
862
863 2013-01-17 Richard Biener <rguenther@suse.de>
864 Marek Polacek <polacek@redhat.com>
865
866 PR rtl-optimization/55833
867 * loop-unswitch.c (unswitch_loops): Move loop verification...
868 (unswitch_single_loop): ...here. Call mark_irreducible_loops.
869 * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
870 Set it to true when we're removing a loop from hierarchy tree in
871 an irreducible region.
872 (fix_bb_placements): Adjust caller.
873 (fix_loop_placements): Likewise.
874
875 2013-01-17 Georg-Johann Lay <avr@gjlay.de>
876
877 * config/avr/builtins.def (DEF_BUILTIN): Factor out
878 "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
879 Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
880 Remove ID. Adjust comments.
881 * config/avr/avr-c.c (avr_builtin_name): Remove.
882 (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
883 * config/avr/avr.c (avr_tolower): New static function.
884 (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'.
885 Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
886 (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
887 default expansion.
888
889 2013-01-17 Jan Hubicka <jh@suse.cz>
890
891 PR tree-optimization/55273
892 * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
893
894 2013-01-17 Uros Bizjak <ubizjak@gmail.com>
895
896 PR target/55981
897 * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
898 store through atomic_store<mode>_1.
899 (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
900
901 2013-01-17 Martin Jambor <mjambor@suse.cz>
902
903 PR tree-optimizations/55264
904 * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
905 for virtual methods.
906 * ipa.c (symtab_remove_unreachable_nodes): Never return true for
907 virtual methods before inlining is over.
908 * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
909 virtual functions.
910 * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
911 non-virtual.
912
913 2013-01-16 Vladimir Makarov <vmakarov@redhat.com>
914
915 PR rtl-optimization/56005
916 * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
917 pending reads for prefetch.
918
919 2013-01-16 Ian Bolton <ian.bolton@arm.com>
920
921 * config/aarch64/aarch64.md
922 (*cstoresi_neg_uxtw): New pattern.
923 (*cmovsi_insn_uxtw): New pattern.
924 (*<optab>si3_uxtw): New pattern.
925 (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
926 (*<optab>si3_insn_uxtw): New pattern.
927 (*bswapsi2_uxtw): New pattern.
928
929 2013-01-16 Richard Biener <rguenther@suse.de>
930
931 * tree-inline.c (tree_function_versioning): Remove set but
932 never used variable.
933
934 2013-01-16 Richard Biener <rguenther@suse.de>
935
936 PR tree-optimization/55964
937 * tree-flow.h (rename_variables_in_loop): Remove.
938 (rename_variables_in_bb): Likewise.
939 * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
940 (copy_loop_before): Adjust and delete update-ssa status.
941 * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
942 (rename_variables_in_bb): Likewise. Properly walk over predecessors.
943 (rename_variables_in_loop): Remove.
944 (slpeel_update_phis_for_duplicate_loop): Likewise.
945 (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
946 use available cfg machinery instead of duplicating it.
947 Update PHI nodes and perform poor-mans SSA update here.
948 (slpeel_tree_peel_loop_to_edge): Adjust.
949
950 2013-01-16 Richard Biener <rguenther@suse.de>
951
952 PR tree-optimization/54767
953 PR tree-optimization/53465
954 * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
955 (vrp_visit_phi_node): For PHI arguments coming via backedges
956 drop all symbolical range information.
957 (execute_vrp): Compute backedges.
958
959 2013-01-16 Richard Biener <rguenther@suse.de>
960
961 * doc/install.texi: Update CLooG and ISL requirements to
962 0.18.0 and 0.11.1.
963
964 2013-01-16 Christian Bruel <christian.bruel@st.com>
965
966 PR target/55301
967 * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
968 (broken_move): Handle UNSPECV_SP_SWITCH_B.
969 * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
970
971 2013-01-16 DJ Delorie <dj@redhat.com>
972
973 * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
974 (UNSPECV_SP_SWITCH_E): New.
975 (sp_switch_1): Change to an unspec.
976 (sp_switch_2): Change to an unspec. Don't use post-inc when we
977 replace $r15.
978
979 2013-01-16 Uros Bizjak <ubizjak@gmail.com>
980
981 * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
982 with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
983 * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
984 (expand_mem_thread_fence): Ditto.
985 (expand_mem_signal_fence): Ditto.
986 (expand_atomic_load): Ditto.
987 (expand_atomic_store): Ditto.
988
989 2013-01-16 Alexandre Oliva <aoliva@redhat.com>
990
991 PR rtl-optimization/55547
992 PR rtl-optimization/53827
993 PR debug/53671
994 PR debug/49888
995 * alias.c (memrefs_conflict_p): Set sizes to negative after
996 AND adjustments.
997
998 2013-01-15 Jakub Jelinek <jakub@redhat.com>
999
1000 PR target/55940
1001 * function.c (thread_prologue_and_epilogue_insns): Always
1002 add crtl->drap_reg to set_up_by_prologue.set, even if
1003 stack_realign_drap is false.
1004
1005 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
1006
1007 * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
1008 and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
1009 *call): Fix indention.
1010
1011 2013-01-15 Tom de Vries <tom@codesourcery.com>
1012
1013 PR target/55876
1014 * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
1015 Update comment.
1016
1017 2013-01-15 Vladimir Makarov <vmakarov@redhat.com>
1018
1019 PR rtl-optimization/55153
1020 * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
1021
1022 2013-01-15 Martin Jambor <mjambor@suse.cz>
1023
1024 PR tree-optimization/55920
1025 * tree-sra.c (analyze_access_subtree): Do not mark non-removable
1026 accesses as grp_to_be_debug_replaced.
1027
1028 2013-01-15 Jakub Jelinek <jakub@redhat.com>
1029
1030 PR tree-optimization/55920
1031 * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
1032 there is non-useless type conversion needed from debug rhs to lhs,
1033 use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
1034
1035 2013-01-15 Joseph Myers <joseph@codesourcery.com>
1036 Mikael Pettersson <mikpe@it.uu.se>
1037
1038 PR target/43961
1039 * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
1040 Thumb.
1041 (ASM_OUTPUT_CASE_LABEL): Remove.
1042 (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
1043 * final.c (shorten_branches): Update alignment of labels before
1044 jump tables if CASE_VECTOR_SHORTEN_MODE.
1045
1046 2013-01-15 Richard Biener <rguenther@suse.de>
1047
1048 PR bootstrap/55961
1049 * system.h: Do not include gmp.h for building host tools.
1050
1051 2013-01-15 Richard Biener <rguenther@suse.de>
1052
1053 PR middle-end/55882
1054 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
1055 account for bitpos when computing alignment.
1056
1057 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com>
1058
1059 * config/i386/i386-c.c (ix86_target_macros_internal): New case.
1060 (ix86_target_macros_internal): Likewise.
1061
1062 * config/i386/i386.c (m_CORE2I7): Removed.
1063 (m_CORE_HASWELL): New macro.
1064 (m_CORE_ALL): Likewise.
1065 (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
1066 (initial_ix86_arch_features): Likewise.
1067 (processor_target_table): Initializations for Core avx2.
1068 (cpu_names): New names "core-avx2".
1069 (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
1070 PROCESSOR_CORE_HASWELL.
1071 (ix86_issue_rate): New case.
1072 (ia32_multipass_dfa_lookahead): Likewise.
1073 (ix86_sched_init_global): Likewise.
1074
1075 * config/i386/i386.h (TARGET_HASWELL): New macro.
1076 (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
1077 (processor_type): New PROCESSOR_HASWELL.
1078
1079 2013-01-15 Jakub Jelinek <jakub@redhat.com>
1080
1081 PR tree-optimization/55955
1082 * tree-vect-loop.c (vectorizable_reduction): Give up early on
1083 *SHIFT_EXPR and *ROTATE_EXPR codes.
1084
1085 PR tree-optimization/48766
1086 * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
1087 -ftrapv disable -fwrapv.
1088
1089 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1090
1091 PR target/55974
1092 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
1093 etc. to 1 and not to __flash.
1094 Use LL suffix for __INT24_MAX__ with -mint8.
1095 Use ULL suffix for __UINT24_MAX__ with -mint8.
1096
1097 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1098
1099 * config/avr/avr-arch.h
1100 (struct base_arch_s): Use typedef avr_arch_t instead.
1101 (struct arch_info_s): Use typedef avr_arch_info_t instead.
1102 (struct mcu_type_s): Use typedef avr_mcu_t instead.
1103 * config/avr/avr.c: Same.
1104 * config/avr/avr-devices.c: Same.
1105 * config/avr/driver-avr.c: Same.
1106 * config/avr/gen-avr-mmcu-texi.c: Same.
1107 * config/avr/avr-mcus.def: Adjust comment.
1108
1109 2013-01-14 Tejas Belagod <tejas.belagod@arm.com>
1110
1111 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
1112 * config/aarch64/iterators.md (VALLDI): New.
1113
1114 2013-01-14 Uros Bizjak <ubizjak@gmail.com>
1115 Andi Kleen <ak@linux.intel.com>
1116
1117 PR target/55948
1118 * config/i386/sync.md (atomic_store<mode>_1): New pattern.
1119 (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
1120 memmodel flag.
1121
1122 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1123
1124 * config/avr/avr-stdint.h: Remove trailing blanks.
1125 * config/avr/avr-log.h: Same.
1126 * config/avr/avr-arch.h: Same.
1127 * config/avr/avr-devices.c: Same.
1128 * config/avr/avr-dimode.md: Same.
1129 * config/avr/predicates.md: Same.
1130 * config/avr/avr-c.c: Same. And fix typo.
1131
1132 * config/avr/avr-protos.h: Same. And:
1133 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
1134 (init_cumulative_args): Rename to avr_init_cumulative_args.
1135 (expand_prologue): Rename to avr_expand_prologue.
1136 (expand_epilogue): Rename to avr_expand_epilogue.
1137 (adjust_insn_length): Rename to avr_adjust_insn_length.
1138 (notice_update_cc): Rename to avr_notice_update_cc.
1139 (final_prescan_insn): Rename to avr_final_prescan_insn.
1140 * config/avr/avr.c: Same.
1141 * config/avr/avr.h: Same.
1142 * config/avr/avr.md: Remove trailing blanks.
1143 (prologue): Use avr_expand_prologue.
1144 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
1145
1146 2013-01-14 Richard Biener <rguenther@suse.de>
1147
1148 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
1149 verify_location, collect_subblocks): New functions.
1150 (verify_gimple_in_cfg): Verify that locations only reference
1151 BLOCKs in the functions BLOCK tree.
1152
1153 2013-01-14 Richard Biener <rguenther@suse.de>
1154
1155 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
1156 PHI argument.
1157 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
1158 unshare reference.
1159 (insert_out_of_ssa_copy_on_edge): Likewise.
1160 (rewrite_close_phi_out_of_ssa): Likewise.
1161 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
1162 debug expressions.
1163 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
1164 propagated constants.
1165 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
1166 can not be shared.
1167
1168 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1169
1170 * config/avr/avr-modes.def: Add GPL copyright notice.
1171
1172 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
1173
1174 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
1175 MEMMODEL_MASK to determine memory model.
1176 (atomic_store<mode>): Ditto from operands[2].
1177 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
1178
1179 2013-01-13 Jakub Jelinek <jakub@redhat.com>
1180
1181 PR fortran/55935
1182 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
1183 (fold_gimple_assign): Don't call unshare_expr here.
1184 (fold_ctor_reference): Call unshare_expr.
1185
1186 2013-01-13 Terry Guo <terry.guo@arm.com>
1187
1188 * Makefile.in (s-mlib): New argument MULTILIB_REUSE.
1189 * doc/fragments.texi: Document MULTILIB_REUSE.
1190 * gcc.c (multilib_reuse): New internal spec.
1191 (set_multilib_dir): Also search multilib from multilib_reuse.
1192 * genmultilib (tmpmultilib3): Refactor code.
1193 (tmpmultilib4): Ditto.
1194 (multilib_reuse): New multilib argument.
1195
1196 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
1197
1198 * Makefile.in: Update copyright.
1199
1200 2013-01-12 Tom de Vries <tom@codesourcery.com>
1201
1202 PR middle-end/55890
1203 * calls.c (expand_call): Check if arg_nr is valid.
1204
1205 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1206
1207 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
1208 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
1209 documentation. Add missing '__' in front of
1210 __builtin_ia32_packssdw256.
1211
1212 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1213
1214 PR target/55719
1215 * config/s390/s390.c (s390_preferred_reload_class): Do not return
1216 NO_REGS for larl operands.
1217 (s390_reload_larl_operand): Use s390_load_address instead of
1218 emit_move_insn.
1219
1220 2013-01-11 Richard Biener <rguenther@suse.de>
1221
1222 * tree-cfg.c (verify_node_sharing_1): Split out from ...
1223 (verify_node_sharing): ... here.
1224 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
1225
1226 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
1227
1228 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
1229 Substitute TREECHECKING.
1230 * configure: Regenerate.
1231 * Makefile.in (TREECHECKING): New.
1232
1233 2013-01-11 Richard Guenther <rguenther@suse.de>
1234
1235 PR tree-optimization/44061
1236 * tree-vrp.c (extract_range_basic): Compute zero as
1237 value-range for __builtin_constant_p of function parameters.
1238
1239 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
1240
1241 Update copyright years.
1242
1243 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
1244
1245 PR rtl-optimization/55672
1246 * lra-eliminations.c (mark_not_eliminable): Permit addition with
1247 const to be eliminable.
1248
1249 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
1250
1251 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
1252 * configure: Regenerate.
1253
1254 2013-01-10 Richard Biener <rguenther@suse.de>
1255
1256 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
1257
1258 2013-01-10 Richard Biener <rguenther@suse.de>
1259
1260 PR bootstrap/55792
1261 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
1262 locations for virtual PHI arguments.
1263 (rewrite_update_phi_arguments): Likewise.
1264
1265 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
1266
1267 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
1268 on to assembler.
1269
1270 2013-01-10 Jakub Jelinek <jakub@redhat.com>
1271
1272 PR tree-optimization/55921
1273 * tree-complex.c (expand_complex_asm): New function.
1274 (expand_complex_operations_1): Call it for GIMPLE_ASM.
1275
1276 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1277
1278 PR target/55718
1279 * config/s390/s390.c (s390_symref_operand_p)
1280 (s390_loadrelative_operand_p): Merge the two functions.
1281 (s390_check_qrst_address, print_operand_address): Add parameters
1282 to s390_loadrelative_operand_p invokation.
1283 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
1284 (s390_reload_larl_operand, s390_secondary_reload): Use
1285 s390_loadrelative_operand_p instead of s390_symref_operand_p.
1286 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
1287
1288 2013-01-09 Mike Stump <mikestump@comcast.net>
1289
1290 * dse.c (record_store): Remove unnecessary assert.
1291
1292 2013-01-09 Jan Hubicka <jh@suse.cz>
1293
1294 PR tree-optimization/55569
1295 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
1296 * cfgloop.h (scale_loop_profile): Likewise.
1297
1298 2013-01-09 Jan Hubicka <jh@suse.cz>
1299
1300 PR lto/45375
1301 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
1302 functions.
1303 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
1304
1305 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
1306
1307 PR middle-end/55114
1308 * expr.h (maybe_emit_group_store): Declare.
1309 * expr.c (maybe_emit_group_store): New function.
1310 * builtins.c (expand_builtin_int_roundingfn): Call it.
1311 (expand_builtin_int_roundingfn_2): Likewise.
1312
1313 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
1314
1315 PR rtl-optimization/55829
1316 * lra-constraints.c (match_reload): Add code for absent output.
1317 (curr_insn_transform): Add code for reloads of matched inputs
1318 without output.
1319
1320 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
1321
1322 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
1323 attribute of movddup insn to DF.
1324 (*vec_interleave_lowv2df): Ditto.
1325 (vec_dupv2df): Ditto.
1326
1327 2013-01-09 Jan Hubicka <jh@suse.cz>
1328
1329 PR tree-optimiation/55875
1330 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
1331 EVERY_ITERATION parameter.
1332 (number_of_iterations_exit): Check if exit is executed every iteration.
1333 (idx_infer_loop_bounds): Similarly here.
1334 (n_of_executions_at_most): Simplify
1335 to only test for cases where statement is dominated by the
1336 particular bound; handle correctly the "postdominance" test.
1337 (scev_probably_wraps_p): Use max loop iterations info
1338 as a global bound first.
1339
1340 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
1341 Nick Clifton <nickc@redhat.com>
1342
1343 * config/v850/v850.md (cbranchsf4): New pattern.
1344 (cstoresf4): New pattern.
1345 (cbranchdf4): New pattern.
1346 (cstoredf4): New pattern.
1347 (movsicc): Disallow floating point comparisons.
1348 (cmpsf_le_insn): Fix order of operators.
1349 (cmpsf_lt_insn): Likewise.
1350 (cmpsf_eq_insn): Likewise.
1351 (cmpdf_le_insn): Likewise.
1352 (cmpdf_lt_insn): Likewise.
1353 (cmpdf_eq_insn): Likewise.
1354 (cmpsf_ge_insn): Use LE comparison.
1355 (cmpdf_ge_insn): Likewise.
1356 (cmpsf_gt_insn): Use LT comparison.
1357 (cmpdf_gt_insn): Likewise.
1358 (cmpsf_ne_insn): Delete pattern.
1359 (cmpdf_ne_insn): Delete pattern.
1360 * config/v850/v850.c (v850_gen_float_compare): Use
1361 gen_cmpdf_eq_insn for NE comparison.
1362 (v850_float_z_comparison_operator)
1363 (v850_float_nz_comparison_operator): Move from here ...
1364 * config/v850/predicates.md: ... to here. Move GT and GE
1365 comparisons into v850_float_z_comparison_operator.
1366 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
1367 Delete prototype.
1368 (v850_float_nz_comparison_operator): Likewise.
1369
1370 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1371
1372 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
1373 with calls to gen_insvsi/gen_insvdi.
1374
1375 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1376
1377 * config/i386/i386.c (initial_ix86_tune_features): Set up
1378 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
1379
1380 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
1381 Jakub Jelinek <jakub@redhat.com>
1382
1383 PR tree-optimization/48189
1384 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
1385 If nitercst is 0, don't predict the exit edge.
1386
1387 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
1388
1389 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
1390 in asm_fprintf with reg_names.
1391 (aarch64_print_operand_address): Likewise.
1392 (aarch64_return_addr): Likewise.
1393 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
1394
1395 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1396
1397 * config/pa/pa.h (VAL_U6_BITS_P): Define.
1398 (INT_U6_BITS): Likewise.
1399 * config/pa/predicates.md (uint6_operand): New predicate.
1400 (shift5_operand, shift6_operand): Likewise.
1401 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
1402 arith32_operand.
1403 (lshrdi3): Use shift6_operand.
1404 (shrpsi4, shrpdi4): New insn patterns.
1405 (extzv): Delete expander.
1406 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
1407 predicates in unamed zero extract patterns. Tighten common constraint.
1408 (extv): Delete expander.
1409 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
1410 predicates in unamed sign extract patterns. Tighten common constraint.
1411 (insv): Delete expander.
1412 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
1413 predicates in unamed insert patterns. Tighten common constraint.
1414 Change uint32_operand predicate to uint6_operand predicate in unamed
1415 DImode pattern to insert constant values of type 1...1xxxx.
1416
1417 2013-01-04 Jan Hubicka <jh@suse.cz>
1418
1419 PR tree-optimization/55823
1420 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
1421 issue.
1422
1423 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1424 Uros Bizjak <ubizjak@gmail.com>
1425
1426 PR rtl-optimization/55845
1427 * df-problems.c (can_move_insns_across): Stop scanning at
1428 volatile_insn_p source instruction or give up if
1429 across_from .. across_to range contains any volatile_insn_p
1430 instructions.
1431
1432 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
1433
1434 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
1435 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
1436 Declare.
1437 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
1438 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
1439
1440 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1441
1442 PR fortran/55341
1443 * asan.c (asan_clear_shadow): New function.
1444 (asan_emit_stack_protection): Use it.
1445
1446 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
1447
1448 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
1449 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
1450 with tab instead of space.
1451
1452 2013-01-08 Nick Clifton <nickc@redhat.com>
1453
1454 * config/rl78/rl78.c (rl78_expand_prologue): Always select
1455 register bank 0 at the start of an interrupt handler.
1456 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
1457 MDBH registers.
1458
1459 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
1460
1461 * config/aarch64/aarch64-simd.md
1462 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
1463 (aarch64_simd_bsl): Likewise.
1464 (aarch64_vcond_internal<mode>): Likewise.
1465 (vcond<mode><mode>): Likewise.
1466 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
1467 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
1468
1469 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
1470
1471 * config/aarch64/aarch64-builtins.c
1472 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
1473
1474 2013-01-08 Martin Jambor <mjambor@suse.cz>
1475
1476 PR debug/55579
1477 * tree-sra.c (analyze_access_subtree): Return true also after
1478 potentially creating a debug-only replacement.
1479
1480 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1481
1482 PR middle-end/55890
1483 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
1484
1485 PR tree-optimization/54120
1486 * tree-vrp.c (range_fits_type_p): Don't allow
1487 src_precision < precision from signed vr to unsigned_p
1488 if vr->min or vr->max is negative.
1489 (simplify_float_conversion_using_ranges): Test can_float_p
1490 against CODE_FOR_nothing.
1491
1492 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1493 Richard Biener <rguenther@suse.de>
1494
1495 PR middle-end/55851
1496 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
1497 types instead of just INTEGER_TYPE types.
1498
1499 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
1500
1501 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
1502 TF_SIZE): Define.
1503
1504 2013-01-07 Steve Ellcey <sellcey@mips.com>
1505
1506 PR target/42661
1507 * config/mips/mips.opt: Change mad to mmad to match documentation.
1508
1509 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1510
1511 PR target/55897
1512 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
1513 .progmemx.data now.
1514
1515 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1516
1517 PR target/55897
1518 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
1519 (avr_addrspace_t): Add .section_name field.
1520 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
1521 array size.
1522 (avr_addrspace): Same. Initialize .section_name. Remove last
1523 NULL entry. Put __memx into .progmemx.data.
1524 (progmem_section_prefix): Remove.
1525 (avr_asm_init_sections): No need to initialize progmem_section.
1526 (avr_asm_named_section): Use avr_addrspace[].section_name to get
1527 section name prefix.
1528 (avr_asm_select_section): Ditto. And use get_unnamed_section to
1529 retrieve the progmem section.
1530 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
1531 boundary to run over avr_addrspace[].
1532 (avr_register_target_pragmas): Ditto.
1533
1534 2013-01-06 Jakub Jelinek <jakub@redhat.com>
1535
1536 * varasm.c (output_constant_def_contents): For asan_protect_global
1537 protected strings, adjust DECL_ALIGN if needed, before testing for
1538 anchored symbols.
1539 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
1540 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
1541 normal decls.
1542 (output_object_block): For asan protected decls, emit asan padding
1543 after their contents.
1544 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
1545 (asan_finish_file): Test it here instead.
1546
1547 2013-01-07 Nick Clifton <nickc@redhat.com>
1548 Matthias Klose <doko@debian.org>
1549 Doug Kwan <dougkwan@google.com>
1550 H.J. Lu <hongjiu.lu@intel.com>
1551
1552 PR driver/55470
1553 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
1554
1555 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
1556
1557 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
1558
1559 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
1560
1561 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
1562
1563 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1564
1565 PR target/54461
1566 * doc/install.texi (Cross-Compiler-Specific Options): Document
1567 --with-avrlibc.
1568
1569 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
1570
1571 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
1572 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
1573 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
1574 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
1575 vqmovun_high_s64): Fix source operand number and update copyright.
1576
1577 2013-01-07 Richard Biener <rguenther@suse.de>
1578
1579 PR middle-end/55890
1580 * gimple.h (gimple_call_builtin_p): New overload.
1581 * gimple.c (validate_call): New function.
1582 (gimple_call_builtin_p): Likewise.
1583 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
1584 Use gimple_call_builtin_p.
1585 (find_func_clobbers): Likewise.
1586 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
1587 (strlen_optimize_stmt): Likewise.
1588
1589 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1590
1591 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
1592 (vld1q_dup_*): Likewise.
1593 (vld1_*): Likewise.
1594 (vld1q_*): Likewise.
1595 (vld1_lane_*): Likewise.
1596 (vld1q_lane_*): Likewise.
1597
1598 2013-01-07 Richard Biener <rguenther@suse.de>
1599
1600 * lto-streamer.h (LTO_minor_version): Bump to 2.
1601
1602 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1603
1604 * config/aarch64/aarch64-protos.h
1605 (aarch64_const_double_zero_rtx_p): Rename to...
1606 (aarch64_float_const_zero_rtx_p): ...this.
1607 (aarch64_float_const_representable_p): New.
1608 (aarch64_output_simd_mov_immediate): Likewise.
1609 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
1610 move immediate case.
1611 * config/aarch64/aarch64.c
1612 (aarch64_const_double_zero_rtx_p): Rename to...
1613 (aarch64_float_const_zero_rtx_p): ...this.
1614 (aarch64_print_operand): Allow printing of new constants.
1615 (aarch64_valid_floating_const): New.
1616 (aarch64_legitimate_constant_p): Check for valid floating-point
1617 constants.
1618 (aarch64_simd_valid_immediate): Likewise.
1619 (aarch64_vect_float_const_representable_p): New.
1620 (aarch64_float_const_representable_p): Likewise.
1621 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
1622 (aarch64_output_simd_mov_immediate): New.
1623 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
1624 (*movdf_aarch64): Likewise.
1625 * config/aarch64/constraints.md (Ufc): New.
1626 (Y): call aarch64_float_const_zero_rtx.
1627 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
1628
1629 2013-01-07 Richard Biener <rguenther@suse.de>
1630
1631 PR tree-optimization/55888
1632 PR tree-optimization/55862
1633 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
1634 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
1635 not if it is contained therein.
1636
1637 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1638
1639 * config/avr/t-avr: Typo.
1640
1641 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1642
1643 PR55243
1644 * config/avr/t-avr: Don't automatically rebuild
1645 $(srcdir)/config/avr/t-multilib
1646 $(srcdir)/config/avr/avr-tables.opt
1647 $(srcdir)/doc/avr-mmcu.texi
1648 (avr-mcus): New phony target to build them on request.
1649 (s-avr-mlib, s-avr-mmcu-texi): Remove.
1650 * avr/avr-mcus.def: Adjust comments.
1651
1652 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
1653
1654 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
1655
1656 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1657
1658 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
1659
1660 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1661
1662 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
1663
1664 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
1665
1666 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
1667 to generate profiling.
1668 * config/rs6000/aix64.h (LIB_SPEC): Same.
1669
1670 2013-01-04 Andrew Pinski <apinski@cavium.com>
1671
1672 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
1673 New function.
1674 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
1675
1676 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
1677
1678 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
1679 unconditionally.
1680 (ix86_expand_move): Ditto.
1681 (ix86_zero_extend_to_Pmode): Ditto.
1682 (ix86_expand_call): Ditto.
1683 (ix86_expand_special_args_builtin): Ditto.
1684 (ix86_expand_builtin): Ditto.
1685
1686 2013-01-04 Richard Biener <rguenther@suse.de>
1687
1688 PR tree-optimization/55862
1689 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
1690 translating them through PHI nodes.
1691
1692 2013-01-04 Martin Jambor <mjambor@suse.cz>
1693
1694 PR tree-optimization/55755
1695 * tree-sra.c (sra_modify_assign): Do not check that an access has no
1696 children when trying to avoid producing a VIEW_CONVERT_EXPR.
1697
1698 2013-01-04 Marek Polacek <polacek@redhat.com>
1699
1700 PR middle-end/55859
1701 * opts.c (default_options_optimization): Clarify error message.
1702
1703 2013-01-04 Richard Biener <rguenther@suse.de>
1704
1705 PR middle-end/55863
1706 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
1707 reassociation.
1708
1709 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1710
1711 PR target/53789
1712 * config/pa/pa.md (movsi): Revert previous change.
1713 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
1714 references.
1715
1716 2013-01-03 Richard Henderson <rth@redhat.com>
1717
1718 * config/i386/i386.c (ix86_expand_move): Always assign to op1
1719 after eliminating TLS symbols.
1720
1721 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
1722
1723 PR bootstrap/50167
1724 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
1725 * graphite-poly.c (debug_gmp_value): Likewise.
1726
1727 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
1728
1729 PR target/55712
1730 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
1731 selected code model, define __code_mode_small__, __code_model_medium__,
1732 __code_model_large__, __code_model_32__ or __code_model_kernel__.
1733 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
1734 xchg temporary register with %k. Declare temporary register as
1735 early clobbered.
1736 [__x86_64__]: For medium and large code models, preserve %rbx register.
1737
1738 2013-01-03 Richard Biener <rguenther@suse.de>
1739
1740 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
1741 (dump_subscript): Adjust.
1742 (finalize_ddr_dependent): Do not dump redundant info.
1743 (analyze_siv_subscript): Adjust.
1744 (subscript_dependence_tester): Likewise.
1745 (compute_affine_dependence): Likewise.
1746
1747 2013-01-03 Richard Biener <rguenther@suse.de>
1748
1749 Revert
1750 2013-01-03 Richard Biener <rguenther@suse.de>
1751
1752 PR tree-optimization/55857
1753 * tree-vect-stmts.c (vectorizable_load): Do not setup
1754 re-alignment for invariant loads.
1755
1756 2013-01-02 Richard Biener <rguenther@suse.de>
1757
1758 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1759 invariant load do not generate a vector load from the scalar location.
1760
1761 2013-01-03 Richard Biener <rguenther@suse.de>
1762
1763 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
1764 for not vectorizing.
1765 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
1766 not build INDIRECT_REFs, call get_name once only.
1767 (vect_create_data_ref_ptr): Likewise. Dump base object kind
1768 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
1769
1770 2013-01-03 Richard Biener <rguenther@suse.de>
1771
1772 PR tree-optimization/55857
1773 * tree-vect-stmts.c (vectorizable_load): Do not setup
1774 re-alignment for invariant loads.
1775
1776 2013-01-03 Richard Biener <rguenther@suse.de>
1777
1778 PR lto/55848
1779 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
1780 prefer a built-in decl.
1781
1782 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1783
1784 * gcc.c (process_command): Update copyright notice dates.
1785 * gcov.c (print_version): Likewise.
1786 * gcov-dump.c (print_version): Likewise.
1787
1788 PR rtl-optimization/55838
1789 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
1790 iv0.step, iv1.step and step.
1791
1792 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1793 Marc Glisse <marc.glisse@inria.fr>
1794
1795 PR tree-optimization/55832
1796 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
1797 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
1798 integer_{one,zero}_node.
1799
1800 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1801
1802 PR debug/54402
1803 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
1804 * var-tracking.c (reverse_op): Don't add reverse ops to
1805 VALUEs that have already
1806 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
1807
1808 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
1809
1810 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
1811
1812 2013-01-02 Teresa Johnson <tejohnson@google.com>
1813
1814 * dumpfile.c (dump_loc): Print filename with location.
1815 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
1816 new location_t parameter to emit complete unroll message with
1817 new dump framework.
1818 (canonicalize_loop_induction_variables): Compute loops location
1819 and pass to try_unroll_loop_completely.
1820 * loop-unroll.c (report_unroll_peel): New function.
1821 (peel_loops_completely): Use new dump format with location
1822 for main dumpfile message, and invoke report_unroll_peel on success.
1823 (decide_unrolling_and_peeling): Ditto.
1824 (decide_peel_once_rolling): Remove old dumpfile message subsumed
1825 by report_unroll_peel.
1826 (decide_peel_completely): Ditto.
1827 (decide_unroll_constant_iterations): Ditto.
1828 (decide_unroll_runtime_iterations): Ditto.
1829 (decide_peel_simple): Ditto.
1830 (decide_unroll_stupid): Ditto.
1831 * cfgloop.c (get_loop_location): New function.
1832 * cfgloop.h (get_loop_location): Declare.
1833
1834 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1835
1836 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
1837 NULL.
1838
1839 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1840
1841 PR middle-end/55198
1842 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
1843 BLKmode objects when EXPAND_MEMORY is specified.
1844
1845 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1846
1847 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
1848 in loop predicate.
1849 (fold_builtin_cpu): Do not share cpu model decls across statements.
1850
1851 2013-01-02 Jason Merrill <jason@redhat.com>
1852
1853 PR c++/55804
1854 * tree.c (build_array_type_1): Revert earlier change.
1855
1856 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
1857
1858 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
1859 "cortex-a57".
1860 * config/aarch64/aarch64-tune.md: Re-generate.
1861
1862 2013-01-02 Richard Biener <rguenther@suse.de>
1863
1864 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1865 invariant load do not generate a vector load from the scalar location.
1866
1867 2013-01-02 Richard Biener <rguenther@suse.de>
1868
1869 PR bootstrap/55784
1870 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
1871 * configure: Regenerate.
1872
1873 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1874
1875 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
1876 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
1877 (expand_builtin_int_roundingfn_2): Keep the original target around
1878 for the fallback case.
1879
1880 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1881
1882 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
1883 to be clear for sign changes.
1884
1885 2013-01-01 Jan Hubicka <jh@suse.cz>
1886
1887 * ipa-inline-analysis.c: Fix formatting.
1888
1889 2013-01-01 Jakub Jelinek <jakub@redhat.com>
1890
1891 PR tree-optimization/55831
1892 * tree-vect-loop.c (get_initial_def_for_induction): Use
1893 gsi_after_labels instead of gsi_start_bb.
1894 \f
1895 Copyright (C) 2013 Free Software Foundation, Inc.
1896
1897 Copying and distribution of this file, with or without modification,
1898 are permitted in any medium without royalty provided the copyright
1899 notice and this notice are preserved.