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