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