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