1 2013-01-07 Steve Ellcey <sellcey@mips.com>
4 * config/mips/mips.opt: Change mad to mmad to match documentation.
6 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
9 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
12 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
15 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
16 (avr_addrspace_t): Add .section_name field.
17 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
19 (avr_addrspace): Same. Initialize .section_name. Remove last
20 NULL entry. Put __memx into .progmemx.data.
21 (progmem_section_prefix): Remove.
22 (avr_asm_init_sections): No need to initialize progmem_section.
23 (avr_asm_named_section): Use avr_addrspace[].section_name to get
25 (avr_asm_select_section): Ditto. And use get_unnamed_section to
26 retrieve the progmem section.
27 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
28 boundary to run over avr_addrspace[].
29 (avr_register_target_pragmas): Ditto.
31 2013-01-06 Jakub Jelinek <jakub@redhat.com>
33 * varasm.c (output_constant_def_contents): For asan_protect_global
34 protected strings, adjust DECL_ALIGN if needed, before testing for
36 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
37 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
39 (output_object_block): For asan protected decls, emit asan padding
41 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
42 (asan_finish_file): Test it here instead.
44 2013-01-07 Nick Clifton <nickc@redhat.com>
45 Matthias Klose <doko@debian.org>
46 Doug Kwan <dougkwan@google.com>
47 H.J. Lu <hongjiu.lu@intel.com>
50 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
52 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
54 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
56 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and
59 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
61 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
64 * doc/install.texi (Cross-Compiler-Specific Options): Document
67 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
69 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
70 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
71 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
72 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
73 vqmovun_high_s64): Fix source operand number and update copyright.
75 2013-01-07 Richard Biener <rguenther@suse.de>
78 * gimple.h (gimple_call_builtin_p): New overload.
79 * gimple.c (validate_call): New function.
80 (gimple_call_builtin_p): Likewise.
81 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
82 Use gimple_call_builtin_p.
83 (find_func_clobbers): Likewise.
84 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
85 (strlen_optimize_stmt): Likewise.
87 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
89 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
90 (vld1q_dup_*): Likewise.
93 (vld1_lane_*): Likewise.
94 (vld1q_lane_*): Likewise.
96 2013-01-07 Richard Biener <rguenther@suse.de>
98 * lto-streamer.h (LTO_minor_version): Bump to 2.
100 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
102 * config/aarch64/aarch64-protos.h
103 (aarch64_const_double_zero_rtx_p): Rename to...
104 (aarch64_float_const_zero_rtx_p): ...this.
105 (aarch64_float_const_representable_p): New.
106 (aarch64_output_simd_mov_immediate): Likewise.
107 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
109 * config/aarch64/aarch64.c
110 (aarch64_const_double_zero_rtx_p): Rename to...
111 (aarch64_float_const_zero_rtx_p): ...this.
112 (aarch64_print_operand): Allow printing of new constants.
113 (aarch64_valid_floating_const): New.
114 (aarch64_legitimate_constant_p): Check for valid floating-point
116 (aarch64_simd_valid_immediate): Likewise.
117 (aarch64_vect_float_const_representable_p): New.
118 (aarch64_float_const_representable_p): Likewise.
119 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
120 (aarch64_output_simd_mov_immediate): New.
121 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
122 (*movdf_aarch64): Likewise.
123 * config/aarch64/constraints.md (Ufc): New.
124 (Y): call aarch64_float_const_zero_rtx.
125 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
127 2013-01-07 Richard Biener <rguenther@suse.de>
129 PR tree-optimization/55888
130 PR tree-optimization/55862
131 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
132 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
133 not if it is contained therein.
135 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
137 * config/avr/t-avr: Typo.
139 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
142 * config/avr/t-avr: Don't automatically rebuild
143 $(srcdir)/config/avr/t-multilib
144 $(srcdir)/config/avr/avr-tables.opt
145 $(srcdir)/doc/avr-mmcu.texi
146 (avr-mcus): New phony target to build them on request.
147 (s-avr-mlib, s-avr-mmcu-texi): Remove.
148 * avr/avr-mcus.def: Adjust comments.
150 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
152 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
154 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
156 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
158 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
160 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
162 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
164 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
165 to generate profiling.
166 * config/rs6000/aix64.h (LIB_SPEC): Same.
168 2013-01-04 Andrew Pinski <apinski@cavium.com>
170 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
172 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
174 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
176 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
178 (ix86_expand_move): Ditto.
179 (ix86_zero_extend_to_Pmode): Ditto.
180 (ix86_expand_call): Ditto.
181 (ix86_expand_special_args_builtin): Ditto.
182 (ix86_expand_builtin): Ditto.
184 2013-01-04 Richard Biener <rguenther@suse.de>
186 PR tree-optimization/55862
187 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
188 translating them through PHI nodes.
190 2013-01-04 Martin Jambor <mjambor@suse.cz>
192 PR tree-optimization/55755
193 * tree-sra.c (sra_modify_assign): Do not check that an access has no
194 children when trying to avoid producing a VIEW_CONVERT_EXPR.
196 2013-01-04 Marek Polacek <polacek@redhat.com>
199 * opts.c (default_options_optimization): Clarify error message.
201 2013-01-04 Richard Biener <rguenther@suse.de>
204 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
207 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
210 * config/pa/pa.md (movsi): Revert previous change.
211 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
214 2013-01-03 Richard Henderson <rth@redhat.com>
216 * config/i386/i386.c (ix86_expand_move): Always assign to op1
217 after eliminating TLS symbols.
219 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
222 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
223 * graphite-poly.c (debug_gmp_value): Likewise.
225 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
228 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
229 selected code model, define __code_mode_small__, __code_model_medium__,
230 __code_model_large__, __code_model_32__ or __code_model_kernel__.
231 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
232 xchg temporary register with %k. Declare temporary register as
234 [__x86_64__]: For medium and large code models, preserve %rbx register.
236 2013-01-03 Richard Biener <rguenther@suse.de>
238 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
239 (dump_subscript): Adjust.
240 (finalize_ddr_dependent): Do not dump redundant info.
241 (analyze_siv_subscript): Adjust.
242 (subscript_dependence_tester): Likewise.
243 (compute_affine_dependence): Likewise.
245 2013-01-03 Richard Biener <rguenther@suse.de>
248 2013-01-03 Richard Biener <rguenther@suse.de>
250 PR tree-optimization/55857
251 * tree-vect-stmts.c (vectorizable_load): Do not setup
252 re-alignment for invariant loads.
254 2013-01-02 Richard Biener <rguenther@suse.de>
256 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
257 invariant load do not generate a vector load from the scalar location.
259 2013-01-03 Richard Biener <rguenther@suse.de>
261 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
263 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
264 not build INDIRECT_REFs, call get_name once only.
265 (vect_create_data_ref_ptr): Likewise. Dump base object kind
266 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
268 2013-01-03 Richard Biener <rguenther@suse.de>
270 PR tree-optimization/55857
271 * tree-vect-stmts.c (vectorizable_load): Do not setup
272 re-alignment for invariant loads.
274 2013-01-03 Richard Biener <rguenther@suse.de>
277 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
278 prefer a built-in decl.
280 2013-01-03 Jakub Jelinek <jakub@redhat.com>
282 * gcc.c (process_command): Update copyright notice dates.
283 * gcov.c (print_version): Likewise.
284 * gcov-dump.c (print_version): Likewise.
286 PR rtl-optimization/55838
287 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
288 iv0.step, iv1.step and step.
290 2013-01-03 Jakub Jelinek <jakub@redhat.com>
291 Marc Glisse <marc.glisse@inria.fr>
293 PR tree-optimization/55832
294 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
295 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
296 integer_{one,zero}_node.
298 2013-01-03 Jakub Jelinek <jakub@redhat.com>
301 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
302 * var-tracking.c (reverse_op): Don't add reverse ops to
303 VALUEs that have already
304 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
306 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
308 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
310 2013-01-02 Teresa Johnson <tejohnson@google.com>
312 * dumpfile.c (dump_loc): Print filename with location.
313 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
314 new location_t parameter to emit complete unroll message with
316 (canonicalize_loop_induction_variables): Compute loops location
317 and pass to try_unroll_loop_completely.
318 * loop-unroll.c (report_unroll_peel): New function.
319 (peel_loops_completely): Use new dump format with location
320 for main dumpfile message, and invoke report_unroll_peel on success.
321 (decide_unrolling_and_peeling): Ditto.
322 (decide_peel_once_rolling): Remove old dumpfile message subsumed
323 by report_unroll_peel.
324 (decide_peel_completely): Ditto.
325 (decide_unroll_constant_iterations): Ditto.
326 (decide_unroll_runtime_iterations): Ditto.
327 (decide_peel_simple): Ditto.
328 (decide_unroll_stupid): Ditto.
329 * cfgloop.c (get_loop_location): New function.
330 * cfgloop.h (get_loop_location): Declare.
332 2013-01-02 Sriraman Tallam <tmsriram@google.com>
334 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
337 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
340 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
341 BLKmode objects when EXPAND_MEMORY is specified.
343 2013-01-02 Sriraman Tallam <tmsriram@google.com>
345 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
347 (fold_builtin_cpu): Do not share cpu model decls across statements.
349 2013-01-02 Jason Merrill <jason@redhat.com>
352 * tree.c (build_array_type_1): Revert earlier change.
354 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
356 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
358 * config/aarch64/aarch64-tune.md: Re-generate.
360 2013-01-02 Richard Biener <rguenther@suse.de>
362 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
363 invariant load do not generate a vector load from the scalar location.
365 2013-01-02 Richard Biener <rguenther@suse.de>
368 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
369 * configure: Regenerate.
371 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
373 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
374 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
375 (expand_builtin_int_roundingfn_2): Keep the original target around
376 for the fallback case.
378 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
380 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
381 to be clear for sign changes.
383 2013-01-01 Jan Hubicka <jh@suse.cz>
385 * ipa-inline-analysis.c: Fix formatting.
387 2013-01-01 Jakub Jelinek <jakub@redhat.com>
389 PR tree-optimization/55831
390 * tree-vect-loop.c (get_initial_def_for_induction): Use
391 gsi_after_labels instead of gsi_start_bb.
393 Copyright (C) 2013 Free Software Foundation, Inc.
395 Copying and distribution of this file, with or without modification,
396 are permitted in any medium without royalty provided the copyright
397 notice and this notice are preserved.