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