* Fix typos. Remove trailing blanks. Fix coding style.
[gcc.git] / gcc / ChangeLog
1 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
2
3 * config/avr/avr-stdint.h: Remove trailing blanks.
4 * config/avr/avr-log.h: Same.
5 * config/avr/avr-arch.h: Same.
6 * config/avr/avr-devices.c: Same.
7 * config/avr/avr-dimode.md: Same.
8 * config/avr/predicates.md: Same.
9 * config/avr/avr-c.c: Same. And fix typo.
10
11 * config/avr/avr-protos.h: Same. And:
12 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
13 (init_cumulative_args): Rename to avr_init_cumulative_args.
14 (expand_prologue): Rename to avr_expand_prologue.
15 (expand_epilogue): Rename to avr_expand_epilogue.
16 (adjust_insn_length): Rename to avr_adjust_insn_length.
17 (notice_update_cc): Rename to avr_notice_update_cc.
18 (final_prescan_insn): Rename to avr_final_prescan_insn.
19 * config/avr/avr.c: Same.
20 * config/avr/avr.h: Same.
21 * config/avr/avr.md: Remove trailing blanks.
22 (prologue): Use avr_expand_prologue.
23 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
24
25 2013-01-14 Richard Biener <rguenther@suse.de>
26
27 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
28 verify_location, collect_subblocks): New functions.
29 (verify_gimple_in_cfg): Verify that locations only reference
30 BLOCKs in the functions BLOCK tree.
31
32 2013-01-14 Richard Biener <rguenther@suse.de>
33
34 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
35 PHI argument.
36 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
37 unshare reference.
38 (insert_out_of_ssa_copy_on_edge): Likewise.
39 (rewrite_close_phi_out_of_ssa): Likewise.
40 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
41 debug expressions.
42 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
43 propagated constants.
44 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
45 can not be shared.
46
47 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
48
49 * config/avr/avr-modes.def: Add GPL copyright notice.
50
51 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
52
53 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
54 MEMMODEL_MASK to determine memory model.
55 (atomic_store<mode>): Ditto from operands[2].
56 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
57
58 2013-01-13 Jakub Jelinek <jakub@redhat.com>
59
60 PR fortran/55935
61 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
62 (fold_gimple_assign): Don't call unshare_expr here.
63 (fold_ctor_reference): Call unshare_expr.
64
65 2013-01-13 Terry Guo <terry.guo@arm.com>
66
67 * gcc/Makefile.in (s-mlib): New argument MULTILIB_REUSE.
68 * gcc/doc/fragments.texi: Document MULTILIB_REUSE.
69 * gcc/gcc.c (multilib_reuse): New internal spec.
70 (set_multilib_dir): Also search multilib from multilib_reuse.
71 * gcc/genmultilib (tmpmultilib3): Refactor code.
72 (tmpmultilib4): Ditto.
73 (multilib_reuse): New multilib argument.
74
75 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
76
77 * Makefile.in: Update copyright.
78
79 2013-01-12 Tom de Vries <tom@codesourcery.com>
80
81 PR middle-end/55890
82 * calls.c (expand_call): Check if arg_nr is valid.
83
84 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
85
86 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
87 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
88 documentation. Add missing '__' in front of
89 __builtin_ia32_packssdw256.
90
91 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92
93 PR target/55719
94 * config/s390/s390.c (s390_preferred_reload_class): Do not return
95 NO_REGS for larl operands.
96 (s390_reload_larl_operand): Use s390_load_address instead of
97 emit_move_insn.
98
99 2013-01-11 Richard Biener <rguenther@suse.de>
100
101 * tree-cfg.c (verify_node_sharing_1): Split out from ...
102 (verify_node_sharing): ... here.
103 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
104
105 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
106
107 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
108 Substitute TREECHECKING.
109 * configure: Regenerate.
110 * Makefile.in (TREECHECKING): New.
111
112 2012-01-11 Richard Guenther <rguenther@suse.de>
113
114 PR tree-optimization/44061
115 * tree-vrp.c (extract_range_basic): Compute zero as
116 value-range for __builtin_constant_p of function parameters.
117
118 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
119
120 Update copyright years.
121
122 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
123
124 PR rtl-optimization/55672
125 * lra-eliminations.c (mark_not_eliminable): Permit addition with
126 const to be eliminable.
127
128 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
129
130 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
131 * configure: Regenerate.
132
133 2013-01-10 Richard Biener <rguenther@suse.de>
134
135 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
136
137 2013-01-10 Richard Biener <rguenther@suse.de>
138
139 PR bootstrap/55792
140 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
141 locations for virtual PHI arguments.
142 (rewrite_update_phi_arguments): Likewise.
143
144 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
145
146 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
147 on to assembler.
148
149 2013-01-10 Jakub Jelinek <jakub@redhat.com>
150
151 PR tree-optimization/55921
152 * tree-complex.c (expand_complex_asm): New function.
153 (expand_complex_operations_1): Call it for GIMPLE_ASM.
154
155 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
156
157 PR target/55718
158 * config/s390/s390.c (s390_symref_operand_p)
159 (s390_loadrelative_operand_p): Merge the two functions.
160 (s390_check_qrst_address, print_operand_address): Add parameters
161 to s390_loadrelative_operand_p invokation.
162 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
163 (s390_reload_larl_operand, s390_secondary_reload): Use
164 s390_loadrelative_operand_p instead of s390_symref_operand_p.
165 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
166
167 2013-01-09 Mike Stump <mikestump@comcast.net>
168
169 * dse.c (record_store): Remove unnecessary assert.
170
171 2013-01-09 Jan Hubicka <jh@suse.cz>
172
173 PR tree-optimization/55569
174 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
175 * cfgloop.h (scale_loop_profile): Likewise.
176
177 2013-01-09 Jan Hubicka <jh@suse.cz>
178
179 PR lto/45375
180 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
181 functions.
182 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
183
184 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
185
186 PR middle-end/55114
187 * expr.h (maybe_emit_group_store): Declare.
188 * expr.c (maybe_emit_group_store): New function.
189 * builtins.c (expand_builtin_int_roundingfn): Call it.
190 (expand_builtin_int_roundingfn_2): Likewise.
191
192 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
193
194 PR rtl-optimization/55829
195 * lra-constraints.c (match_reload): Add code for absent output.
196 (curr_insn_transform): Add code for reloads of matched inputs
197 without output.
198
199 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
200
201 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
202 attribute of movddup insn to DF.
203 (*vec_interleave_lowv2df): Ditto.
204 (vec_dupv2df): Ditto.
205
206 2013-01-09 Jan Hubicka <jh@suse.cz>
207
208 PR tree-optimiation/55875
209 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
210 EVERY_ITERATION parameter.
211 (number_of_iterations_exit): Check if exit is executed every iteration.
212 (idx_infer_loop_bounds): Similarly here.
213 (n_of_executions_at_most): Simplify
214 to only test for cases where statement is dominated by the
215 particular bound; handle correctly the "postdominance" test.
216 (scev_probably_wraps_p): Use max loop iterations info
217 as a global bound first.
218
219 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
220 Nick Clifton <nickc@redhat.com>
221
222 * config/v850/v850.md (cbranchsf4): New pattern.
223 (cstoresf4): New pattern.
224 (cbranchdf4): New pattern.
225 (cstoredf4): New pattern.
226 (movsicc): Disallow floating point comparisons.
227 (cmpsf_le_insn): Fix order of operators.
228 (cmpsf_lt_insn): Likewise.
229 (cmpsf_eq_insn): Likewise.
230 (cmpdf_le_insn): Likewise.
231 (cmpdf_lt_insn): Likewise.
232 (cmpdf_eq_insn): Likewise.
233 (cmpsf_ge_insn): Use LE comparison.
234 (cmpdf_ge_insn): Likewise.
235 (cmpsf_gt_insn): Use LT comparison.
236 (cmpdf_gt_insn): Likewise.
237 (cmpsf_ne_insn): Delete pattern.
238 (cmpdf_ne_insn): Delete pattern.
239 * config/v850/v850.c (v850_gen_float_compare): Use
240 gen_cmpdf_eq_insn for NE comparison.
241 (v850_float_z_comparison_operator)
242 (v850_float_nz_comparison_operator): Move from here ...
243 * config/v850/predicates.md: ... to here. Move GT and GE
244 comparisons into v850_float_z_comparison_operator.
245 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
246 Delete prototype.
247 (v850_float_nz_comparison_operator): Likewise.
248
249 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
250
251 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
252 with calls to gen_insvsi/gen_insvdi.
253
254 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
255
256 * config/i386/i386.c (initial_ix86_tune_features): Set up
257 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
258
259 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
260 Jakub Jelinek <jakub@redhat.com>
261
262 PR tree-optimization/48189
263 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
264 If nitercst is 0, don't predict the exit edge.
265
266 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
267
268 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
269 in asm_fprintf with reg_names.
270 (aarch64_print_operand_address): Likewise.
271 (aarch64_return_addr): Likewise.
272 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
273
274 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
275
276 * config/pa/pa.h (VAL_U6_BITS_P): Define.
277 (INT_U6_BITS): Likewise.
278 * config/pa/predicates.md (uint6_operand): New predicate.
279 (shift5_operand, shift6_operand): Likewise.
280 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
281 arith32_operand.
282 (lshrdi3): Use shift6_operand.
283 (shrpsi4, shrpdi4): New insn patterns.
284 (extzv): Delete expander.
285 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
286 predicates in unamed zero extract patterns. Tighten common constraint.
287 (extv): Delete expander.
288 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
289 predicates in unamed sign extract patterns. Tighten common constraint.
290 (insv): Delete expander.
291 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
292 predicates in unamed insert patterns. Tighten common constraint.
293 Change uint32_operand predicate to uint6_operand predicate in unamed
294 DImode pattern to insert constant values of type 1...1xxxx.
295
296 2013-01-04 Jan Hubicka <jh@suse.cz>
297
298 PR tree-optimization/55823
299 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
300 issue.
301
302 2012-01-08 Jakub Jelinek <jakub@redhat.com>
303 Uros Bizjak <ubizjak@gmail.com>
304
305 PR rtl-optimization/55845
306 * df-problems.c (can_move_insns_across): Stop scanning at
307 volatile_insn_p source instruction or give up if
308 across_from .. across_to range contains any volatile_insn_p
309 instructions.
310
311 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
312
313 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
314 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
315 Declare.
316 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
317 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
318
319 2013-01-08 Jakub Jelinek <jakub@redhat.com>
320
321 PR fortran/55341
322 * asan.c (asan_clear_shadow): New function.
323 (asan_emit_stack_protection): Use it.
324
325 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
326
327 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
328 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
329 with tab instead of space.
330
331 2013-01-08 Nick Clifton <nickc@redhat.com>
332
333 * config/rl78/rl78.c (rl78_expand_prologue): Always select
334 register bank 0 at the start of an interrupt handler.
335 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
336 MDBH registers.
337
338 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
339
340 * config/aarch64/aarch64-simd.md
341 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
342 (aarch64_simd_bsl): Likewise.
343 (aarch64_vcond_internal<mode>): Likewise.
344 (vcond<mode><mode>): Likewise.
345 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
346 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
347
348 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
349
350 * config/aarch64/aarch64-builtins.c
351 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
352
353 2013-01-08 Martin Jambor <mjambor@suse.cz>
354
355 PR debug/55579
356 * tree-sra.c (analyze_access_subtree): Return true also after
357 potentially creating a debug-only replacement.
358
359 2013-01-08 Jakub Jelinek <jakub@redhat.com>
360
361 PR middle-end/55890
362 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
363
364 PR tree-optimization/54120
365 * tree-vrp.c (range_fits_type_p): Don't allow
366 src_precision < precision from signed vr to unsigned_p
367 if vr->min or vr->max is negative.
368 (simplify_float_conversion_using_ranges): Test can_float_p
369 against CODE_FOR_nothing.
370
371 2013-01-08 Jakub Jelinek <jakub@redhat.com>
372 Richard Biener <rguenther@suse.de>
373
374 PR middle-end/55851
375 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
376 types instead of just INTEGER_TYPE types.
377
378 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
379
380 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
381 TF_SIZE): Define.
382
383 2013-01-07 Steve Ellcey <sellcey@mips.com>
384
385 PR target/42661
386 * config/mips/mips.opt: Change mad to mmad to match documentation.
387
388 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
389
390 PR target/55897
391 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
392 .progmemx.data now.
393
394 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
395
396 PR target/55897
397 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
398 (avr_addrspace_t): Add .section_name field.
399 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
400 array size.
401 (avr_addrspace): Same. Initialize .section_name. Remove last
402 NULL entry. Put __memx into .progmemx.data.
403 (progmem_section_prefix): Remove.
404 (avr_asm_init_sections): No need to initialize progmem_section.
405 (avr_asm_named_section): Use avr_addrspace[].section_name to get
406 section name prefix.
407 (avr_asm_select_section): Ditto. And use get_unnamed_section to
408 retrieve the progmem section.
409 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
410 boundary to run over avr_addrspace[].
411 (avr_register_target_pragmas): Ditto.
412
413 2013-01-06 Jakub Jelinek <jakub@redhat.com>
414
415 * varasm.c (output_constant_def_contents): For asan_protect_global
416 protected strings, adjust DECL_ALIGN if needed, before testing for
417 anchored symbols.
418 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
419 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
420 normal decls.
421 (output_object_block): For asan protected decls, emit asan padding
422 after their contents.
423 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
424 (asan_finish_file): Test it here instead.
425
426 2013-01-07 Nick Clifton <nickc@redhat.com>
427 Matthias Klose <doko@debian.org>
428 Doug Kwan <dougkwan@google.com>
429 H.J. Lu <hongjiu.lu@intel.com>
430
431 PR driver/55470
432 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
433
434 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
435
436 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
437
438 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
439
440 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
441
442 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
443
444 PR target/54461
445 * doc/install.texi (Cross-Compiler-Specific Options): Document
446 --with-avrlibc.
447
448 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
449
450 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
451 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
452 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
453 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
454 vqmovun_high_s64): Fix source operand number and update copyright.
455
456 2013-01-07 Richard Biener <rguenther@suse.de>
457
458 PR middle-end/55890
459 * gimple.h (gimple_call_builtin_p): New overload.
460 * gimple.c (validate_call): New function.
461 (gimple_call_builtin_p): Likewise.
462 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
463 Use gimple_call_builtin_p.
464 (find_func_clobbers): Likewise.
465 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
466 (strlen_optimize_stmt): Likewise.
467
468 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
469
470 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
471 (vld1q_dup_*): Likewise.
472 (vld1_*): Likewise.
473 (vld1q_*): Likewise.
474 (vld1_lane_*): Likewise.
475 (vld1q_lane_*): Likewise.
476
477 2013-01-07 Richard Biener <rguenther@suse.de>
478
479 * lto-streamer.h (LTO_minor_version): Bump to 2.
480
481 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
482
483 * config/aarch64/aarch64-protos.h
484 (aarch64_const_double_zero_rtx_p): Rename to...
485 (aarch64_float_const_zero_rtx_p): ...this.
486 (aarch64_float_const_representable_p): New.
487 (aarch64_output_simd_mov_immediate): Likewise.
488 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
489 move immediate case.
490 * config/aarch64/aarch64.c
491 (aarch64_const_double_zero_rtx_p): Rename to...
492 (aarch64_float_const_zero_rtx_p): ...this.
493 (aarch64_print_operand): Allow printing of new constants.
494 (aarch64_valid_floating_const): New.
495 (aarch64_legitimate_constant_p): Check for valid floating-point
496 constants.
497 (aarch64_simd_valid_immediate): Likewise.
498 (aarch64_vect_float_const_representable_p): New.
499 (aarch64_float_const_representable_p): Likewise.
500 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
501 (aarch64_output_simd_mov_immediate): New.
502 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
503 (*movdf_aarch64): Likewise.
504 * config/aarch64/constraints.md (Ufc): New.
505 (Y): call aarch64_float_const_zero_rtx.
506 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
507
508 2013-01-07 Richard Biener <rguenther@suse.de>
509
510 PR tree-optimization/55888
511 PR tree-optimization/55862
512 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
513 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
514 not if it is contained therein.
515
516 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
517
518 * config/avr/t-avr: Typo.
519
520 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
521
522 PR55243
523 * config/avr/t-avr: Don't automatically rebuild
524 $(srcdir)/config/avr/t-multilib
525 $(srcdir)/config/avr/avr-tables.opt
526 $(srcdir)/doc/avr-mmcu.texi
527 (avr-mcus): New phony target to build them on request.
528 (s-avr-mlib, s-avr-mmcu-texi): Remove.
529 * avr/avr-mcus.def: Adjust comments.
530
531 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
532
533 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
534
535 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
536
537 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
538
539 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
540
541 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
542
543 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
544
545 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
546 to generate profiling.
547 * config/rs6000/aix64.h (LIB_SPEC): Same.
548
549 2013-01-04 Andrew Pinski <apinski@cavium.com>
550
551 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
552 New function.
553 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
554
555 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
556
557 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
558 unconditionally.
559 (ix86_expand_move): Ditto.
560 (ix86_zero_extend_to_Pmode): Ditto.
561 (ix86_expand_call): Ditto.
562 (ix86_expand_special_args_builtin): Ditto.
563 (ix86_expand_builtin): Ditto.
564
565 2013-01-04 Richard Biener <rguenther@suse.de>
566
567 PR tree-optimization/55862
568 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
569 translating them through PHI nodes.
570
571 2013-01-04 Martin Jambor <mjambor@suse.cz>
572
573 PR tree-optimization/55755
574 * tree-sra.c (sra_modify_assign): Do not check that an access has no
575 children when trying to avoid producing a VIEW_CONVERT_EXPR.
576
577 2013-01-04 Marek Polacek <polacek@redhat.com>
578
579 PR middle-end/55859
580 * opts.c (default_options_optimization): Clarify error message.
581
582 2013-01-04 Richard Biener <rguenther@suse.de>
583
584 PR middle-end/55863
585 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
586 reassociation.
587
588 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
589
590 PR target/53789
591 * config/pa/pa.md (movsi): Revert previous change.
592 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
593 references.
594
595 2013-01-03 Richard Henderson <rth@redhat.com>
596
597 * config/i386/i386.c (ix86_expand_move): Always assign to op1
598 after eliminating TLS symbols.
599
600 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
601
602 PR bootstrap/50167
603 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
604 * graphite-poly.c (debug_gmp_value): Likewise.
605
606 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
607
608 PR target/55712
609 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
610 selected code model, define __code_mode_small__, __code_model_medium__,
611 __code_model_large__, __code_model_32__ or __code_model_kernel__.
612 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
613 xchg temporary register with %k. Declare temporary register as
614 early clobbered.
615 [__x86_64__]: For medium and large code models, preserve %rbx register.
616
617 2013-01-03 Richard Biener <rguenther@suse.de>
618
619 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
620 (dump_subscript): Adjust.
621 (finalize_ddr_dependent): Do not dump redundant info.
622 (analyze_siv_subscript): Adjust.
623 (subscript_dependence_tester): Likewise.
624 (compute_affine_dependence): Likewise.
625
626 2013-01-03 Richard Biener <rguenther@suse.de>
627
628 Revert
629 2013-01-03 Richard Biener <rguenther@suse.de>
630
631 PR tree-optimization/55857
632 * tree-vect-stmts.c (vectorizable_load): Do not setup
633 re-alignment for invariant loads.
634
635 2013-01-02 Richard Biener <rguenther@suse.de>
636
637 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
638 invariant load do not generate a vector load from the scalar location.
639
640 2013-01-03 Richard Biener <rguenther@suse.de>
641
642 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
643 for not vectorizing.
644 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
645 not build INDIRECT_REFs, call get_name once only.
646 (vect_create_data_ref_ptr): Likewise. Dump base object kind
647 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
648
649 2013-01-03 Richard Biener <rguenther@suse.de>
650
651 PR tree-optimization/55857
652 * tree-vect-stmts.c (vectorizable_load): Do not setup
653 re-alignment for invariant loads.
654
655 2013-01-03 Richard Biener <rguenther@suse.de>
656
657 PR lto/55848
658 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
659 prefer a built-in decl.
660
661 2013-01-03 Jakub Jelinek <jakub@redhat.com>
662
663 * gcc.c (process_command): Update copyright notice dates.
664 * gcov.c (print_version): Likewise.
665 * gcov-dump.c (print_version): Likewise.
666
667 PR rtl-optimization/55838
668 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
669 iv0.step, iv1.step and step.
670
671 2013-01-03 Jakub Jelinek <jakub@redhat.com>
672 Marc Glisse <marc.glisse@inria.fr>
673
674 PR tree-optimization/55832
675 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
676 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
677 integer_{one,zero}_node.
678
679 2013-01-03 Jakub Jelinek <jakub@redhat.com>
680
681 PR debug/54402
682 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
683 * var-tracking.c (reverse_op): Don't add reverse ops to
684 VALUEs that have already
685 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
686
687 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
688
689 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
690
691 2013-01-02 Teresa Johnson <tejohnson@google.com>
692
693 * dumpfile.c (dump_loc): Print filename with location.
694 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
695 new location_t parameter to emit complete unroll message with
696 new dump framework.
697 (canonicalize_loop_induction_variables): Compute loops location
698 and pass to try_unroll_loop_completely.
699 * loop-unroll.c (report_unroll_peel): New function.
700 (peel_loops_completely): Use new dump format with location
701 for main dumpfile message, and invoke report_unroll_peel on success.
702 (decide_unrolling_and_peeling): Ditto.
703 (decide_peel_once_rolling): Remove old dumpfile message subsumed
704 by report_unroll_peel.
705 (decide_peel_completely): Ditto.
706 (decide_unroll_constant_iterations): Ditto.
707 (decide_unroll_runtime_iterations): Ditto.
708 (decide_peel_simple): Ditto.
709 (decide_unroll_stupid): Ditto.
710 * cfgloop.c (get_loop_location): New function.
711 * cfgloop.h (get_loop_location): Declare.
712
713 2013-01-02 Sriraman Tallam <tmsriram@google.com>
714
715 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
716 NULL.
717
718 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
719
720 PR middle-end/55198
721 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
722 BLKmode objects when EXPAND_MEMORY is specified.
723
724 2013-01-02 Sriraman Tallam <tmsriram@google.com>
725
726 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
727 in loop predicate.
728 (fold_builtin_cpu): Do not share cpu model decls across statements.
729
730 2013-01-02 Jason Merrill <jason@redhat.com>
731
732 PR c++/55804
733 * tree.c (build_array_type_1): Revert earlier change.
734
735 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
736
737 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
738 "cortex-a57".
739 * config/aarch64/aarch64-tune.md: Re-generate.
740
741 2013-01-02 Richard Biener <rguenther@suse.de>
742
743 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
744 invariant load do not generate a vector load from the scalar location.
745
746 2013-01-02 Richard Biener <rguenther@suse.de>
747
748 PR bootstrap/55784
749 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
750 * configure: Regenerate.
751
752 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
753
754 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
755 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
756 (expand_builtin_int_roundingfn_2): Keep the original target around
757 for the fallback case.
758
759 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
760
761 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
762 to be clear for sign changes.
763
764 2013-01-01 Jan Hubicka <jh@suse.cz>
765
766 * ipa-inline-analysis.c: Fix formatting.
767
768 2013-01-01 Jakub Jelinek <jakub@redhat.com>
769
770 PR tree-optimization/55831
771 * tree-vect-loop.c (get_initial_def_for_induction): Use
772 gsi_after_labels instead of gsi_start_bb.
773 \f
774 Copyright (C) 2013 Free Software Foundation, Inc.
775
776 Copying and distribution of this file, with or without modification,
777 are permitted in any medium without royalty provided the copyright
778 notice and this notice are preserved.