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