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