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