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