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