PR target/54640
[official-gcc.git] / gcc / ChangeLog
blobc245470e447b259c4340f7d50eac5102abcc5ecf
1 2013-02-26  Joern Rennecke  <joern.rennecke@embecosm.com>
3         PR target/48901
4         * config/lm32/lm32.c (gen_int_relational): Remove unused variables
5         temp, cond and label.
6         * config/lm32/lm32.md (ashlsi3): Remove unused variable one.
8         PR target/52500
9         * config/c6x/c6x.c (dbx_register_map): Change to unsigned.
10         * config/c6x/c6x.h (dbx_register_map): Update declaration.
12         PR target/52501
13         * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end
14         of prologue/epilogue functions.
16         PR target/52550
17         * config/tilegx/tilegx.c (tilegx_expand_prologue):
18         Remove unused variable cfa_offset.
19         * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise.
21         PR target/54639
22         * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset
23         type promotion to unsigned.
25         PR target/54640
26         * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent
27         for HOST_WIDE_INT of 32 bit / same size as int.
28         (arm_block_move_unaligned_straight): Likewise.
29         (arm_adjust_block_mem): Likewise.
31 2013-02-26  Marek Polacek  <polacek@redhat.com>
33         PR tree-optimization/56426
34         * tree-ssa-loop.c (tree_ssa_loop_init): Always call
35         scev_initialize.
37 2013-02-26  Richard Biener  <rguenther@suse.de>
39         PR target/56444
40         * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove
41         unused variable loops.
43 2013-02-26  Jakub Jelinek  <jakub@redhat.com>
45         PR tree-optimization/56448
46         * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at
47         TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF.
48         Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or
49         later operands of the references, or even first operand for
50         INDIRECT_REF, TARGET_MEM_REF or MEM_REF.
52         PR tree-optimization/56443
53         * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For
54         overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument
55         to type_for_mode langhook.
57 2013-02-25  Matt Turner  <mattst88@gmail.com>
59         * doc/invoke.texi: Document r4700.
61 2013-02-25  Richard Biener  <rguenther@suse.de>
63         PR tree-optimization/56175
64         * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate,
65         split out from ...
66         (simplify_bitwise_binary): ... here.  Also guard the conversion
67         of (type) X op CST to (type) (X op ((type-x) CST)) with it.
69 2013-02-25  Catherine Moore  <clm@codesourcery.com>
71         Revert:
72         2013-02-24  Catherine Moore  <clm@codesourcery.com>
73             Maciej W. Rozycki  <macro@codesourcery.com>
74             Tom de Vries  <tom@codesourcery.com>
75             Nathan Sidwell <nathan@codesourcery.com>
76             Iain Sandoe  <iain@codesourcery.com>
77             Nathan Froyd  <froydnj@codesourcery.com>
78             Chao-ying Fu <fu@mips.com>
79         * doc/extend.texi: (micromips, nomicromips, nocompression):
80         Document new function attributes. 
81         * doc/invoke.texi (minterlink-compressed, mmicromips,
82         m14k, m14ke, m14kec): Document new options.
83         (minterlink-mips16): Update documentation.
84         * doc/md.texi (ZC, ZD): Document new constraints.
85         * configure.ac (gcc_cv_as_micromips): Check if linker
86         supports the .set micromips directive.
87         * configure: Regenerate.
88         * config.in: Regenerate.
89         * config/mips/mips-tables.opt: Regenerate.
90         * config/mips/micromips.md: New file.
91         * constraints.md (ZC, AD): New constraints.
92         * config/mips/predicates.md (movep_src_register): New predicate.
93         (movep_src_operand): New predicate.
94         (non_volatile_mem_operand): New predicate.
95         * config/mips/mips.md (multimem): New type.
96         (length): Differentiate between 17-bit and 18-bit branch offsets.
97         (MOVEP1, MOVEP2): New mode iterator.
98         (mov_<load>l): Use ZC constraint.
99         (mov_<load>r): Likewise.
100         (mov_<store>l): Likewise.
101         (mov_<store>r): Likewise.
102         (*branch_equality<mode>_inverted): Add microMIPS support.
103         (*branch_equality<mode>): Likewise.
104         (*jump_absolute): Likewise.
105         (indirect_jump_<mode>): Likewise.
106         (tablejump_<mode>): Likewise.
107         (<optab>_internal): Likewise.
108         (sibcall_internal): Likewise.
109         (sibcall_value_internal): Likewise.
110         (prefetch): Use constraint ZD.
111         * config/mips/mips.opt (minterlink-compressed): New option.
112         (minterlink-mips16): Now an alias for minterlink-compressed.
113         (mmicromips): New option.
114         * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint.
115         (compare_and_swap_12): Likewise.
116         (sync_add<mode>): Likewise.
117         (sync_<optab>_12): Likewise.
118         (sync_old_<optab>_12): Likewise.
119         (sync_new_<optab>_12): Likewise.
120         (sync_nand_12): Likewise.
121         (sync_old_nand_12): Likewise.
122         (sync_new_nand_12): Likewise.
123         (sync_sub<mode>): Likewise.
124         (sync_old_add<mode>): Likewise.
125         (sync_old_sub<mode>): Likewise.
126         (sync_new_add<mode>): Likewise.
127         (sync_new_sub<mode>): Likewise.
128         (sync_<optab><mode>): Likewise.
129         (sync_old_<optab><mode>): Likewise.
130         (sync_new_<optab><mode>): Likewise.
131         (sync_nand<mode>): Likewise.
132         (sync_old_nand<mode>): Likewise.
133         (sync_new_nand<mode>): Likewise.
134         (sync_lock_test_and_set<mode>): Likewise.
135         (test_and_set_12): Likewise.
136         (atomic_compare_and_swap<mode>): Likewise.
137         (atomic_exchange<mode>_llsc): Likewise.
138         (atomic_fetch_add<mode>_llsc): Likewise.
139         * config/mips/mips-cpus.def (m14kc, m14k): New processors.
140         * config/mips/mips-protos.h (umips_output_save_restore): New prototype.
141         (umips_save_restore_pattern_p): Likewise.
142         (umips_load_store_pair_p): Likewise.
143         (umips_output_load_store_pair): Likewise.
144         (umips_movep_target_p): Likewise.
145         (umips_12bit_offset_address_p): Likewise.
146         * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS.
147         (mips_base_mips16): Rename this...
148         (mips_base_compression_flags): ...to this. Update all uses.
149         (mips_attribute_table): Add micromips, nomicromips and nocompression.
150         (mips_mips16_decl_p): Delete.
151         (mips_nomips16_decl_p): Delete.
152         (mips_get_compress_on_flags): New function.
153         (mips_get_compress_off_flags): New function.
154         (mips_get_compress_mode): New function.
155         (mips_get_compress_on_name): New function.
156         (mips_get_compress_off_name): New function.
157         (mips_insert_attributes): Support multiple compression types.
158         (mips_merge_decl_attributes): Likewise.
159         (umips_12bit_offset_address_p): New function.
160         (mips_start_function_definition): Emit .set micromips directive.
161         (mips_call_may_need_jalx_p): New function.
162         (mips_function_ok_for_sibcall): Add microMIPS support.
163         (mips_print_operand_punctuation): Support short delay slots and
164         compact jumps.
165         (umips_swm_mask, umips_swm_encoding): New.
166         (umips_build_save_restore): New function.
167         (mips_for_each_saved_gpr_and_fpr): Add microMIPS support.
168         (was_mips16_p): Remove.
169         (old_compression_mode): New.
170         (mips_set_compression_mode): New function.
171         (mips_set_current_function): Add microMIPS support.
172         (mips_option_override): Likewise.
173         (umips_save_restore_pattern_p): New function.
174         (umips_output_save_restore): New function.
175         (umips_load_store_pair_p_1): New function.
176         (umips_load_store_pair_p): New function.
177         (umips_output_load_store_pair_1): New function.
178         (umips_output_load_store_pair): New function.
179         (umips_movep_target_p) New function.
180         (mips_prepare_pch_save): Add microMIPS support.
181         * config/mips/mips.h (TARGET_COMPRESSION): New.
182         (TARGET_CPU_CPP_BUILTINS): Update macro
183         to use new compression flags and to support microMIPS.
184         (MIPS_ISA_LEVEL_SPEC): Add m14k processors.
185         (MIPS_ARCH_FLOAT_SPEC): Likewise.
186         (ISA_HAS_LWXS): Include TARGET_MICROMIPS.
187         (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS.
188         (ASM_SPEC): Support mmicromips and mno-micromips.
189         (M16STORE_REG_P): New macro.
190         (MIPS_CALL): Support TARGET_MICROMIPS.
191         (MICROMIPS_J): New macro.
192         (mips_base_mips16): Rename this...
193         (mips_base_compression_flags): ...to this.
194         (UMIPS_12BIT_OFFSET_P): New macro.
195         * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS.
196         (MULTILIB_DIRNAMES): Likewise.
198 2013-02-25  Tom de Vries  <tom@codesourcery.com>
200         PR rtl-optimization/56131
201         * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment.
202         * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and
203         NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL.
205 2013-02-25  Tobias Burnus  <burnus@net-b.de>
207         * doc/invoke.texi (-fsanitize=): Move from optimization
208         to debugging options.
210 2013-02-25  Andrey Belevantsev  <abel@ispras.ru>
212         * sched-deps.c (sched_analyze_insn): Fix typo in comment.
214 2013-02-25  Andrey Belevantsev  <abel@ispras.ru>
215             Alexander Monakov  <amonakov@ispras.ru>
217         PR middle-end/56077
218         * sched-deps.c (sched_analyze_insn): When reg_pending_barrier,
219         flush pending lists also on non-jumps.  Adjust comment.
221 2013-02-24  Catherine Moore  <clm@codesourcery.com>
222             Maciej W. Rozycki  <macro@codesourcery.com>
223             Tom de Vries  <tom@codesourcery.com>
224             Nathan Sidwell <nathan@codesourcery.com>
225             Iain Sandoe  <iain@codesourcery.com>
226             Nathan Froyd  <froydnj@codesourcery.com>
227             Chao-ying Fu <fu@mips.com>
229         * doc/extend.texi: (micromips, nomicromips, nocompression):
230         Document new function attributes. 
231         * doc/invoke.texi (minterlink-compressed, mmicromips,
232         m14k, m14ke, m14kec): Document new options.
233         (minterlink-mips16): Update documentation.
234         * doc/md.texi (ZC, ZD): Document new constraints.
235         * configure.ac (gcc_cv_as_micromips): Check if linker
236         supports the .set micromips directive.
237         * configure: Regenerate.
238         * config.in: Regenerate.
239         * config/mips/mips-tables.opt: Regenerate.
240         * config/mips/micromips.md: New file.
241         * constraints.md (ZC, AD): New constraints.
242         * config/mips/predicates.md (movep_src_register): New predicate.
243         (movep_src_operand): New predicate.
244         (non_volatile_mem_operand): New predicate.
245         * config/mips/mips.md (multimem): New type.
246         (length): Differentiate between 17-bit and 18-bit branch offsets.
247         (MOVEP1, MOVEP2): New mode iterator.
248         (mov_<load>l): Use ZC constraint.
249         (mov_<load>r): Likewise.
250         (mov_<store>l): Likewise.
251         (mov_<store>r): Likewise.
252         (*branch_equality<mode>_inverted): Add microMIPS support.
253         (*branch_equality<mode>): Likewise.
254         (*jump_absolute): Likewise.
255         (indirect_jump_<mode>): Likewise.
256         (tablejump_<mode>): Likewise.
257         (<optab>_internal): Likewise.
258         (sibcall_internal): Likewise.
259         (sibcall_value_internal): Likewise.
260         (prefetch): Use constraint ZD.
261         * config/mips/mips.opt (minterlink-compressed): New option.
262         (minterlink-mips16): Now an alias for minterlink-compressed.
263         (mmicromips): New option.
264         * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint.
265         (compare_and_swap_12): Likewise.
266         (sync_add<mode>): Likewise.
267         (sync_<optab>_12): Likewise.
268         (sync_old_<optab>_12): Likewise.
269         (sync_new_<optab>_12): Likewise.
270         (sync_nand_12): Likewise.
271         (sync_old_nand_12): Likewise.
272         (sync_new_nand_12): Likewise.
273         (sync_sub<mode>): Likewise.
274         (sync_old_add<mode>): Likewise.
275         (sync_old_sub<mode>): Likewise.
276         (sync_new_add<mode>): Likewise.
277         (sync_new_sub<mode>): Likewise.
278         (sync_<optab><mode>): Likewise.
279         (sync_old_<optab><mode>): Likewise.
280         (sync_new_<optab><mode>): Likewise.
281         (sync_nand<mode>): Likewise.
282         (sync_old_nand<mode>): Likewise.
283         (sync_new_nand<mode>): Likewise.
284         (sync_lock_test_and_set<mode>): Likewise.
285         (test_and_set_12): Likewise.
286         (atomic_compare_and_swap<mode>): Likewise.
287         (atomic_exchange<mode>_llsc): Likewise.
288         (atomic_fetch_add<mode>_llsc): Likewise.
289         * config/mips/mips-cpus.def (m14kc, m14k): New processors.
290         * config/mips/mips-protos.h (umips_output_save_restore): New prototype.
291         (umips_save_restore_pattern_p): Likewise.
292         (umips_load_store_pair_p): Likewise.
293         (umips_output_load_store_pair): Likewise.
294         (umips_movep_target_p): Likewise.
295         (umips_12bit_offset_address_p): Likewise.
296         * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS.
297         (mips_base_mips16): Rename this...
298         (mips_base_compression_flags): ...to this. Update all uses.
299         (mips_attribute_table): Add micromips, nomicromips and nocompression.
300         (mips_mips16_decl_p): Delete.
301         (mips_nomips16_decl_p): Delete.
302         (mips_get_compress_on_flags): New function.
303         (mips_get_compress_off_flags): New function.
304         (mips_get_compress_mode): New function.
305         (mips_get_compress_on_name): New function.
306         (mips_get_compress_off_name): New function.
307         (mips_insert_attributes): Support multiple compression types.
308         (mips_merge_decl_attributes): Likewise.
309         (umips_12bit_offset_address_p): New function.
310         (mips_start_function_definition): Emit .set micromips directive.
311         (mips_call_may_need_jalx_p): New function.
312         (mips_function_ok_for_sibcall): Add microMIPS support.
313         (mips_print_operand_punctuation): Support short delay slots and
314         compact jumps.
315         (umips_swm_mask, umips_swm_encoding): New.
316         (umips_build_save_restore): New function.
317         (mips_for_each_saved_gpr_and_fpr): Add microMIPS support.
318         (was_mips16_p): Remove.
319         (old_compression_mode): New.
320         (mips_set_compression_mode): New function.
321         (mips_set_current_function): Add microMIPS support.
322         (mips_option_override): Likewise.
323         (umips_save_restore_pattern_p): New function.
324         (umips_output_save_restore): New function.
325         (umips_load_store_pair_p_1): New function.
326         (umips_load_store_pair_p): New function.
327         (umips_output_load_store_pair_1): New function.
328         (umips_output_load_store_pair): New function.
329         (umips_movep_target_p) New function.
330         (mips_prepare_pch_save): Add microMIPS support.
331         * config/mips/mips.h (TARGET_COMPRESSION): New.
332         (TARGET_CPU_CPP_BUILTINS): Update macro
333         to use new compression flags and to support microMIPS.
334         (MIPS_ISA_LEVEL_SPEC): Add m14k processors.
335         (MIPS_ARCH_FLOAT_SPEC): Likewise.
336         (ISA_HAS_LWXS): Include TARGET_MICROMIPS.
337         (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS.
338         (ASM_SPEC): Support mmicromips and mno-micromips.
339         (M16STORE_REG_P): New macro.
340         (MIPS_CALL): Support TARGET_MICROMIPS.
341         (MICROMIPS_J): New macro.
342         (mips_base_mips16): Rename this...
343         (mips_base_compression_flags): ...to this.
344         (UMIPS_12BIT_OFFSET_P): New macro.
345         * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS.
346         (MULTILIB_DIRNAMES): Likewise.
348 2013-02-24  Jakub Jelinek  <jakub@redhat.com>
350         PR target/52555
351         * target-globals.c (save_target_globals): For init_reg_sets and
352         target_reinit remporarily set this_fn_optabs to this_target_optabs.
354 2013-02-22  James Grennahlgh  <james.greenhalgh@arm.com>
356         * config/aarch64/aarch64-simd-builtins.def: Add copyright header.
357         * config/aarch64/t-aarch64
358         (aarch64-builtins.o): Depend on aarch64-simd-builtins.def.
360 2013-02-22  Vladimir Makarov  <vmakarov@redhat.com>
362         PR inline-asm/56148
363         * lra-constraints.c (process_alt_operands): Reload operand
364         conflicting with earlier clobber only if no more other conflicting
365         operands.
367 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
369         PR sanitizer/56393
370         * config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o
371         if not linking a shared library.
373 2013-02-22  Seth LaForge  <sethml@google.com>
375         * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian.
377 2013-02-22  Greta Yorsh  <Greta.Yorsh@arm.com>
379         * config/arm/arm.md (split for extendsidi): Update condition.
380         (zero_extend<mode>di2,extend<mode>di2): Add an alternative.
381         * config/arm/iterators.md (qhs_extenddi_cstr): Likewise.
382         (qhs_zextenddi_cstr): Likewise.
384 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
386         PR middle-end/56420
387         * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to
388         avoid signed wrapping.
389         (expand_mult): Handle properly multiplication by
390         ((dword_type) -1) << (BITS_PER_WORD - 1).  Improve multiplication by
391         ((dword_type) 1) << (BITS_PER_WORD - 1).  Avoid undefined behavior
392         in the compiler if coeff is HOST_WIDE_INT_MIN.
393         (expand_divmod): Don't make ext_op1 static, change it's type to
394         uhwi.  Avoid undefined behavior in -INTVAL (op1).
396         PR rtl-optimization/50339
397         * lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt
398         field.
399         * lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT.
400         (compute_costs): Call compute_splitting_shift also for ASHIFTRT
401         into splitting_ashiftrt field.
402         (find_decomposable_shift_zext, resolve_shift_zext): Handle also
403         ASHIFTRT.
404         (dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT
405         choices.
407 2013-02-20  Aldy Hernandez  <aldyh@redhat.com>
409         PR middle-end/56108
410         * trans-mem.c (execute_tm_mark): Do not expand transactions that
411         are sure to go irrevocable.
413 2013-02-21  Hans-Peter Nilsson  <hp@axis.com>
415         * doc/rtl.texi (vec_concat, vec_duplicate): Mention that
416         scalars are valid operands.
418 2013-02-21  Martin Jambor  <mjambor@suse.cz>
420         PR tree-optimization/56310
421         * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy
422         only matching indices and non-negative final offsets.
423         (intersect_aggregates_with_edge): Pass src_idx to
424         agg_replacements_to_vector.  Pass src_idx insstead of index to
425         intersect_with_agg_replacements.
427 2013-02-21  Martin Jambor  <mjambor@suse.cz>
429         * ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold
430         instead of hard-wired defaults.
432 2013-02-21  Maciej W. Rozycki  <macro@codesourcery.com>
434         * doc/invoke.texi (MIPS Options): Update documentation of the
435         floating-point multiply-accumulate instruction restrictions.
437 2013-02-21  Kostya Serebryany  <kcc@google.com>
439         * config/i386/i386.c (ix86_asan_shadow_offset): Use 0x7fff8000 as
440         asan_shadow_offset on x86_64 linux.
442 2013-02-21  Richard Biener  <rguenther@suse.de>
444         PR tree-optimization/56415
445         Revert
446         2013-02-11  Richard Biener  <rguenther@suse.de>
448         PR tree-optimization/56273
449         * tree-vrp.c (simplify_cond_using_ranges): Disable for the
450         first VRP run.
452 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
454         PR bootstrap/56258
455         * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item
456         instead of @itemx.
458         PR inline-asm/56405
459         * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't
460         use movmisalign or extract_bit_field for EXPAND_MEMORY modifier.
462 2013-02-20  Jan Hubicka  <jh@suse.cz>
464         PR tree-optimization/56265
465         * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph when target is
466         referenced for firs ttime.
468 2013-02-20  Richard Biener  <rguenther@suse.de>
470         * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals.
471         * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise.
472         * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise.
473         * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do
474         not return anything.
475         (rename_ssa_copies): Do not remove unused locals.
476         * tree-ssa-ccp.c (do_ssa_ccp): Likewise.
477         * tree-ssanames.c (pass_release_ssa_names): Remove unused
478         locals first.
479         * passes.c (execute_function_todo): Do not schedule unused locals
480         removal if cleanup_tree_cfg did something.
481         * tree-ssa-live.c (remove_unused_locals): Dump statistics
482         about the number of removed locals.
484 2013-02-20  Richard Biener  <rguenther@suse.de>
486         PR tree-optimization/56398
487         * tree-vect-loop-manip.c (adjust_debug_stmts): Skip
488         SSA default defs.
490 2013-02-20  Martin Jambor  <mjambor@suse.cz>
492         PR tree-optimization/55334
493         * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to
494         restricted pointers to arrays.
496 2013-02-20  Richard Biener  <rguenther@suse.de>
497         Jakub Jelinek  <jakub@redhat.com>
499         PR tree-optimization/56396
500         * tree-ssa-ccp.c (n_const_val): New static variable.
501         (get_value): Return NULL for SSA names we don't have a lattice
502         entry for.
503         (ccp_initialize): Initialize n_const_val.
504         * tree-ssa-copy.c (n_copy_of): New static variable.
505         (init_copy_prop): Initialize n_copy_of.
506         (get_value): Return NULL_TREE for SSA names we don't have a
507         lattice entry for.
509 2013-02-20  Martin Jambor  <mjambor@suse.cz>
511         * ipa-cp.c (initialize_node_lattices): Fix dumping condition.
513 2013-02-20  Richard Biener  <rguenther@suse.de>
515         * genpreds.c (write_lookup_constraint): Do not compare first
516         letter of the constraint again.
518 2013-02-20  Richard Biener  <rguenther@suse.de>
520         * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits
521         and ceil_log2.
522         (get_use_iv_cost): Terminate hashtable walk when coming across
523         an empty entry.
525 2013-02-20  Igor Zamyatin  <igor.zamyatin@intel.com>
527         * config/i386/i386.c (initial_ix86_tune_features): Turn on fp
528         reassociation for avx2 targets.
530 2012-02-19  Edgar E. Iglesias <edgar.iglesias@gmail.com>
532         * config/microblaze/microblaze.c: microblaze_has_clz = 0
533         Add version check for v8.10.a to enable microblaze_has_clz
534         * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined 
535         version and TARGET_PATTERN_COMPARE check
536         * config/microblaze/microblaze.md: New clzsi2 instruction
538 2012-02-19  Edgar E. Iglesias <edgar.iglesias@gmail.com>
540         *  config/microblaze/microblaze.md (call_value_intern): Check symbol is 
541         function before branching.
543 2012-02-19  Andrey Belevantsev  <abel@ispras.ru>
545         * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set
546         DUMP_INSN_RTX_UID.
547         (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim.
549 2012-02-19  Andrey Belevantsev  <abel@ispras.ru>
551         PR middle-end/55889
553         * sel-sched.c: Include ira.h.
554         (implicit_clobber_conflict_p): New function.
555         (moveup_expr): Use it.
556         * Makefile.in (sel-sched.o): Depend on ira.h. 
558 2013-02-19  Richard Biener  <rguenther@suse.de>
560         PR tree-optimization/56384
561         * tree-ssa-sccvn.h (struct vn_phi_s): Add type member.
562         (vn_hash_type): Split out from ...
563         (vn_hash_constant_with_type): ... here.
564         * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type.
565         (vn_phi_eq): Compare types from vn_phi_s structure.
566         (vn_phi_lookup): Populate vn_phi_s type.
567         (vn_phi_insert): Likewise.
569 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
571         PR tree-optimization/56350
572         * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false
573         if haven't found reduction or nested cycle operand, rather than
574         asserting we must find it.
576         PR tree-optimization/56381
577         * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument
578         to fold_build3.
580 2013-02-18  Aldy Hernandez  <aldyh@redhat.com>
581             Jakub Jelinek  <jakub@redhat.com>
583         PR target/52555
584         * genopinit.c (raw_optab_handler): Use this_fn_optabs.
585         (swap_optab_enable): Same.
586         (init_all_optabs): Use argument instead of global.
587         * tree.h (struct tree_optimization_option): New field
588         target_optabs.
589         * expr.h (init_all_optabs): Add argument to prototype.
590         (TREE_OPTIMIZATION_OPTABS): New.
591         (save_optabs_if_changed): Protoize.
592         * optabs.h: Declare this_fn_optabs.
593         * optabs.c (save_optabs_if_changed): New.
594         Declare this_fn_optabs.
595         (init_optabs): Add argument to init_all_optabs() call.
596         * function.c (invoke_set_current_function_hook): Handle per
597         function optabs.
598         * function.h (struct function): New field optabs.
599         * config/mips/mips.c (mips_set_mips16_mode): Handle when
600         optimization_current_node has changed.
601         * target-globals.h (save_target_globals_default_opts): Protoize.
602         * target-globals.c (save_target_globals_default_opts): New.
604 2013-02-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
606         PR target/56347
607         * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark
608         registers %fr12 and %fr12R as call used.
610         PR target/56214
611         * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode
612         and HImode, require all displacements to be an integer multiple of their
613         mode size.
614         * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses,
615         only allow QImode and HImode when reload is in progress and strict is
616         true.  Likewise for symbolic addresses.  Use base14_operand to check
617         displacements in REG+BASE addresses.
619 2013-02-18  Richard Biener  <rguenther@suse.de>
621         PR tree-optimization/56366
622         * tree-vect-loop.c (get_initial_def_for_induction): Properly
623         handle sign-conversion of outer-loop initial induction value.
625 2013-02-18  Richard Biener  <rguenther@suse.de>
627         PR middle-end/56349
628         * cfghooks.c (merge_blocks): If we merge a latch into another
629         block adjust references to it.
630         * cfgloop.c (flow_loops_find): Reset latch before recomputing it.
631         (verify_loop_structure): Verify that a recorded latch is in fact
632         a latch.
634 2013-02-18  Richard Biener  <rguenther@suse.de>
636         PR tree-optimization/56321
637         * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly
638         order SSA name release and virtual operand unlinking.
640 2013-02-17  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
642         * config/microblaze/microblaze.md (save_stack_block): Define.
643         (restore_stack_block): Likewise.
645 2013-02-16  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
647         * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1.
648         * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1.
649         * config/microblaze/microblaze.c (microblaze_option_override):
650         Bail out early for PIC modes when target does not support PIC.
652 2013-02-16  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
654         * config/microblaze/microblaze.c (microblaze_asm_trampoline_template): 
655         Replace with a microblaze version.
656         (microblaze_trampoline_init): Adapt for microblaze.
657         * gcc/config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for 
658         microblaze.
660 2013-02-16  Jakub Jelinek  <jakub@redhat.com>
661             Dodji Seketeli  <dodji@redhat.com>
663         PR asan/56330
664         * asan.c (get_mem_refs_of_builtin_call): White space and style
665         cleanup.
666         (instrument_mem_region_access): Do not forget to always put
667         instrumentation of the of 'base' and 'base + len' in a "if (len !=
668         0) statement, even for cases where either 'base' or 'base + len'
669         are not instrumented -- because they have been previously
670         instrumented.  Simplify the logic by putting all the statements
671         instrument 'base + len' inside a sequence, and then insert that
672         sequence right before the current insertion point.  Then, to
673         instrument 'base + len', just get an iterator on that statement.
674         And do not forget to update the pointer to iterator the function
675         received as argument.
677 2013-02-15  Vladimir Makarov  <vmakarov@redhat.com>
679         PR rtl-optimization/56348
680         * lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos.
682 2013-02-15  Steven Bosscher  <steven@gcc.gnu.org>
684         * graph.c (start_graph_dump): Print dumpfile base as digraph label.
685         (clean_graph_dump_file): Pass base to start_graph_dump.
687 2013-02-14  Richard Henderson  <rth@redhat.com>
689         PR target/55941
690         * lower-subreg.c (simple_move): Check dest mode instead of src mode.
692 2013-02-14  Steven Bosscher  <steven@gcc.gnu.org>
694         * collect2-aix.h: Define F_LOADONLY.
696 2013-02-14  Richard Biener  <rguenther@suse.de>
698         PR lto/50494
699         * varasm.c (output_constant_def_1): Get the decl representing
700         the constant as argument.
701         (output_constant_def): Wrap output_constant_def_1.
702         (make_decl_rtl): Use output_constant_def_1 with the decl
703         representing the constant.
704         (build_constant_desc): Optionally re-use a decl already
705         representing the constant.
706         (tree_output_constant_def): Adjust.
708 2013-02-14  Dodji Seketeli  <dodji@redhat.com>
710         Fix an asan crash
711         * asan.c (instrument_builtin_call):  Really put the length of the
712         second source argument into src1_len.
714 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
716         * asan.c (create_cond_insert_point): Add create_then_fallthru_edge
717         argument.  If it is false, don't create edge from then_bb to
718         fallthru_bb.
719         (insert_if_then_before_iter): Pass true to it.
720         (build_check_stmt): Pass false to it.
721         (transform_statements): Flush hash table only on extended basic
722         block boundaries, rather than at the beginning of every bb.
723         Don't flush hash table on nonfreeing_call_p calls.
724         * tree-flow.h (nonfreeing_call_p): New prototype.
725         * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static.
727 2013-02-13  David S. Miller  <davem@davemloft.net>
729         * expmed.c (expand_shift_1): Only strip scalar integer subregs.
731 2013-02-13  Vladimir Makarov  <vmakarov@redhat.com>
733         PR target/56184
734         * ira.c (max_regno_before_ira): Move from ...
735         (ira): ... here.
736         (fix_reg_equiv_init): Use max_regno_before_ira instead of
737         vec_safe_length.
739 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
741         * config/i386/i386.c (ix86_asan_shadow_offset): Revert last change.
743 2013-02-13  Richard Biener  <rguenther@suse.de>
745         PR lto/56295
746         * gimple-streamer-out.c (output_gimple_stmt): Undo wrapping
747         globals in MEM_REFs.
749 2013-02-13  Richard Biener  <rguenther@suse.de>
751         * loop-init.c (loop_optimizer_init): Clear loop state when
752         re-initializing preserved loops.
753         * loop-unswitch.c (unswitch_single_loop): Return whether
754         we unswitched the loop.  Do not verify loop state here.
755         (unswitch_loops): When we unswitched a loop discover new
756         loops.
758 2013-02-13  Kostya Serebryany  <kcc@google.com>
760         * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset on x86_64
761         linux.
762         * sanitizer.def: Rename __asan_init to __asan_init_v1.
764 2013-02-12  Dodji Seketeli  <dodji@redhat.com>
766         Avoid instrumenting duplicated memory access in the same basic block
767         * Makefile.in (asan.o): Add new dependency on hash-table.h
768         * asan.c (struct asan_mem_ref, struct mem_ref_hasher): New types.
769         (asan_mem_ref_init, asan_mem_ref_get_end, get_mem_ref_hash_table)
770         (has_stmt_been_instrumented_p, empty_mem_ref_hash_table)
771         (free_mem_ref_resources, has_mem_ref_been_instrumented)
772         (has_stmt_been_instrumented_p, update_mem_ref_hash_table)
773         (get_mem_ref_of_assignment): New functions.
774         (get_mem_refs_of_builtin_call): Extract from
775         instrument_builtin_call and tweak a little bit to make it fit with
776         the new signature.
777         (instrument_builtin_call): Use the new
778         get_mem_refs_of_builtin_call.  Use gimple_call_builtin_p instead
779         of is_gimple_builtin_call.
780         (instrument_derefs, instrument_mem_region_access): Insert the
781         instrumented memory reference into the hash table.
782         (maybe_instrument_assignment): Renamed instrument_assignment into
783         this, and change it to advance the iterator when instrumentation
784         actually happened and return true in that case.  This makes it
785         homogeneous with maybe_instrument_assignment, and thus give a
786         chance to callers to be more 'regular'.
787         (transform_statements): Clear the memory reference hash table
788         whenever we enter a new BB, when we cross a function call, or when
789         we are done transforming statements.  Use
790         maybe_instrument_assignment instead of instrumentation.  No more
791         need to special case maybe_instrument_assignment and advance the
792         iterator after calling it; it's now handled just like
793         maybe_instrument_call.  Update comment.
795 2013-02-13  Richard Biener  <rguenther@suse.de>
797         * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc):
798         Fix loop discovery code.
800 2013-02-12  Vladimir Makarov  <vmakarov@redhat.com>
802         PR inline-asm/56148
803         * lra-constraints.c (process_alt_operands): Match early clobber
804         operand with itself.  Check conflicts with earlyclobber only if
805         the operand is not reloaded.  Prefer to reload conflicting operand
806         if earlyclobber and matching operands are the same.
808 2013-02-12  Richard Biener  <rguenther@suse.de>
810         PR lto/56297
811         * lto-streamer-out.c (write_symbol): Do not output symbols
812         for hard register variables.
814 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
816         PR target/54222
817         * config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders.
818         (umulsidi3_insn, mulsidi3_insn): New insns.
820 2013-02-12  Christophe Lyon <christophe.lyon@linaro.org>
822         * config/arm/arm-protos.h (struct cpu_vec_costs): New struct type.
823         (struct tune_params): Add vec_costs field.
824         * config/arm/arm.c (arm_builtin_vectorization_cost)
825         (arm_add_stmt_cost): New functions.
826         (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST)
827         (TARGET_VECTORIZE_ADD_STMT_COST): Define.
828         (arm_default_vec_cost): New struct of type cpu_vec_costs.
829         (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune)
830         (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune)
831         (arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune)
832         (arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field.
834 2013-02-12  Richard Biener  <rguenther@suse.de>
836         PR lto/56295
837         * gimple-streamer-in.c (input_gimple_stmt): Strip MEM_REFs off
838         decls again if possible.
840 2013-02-12  Richard Biener  <rguenther@suse.de>
842         PR middle-end/56288
843         * tree-ssa.c (verify_ssa_name): Fix check, move
844         SSA_NAME_IN_FREE_LIST check up.
846 2013-02-12  Jakub Jelinek  <jakub@redhat.com>
847             Steven Bosscher   <steven@gcc.gnu.org>
849         PR rtl-optimization/56151
850         * optabs.c (add_equal_note): Don't return 0 if target is a MEM,
851         equal to op0 or op1, and last_insn pattern is CODE operation
852         with MEM dest and one of the operands matches that MEM.
854 2013-02-11  Sriraman Tallam  <tmsriramgoogle.com>
856         * doc/extend.texi: Document Function Multiversioning and "default"
857         parameter string to target attribute.
858         * config/i386/i386.c (get_builtin_code_for_version): Return 0 if
859         target attribute parameter is "default".
860         (ix86_compare_version_priority): Remove checks for target attribute.
861         (ix86_mangle_function_version_assembler_name): Change error to sorry.
862         Remove check for target attribute equal to NULL. Add assert.
863         (ix86_generate_version_dispatcher_body): Change error to sorry.
865 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
866             Jack Howarth  <howarth@bromo.med.uc.edu>
867             Patrick Marlier  <patrick.marlier@gmail.com>
869         PR libitm/55693
870         * config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and
871         define ENDFILE_SPEC as TM_DESTRUCTOR.
872         * config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR.
874 2013-02-11  Alexander Potapenko <glider@google.com>
875             Jack Howarth  <howarth@bromo.med.uc.edu>
876             Jakub Jelinek  <jakub@redhat.com>
878         PR sanitizer/55617
879         * config/darwin.c (cdtor_record): Rename ctor_record.
880         (sort_cdtor_records): Rename sort_ctor_records.
881         (finalize_dtors): New routine to sort destructors by
882         priority before use in assemble_integer.
883         (machopic_asm_out_destructor): Use finalize_dtors if needed.
885 2013-02-11  Uros Bizjak  <ubizjak@gmail.com>
887         PR rtl-optimization/56275
888         * simplify-rtx.c (avoid_constant_pool_reference): Check that
889         offset is non-negative and less than cmode size before
890         calling simplify_subreg.
892 2013-02-11  Richard Biener  <rguenther@suse.de>
894         PR tree-optimization/56264
895         * cfgloop.h (fix_loop_structure): Adjust prototype.
896         * loop-init.c (fix_loop_structure): Return the number of
897         newly discovered loops.
898         * tree-cfgcleanup.c (repair_loop_structures): When new loops
899         are discovered, do a full loop-closed SSA rewrite.
901 2013-02-11  Richard Biener  <rguenther@suse.de>
903         PR tree-optimization/56273
904         * tree-vrp.c (simplify_cond_using_ranges): Disable for the
905         first VRP run.
906         (check_array_ref): Fix missing newline in dumps.
907         (search_for_addr_array): Likewise.
909 2013-02-09  David Edelsohn  <dje.gcc@gmail.com>
911         * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine.
913 2013-02-09  Jakub Jelinek  <jakub@redhat.com>
915         PR target/56256
916         * config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define.
918 2013-02-08  Vladimir Makarov  <vmakarov@redhat.com>
920         PR rtl-optimization/56246
921         * lra-constraints.c (simplify_operand_subreg): Try to reuse
922         reload pseudo.
923         * lra.c (lra): Clear lra_optional_reload_pseudos only when all
924         constraints are satisfied.
926 2013-02-08  Jeff Law  <law@redhat.com>
928         PR debug/53948
929         * emit-rtl.c (reg_is_parm_p): New function.
930         * regs.h (reg_is_parm_p): New prototype.
931         * ira-conflicts.c (ira_build_conflicts): Allow parameters in
932         callee-clobbered registers.
934 2013-02-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
936         PR target/56043
937         * config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass):
938         If there is no implicit builtin declaration, just return NULL.
940 2013-02-08  Uros Bizjak  <ubizjak@gmail.com>
942         * config/i386/sse.md (FMAMODEM): New mode iterator.
943         (fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM
944         mode iterator. Do not use TARGET_SSE_MATH in insn constraint.
946 2013-02-08  Uros Bizjak  <ubizjak@gmail.com>
948         * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only
949         when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set.
950         * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto.
952 2013-02-08  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
954         * config.gcc (microblaze*-linux*): Add TARGET_BIG_ENDIAN_DEFAULT.
955         (microblaze*-*-elf): Likewise.
956         * config/microblaze/linux.h: Add -mbig-endian / -mlittle-endian to
957         LINK_SPEC.
958         * config/microblaze/microblaze-c.c: Add builtin defines for
959         _LITTLE_ENDIAN and _BIG_ENDIAN.
960         * config/microblaze/microblaze.h: Add TARGET_ENDIAN_DEFAULT and
961         add to TARGET_DEFAULT flags.
962         Expand ASM_SPEC and LINK_SPEC.
963         Update BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN.
964         * config/microblaze/microblaze.md: Update extendsidi2 and
965         movdi_internal instructions to use low-order / high-order reg
966         print_operands.
967         * config/microblaze/microblaze.opt: Add mbig-endian and mlittle-endian
968         options and inversemask / mask of LITTLE_ENDIAN.
969         * config/microblaze/t-microblaze: Expand multilib options to
970         include mlittle-endian (le) and update exceptions patterns.
972 2013-02-08  Jakub Jelinek  <jakub@redhat.com>
974         PR rtl-optimization/56195
975         * lra-constraints.c (get_reload_reg): Don't reuse regs
976         if they have smaller mode than requested, if they have
977         wider mode than requested, try to return a SUBREG.
979         PR tree-optimization/56250
980         * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize
981         if type is unsigned and code isn't MULT_EXPR.
983 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
985         PR tree-optimization/56064
986         * fixed-value.c (fixed_from_double_int): Sign/zero extend payload
987         bits according to mode.
988         * fixed-value.h (fixed_from_double_int)
989         (const_fixed_from_double_int): Adjust comments.
991 2013-02-08  Richard Biener  <rguenther@suse.de>
993         PR lto/56231
994         * lto-streamer.h (struct data_in): Remove current_file, current_line
995         and current_col members.
996         * lto-streamer-out.c (lto_output_location): Stream changed bits
997         en-block for efficiency.
998         * lto-streamer-in.c (clear_line_info): Remove.
999         (lto_input_location): Cache current file, line and column
1000         globally via local statics.  Read changed bits en-block.
1001         (input_function): Do not call clear_line_info.
1002         (lto_read_body): Likewise.
1003         (lto_input_toplevel_asms): Likewise.
1005 2013-02-08  Michael Matz  <matz@suse.de>
1007         PR tree-optimization/52448
1008         * tree-ssa-phiopt.c (struct name_to_bb): Add phase member.
1009         (nt_call_phase): New static.
1010         (add_or_mark_expr): Only mark accesses with newer phase than any
1011         call seen.
1012         (nonfreeing_call_p): New.
1013         (nt_init_block): Update nt_call_phase, mark blocks as visited.
1014         (nt_fini_block): Keep blocks marked as visited.
1015         (get_non_trapping): Initialize nt_call_phase, and reset aux pointer.
1017 2013-02-08  Richard Biener  <rguenther@suse.de>
1019         * ira.c (ira): Free broken dominator information.
1021 2013-02-08  Uros Bizjak  <ubizjak@gmail.com>
1023         * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro.
1025 2013-02-08  Marek Polacek  <polacek@redhat.com>
1027         * cfgloop.c (verify_loop_structure): Add more checking of headers.
1029 2013-02-08  Richard Biener  <rguenther@suse.de>
1031         PR middle-end/56181
1032         * cfgloop.h (flow_loops_find): Adjust.
1033         (bb_loop_header_p): Declare.
1034         * cfgloop.c (bb_loop_header_p): New function split out from ...
1035         (flow_loops_find): ... here.  Adjust function signature,
1036         support incremental loop structure update.
1037         (verify_loop_structure): Cleanup.  Verify a loop is a loop.
1038         * cfgloopmanip.c (fix_loop_structure): Move ...
1039         * loop-init.c (fix_loop_structure): ... here.
1040         (apply_loop_flags): Split out from ...
1041         (loop_optimizer_init): ... here.
1042         (fix_loop_structure): Use apply_loop_flags.  Use flow_loops_find
1043         in incremental mode, only remove dead loops here.
1045 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
1047         PR target/54222
1048         * config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add.
1049         * config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators.
1050         (round<mode>3, round<mode>3_const): New expanders for fixed-mode.
1051         (*round<mode>3.libgcc): New insns for fixed-modes.
1052         * config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME.
1053         (ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs.
1054         (ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs.
1055         * config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline
1056         implementations.  Define to __builtin_avr_absFX,
1057         __builtin_avr_bitsFX, __builtin_avr_FXbits, respectively.
1058         (roundFX, countlsFX): Define to __builtin_avr_roundFX,
1059         __builtin_avr_countlsFX, respectively.
1060         * config/avr/avr-c.c (target.h): Include it.
1061         (enum avr_builtin_id): New enum.
1062         (avr_resolve_overloaded_builtin): New static function.
1063         (avr_register_target_pragmas): Use it to set
1064         targetm.resolve_overloaded_builtin.
1065         * config/avr/avr.c (avr_init_builtins): Supply myriads of local
1066         tree nodes used by DEF_BUILTIN.
1067         (avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them.
1068         (avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR.
1069         <AVR_BUILTIN_xxBITS>: Same.
1071 2013-02-08  Richard Biener  <rguenther@suse.de>
1073         * cfgloop.c (verify_loop_structure): Properly handle
1074         a loop exiting to another loop header.
1075         * ira-int.h (ira_loops): Remove.
1076         * ira.c (ira_loops): Remove.
1077         (ira): Use loop_optimizer_init and loop_optimizer_finalize.
1078         (do_reload): Use loop_optimizer_finalize.
1079         * ira-build.c (create_loop_tree_nodes): Use get_loops and
1080         number_of_loops to access the loop tree.
1081         (more_one_region_p): Likewise.
1082         (finish_loop_tree_nodes): Likewise.
1083         (rebuild_regno_allocno_maps): Likewise.
1084         (mark_loops_for_removal): Likewise.
1085         (mark_all_loops_for_removal): Likewise.
1086         (remove_unnecessary_regions): Likewise.
1087         (ira_build): Likewise.
1088         * ira-emit.c (setup_entered_from_non_parent_p): Likewise.
1090 2013-02-08  Richard Biener  <rguenther@suse.de>
1092         * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency.
1093         * ipa-pure-const.c (analyze_function): Avoid calling
1094         mark_irreducible_loops twice.
1095         * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup.
1097 2013-02-07  David S. Miller  <davem@davemloft.net>
1099         * dwarf2out.c (based_loc_descr): Perform leaf register remapping
1100         on 'reg'.
1101         * var-tracking.c (vt_add_function_parameter): Test the presence of
1102         HAVE_window_save properly and do not remap argument registers when
1103         we have a leaf function.
1105 2013-02-07  Uros Bizjak  <ubizjak@gmail.com>
1107         PR bootstrap/56227
1108         * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT
1109         instead of "ll".
1110         * config/i386/i386.c (ix86_print_operand): Ditto.
1112 2013-02-07  Vladimir Makarov  <vmakarov@redhat.com>
1114         * lra-constraints.c (process_alt_operands): Fix recently added comment.
1116 2013-02-07  Vladimir Makarov  <vmakarov@redhat.com>
1118         PR rtl-optimization/56225
1119         * lra-constraints.c (process_alt_operands): Check that reload hard
1120         reg can hold value for strict_low_part.
1122 2013-02-07  Jakub Jelinek  <jakub@redhat.com>
1124         PR debug/56154
1125         * dwarf2out.c (dwarf2_debug_hooks): Set end_function hook to
1126         dwarf2out_end_function.
1127         (in_first_function_p, maybe_at_text_label_p,
1128         first_loclabel_num_not_at_text_label): New variables.
1129         (dwarf2out_var_location): In the first function find out
1130         lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0.
1131         (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New
1132         functions.
1134 2013-02-07  Eric Botcazou  <ebotcazou@adacore.com>
1136         PR rtl-optimization/56178
1137         * cse.c (cse_insn): Do not create a REG_EQUAL note if the source is a
1138         SUBREG of a register.  Tidy up related block of code.
1139         * fwprop.c (forward_propagate_and_simplify): Do not create a REG_EQUAL
1140         note if the source is a register or a SUBREG of a register.
1142 2013-02-07  Jakub Jelinek  <jakub@redhat.com>
1144         PR target/56228
1145         * config/rs6000/rs6000.md (ptrm): New mode attr.
1146         (call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11,
1147         call_value_indirect_aix<pttrsize>,
1148         call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of
1149         m in constraints.
1151 2013-02-07  Michael Haubenwallner  <michael.haubenwallner@salomon.at>
1153         * collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable
1154         if -bnortl. Convert to strcmp and strncmp.
1156 2013-02-07  Alan Modra  <amodra@gmail.com>
1158         PR target/54009
1159         * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM
1160         addresses won't wrap when offsetting.
1161         (rs6000_secondary_reload): Provide secondary reloads needed for
1162         wrapping LO_SUM addresses.
1164 2013-02-06  Thomas Schwinge  <thomas@codesourcery.com>
1166         * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define
1167         MACH, just __MACH__.
1169 2013-02-06  Richard Biener  <rguenther@suse.de>
1171         * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP
1172         instead of calling fix_loop_structure.
1174 2013-02-06  Jakub Jelinek  <jakub@redhat.com>
1176         PR middle-end/56217
1177         * omp-low.c (use_pointer_for_field): Return false if
1178         lower_send_shared_vars doesn't generate any copy-out code.
1180 2013-02-06  Tom de Vries  <tom@codesourcery.com>
1182         PR rtl-optimization/56131
1183         * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN
1184         to get the bb of a NOTE_INSN_BASIC_BLOCK.  Handle the case that the bb
1185         of the label is NULL.  Add comment.
1187 2013-02-05  Jakub Jelinek  <jakub@redhat.com>
1189         * tree.h (struct tree_decl_with_vis): Remove thread_local field.
1191         PR sanitizer/55374
1192         * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define.
1193         (STATIC_LIBTSAN_LIBS): Likewise.
1194         * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define.
1195         (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC
1196         is defined, don't add anything else beyond that.
1197         (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define.
1198         (LINK_COMMAND_SPEC): Use them.
1200         PR tree-optimization/56205
1201         * tree-stdarg.c (check_all_va_list_escapes): Return true if
1202         there are any PHI nodes that set non-va_list_escape_vars SSA_NAME
1203         and some va_list_escape_vars SSA_NAME appears in some PHI argument.
1205 2013-02-05  Richard Biener  <rguenther@suse.de>
1207         PR tree-optimization/53342
1208         PR tree-optimization/53185
1209         * tree-vectorizer.h (vect_check_strided_load): Remove.
1210         * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do
1211         not disallow peeling for vectorized strided loads.
1212         (vect_check_strided_load): Make static and simplify.
1213         (vect_analyze_data_refs): Adjust.
1214         * tree-vect-stmts.c (vectorizable_load): Handle peeled loops
1215         correctly when vectorizing strided loads.
1217 2013-02-05  Richard Biener  <rguenther@suse.de>
1219         * doc/install.texi: Refer to ISL, not PPL.
1221 2013-02-05  Jan Hubicka  <jh@suse.cz>
1223         PR tree-optimization/55789
1224         * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1.
1226 2013-02-05  Jan Hubicka  <jh@suse.cz>
1228         PR tree-optimization/55789
1229         * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove
1230         the dead call anyway.
1232 2013-02-05  Eric Botcazou  <ebotcazou@adacore.com>
1234         PR sanitizer/55374
1235         * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard.
1237 2013-02-04  Alexander Potapenko  <glider@google.com>
1238             Jack Howarth  <howarth@bromo.med.uc.edu>
1239             Jakub Jelinek  <jakub@redhat.com>
1241         PR sanitizer/55617
1242         * config/darwin.c (sort_ctor_records): Stabilized qsort
1243         on constructor priority by using original position.
1244         (finalize_ctors): New routine to sort constructors by
1245         priority before use in assemble_integer.
1246         (machopic_asm_out_constructor): Use finalize_ctors if needed.
1248 2013-02-04  Jakub Jelinek  <jakub@redhat.com>
1250         PR libstdc++/54314
1251         * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn
1252         about visibility on artificial decls.
1253         * config/sol2.c (solaris_assemble_visibility): Likewise.
1255 2013-02-04  Kai Tietz  <ktietz@redhat.com>
1257         PR target/56186
1258         * config/i386/i386.c (function_value_ms_64): Add additional valtype
1259         argument and improve checking of return-argument types for 16-byte
1260         modes.
1261         (ix86_function_value_1): Add additional valtype argument on call
1262         of function_value_64.
1263         (return_in_memory_ms_64): Sync 16-byte sized mode handling with
1264         handling infunction_value_64 function.
1266 2013-02-04  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
1268         * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue.
1270 2013-02-04  Richard Biener  <rguenther@suse.de>
1272         PR tree-optimization/56188
1273         * tree-ssa-structalias.c (label_visit): Consider case with
1274         initially non-empty points-to set.
1275         (perform_var_substitution): Dump node mapping and clean up.
1277 2013-02-04  Richard Guenther  <rguenther@suse.de>
1279         PR lto/56168
1280         * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin
1281         node prevail as last resort.
1282         (lto_symtab_merge_decls): Remove guard on LTRANS here.
1283         (lto_symtab_prevailing_decl): Builtins are their own prevailing decl.
1285 2013-02-04  Richard Biener  <rguenther@suse.de>
1287         PR tree-optimization/56113
1288         * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add):
1289         Merge into ...
1290         (equiv_class_lookup_or_add): ... this.
1291         (label_visit): Adjust and fix error in previous patch.
1292         (perform_var_substitution): Adjust.
1294 2013-02-03  Oleg Endo  <olegendo@gcc.gnu.org>
1296         * config/sh/divtab.c: Fix formatting and comments throughout the file.
1297         * config/sh/sh4-300.md: Likewise.
1298         * config/sh/sh4a.md: Likewise.
1299         * config/sh/constraints.md: Likewise.
1300         * config/sh/sh.md: Likewise.
1301         * config/sh/netbsd-elf.h: Likewise.
1302         * config/sh/predicates.md: Likewise.
1303         * config/sh/sh-protos.h: Likewise.
1304         * config/sh/ushmedia.h: Likewise.
1305         * config/sh/linux.h: Likewise.
1306         * config/sh/sh.c: Likewise.
1307         * config/sh/superh.h: Likewise.
1308         * config/sh/elf.h: Likewise.
1309         * config/sh/sh4.md: Likewise.
1310         * config/sh/sh.h: Likewise.
1312 2013-02-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1314         * config/pa/constraints.md: Adjust unused letters.  Change "T"
1315         constraint to match_test floating_point_store_memory_operand().
1316         * config/pa/predicates.md (reg_plus_base_memory_operand): New.
1317         (base14_operand): New.
1318         (floating_point_store_memory_operand): New.
1319         (integer_store_memory_operand): Revise to use base14_operand and
1320         reg_plus_base_memory_operand.
1321         (move_dest_operand): Allow symbolic_memory_operands.
1322         (symbolic_memory_operand): Check for LO_SOM.
1323         (symbolic_operand): Change default case to break.
1324         * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force
1325         CONST_DOUBLE values to be reloaded by putting them into memory when
1326         the destination is a floating point register.
1327         (movdf): Remove code to handle CONST_DOUBLE.
1328         (movsf): Likewise.
1329         (reload_indf_r1): New.
1330         (reload_insf_r1): New.
1331         Consistently use "Q" and "T" constraints with integer and floating
1332         point move instructions, respectively.
1333         (movdi): Remove FAIL.
1334         Change predicate for source operand unamed DImode move from
1335         general_operand to move_src_operand.
1336         (umulsidi3): Change predicate for destination operand to
1337         register_operand.
1338         Likewise for similar unamed patterns.
1339         * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare.
1340         * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis.
1341         (hppa_legitimize_address): Simplify mask calculation.
1342         (pa_emit_move_sequence): Revised handling of secondary reloads from
1343         REG+D addresses for floating point loads and stores.  Directly handle
1344         loading CONST0_RTX (mode) to a floating point register.
1345         (pa_secondary_reload): Handle reloading DF and SFmode constant values
1346         to floating point registers.  Don't restrict secondary reloads to
1347         floating point registers to integer modes.  Revise some comments and
1348         cleanup some code.
1349         (TARGET_LEGITIMATE_ADDRESS_P): Define.
1350         (pa_legitimate_address_p): New.
1351         (pa_legitimize_reload_address): New.
1352         * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New.
1353         (STRICT_REG_OK_FOR_BASE_P): New.
1354         (GO_IF_LEGITIMATE_ADDRESS): Delete.  Update some related comments.
1355         (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address.
1357 2013-02-03  David Edelsohn  <dje.gcc@gmail.com>
1358             Andrew Dixie  <andrewd@gentrack.com>
1360         * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY
1361         flag set.
1363 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
1365         * expmed.c (extract_bit_field_1): Pass the full width of the
1366         structure to get_best_reg_extraction_insn.
1368 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
1370         PR target/54601
1371         * configure.ac (use_cxa_atexit): Add AIX.
1372         * configure: Regenerate.
1374         * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o.
1376 2013-02-01  Jakub Jelinek  <jakub@redhat.com>
1378         PR debug/54793
1379         * final.c (need_profile_function): New variable.
1380         (final_start_function): Drop ATTRIBUTE_UNUSED from first argument.
1381         If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG
1382         is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED
1383         notes, targetm.asm_out.function_prologue doesn't emit anything,
1384         HAVE_prologue and profiler should be emitted before prologue,
1385         set need_profile_function instead of emitting it.
1386         (final_scan_insn): If need_profile_function, emit
1387         profile_function on the first NOTE_INSN_BASIC_BLOCK or
1388         NOTE_INSN_FUNCTION_BEG note.
1390 2013-02-01  Richard Henderson  <rth@redhat.com>
1392         * config/rs6000/rs6000.md (smulditi3): New.
1393         (umulditi3): New.
1395         * config/alpha/alpha.md (umulditi3): New.
1397 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
1399         * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2.
1400         (ASM_OUTPUT_ALIGNED_LOCAL): New.
1402 2013-02-01  Richard Biener  <rguenther@suse.de>
1404         PR tree-optimization/56113
1405         * tree-ssa-structalias.c (label_visit): Reduce work for
1406         single-predecessor nodes.
1408 2013-02-01  Eric Botcazou  <ebotcazou@adacore.com>
1410         * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the
1411         range isn't testing for zero.
1413 2013-01-31  Steven Bosscher  <steven@gcc.gnu.org>
1415         PR middle-end/56113
1416         * fwprop.c (fwprop_init): Set up loops without CFG modifications.
1418 2013-01-31  Hiroyuki Ono  <hiroyuki.ono.jc@renesas.com>
1419             Nick Clifton  <nickc@redhat.com>
1421         * config/v850/constraints.md (Q): Define as a memory constraint.
1422         * config/v850/predicates.md (label_ref_operand): New predicate.
1423         (e3v5_shift_operand): New predicate.
1424         (ior_operator): New predicate.
1425         * config/v850/t-v850: Add e3v5 multilib.
1426         * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype.
1427         (v850_gen_movdi): Prototype.
1428         * config/v850/v850.c: Add support for e3v5 architecture.
1429         Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to
1430         TARGET_V850E_UP.
1431         (construct_save_jarl): Add e3v5 long JARL support.
1432         (v850_adjust_insn_length): New function.  Adjust length of call
1433         insns when using e3v5 instructions.
1434         (v850_gen_movdi): New function: Generate instructions to move a
1435         DImode value.
1436         * config/v850/v850.h (TARGET_CPU_v850e3v5): Define.
1437         (CPP_SPEC): Define __v850e3v5__ as appropriate.
1438         (TARGET_USE_FPU): Enable for e3v5.
1439         (CONST_OK_FOR_W): New macro.
1440         (ADJUST_INSN_LENGTH): Define.
1441         * config/v850/v850.md (UNSPEC_LOOP): Define.
1442         (attr cpu): Add v850e3v5.
1443         Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP.
1444         (movdi): New pattern.
1445         (movdi_internal): New pattern.
1446         (cbranchsf4): Conditionalize on TARGET_USE_FPU.
1447         (cbranchdf4): Conditionalize on TARGET_USE_FPU.
1448         (cstoresf4): Likewise.
1449         (cstoredf4): Likewise.
1450         (insv): New pattern.
1451         (rotlso3_a): New pattern.
1452         (rotlsi3_b): New pattern
1453         (rotlsi3_v850e3v5): New pattern.
1454         (doloop_begin): New pattern.
1455         (fix_loop_counter): New pattern.
1456         (doloop_end): New pattern.
1457         (branch_normal): Add e3v5 long branch support.
1458         (branch_invert): Likewise.
1459         (branch_z_normal): Likewise.
1460         (branch_z_invert): Likewise.
1461         (branch_nz_normal): Likewise.
1462         (branch_nz_invert): Likewise.
1463         (call_internal_short): Add e3v5 register-indirect JARL support.
1464         (call_internal_long): Likewise.
1465         (call_value_internal_short): Likewise.
1466         (call_value_internal_long): Likewise.
1467         * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options.
1468         (mloop): New option.
1469         * config.gcc: Add support for configuring v840e3v5 target.
1470         * doc/invoke.texi: Document new v850 specific command line options.
1472 2013-01-31  Paul Koning  <ni1d@arrl.net>
1474         PR debug/55059
1475         PR debug/54508
1476         * dwarf2out.c (prune_unused_types_mark): Mark all of parent's
1477         children if parent is a class.
1478         (prune_unused_types_prune): Don't add DW_AT_declaration.
1480 2013-01-31  Richard Biener  <rguenther@suse.de>
1482         PR tree-optimization/56157
1483         * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to
1484         match up operand with SLP child.
1486 2013-01-31  Jason Merrill  <jason@redhat.com>
1488         PR debug/54410
1489         * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template
1490         parameters the first time.
1491         (gen_scheduled_generic_parms_dies): Check completeness here.
1493 2013-01-31  Richard Biener  <rguenther@suse.de>
1495         PR middle-end/53073
1496         * common.opt (faggressive-loop-optimizations): New flag,
1497         enabled by default.
1498         * doc/invoke.texi (faggressive-loop-optimizations): Document.
1499         * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard
1500         infer_loop_bounds_from_undefined by it.
1502 2013-01-31  Richard Biener  <rguenther@suse.de>
1504         PR tree-optimization/56150
1505         * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not
1506         visit virtual operands.
1507         (find_uses_to_rename_bb): Likewise.
1509 2013-01-31  Richard Biener  <rguenther@suse.de>
1511         PR tree-optimization/56150
1512         * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle
1513         mixed store non-store stmts.
1515 2013-01-30  Jakub Jelinek  <jakub@redhat.com>
1517         PR sanitizer/55374
1518         * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if
1519         LIBASAN_EARLY_SPEC is defined.
1520         (LIBASAN_EARLY_SPEC): Define to empty string if not already defined.
1521         (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address,
1522         before %o.
1523         * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define.
1525         PR c++/55742
1526         * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose
1527         invalid args instead of ICEing on it.
1528         (ix86_valid_target_attribute_tree): Return error_mark_node if
1529         ix86_valid_target_attribute_inner_p failed.
1530         (ix86_valid_target_attribute_p): Return false only if
1531         ix86_valid_target_attribute_tree returned error_mark_node.  Allow
1532         target("default") attribute.
1533         (sorted_attr_string): Change argument from const char * to tree,
1534         merge in all target attribute arguments rather than just one.
1535         Formatting fix.  Use XNEWVEC instead of xmalloc and XDELETEVEC
1536         instead of free.  Avoid using strcat.
1537         (ix86_mangle_function_version_assembler_name): Mangle
1538         target("default") as if no target attribute is present.  Adjust
1539         sorted_attr_string caller.  Avoid leaking memory.  Use XNEWVEC
1540         instead of xmalloc and XDELETEVEC instead of free.
1541         (ix86_function_versions): Don't return true if one of the decls
1542         doesn't have target attribute.  If they don't and one of the decls
1543         is DECL_FUNCTION_VERSIONED, report an error.  Adjust
1544         sorted_attr_string caller.  Use XDELETEVEC instead of free.
1545         (ix86_supports_function_versions): Remove.
1546         (make_name): Fix up formatting.
1547         (make_dispatcher_decl): Remove resolver_name and its initialization.
1548         Avoid leaking memory.
1549         (is_function_default_version): Return true if there is
1550         target("default") attribute rather than no target attribute at all.
1551         (make_resolver_func): Avoid leaking memory.
1552         (ix86_generate_version_dispatcher_body): Likewise.
1553         (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove.
1554         * target.def (supports_function_versions): Remove.
1555         * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove.
1556         * doc/tm.texi: Regenerated.
1558 2013-01-30  Vladimir Makarov  <vmakarov@redhat.com>
1560         PR rtl-optimization/56144
1561         * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo
1562         for values with side effects.
1564 2013-01-30  Richard Biener  <rguenther@suse.de>
1566         * sparseset.h (sparseset_bit_p): Use gcc_checking_assert.
1567         (sparseset_pop): Likewise.
1568         * cfganal.c (compute_idf): Likewise.  Increase work-stack size
1569         to be able to use quick_push in the worker loop.
1571 2013-01-30  Marek Polacek  <polacek@redhat.com>
1573         * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs.
1575 2013-01-30  Richard Biener  <rguenther@suse.de>
1577         PR lto/56147
1578         * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check.
1580 2013-01-30  Georg-Johann Lay  <avr@gjlay.de>
1582         PR tree-optimization/56064
1583         * fixed-value.c (fixed_from_double_int): New function.
1584         * fixed-value.h (fixed_from_double_int): New prototype.
1585         (const_fixed_from_double_int): New static inline function.
1586         * fold-const.c (native_interpret_fixed): New static function.
1587         (native_interpret_expr) <FIXED_POINT_TYPE>: Use it.
1588         (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true.
1589         (native_encode_fixed): New static function.
1590         (native_encode_expr) <FIXED_CST>: Use it.
1591         (native_interpret_int): Move double_int worker code to...
1592         * double-int.c (double_int::from_buffer): ...this new static method.
1593         * double-int.h (double_int::from_buffer): Prototype it.
1595 2013-01-30  Richard Biener  <rguenther@suse.de>
1597         * tree-ssa-structalias.c (final_solutions, final_solutions_obstack):
1598         New pointer-map and obstack.
1599         (init_alias_vars): Allocate pointer-map and obstack.
1600         (delete_points_to_sets): Free them.
1601         (find_what_var_points_to): Cache result.
1602         (find_what_p_points_to): Adjust for changed interface of
1603         find_what_var_points_to.
1604         (compute_points_to_sets): Likewise.
1605         (ipa_pta_execute): Likewise.
1607 2013-01-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1609         * configure.ac (HAVE_AS_SPARC_NOBITS): New test.
1610         * configure: Regenerate.
1611         * config.in: Regenerate.
1612         * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit
1613         #nobits/#progbits if supported.
1615 2013-01-29  Oleg Endo  <olegendo@gcc.gnu.org>
1617         PR target/56121
1618         * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a,
1619         bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a,
1620         bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition.
1622 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
1624         * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove.
1625         (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all.
1627 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
1629         * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL.
1630         * config/arm/cortex-a7.md (cortex_a7_call): Update required units.
1632 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
1634         * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New
1635         declaration.
1636         * config/arm/arm.c (arm_mac_accumulator_is_result): New function.
1637         * config/arm/cortex-a7.md: New bypasses using
1638         arm_mac_accumulator_is_result.
1640 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
1642         * config/arm/cortex-a7.md (cortex_a7_neon_mul):  New reservation.
1643         (cortex_a7_neon_mla): Likewise.
1644         (cortex_a7_fpfmad): New reservation.
1645         (cortex_a7_fpmacs): Use ffmas and update required units.
1646         (cortex_a7_fpmuld): Update required units and latency.
1647         (cortex_a7_fpmacd): Likewise.
1648         (cortex_a7_fdivs, cortex_a7_fdivd): Likewise.
1649         (cortex_a7_neon). Likewise.
1650         (bypass) Update participating units.
1652 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
1654         * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute.
1655         * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type
1656         from fmac to ffma.
1657         * config/arm/vfp11.md (vfp_farith): Use ffmas.
1658         (vfp_fmul): Use ffmad.
1659         * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas.
1660         (cortex_r4_fmacd): Use ffmad.
1661         * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas.
1662         * config/arm/cortex-a9.md (cortex_a9_fmacs):  Use ffmas.
1663         (cortex_a9_fmacd): Use ffmad.
1664         * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas.
1665         (cortex_a8_vfp_macd): Use ffmad.
1666         * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas.
1667         (cortex_a5_fpmacd): Use ffmad.
1668         * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas.
1669         (cortex_a15_vfp_macd): Use ffmad.
1670         * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad.
1672 2013-01-29  Jason Merrill  <jason@redhat.com>
1674         PR libstdc++/54314
1675         * varasm.c (default_assemble_visibility): Don't warn about
1676         visibility on artificial decls.
1678 2013-01-29  Richard Biener  <rguenther@suse.de>
1680         PR tree-optimization/56113
1681         * tree-ssa-structalias.c (equiv_class_lookup): Also return
1682         the bitmap leader.
1683         (label_visit): Free duplicate bitmaps and record the leader instead.
1684         (perform_var_substitution): Adjust.
1686 2013-01-29  Richard Biener  <rguenther@suse.de>
1688         PR tree-optimization/55270
1689         * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed
1690         the CFG, schedule loops for fixup.
1692 2013-01-29  Nick Clifton  <nickc@redhat.com>
1694         * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow
1695         SP_REG.
1697 2013-01-28  Leif Ekblad  <leif@rdos.net>
1699         * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets.
1700         * config/i386/i386.h (TARGET_RDOS): New macro.
1701         (DEFAULT_LARGE_SECTION_THRESHOLD): New macro.
1702         * config/i386/i386.c (ix86_option_override_internal): For 64bit
1703         TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1.
1704         * config/i386/i386.opt (mlarge-data-threshold): Initialize to
1705         DEFAULT_LARGE_SECTION_THRESHOLD.
1706         * config/i386/i386.md (R14_REG, R15_REG): New constants.
1707         * config/i386/rdos.h: New file.
1708         * config/i386/rdos64.h: New file.
1710 2013-01-28  Bernd Schmidt  <bernds@codesourcery.com>
1712         PR other/54814
1713         * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of
1714         TEST_HARD_REG_BIT.
1716 2013-01-28  Jakub Jelinek  <jakub@redhat.com>
1718         PR rtl-optimization/56117
1719         * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib
1720         call cselib_lookup_from_insn on the MEM before calling
1721         add_insn_mem_dependence.
1723 2013-01-28  Richard Biener  <rguenther@suse.de>
1725         * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK
1726         to a stmt that didn't have one.
1727         (copy_phis_for_bb): Likewise for PHI arguments.
1728         (copy_debug_stmt): Likewise for debug stmts.
1730 2013-01-28  Richard Biener  <rguenther@suse.de>
1732         PR tree-optimization/56034
1733         * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION.
1734         (partition_builtin_p): Adjust.
1735         (generate_code_for_partition): Handle PKIND_REDUCTION.  Assert
1736         it is the last partition.
1737         (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking
1738         up the vertex for the definition.
1739         (classify_partition): Classify whether a partition is a
1740         PKIND_REDUCTION, thus has uses outside of the loop.
1741         (ldist_gen): Inherit PKIND_REDUCTION when merging partitions.
1742         Merge all PKIND_REDUCTION partitions into the last partition.
1743         (tree_loop_distribution): Seed partitions from reductions as well.
1745 2013-01-28  Jakub Jelinek  <jakub@redhat.com>
1747         PR tree-optimization/56125
1748         * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize
1749         pow(x,c) into sqrt(x) * powi(x, n/2) or
1750         1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when
1751         optimizing for size.
1752         Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or
1753         1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an
1754         integer.
1756         PR tree-optimization/56094
1757         * gimplify.c (force_gimple_operand_1): Temporarily set input_location
1758         to UNKNOWN_LOCATION while gimplifying expr.
1760 2013-01-27  Uros Bizjak  <ubizjak@gmail.com>
1762         PR target/56114
1763         * config/i386/i386.md (*movabs<mode>_1): Add square brackets around
1764         operand 0 in movabs insn template for -masm=intel asm alternative.
1765         (*movabs<mode>_2): Ditto for operand 1.
1767 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
1769         PR target/54663
1770         * config.gcc (microblaze*-linux*): Add tmake_file to allow building
1771         of microblaze-c.o
1773 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1775         * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update
1776         tm_file.
1778 2013-01-25  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
1780         * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS):
1781         Undef to avoid warning.
1783 2013-01-25  Michael Haubenwallner  <michael.haubenwallner@salomon.at>
1785         * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
1786         * configure: Regenerate.
1788 2013-01-25  Jakub Jelinek  <jakub@redhat.com>
1790         PR tree-optimization/56098
1791         * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr
1792         for stmts with volatile ops.
1793         (cond_store_replacement): Don't optimize if assign has volatile ops.
1794         (cond_if_else_store_replacement_1): Don't optimize if either
1795         then_assign or else_assign have volatile ops.
1796         (hoist_adjacent_loads): Don't optimize if either def1 or def2 have
1797         volatile ops.
1799 2013-01-25  Georg-Johann Lay  <avr@gjlay.de>
1801         * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__.
1803 2013-01-25  Georg-Johann Lay  <avr@gjlay.de>
1805         * doc/extend.texi (Example of asm with clobbered asm reg): Fix
1806         missing ':' in asm example.
1808 2013-01-25  Tejas Belagod  <tejas.belagod@arm.com>
1810         * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane
1811         entries into lane and laneq entries.
1812         * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>):
1813         Remove AdvSIMD scalar modes.
1814         (aarch64_sq<r>dmulh_laneq<mode>): New.
1815         (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD
1816         modes.
1817         * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics'
1818         builtin implementations to relfect changes in RTL in aarch64-simd.md.
1819         * config/aarch64/iterators.md (VCOND): New.
1820         (VCONQ): New.
1822 2013-01-25  Georg-Johann Lay  <avr@gjlay.de>
1824         PR target/54222
1825         * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument.
1826         Add NULL LIBNAME argument to existing definitions.
1827         (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New.
1828         * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument.
1829         * config/avr/avr.c (DEF_BUILTIN): Same.
1830         (avr_init_builtins): Pass down LIBNAME to add_builtin_function.
1831         (avr_expand_builtin): Expand to a vanilla call if a libgcc
1832         implementation is available (DECL_ASSEMBLER_NAME is set).
1833         (avr_fold_absfx): New static function.
1834         (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR,
1835         AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR,
1836         AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK,
1837         AVR_BUILTIN_ABSLLK.
1838         * config/avr/stdfix.h (abshr, absr, abslr, absllr)
1839         (abshk, absk, abslk, absllk): Provide as static inline functions.
1841 2013-01-25  Marek Polacek  <polacek@redhat.com>
1843         PR tree-optimization/56035
1844         * cfgloopmanip.c (fix_loop_structure): Remove redundant condition.
1846 2012-01-24  Uros Bizjak  <ubizjak@gmail.com>
1848         * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative.
1849         (*movtf_internal_rex64): Add (!o,C) alternative
1850         (*movxf_internal_rex64): Ditto.
1851         (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives.
1853 2013-01-24  Shenghou Ma  <minux.ma@gmail.com>
1855         * doc/invoke.texi: fix typo.
1856         * doc/objc.texi: fix typo.
1858 2013-01-24  Richard Sandiford  <rdsandiford@googlemail.com>
1860         * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
1861         for the first two alternatives.
1863 2013-01-24  Diego Novillo  <dnovillo@google.com>
1865         * Makefile.in (GGC): Remove.  Replace all instances with ggc-page.o.
1866         (ggc-zone.o): Remove.
1867         * configure.ac: Remove option --with-gc.
1868         * configure: Re-generate.
1869         * doc/install.texi: Remove documentation for --with-gc.
1870         * gengtype.c (write_enum_defn): Remove.  Update all users.
1871         (write_Types_process_field): Remove generation of gt_e_* argument.
1872         (output_type_enum): Remove.  Update all users.
1873         (write_enum_defn): Remove.  Update all users.
1874         (enum alloc_zone): Remove.  Update all users.
1875         (write_splay_tree_allocator_def): Remove generation of gt_e_* argument.
1876         * ggc-common.c (ggc_splay_alloc): Remove first argument.
1877         Update all callers.
1878         (struct ptr_data): Remove field TYPE.  Update all users.
1879         (gt_pch_note_object): Remove argument TYPE.  Update all users.
1880         * ggc-internal.h (ggc_pch_alloc_object): Remove last argument.
1881         Update all users.
1882         * ggc-none.c (ggc_alloc_typed_stat): Remove.
1883         (struct alloc_zone): Remove.
1884         (ggc_internal_alloc_zone_stat): Remove.
1885         (ggc_internal_cleared_alloc_zone_stat): Remove.
1886         * ggc-page.c (ggc_alloc_typed_stat): Remove.
1887         (ggc_pch_count_object): Remove last argument.  Update all users.
1888         (ggc_pch_alloc_object): Remove last argument.  Update all users.
1889         (struct alloc_zone): Remove.
1890         * ggc-zone.c: Remove.
1891         * ggc.h (gt_pch_note_object): Remove last argument.  Update all users.
1892         (struct alloc_zone): Remove.
1893         (ggc_alloc_typed_stat): Remove.
1894         (ggc_alloc_typed): Remove.
1895         (ggc_splay_alloc): Remove first argument.
1896         (rtl_zone): Remove.  Update all users.
1897         (tree_zone): Remove.  Update all users.
1898         (tree_id_zone): Remove.  Update all users.
1899         (ggc_internal_zone_alloc_stat): Remove.  Update all users.
1900         (ggc_internal_zone_cleared_alloc_stat): Remove.  Update all users.
1901         (ggc_internal_zone_vec_alloc_stat): Remove.  Update all users.
1902         * tree-ssanames.c: Remove references to zone allocator in comments.
1904 2013-01-24  Georg-Johann Lay  <avr@gjlay.de>
1906         * config/avr/avr.c (avr_out_fract): Make register numbers that
1907         might be outside of source operand signed.
1909 2013-01-24  Uros Bizjak  <ubizjak@gmail.com>
1911         * config/i386/constraints.md (Yf): New constraint.
1912         * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead
1913         of f constraint to conditionaly disable x87 register preferences.
1914         (*movdf_internal): Ditto.
1915         (*movsf_internal): Ditto.
1917 2013-01-24  Steven Bosscher  <steven@gcc.gnu.org>
1919         PR inline-asm/55934
1920         * lra-assigns.c (assign_by_spills): Throw away the pattern of asms
1921         that have operands with impossible constraints.
1922         Add a FIXME for a speed-up opportunity.
1923         * lra-constraints.c (process_alt_operands): Verify that a class
1924         selected from constraints on asms is valid for the operand mode.
1925         (curr_insn_transform): Remove incorrect comment.
1927 2013-01-23  David Edelsohn  <dje.gcc@gmail.com>
1929         * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that
1930         TOC operand is a valid symbol ref in the constant pool.
1932 2013-01-23  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1934         * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS
1936 2013-01-23  Georg-Johann Lay  <avr@gjlay.de>
1938         PR target/54222
1939         * config/avr/stdfix.h: New file.
1940         * t-avr (stdfix-gcc.h): New rule to build it.
1941         (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h.
1943 2013-01-23  Kostya Serebryany  <kcc@google.com>
1945         * config/darwin.h: remove dependency on
1946         CoreFoundation (asan on Mac OS).
1948 2013-01-23  Jakub Jelinek  <jakub@redhat.com>
1950         PR target/49069
1951         * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
1952         instead of cmpdi_operand for first comparison operand.
1953         Don't assert that comparison operands aren't both constants.
1955 2013-01-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
1957         * doc/install.texi (Downloading the Source): Update references to
1958         downloading separate components.
1960 2013-01-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
1962         * doc/extend.texi (__int128): Improve grammar.
1964 2013-01-22  Uros Bizjak  <ubizjak@gmail.com>
1966         PR target/56028
1967         * config/i386/i386.md (*movti_internal_rex64): Change (o,riF)
1968         alternative to (o,r).
1969         (*movdi_internal_rex64): Remove (!o,n) alternative.
1970         (DImode immediate->memory splitter): Remove.
1971         (DImode immediate->memory peephole2): Remove.
1972         (movtf): Enable for TARGET_64BIT || TARGET_SSE.
1973         (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r)
1974         alternative to (!o,*r).
1975         (*movtf_internal_sse): New pattern.
1976         (*movxf_internal_rex64): New pattern.
1977         (*movxf_internal): Disable for TARGET_64BIT.
1978         (*movdf_internal_rex64): Remove (!o,F) alternative.
1980 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
1982         PR middle-end/56074
1983         * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc)
1984         isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION.
1985         * tree-vect-loop-manip.c (find_loop_location): Also ignore
1986         stmt locations where LOCATION_LOCUS of the stmt location is
1987         UNKNOWN_LOCATION or BUILTINS_LOCATION.
1989         PR target/55686
1990         * config/i386/i386.md (UNSPEC_STOS): New.
1991         (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1,
1992         *strsetqi_1): Add UNSPEC_STOS.
1994 2013-01-22  Paolo Carlini  <paolo.carlini@oracle.com>
1996         PR c++/56067
1997         * doc/invoke.texi: Remove left over -Wsynth example.
1999 2013-01-21  Jakub Jelinek  <jakub@redhat.com>
2001         PR tree-optimization/56051
2002         * fold-const.c (fold_binary_loc): Don't fold
2003         X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
2004         a narrowing conversion, or widening conversion from signed
2005         to unsigned.
2007 2013-01-21  Uros Bizjak  <ubizjak@gmail.com>
2009         PR rtl-optimization/56023
2010         * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
2011         dependent on debug instruction.
2013 2013-01-21  Martin Jambor  <mjambor@suse.cz>
2015         PR middle-end/56022
2016         * function.c (allocate_struct_function): Call
2017         invoke_set_current_function_hook earlier.
2019 2013-01-21  Jakub Jelinek  <jakub@redhat.com>
2021         * reload1.c (init_reload): Only initialize reload_obstack
2022         during the first call.
2024 2013-01-21  Marek Polacek  <polacek@redhat.com>
2026         * cfgloop.c (verify_loop_structure): Fix up grammar.
2028 2013-01-21  Yi-Hsiu Hsu  <ahsu@marvell.com>
2030         * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift,
2031         pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift.
2033 2013-01-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2035         PR target/56058
2036         * config/arm/marvell-pj4.md: Update copyright year.
2037         Fix up use of alu to alu_reg and simple_alu_imm.
2039 2013-01-21  Uros Bizjak  <ubizjak@gmail.com>
2041         * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
2043 2013-01-20  Vladimir Makarov  <vmakarov@redhat.com>
2045         PR target/55433
2046         * lra-constraints.c (curr_insn_transform): Don't reuse original
2047         insn for secondary memory move when memory mode should be different.
2049 2013-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2051         * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi,
2052         atomic_storedi_1): New patterns.
2054 2013-01-20  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2056         btver2 pipeline descriptions.
2057         * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
2058         descriptions.
2059         * config/i386/i386.md (btver2_decode): New type attributes.
2060         * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
2061         type attributes.
2062         * config/i386/btver2.md: New file describing btver2 pipelines.
2064 2013-01-19  Andrew Pinski  <apinski@cavium.com>
2066         PR tree-optimization/52631
2067         * tree-ssa-sccvn (visit_use): Before looking up the original
2068         statement, try looking up the simplified expression.
2070 2013-01-19  Anthony Green  <green@moxielogic.com>
2072         * config/moxie/moxie.c (moxie_expand_prologue): Set
2073         current_function_static_stack_size.
2075 2013-01-18  Jakub Jelinek  <jakub@redhat.com>
2077         PR tree-optimization/56029
2078         * tree-phinodes.c (reserve_phi_args_for_new_edge): Set
2079         gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
2081 2013-01-18  Sharad Singhai  <singhai@google.com>
2083         PR tree-optimization/55995
2084         * dumpfile.c (dump_loc): Print location only if available.
2085         * tree-vectorizer.c (increase_alignment): Intialize vect_location.
2087 2013-01-18  Vladimir Makarov  <vmakarov@redhat.com>
2089         PR target/55433
2090         * lra-constraints.c (curr_insn_transform): Reuse original insn for
2091         secondary memory move.
2092         (inherit_reload_reg): Use rclass instead of cl for
2093         check_secondary_memory_needed_p.
2095 2013-01-18  Jakub Jelinek  <jakub@redhat.com>
2097         PR middle-end/56015
2098         * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
2099         the case where writing real complex part of target modifies op1.
2101 2013-01-18  James Greenhalgh  <james.greenhalgh@arm.com>
2103         * config/aarch64/aarch64-simd.md
2104         (aarch64_vcond_internal<mode>): Handle unordered cases.
2105         * config/aarch64/iterators.md (v_cmp_result): New.
2107 2013-01-18  Yi-Hsiu Hsu  <ahsu@marvell.com>
2108             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2110         * config/arm/marvell-pj4.md: New file.
2111         * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
2112         * config/arm/arm.md (generic_sched): Add marvell_pj4.
2113         (generic_vfp): Likewise.
2114         * config/arm/arm-cores.def: Add marvell-pj4.
2115         * config/arm/arm-tune.md: Regenerate.
2116         * config/arm/arm-tables.opt: Regenerate.
2117         * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
2118         * doc/invoke.texi: Document marvell-pj4.
2120 2013-01-18  Tejas Belagod  <tejas.belagod@arm.com>
2122         * config/aarch64/arm_neon.h: Map scalar types to standard types.
2124 2013-01-18  Alexandre Oliva  <aoliva@redhat.com>
2126         PR debug/54114
2127         PR debug/54402
2128         PR debug/49888
2129         * var-tracking.c (negative_power_of_two_p): New.
2130         (global_get_addr_cache, local_get_addr_cache): New.
2131         (get_addr_from_global_cache, get_addr_from_local_cache): New.
2132         (vt_canonicalize_addr): Rewrite using the above.  Adjust the
2133         heading comment.
2134         (vt_stack_offset_p): Remove.
2135         (vt_canon_true_dep): Always canonicalize loc's address.
2136         (clobber_overlapping_mems): Make sure we have a MEM.
2137         (local_get_addr_clear_given_value): New.
2138         (val_reset): Clear local cached entries.
2139         (compute_bb_dataflow): Create and release the local cache.
2140         Disable duplicate MEMs clobbering.
2141         (emit_notes_in_bb): Clobber MEMs likewise.
2142         (vt_emit_notes): Create and release the local cache.
2143         (vt_initialize, vt_finalize): Create and release the global
2144         cache, respectively.
2145         * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
2147 2013-01-18  Alexandre Oliva  <aoliva@redhat.com>
2149         PR libmudflap/53359
2150         * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
2151         not found in the symtab.
2153 2013-01-18  Alexandre Oliva  <aoliva@redhat.com>
2155         PR debug/56006
2156         PR rtl-optimization/55547
2157         PR rtl-optimization/53827
2158         PR debug/53671
2159         PR debug/49888
2160         * alias.c (offset_overlap_p): New, factored out of...
2161         (memrefs_conflict_p): ... this.  Use absolute sizes.  Retain
2162         the conservative special case for symbolic constants.  Don't
2163         adjust zero sizes on alignment.
2165 2013-01-18  Bernd Schmidt  <bernds@codesourcery.com>
2167         PR rtl-optimization/52573
2168         * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
2169         REG_UNUSED for the same register.
2171 2013-01-17  Richard Biener  <rguenther@suse.de>
2172             Marek Polacek  <polacek@redhat.com>
2174         PR rtl-optimization/55833
2175         * loop-unswitch.c (unswitch_loops): Move loop verification...
2176         (unswitch_single_loop): ...here.  Call mark_irreducible_loops.
2177         * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
2178         Set it to true when we're removing a loop from hierarchy tree in
2179         an irreducible region.
2180         (fix_bb_placements): Adjust caller.
2181         (fix_loop_placements): Likewise.
2183 2013-01-17  Georg-Johann Lay  <avr@gjlay.de>
2185         * config/avr/builtins.def (DEF_BUILTIN): Factor out
2186         "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
2187         Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
2188         Remove ID.  Adjust comments.
2189         * config/avr/avr-c.c (avr_builtin_name): Remove.
2190         (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
2191         * config/avr/avr.c (avr_tolower): New static function.
2192         (DEF_BUILTIN): Remove parameter ID.  Prefix ICODE by 'CODE_FOR_'.
2193         Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
2194         (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
2195         default expansion.
2197 2013-01-17  Jan Hubicka  <jh@suse.cz>
2199         PR tree-optimization/55273
2200         * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
2202 2013-01-17  Uros Bizjak  <ubizjak@gmail.com>
2204         PR target/55981
2205         * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
2206         store through atomic_store<mode>_1.
2207         (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
2209 2013-01-17  Martin Jambor  <mjambor@suse.cz>
2211         PR tree-optimizations/55264
2212         * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
2213         for virtual methods.
2214         * ipa.c (symtab_remove_unreachable_nodes): Never return true for
2215         virtual methods before inlining is over.
2216         * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
2217         virtual functions.
2218         * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
2219         non-virtual.
2221 2013-01-16  Vladimir Makarov  <vmakarov@redhat.com>
2223         PR rtl-optimization/56005
2224         * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
2225         pending reads for prefetch.
2227 2013-01-16  Ian Bolton  <ian.bolton@arm.com>
2229         * config/aarch64/aarch64.md
2230         (*cstoresi_neg_uxtw): New pattern.
2231         (*cmovsi_insn_uxtw): New pattern.
2232         (*<optab>si3_uxtw): New pattern.
2233         (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
2234         (*<optab>si3_insn_uxtw): New pattern.
2235         (*bswapsi2_uxtw): New pattern.
2237 2013-01-16  Richard Biener  <rguenther@suse.de>
2239         * tree-inline.c (tree_function_versioning): Remove set but
2240         never used variable.
2242 2013-01-16  Richard Biener  <rguenther@suse.de>
2244         PR tree-optimization/55964
2245         * tree-flow.h (rename_variables_in_loop): Remove.
2246         (rename_variables_in_bb): Likewise.
2247         * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
2248         (copy_loop_before): Adjust and delete update-ssa status.
2249         * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
2250         (rename_variables_in_bb): Likewise.  Properly walk over predecessors.
2251         (rename_variables_in_loop): Remove.
2252         (slpeel_update_phis_for_duplicate_loop): Likewise.
2253         (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
2254         use available cfg machinery instead of duplicating it.
2255         Update PHI nodes and perform poor-mans SSA update here.
2256         (slpeel_tree_peel_loop_to_edge): Adjust.
2258 2013-01-16  Richard Biener  <rguenther@suse.de>
2260         PR tree-optimization/54767
2261         PR tree-optimization/53465
2262         * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
2263         (vrp_visit_phi_node): For PHI arguments coming via backedges
2264         drop all symbolical range information.
2265         (execute_vrp): Compute backedges.
2267 2013-01-16  Richard Biener  <rguenther@suse.de>
2269         * doc/install.texi: Update CLooG and ISL requirements to
2270         0.18.0 and 0.11.1.
2272 2013-01-16  Christian Bruel  <christian.bruel@st.com>
2274         PR target/55301
2275         * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
2276         (broken_move): Handle UNSPECV_SP_SWITCH_B.
2277         * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
2279 2013-01-16  DJ Delorie  <dj@redhat.com>
2281         * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
2282         (UNSPECV_SP_SWITCH_E): New.
2283         (sp_switch_1): Change to an unspec.
2284         (sp_switch_2): Change to an unspec.  Don't use post-inc when we
2285         replace $r15.
2287 2013-01-16  Uros Bizjak  <ubizjak@gmail.com>
2289         * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
2290         with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
2291         * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
2292         (expand_mem_thread_fence): Ditto.
2293         (expand_mem_signal_fence): Ditto.
2294         (expand_atomic_load): Ditto.
2295         (expand_atomic_store): Ditto.
2297 2013-01-16  Alexandre Oliva  <aoliva@redhat.com>
2299         PR rtl-optimization/55547
2300         PR rtl-optimization/53827
2301         PR debug/53671
2302         PR debug/49888
2303         * alias.c (memrefs_conflict_p): Set sizes to negative after
2304         AND adjustments.
2306 2013-01-15  Jakub Jelinek  <jakub@redhat.com>
2308         PR target/55940
2309         * function.c (thread_prologue_and_epilogue_insns): Always
2310         add crtl->drap_reg to set_up_by_prologue.set, even if
2311         stack_realign_drap is false.
2313 2013-01-15  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
2315         * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
2316         and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
2317         *call): Fix indention.
2319 2013-01-15  Tom de Vries  <tom@codesourcery.com>
2321         PR target/55876
2322         * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
2323         Update comment.
2325 2013-01-15  Vladimir Makarov  <vmakarov@redhat.com>
2327         PR rtl-optimization/55153
2328         * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
2330 2013-01-15  Martin Jambor  <mjambor@suse.cz>
2332         PR tree-optimization/55920
2333         * tree-sra.c (analyze_access_subtree): Do not mark non-removable
2334         accesses as grp_to_be_debug_replaced.
2336 2013-01-15  Jakub Jelinek  <jakub@redhat.com>
2338         PR tree-optimization/55920
2339         * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
2340         there is non-useless type conversion needed from debug rhs to lhs,
2341         use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
2343 2013-01-15  Joseph Myers  <joseph@codesourcery.com>
2344             Mikael Pettersson  <mikpe@it.uu.se>
2346         PR target/43961
2347         * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
2348         Thumb.
2349         (ASM_OUTPUT_CASE_LABEL): Remove.
2350         (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
2351         * final.c (shorten_branches): Update alignment of labels before
2352         jump tables if CASE_VECTOR_SHORTEN_MODE.
2354 2013-01-15  Richard Biener  <rguenther@suse.de>
2356         PR bootstrap/55961
2357         * system.h: Do not include gmp.h for building host tools.
2359 2013-01-15  Richard Biener  <rguenther@suse.de>
2361         PR middle-end/55882
2362         * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
2363         account for bitpos when computing alignment.
2365 2013-01-15  Vladimir Yakovlev  <vladimir.b.yakovlev@intel.com>
2367         * config/i386/i386-c.c (ix86_target_macros_internal): New case.
2368         (ix86_target_macros_internal): Likewise.
2370         * config/i386/i386.c (m_CORE2I7): Removed.
2371         (m_CORE_HASWELL): New macro.
2372         (m_CORE_ALL): Likewise.
2373         (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
2374         (initial_ix86_arch_features): Likewise.
2375         (processor_target_table): Initializations for Core avx2.
2376         (cpu_names): New names "core-avx2".
2377         (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
2378         PROCESSOR_CORE_HASWELL.
2379         (ix86_issue_rate): New case.
2380         (ia32_multipass_dfa_lookahead): Likewise.
2381         (ix86_sched_init_global): Likewise.
2383         * config/i386/i386.h (TARGET_HASWELL): New macro.
2384         (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
2385         (processor_type): New PROCESSOR_HASWELL.
2387 2013-01-15  Jakub Jelinek  <jakub@redhat.com>
2389         PR tree-optimization/55955
2390         * tree-vect-loop.c (vectorizable_reduction): Give up early on
2391         *SHIFT_EXPR and *ROTATE_EXPR codes.
2393         PR tree-optimization/48766
2394         * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
2395         -ftrapv disable -fwrapv.
2397 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2399         PR target/55974
2400         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
2401         etc. to 1 and not to __flash.
2402         Use LL suffix for __INT24_MAX__ with -mint8.
2403         Use ULL suffix for __UINT24_MAX__ with -mint8.
2405 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2407         * config/avr/avr-arch.h
2408         (struct base_arch_s): Use typedef avr_arch_t instead.
2409         (struct arch_info_s): Use typedef avr_arch_info_t instead.
2410         (struct mcu_type_s): Use typedef avr_mcu_t instead.
2411         * config/avr/avr.c: Same.
2412         * config/avr/avr-devices.c: Same.
2413         * config/avr/driver-avr.c: Same.
2414         * config/avr/gen-avr-mmcu-texi.c: Same.
2415         * config/avr/avr-mcus.def: Adjust comment.
2417 2013-01-14  Tejas Belagod  <tejas.belagod@arm.com>
2419         * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
2420         * config/aarch64/iterators.md (VALLDI): New.
2422 2013-01-14  Uros Bizjak  <ubizjak@gmail.com>
2423             Andi Kleen  <ak@linux.intel.com>
2425         PR target/55948
2426         * config/i386/sync.md (atomic_store<mode>_1): New pattern.
2427         (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
2428         memmodel flag.
2430 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2432         * config/avr/avr-stdint.h: Remove trailing blanks.
2433         * config/avr/avr-log.h: Same.
2434         * config/avr/avr-arch.h: Same.
2435         * config/avr/avr-devices.c: Same.
2436         * config/avr/avr-dimode.md: Same.
2437         * config/avr/predicates.md: Same.
2438         * config/avr/avr-c.c: Same.  And fix typo.
2440         * config/avr/avr-protos.h: Same.  And:
2441         (function_arg_regno_p): Rename to avr_function_arg_regno_p.
2442         (init_cumulative_args): Rename to avr_init_cumulative_args.
2443         (expand_prologue): Rename to avr_expand_prologue.
2444         (expand_epilogue): Rename to avr_expand_epilogue.
2445         (adjust_insn_length): Rename to avr_adjust_insn_length.
2446         (notice_update_cc): Rename to avr_notice_update_cc.
2447         (final_prescan_insn): Rename to avr_final_prescan_insn.
2448         * config/avr/avr.c: Same.
2449         * config/avr/avr.h: Same.
2450         * config/avr/avr.md: Remove trailing blanks.
2451         (prologue): Use avr_expand_prologue.
2452         (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
2454 2013-01-14  Richard Biener  <rguenther@suse.de>
2456         * tree-cfg.c (verify_expr_location, verify_expr_location_1,
2457         verify_location, collect_subblocks): New functions.
2458         (verify_gimple_in_cfg): Verify that locations only reference
2459         BLOCKs in the functions BLOCK tree.
2461 2013-01-14  Richard Biener  <rguenther@suse.de>
2463         * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
2464         PHI argument.
2465         * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
2466         unshare reference.
2467         (insert_out_of_ssa_copy_on_edge): Likewise.
2468         (rewrite_close_phi_out_of_ssa): Likewise.
2469         * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
2470         debug expressions.
2471         * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
2472         propagated constants.
2473         * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
2474         can not be shared.
2476 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2478         * config/avr/avr-modes.def: Add GPL copyright notice.
2480 2013-01-13  Uros Bizjak  <ubizjak@gmail.com>
2482         * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
2483         MEMMODEL_MASK to determine memory model.
2484         (atomic_store<mode>): Ditto from operands[2].
2485         * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
2487 2013-01-13  Jakub Jelinek  <jakub@redhat.com>
2489         PR fortran/55935
2490         * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
2491         (fold_gimple_assign): Don't call unshare_expr here.
2492         (fold_ctor_reference): Call unshare_expr.
2494 2013-01-13  Terry Guo  <terry.guo@arm.com>
2496         * Makefile.in (s-mlib): New argument MULTILIB_REUSE.
2497         * doc/fragments.texi: Document MULTILIB_REUSE.
2498         * gcc.c (multilib_reuse): New internal spec.
2499         (set_multilib_dir): Also search multilib from multilib_reuse.
2500         * genmultilib (tmpmultilib3): Refactor code.
2501         (tmpmultilib4): Ditto.
2502         (multilib_reuse): New multilib argument.
2504 2013-01-13  Richard Sandiford  <rdsandiford@googlemail.com>
2506         * Makefile.in: Update copyright.
2508 2013-01-12  Tom de Vries  <tom@codesourcery.com>
2510         PR middle-end/55890
2511         * calls.c (expand_call): Check if arg_nr is valid.
2513 2013-01-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
2515         * doc/extend.texi (X86 Built-in Functions): Add whitespace in
2516         __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
2517         documentation.  Add missing '__' in front of
2518         __builtin_ia32_packssdw256.
2520 2013-01-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2522         PR target/55719
2523         * config/s390/s390.c (s390_preferred_reload_class): Do not return
2524         NO_REGS for larl operands.
2525         (s390_reload_larl_operand): Use s390_load_address instead of
2526         emit_move_insn.
2528 2013-01-11  Richard Biener  <rguenther@suse.de>
2530         * tree-cfg.c (verify_node_sharing_1): Split out from ...
2531         (verify_node_sharing): ... here.
2532         (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
2534 2013-01-11  Eric Botcazou  <ebotcazou@adacore.com>
2536         * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
2537         Substitute TREECHECKING.
2538         * configure: Regenerate.
2539         * Makefile.in (TREECHECKING): New.
2541 2013-01-11  Richard Guenther  <rguenther@suse.de>
2543         PR tree-optimization/44061
2544         * tree-vrp.c (extract_range_basic): Compute zero as
2545         value-range for __builtin_constant_p of function parameters.
2547 2013-01-10  Richard Sandiford  <rdsandiford@googlemail.com>
2549         Update copyright years.
2551 2013-01-10  Vladimir Makarov  <vmakarov@redhat.com>
2553         PR rtl-optimization/55672
2554         * lra-eliminations.c (mark_not_eliminable): Permit addition with
2555         const to be eliminable.
2557 2013-01-10  David Edelsohn  <dje.gcc@gmail.com>
2559         * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
2560         * configure: Regenerate.
2562 2013-01-10  Richard Biener  <rguenther@suse.de>
2564         * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
2566 2013-01-10  Richard Biener  <rguenther@suse.de>
2568         PR bootstrap/55792
2569         * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
2570         locations for virtual PHI arguments.
2571         (rewrite_update_phi_arguments): Likewise.
2573 2013-01-10  Joel Sherrill  <joel.sherrill@OARcorp.com>
2575         * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
2576         on to assembler.
2578 2013-01-10  Jakub Jelinek  <jakub@redhat.com>
2580         PR tree-optimization/55921
2581         * tree-complex.c (expand_complex_asm): New function.
2582         (expand_complex_operations_1): Call it for GIMPLE_ASM.
2584 2013-01-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2586         PR target/55718
2587         * config/s390/s390.c (s390_symref_operand_p)
2588         (s390_loadrelative_operand_p): Merge the two functions.
2589         (s390_check_qrst_address, print_operand_address): Add parameters
2590         to s390_loadrelative_operand_p invokation.
2591         (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
2592         (s390_reload_larl_operand, s390_secondary_reload): Use
2593         s390_loadrelative_operand_p instead of s390_symref_operand_p.
2594         (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
2596 2013-01-09  Mike Stump  <mikestump@comcast.net>
2598         * dse.c (record_store): Remove unnecessary assert.
2600 2013-01-09  Jan Hubicka  <jh@suse.cz>
2602         PR tree-optimization/55569
2603         * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
2604         * cfgloop.h (scale_loop_profile): Likewise.
2606 2013-01-09  Jan Hubicka  <jh@suse.cz>
2608         PR lto/45375
2609         * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
2610         functions.
2611         * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
2613 2013-01-09  Richard Sandiford  <rdsandiford@googlemail.com>
2615         PR middle-end/55114
2616         * expr.h (maybe_emit_group_store): Declare.
2617         * expr.c (maybe_emit_group_store): New function.
2618         * builtins.c (expand_builtin_int_roundingfn): Call it.
2619         (expand_builtin_int_roundingfn_2): Likewise.
2621 2013-01-09  Vladimir Makarov  <vmakarov@redhat.com>
2623         PR rtl-optimization/55829
2624         * lra-constraints.c (match_reload): Add code for absent output.
2625         (curr_insn_transform): Add code for reloads of matched inputs
2626         without output.
2628 2013-01-09  Uros Bizjak  <ubizjak@gmail.com>
2630         * config/i386/sse.md (*vec_interleave_highv2df): Change mode
2631         attribute of movddup insn to DF.
2632         (*vec_interleave_lowv2df): Ditto.
2633         (vec_dupv2df): Ditto.
2635 2013-01-09  Jan Hubicka  <jh@suse.cz>
2637         PR tree-optimiation/55875
2638         * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
2639         EVERY_ITERATION parameter.
2640         (number_of_iterations_exit): Check if exit is executed every iteration.
2641         (idx_infer_loop_bounds): Similarly here.
2642         (n_of_executions_at_most): Simplify
2643         to only test for cases where statement is dominated by the
2644         particular bound; handle correctly the "postdominance" test.
2645         (scev_probably_wraps_p): Use max loop iterations info
2646         as a global bound first.
2648 2013-01-09  Nguyen Duy Dat  <dat.nguyen.yn@rvc.renesas.com>
2649             Nick Clifton  <nickc@redhat.com>
2651         * config/v850/v850.md (cbranchsf4): New pattern.
2652         (cstoresf4): New pattern.
2653         (cbranchdf4): New pattern.
2654         (cstoredf4): New pattern.
2655         (movsicc): Disallow floating point comparisons.
2656         (cmpsf_le_insn): Fix order of operators.
2657         (cmpsf_lt_insn): Likewise.
2658         (cmpsf_eq_insn): Likewise.
2659         (cmpdf_le_insn): Likewise.
2660         (cmpdf_lt_insn): Likewise.
2661         (cmpdf_eq_insn): Likewise.
2662         (cmpsf_ge_insn): Use LE comparison.
2663         (cmpdf_ge_insn): Likewise.
2664         (cmpsf_gt_insn): Use LT comparison.
2665         (cmpdf_gt_insn): Likewise.
2666         (cmpsf_ne_insn): Delete pattern.
2667         (cmpdf_ne_insn): Delete pattern.
2668         * config/v850/v850.c (v850_gen_float_compare): Use
2669         gen_cmpdf_eq_insn for NE comparison.
2670         (v850_float_z_comparison_operator)
2671         (v850_float_nz_comparison_operator): Move from here ...
2672         * config/v850/predicates.md: ... to here.  Move GT and GE
2673         comparisons into v850_float_z_comparison_operator.
2674         * config/v850/v850-protos.h (v850_float_z_comparison_operator):
2675         Delete prototype.
2676         (v850_float_nz_comparison_operator): Likewise.
2678 2013-01-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2680         * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
2681         with calls to gen_insvsi/gen_insvdi.
2683 2013-01-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2685         * config/i386/i386.c (initial_ix86_tune_features): Set up
2686         X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
2688 2013-01-09  Steven Bosscher  <steven@gcc.gnu.org>
2689             Jakub Jelinek  <jakub@redhat.com>
2691         PR tree-optimization/48189
2692         * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
2693         If nitercst is 0, don't predict the exit edge.
2695 2013-01-08  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
2697         * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
2698         in asm_fprintf with reg_names.
2699         (aarch64_print_operand_address): Likewise.
2700         (aarch64_return_addr): Likewise.
2701         * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
2703 2013-01-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2705         * config/pa/pa.h (VAL_U6_BITS_P): Define.
2706         (INT_U6_BITS): Likewise.
2707         * config/pa/predicates.md (uint6_operand): New predicate.
2708         (shift5_operand, shift6_operand): Likewise.
2709         * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
2710         arith32_operand.
2711         (lshrdi3): Use shift6_operand.
2712         (shrpsi4, shrpdi4): New insn patterns.
2713         (extzv): Delete expander.
2714         (extzvsi, extzvdi): New expanders.  Use uint5_operand and uint6_operand
2715         predicates in unamed zero extract patterns.  Tighten common constraint.
2716         (extv): Delete expander.
2717         (extvsi, extvdi): New expanders.  Use uint5_operand and uint6_operand
2718         predicates in unamed sign extract patterns.  Tighten common constraint.
2719         (insv): Delete expander.
2720         (insvsi, insvdi): New expanders.  Use uint5_operand and uint6_operand
2721         predicates in unamed insert patterns.  Tighten common constraint.
2722         Change uint32_operand predicate to uint6_operand predicate in unamed
2723         DImode pattern to insert constant values of type 1...1xxxx.
2725 2013-01-04  Jan Hubicka  <jh@suse.cz>
2727         PR tree-optimization/55823
2728         * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
2729         issue.
2731 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
2732             Uros Bizjak  <ubizjak@gmail.com>
2734         PR rtl-optimization/55845
2735         * df-problems.c (can_move_insns_across): Stop scanning at
2736         volatile_insn_p source instruction or give up if
2737         across_from .. across_to range contains any volatile_insn_p
2738         instructions.
2740 2013-01-08  Tejas Belagod  <tejas.belagod@arm.com>
2742         * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
2743         * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
2744         Declare.
2745         * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
2746         aarch64_simd_make_constant, aarch64_expand_vector_init): New.
2748 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
2750         PR fortran/55341
2751         * asan.c (asan_clear_shadow): New function.
2752         (asan_emit_stack_protection): Use it.
2754 2013-01-08  Tejas Belagod  <tejas.belagod@arm.com>
2756         * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
2757         aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
2758         with tab instead of space.
2760 2013-01-08  Nick Clifton  <nickc@redhat.com>
2762         * config/rl78/rl78.c (rl78_expand_prologue): Always select
2763         register bank 0 at the start of an interrupt handler.
2764         * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
2765         MDBH registers.
2767 2013-01-08  James Greenhalgh  <james.greenhalgh@arm.com>
2769         * config/aarch64/aarch64-simd.md
2770         (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
2771         (aarch64_simd_bsl): Likewise.
2772         (aarch64_vcond_internal<mode>): Likewise.
2773         (vcond<mode><mode>): Likewise.
2774         (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
2775         * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
2777 2013-01-08  James Greenhalgh  <james.greenhalgh@arm.com>
2779         * config/aarch64/aarch64-builtins.c
2780         (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
2782 2013-01-08  Martin Jambor  <mjambor@suse.cz>
2784         PR debug/55579
2785         * tree-sra.c (analyze_access_subtree): Return true also after
2786         potentially creating a debug-only replacement.
2788 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
2790         PR middle-end/55890
2791         * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
2793         PR tree-optimization/54120
2794         * tree-vrp.c (range_fits_type_p): Don't allow
2795         src_precision < precision from signed vr to unsigned_p
2796         if vr->min or vr->max is negative.
2797         (simplify_float_conversion_using_ranges): Test can_float_p
2798         against CODE_FOR_nothing.
2800 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
2801             Richard Biener  <rguenther@suse.de>
2803         PR middle-end/55851
2804         * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
2805         types instead of just INTEGER_TYPE types.
2807 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
2809         * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
2810         TF_SIZE): Define.
2812 2013-01-07  Steve Ellcey  <sellcey@mips.com>
2814         PR target/42661
2815         * config/mips/mips.opt: Change mad to mmad to match documentation.
2817 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
2819         PR target/55897
2820         * doc/extend.texi (AVR Named Address Spaces): __memx goes into
2821         .progmemx.data now.
2823 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
2825         PR target/55897
2826         * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
2827         (avr_addrspace_t): Add .section_name field.
2828         * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
2829         array size.
2830         (avr_addrspace): Same.  Initialize .section_name.  Remove last
2831         NULL entry.  Put __memx into .progmemx.data.
2832         (progmem_section_prefix): Remove.
2833         (avr_asm_init_sections): No need to initialize progmem_section.
2834         (avr_asm_named_section): Use avr_addrspace[].section_name to get
2835         section name prefix.
2836         (avr_asm_select_section): Ditto.  And use get_unnamed_section to
2837         retrieve the progmem section.
2838         * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
2839         boundary to run over avr_addrspace[].
2840         (avr_register_target_pragmas): Ditto.
2842 2013-01-06  Jakub Jelinek  <jakub@redhat.com>
2844         * varasm.c (output_constant_def_contents): For asan_protect_global
2845         protected strings, adjust DECL_ALIGN if needed, before testing for
2846         anchored symbols.
2847         (place_block_symbol): Adjust size for asan protected STRING_CSTs if
2848         TREE_CONSTANT_POOL_ADDRESS_P.  Increase alignment for asan protected
2849         normal decls.
2850         (output_object_block): For asan protected decls, emit asan padding
2851         after their contents.
2852         * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
2853         (asan_finish_file): Test it here instead.
2855 2013-01-07  Nick Clifton  <nickc@redhat.com>
2856             Matthias Klose  <doko@debian.org>
2857             Doug Kwan  <dougkwan@google.com>
2858             H.J. Lu  <hongjiu.lu@intel.com>
2860         PR driver/55470
2861         * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
2863         * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
2865         * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
2867         * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
2869         * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
2871 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
2873         PR target/54461
2874         * doc/install.texi (Cross-Compiler-Specific Options): Document
2875         --with-avrlibc.
2877 2013-01-07  Tejas Belagod  <tejas.belagod@arm.com>
2879         * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
2880         vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
2881         vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
2882         vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
2883         vqmovun_high_s64): Fix source operand number and update copyright.
2885 2013-01-07  Richard Biener  <rguenther@suse.de>
2887         PR middle-end/55890
2888         * gimple.h (gimple_call_builtin_p): New overload.
2889         * gimple.c (validate_call): New function.
2890         (gimple_call_builtin_p): Likewise.
2891         * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
2892         Use gimple_call_builtin_p.
2893         (find_func_clobbers): Likewise.
2894         * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
2895         (strlen_optimize_stmt): Likewise.
2897 2013-01-07  James Greenhalgh  <james.greenhalgh@arm.com>
2899         * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
2900         (vld1q_dup_*): Likewise.
2901         (vld1_*): Likewise.
2902         (vld1q_*): Likewise.
2903         (vld1_lane_*): Likewise.
2904         (vld1q_lane_*): Likewise.
2906 2013-01-07  Richard Biener  <rguenther@suse.de>
2908         * lto-streamer.h (LTO_minor_version): Bump to 2.
2910 2013-01-07  James Greenhalgh  <james.greenhalgh@arm.com>
2912         * config/aarch64/aarch64-protos.h
2913         (aarch64_const_double_zero_rtx_p): Rename to...
2914         (aarch64_float_const_zero_rtx_p): ...this.
2915         (aarch64_float_const_representable_p): New.
2916         (aarch64_output_simd_mov_immediate): Likewise.
2917         * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
2918         move immediate case.
2919         * config/aarch64/aarch64.c
2920         (aarch64_const_double_zero_rtx_p): Rename to...
2921         (aarch64_float_const_zero_rtx_p): ...this.
2922         (aarch64_print_operand): Allow printing of new constants.
2923         (aarch64_valid_floating_const): New.
2924         (aarch64_legitimate_constant_p): Check for valid floating-point
2925         constants.
2926         (aarch64_simd_valid_immediate): Likewise.
2927         (aarch64_vect_float_const_representable_p): New.
2928         (aarch64_float_const_representable_p): Likewise.
2929         (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
2930         (aarch64_output_simd_mov_immediate): New.
2931         * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
2932         (*movdf_aarch64): Likewise.
2933         * config/aarch64/constraints.md (Ufc): New.
2934         (Y): call aarch64_float_const_zero_rtx.
2935         * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
2937 2013-01-07  Richard Biener  <rguenther@suse.de>
2939         PR tree-optimization/55888
2940         PR tree-optimization/55862
2941         * tree-ssa-pre.c (phi_translate_1): Revert previous change.
2942         (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
2943         not if it is contained therein.
2945 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
2947         * config/avr/t-avr: Typo.
2949 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
2951         PR55243
2952         * config/avr/t-avr: Don't automatically rebuild
2953         $(srcdir)/config/avr/t-multilib
2954         $(srcdir)/config/avr/avr-tables.opt
2955         $(srcdir)/doc/avr-mmcu.texi
2956         (avr-mcus): New phony target to build them on request.
2957         (s-avr-mlib, s-avr-mmcu-texi): Remove.
2958         * avr/avr-mcus.def: Adjust comments.
2960 2013-01-07  Uros Bizjak  <ubizjak@gmail.com>
2962         * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
2964 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
2966         * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
2968 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
2970         * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
2972 2013-01-05  David Edelsohn  <dje.gcc@gmail.com>
2974         * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
2975         to generate profiling.
2976         * config/rs6000/aix64.h (LIB_SPEC): Same.
2978 2013-01-04  Andrew Pinski  <apinski@cavium.com>
2980         * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
2981         New function.
2982         (TARGET_FIXED_CONDITION_CODE_REGS): Define.
2984 2013-01-04  Uros Bizjak  <ubizjak@gmail.com>
2986         * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
2987         unconditionally.
2988         (ix86_expand_move): Ditto.
2989         (ix86_zero_extend_to_Pmode): Ditto.
2990         (ix86_expand_call): Ditto.
2991         (ix86_expand_special_args_builtin): Ditto.
2992         (ix86_expand_builtin): Ditto.
2994 2013-01-04  Richard Biener  <rguenther@suse.de>
2996         PR tree-optimization/55862
2997         * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
2998         translating them through PHI nodes.
3000 2013-01-04  Martin Jambor  <mjambor@suse.cz>
3002         PR tree-optimization/55755
3003         * tree-sra.c (sra_modify_assign): Do not check that an access has no
3004         children when trying to avoid producing a VIEW_CONVERT_EXPR.
3006 2013-01-04  Marek Polacek  <polacek@redhat.com>
3008         PR middle-end/55859
3009         * opts.c (default_options_optimization): Clarify error message.
3011 2013-01-04  Richard Biener  <rguenther@suse.de>
3013         PR middle-end/55863
3014         * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
3015         reassociation.
3017 2013-01-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3019         PR target/53789
3020         * config/pa/pa.md (movsi): Revert previous change.
3021         * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
3022         references.
3024 2013-01-03  Richard Henderson  <rth@redhat.com>
3026         * config/i386/i386.c (ix86_expand_move): Always assign to op1
3027         after eliminating TLS symbols.
3029 2013-01-03  Marc Glisse  <marc.glisse@inria.fr>
3031         PR bootstrap/50167
3032         * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
3033         * graphite-poly.c (debug_gmp_value): Likewise.
3035 2013-01-03  Uros Bizjak  <ubizjak@gmail.com>
3037         PR target/55712
3038         * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
3039         selected code model, define __code_mode_small__, __code_model_medium__,
3040         __code_model_large__, __code_model_32__ or __code_model_kernel__.
3041         * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
3042         xchg temporary register with %k.  Declare temporary register as
3043         early clobbered.
3044         [__x86_64__]: For medium and large code models, preserve %rbx register.
3046 2013-01-03  Richard Biener  <rguenther@suse.de>
3048         * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
3049         (dump_subscript): Adjust.
3050         (finalize_ddr_dependent): Do not dump redundant info.
3051         (analyze_siv_subscript): Adjust.
3052         (subscript_dependence_tester): Likewise.
3053         (compute_affine_dependence): Likewise.
3055 2013-01-03  Richard Biener  <rguenther@suse.de>
3057         Revert
3058         2013-01-03  Richard Biener  <rguenther@suse.de>
3060         PR tree-optimization/55857
3061         * tree-vect-stmts.c (vectorizable_load): Do not setup
3062         re-alignment for invariant loads.
3064         2013-01-02  Richard Biener  <rguenther@suse.de>
3066         * tree-vect-stmts.c (vectorizable_load): When vectorizing an
3067         invariant load do not generate a vector load from the scalar location.
3069 2013-01-03  Richard Biener  <rguenther@suse.de>
3071         * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
3072         for not vectorizing.
3073         * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
3074         not build INDIRECT_REFs, call get_name once only.
3075         (vect_create_data_ref_ptr): Likewise.  Dump base object kind
3076         based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
3078 2013-01-03  Richard Biener  <rguenther@suse.de>
3080         PR tree-optimization/55857
3081         * tree-vect-stmts.c (vectorizable_load): Do not setup
3082         re-alignment for invariant loads.
3084 2013-01-03  Richard Biener  <rguenther@suse.de>
3086         PR lto/55848
3087         * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
3088         prefer a built-in decl.
3090 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
3092         * gcc.c (process_command): Update copyright notice dates.
3093         * gcov.c (print_version): Likewise.
3094         * gcov-dump.c (print_version): Likewise.
3096         PR rtl-optimization/55838
3097         * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
3098         iv0.step, iv1.step and step.
3100 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
3101             Marc Glisse  <marc.glisse@inria.fr>
3103         PR tree-optimization/55832
3104         * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
3105         ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
3106         integer_{one,zero}_node.
3108 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
3110         PR debug/54402
3111         * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
3112         * var-tracking.c (reverse_op): Don't add reverse ops to
3113         VALUEs that have already
3114         PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
3116 2013-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
3118         * doc/contrib.texi: Note years as release manager for Mark Mitchell.
3120 2013-01-02  Teresa Johnson  <tejohnson@google.com>
3122         * dumpfile.c (dump_loc): Print filename with location.
3123         * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
3124         new location_t parameter to emit complete unroll message with
3125         new dump framework.
3126         (canonicalize_loop_induction_variables): Compute loops location
3127         and pass to try_unroll_loop_completely.
3128         * loop-unroll.c (report_unroll_peel): New function.
3129         (peel_loops_completely): Use new dump format with location
3130         for main dumpfile message, and invoke report_unroll_peel on success.
3131         (decide_unrolling_and_peeling): Ditto.
3132         (decide_peel_once_rolling): Remove old dumpfile message subsumed
3133         by report_unroll_peel.
3134         (decide_peel_completely): Ditto.
3135         (decide_unroll_constant_iterations): Ditto.
3136         (decide_unroll_runtime_iterations): Ditto.
3137         (decide_peel_simple): Ditto.
3138         (decide_unroll_stupid): Ditto.
3139         * cfgloop.c (get_loop_location): New function.
3140         * cfgloop.h (get_loop_location): Declare.
3142 2013-01-02  Sriraman Tallam  <tmsriram@google.com>
3144         * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
3145         NULL.
3147 2013-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3149         PR middle-end/55198
3150         * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
3151         BLKmode objects when EXPAND_MEMORY is specified.
3153 2013-01-02  Sriraman Tallam  <tmsriram@google.com>
3155         * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
3156         in loop predicate.
3157         (fold_builtin_cpu): Do not share cpu model decls across statements.
3159 2013-01-02  Jason Merrill  <jason@redhat.com>
3161         PR c++/55804
3162         * tree.c (build_array_type_1): Revert earlier change.
3164 2013-01-02  Yufeng Zhang  <yufeng.zhang@arm.com>
3166         * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
3167         "cortex-a57".
3168         * config/aarch64/aarch64-tune.md: Re-generate.
3170 2013-01-02  Richard Biener  <rguenther@suse.de>
3172         * tree-vect-stmts.c (vectorizable_load): When vectorizing an
3173         invariant load do not generate a vector load from the scalar location.
3175 2013-01-02  Richard Biener  <rguenther@suse.de>
3177         PR bootstrap/55784
3178         * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
3179         * configure: Regenerate.
3181 2013-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3183         * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
3184         (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
3185         (expand_builtin_int_roundingfn_2): Keep the original target around
3186         for the fallback case.
3188 2013-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3190         * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
3191         to be clear for sign changes.
3193 2013-01-01  Jan Hubicka  <jh@suse.cz>
3195         * ipa-inline-analysis.c: Fix formatting.
3197 2013-01-01  Jakub Jelinek  <jakub@redhat.com>
3199         PR tree-optimization/55831
3200         * tree-vect-loop.c (get_initial_def_for_induction): Use
3201         gsi_after_labels instead of gsi_start_bb.
3203 Copyright (C) 2013 Free Software Foundation, Inc.
3205 Copying and distribution of this file, with or without modification,
3206 are permitted in any medium without royalty provided the copyright
3207 notice and this notice are preserved.