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